Hi,
Where can we get the string resources for XamGrid and how can we apply ?!?
All the samples we get on the faq are relative to WPF and does not work for XamGrid!!!!!!!!!!!!!!!!!!
Thanks.
Gilles P.
I am not sure what you are asking for. You would need to change the strings directly off the (in this case) Operands object. We currently do not provide a mechanism that allows you to change all the strings globally through a resource file.
Hello Darrell,
I'm still looking for a solution in order to change the properties off the object to reach the string that Xamgrid uses.
Can you help me, please?
Gilles
Sorry about the column chooser mix up. The years and releases are beginning to all blend together.
Ok for the filter operands you are going to need to assign them to the column yourself in order to change the strings on them. Something like this in Xaml.
<ig:XamGrid x:Name="grid">
<ig:XamGrid.Columns>
<ig:TextColumn Key="Name">
<ig:TextColumn.FilterColumnSettings>
<ig:FilterColumnSettings>
<ig:FilterColumnSettings.RowFilterOperands>
<ig:ContainsOperand DisplayName="Your Text"></ig:ContainsOperand>
</ig:FilterColumnSettings.RowFilterOperands>
</ig:FilterColumnSettings>
</ig:TextColumn.FilterColumnSettings>
</ig:TextColumn>
</ig:XamGrid.Columns>
<ig:XamGrid.ColumnChooserSettings>
<ig:ColumnChooserSettings ColumnChooserDisplayText="Your text" ></ig:ColumnChooserSettings>
</ig:XamGrid.ColumnChooserSettings>
</ig:XamGrid>
Also you can see one of the properties off the ColumnChoosersettings object, this is how you would change the text on that object.
Yes, I want to change all the string and not only the drop-down operands options.
Yes there is a columns chooser with XamGrid, it appears when you hide a column, then the column header border became little more width and by clicking on it you can choose to show it back or displaying the column chooser.
What is the string you want to localize on the FilterRow? do you mean the names of the operands?
But I am not sure what you mean by the columns chooser message box. The Silverlight XamGrid doesn't have a columns chooser.