Hi,
1. Is it possible that a column is not visible in the column chooser dialog? For example, when I set the property 'IsHideable' to false, this column is not visible in the column chooser dialog.
2. How can I translate the text "View" and "Column" in the column chooser dialog?
Regards
Marco
Hello Marco,
On the first question the column name is always visible in the column chooser also in the case when IsHideable = False.
On the second question we are currently working on a way that will help you to do that!
Regards, Nikola!
You could use the VIewLabelText and ColumnLabelText properties of the ColumnChooserDialog in order to change these labels:
xmlns:igPrim="http://schemas.infragistics.com/xaml/primitives"
<Style TargetType="igPrim:ColumnChooserDialog">
<Setter Property="ViewLabelText" Value="View Label"/>
<Setter Property="ColumnLabelText" Value="Custom Label"/>
</Style>
Regarding your first requirement, you could modify the GridSortableListBox control that is used within the template of the ColumnChooserDialog so the grid's Visibility is bound to the IsHideable property using converter. You can find all of the styles used in the DefaultStyles folder.
Hope this helps.
Hello,
Is there any example to show how could I use this style?
Thanks for the help!
I used it, but the label text is not changed.