Styling FilterControl
Before reading this topic, you might find it useful to get familiar with the Template Structure of the FilterControl.
FilterControl exposes a Style property which allows you to apply a style to it and modify its appearance.
Modifying Default Style
Using Implicit Styles gives you the ability to easily extract and edit the default ControlTemplates of the controls. You can follow the article on different approaches on how to extract the ControlTemplates.
FilterControl_InnerBorder a brush, that represents the color of the inner border of FilterControl.
RemoveFilterButton_Background_Over - a brush, that represents the background color of the Delete button, when the mouse is over it.
RemoveFilterButton_Background_Pressed - a brush, that represents the background color of the Delete button, when it gets clicked.
RemoveFilterButtonTemplate - the ControlTemplate for RadButton control, that represents the Delete button.
RemoveFilterButton_Background - a brush, that represents the background color of the Delete button
RemoveFilterButton_Border - a brush that represents the border color of the Delete button.
RemoveFilterButton_Foreground - a brush, that represent the foreground color of the Delete button.
RemoveFilterButtonStyle- the Style for RadButton, that represents the Delete button.
AddFilterButton_Foreground - a brush, that represents the foreground color of the Add New Criteria and Add Nested Operator button.
AddFilterButton_Background_Over - a brush, that represents the background color of the Add New Criteria and Add Nested Operator button, when the mouse is over it.
AddFilterButton_Background_Pressed - a brush, that represents the background color of the Add New Criteria and Add Nested Operator button, when it gets clicked.
AddFilterButtonTemplate - the ControlTemplate for the Add New Criteria and Add Nested Operator button.
AddFilterButton_Background - a brush, that represents the background color of the Add New Criteria and Add Nested Operator button.
AddFilterButton_Border - a brush, that represents the border color of the Add New Criteria and Add Nested Operator button.
AddFilterButtonStyle - the style applied to the Add New Criteria and Add Nested Operator button.
FilterOperatorTemplate - represents the DataTemplate for the drop down with the available filter operators.
FilterControlTemplate - the ControlTemplate for FilterControl.
FilterControl_Background - a brush, that represents the background color of FilterControl.
FilterControl_Border - a brush, that represents the border color of FilterControl.
FilterControl_Foreground - a brush, that represents the foreground color of FilterControl.
FilterControlStyle - the Style for FilterControl.
After finishing with your modification you have to set the Style for the FilterControl to its instances inside the RadDataFilter. To see how to do it, read the Styling the RadDataFilter topic.