When I click on the filter icon in a column header, a FilterSelectionControl pops up. Then when I click on the Custom Filters option on the control, a dialog pops up. The dialog contains [And]/[Or] radio buttons and [Accept]/[Cancel] on it. How can I change the style of this dialog?
Hi,
You can use an implicit style with target type = igPrim:ColumnFilterDialogControl;
I've attached a sample application that demonstrates this approach.
HTH,
Thanks, Nikolay.
I've run the sample application, the appearance won't change unless I give a key "aa" to the Style and write "CustomFilterDialogStyle="{StaticResource aa}" as following:
<ig:FilteringSettings AllowFiltering="FilterMenu" CustomFilterDialogStyle="{StaticResource aa}"/>
Now I want to change the foreground and background color of the two textboxes on the right side of the dialog. I believe the textbox above is the ContentControl with name "Operand1", and I set Background="red" Foreground="green" as following:
<ContentControl IsTabStop="False" x:Name="Operand1" Grid.Row="1" Grid.Column="1" Margin="5" Width="100" HorizontalContentAlignment="Stretch" Background="red" Foreground="green"/>
But it doesn't work. How can I change the textboxes' appearances?
I've already post a question (by the way of the support) about this problem, I've got the same explanation with also a sample, but nothing gones.
I try to edit the sample joined in this post, as following :
<RadioButton x:Name="And"
GroupName="AndOr"
Content="AAAA"
IsChecked="true" />
Nothing changes when I execute the application.
Moreover, the 2 events Filtered and Filtering are not handled with CustomFilder Dialog