I've created my own Filtering Control (class derived from FilteringControl) so that I can set a default FilterOperator to something other than Equal To. It works great, but it's using the default theme. My application uses the Office Blue theme, not the default Black theme. How do I get it to use the application's theme instead of the default?
I'm defining my class as a resource for the grid, then using it as a static resource for the column I want to change. Here is the related code for my grid:
I'm guessing I need to apply a style but it's just not working.
I'm defining my class as a resource for the grid, then using it as a static resource for the column I want to change. Here is the related code for my grid:
<
telerik:RadGridView.Resources
>
<
common:ChangedFilteringControl
x:Key
=
"StartsWithFilterControl"
DefaultFilter
=
"StartsWith"
/>
</
telerik:RadGridView.Resources
>
.....
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Number}"
FilteringControl
=
"{StaticResource StartsWithFilterControl}"
/>
I'm guessing I need to apply a style but it's just not working.