Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
515
LANGUAGE
posted

I can change the language of windows filter or any windows / tooltip ?

The properyt Language of the xamGrid is ignored ! Why ?

Parents Reply
  • 8607
    Verified Answer
    Offline posted in reply to Beggiato

    Hello AMUS,

    Please refer to the following sample's XAML code (click on the < /> tab to the right).

    http://labs.infragistics.com/silverlight/lobsamples/2010.3/#/Samples/Grid/KeyFeature/GridFormattingRowSummaries

    Setting the display text can be done in XAML (which I find easier) like this:

                <ig:SummaryColumnSettings>
                   <ig:SummaryColumnSettings.SummaryOperands>
                      <ig:MaximumSummaryOperand FormatString="{}{0:d}" />
                      <ig:MinimumSummaryOperand FormatString="{}{0:d}" />
                      <ig:CountSummaryOperand RowDisplayLabel="Alternate COUNT Text" SelectionDisplayLabel="Alternate COUNT Text" />
                   </ig:SummaryColumnSettings.SummaryOperands>
                </ig:SummaryColumnSettings>

    To do it in VB, please refer to this topic in the online help.  Instead of setting IsApplied, you would set RowDisplayLabel and SelectionDisplayLabel.

    Imports Infragistics.Controls.Grids

    Dim DisplaySummary As Column = Me.MyDataGrid.Columns.

      DataColumns("ProductName")

    DisplaySummary.SummaryColumnSettings.SummaryOperands(2).

      RowDisplayLabel = "Alternate COUNT Text"

    DisplaySummary.SummaryColumnSettings.SummaryOperands(2).

      SelectionDisplayLabel = "Alternate COUNT Text"

     

    You can also set the filter operand text this way on the xamGrid.FilteringSettings object.

     

    As for the resource files, they would be in English.  You can download them with our source code from "My Keys and Downloads" with your Infragistics account (go to infragistics.com > My IG > My Keys and Downloads).  I'm not sure if it's available as a trial customer.  In general, you could copy the resource file, rename it to [Name].it.resx, and then translate it.  Rebuilding the assembly should create a version of the control which uses English by default, and Italian when running on an Italian operating system.


    Let me know if this is helpful.

     

    Elizabeth Albert
    Localization Engineer

Children
No Data