[]
        
(Showing Draft Content)

C1.WPF.FlexGrid.C1FlexGridFilter.Editor

Editor Property

Editor

Gets the Control used to edit the filter parameters.

Declaration
public ColumnFilterEditor Editor { get; set; }
Remarks
<p>This property is useful if you want to customize the appearance of the

built-in filter editor.

By default, the filter editor uses the style properties set on the grid (e.g. Background, FontFamily, FontSize, etc). In some cases, you may want to override this behavior and specify the editor's properties directly.

Examples

The code below creates a grid and a filter, and then customizes the appearance of the filter editor by setting its Background and FontSize properties:

// create and populate the grid
var flex = new C1.Silverlight.FlexGrid.C1FlexGrid();
flex.ItemsSource = Product.GetProducts(200);
LayoutRoot.Children.Add(flex);

// create the filter and customize the filter editor
var filter = new C1.Silverlight.FlexGrid.C1FlexGridFilter(flex);
filter.Editor.Background = new SolidColorBrush(Colors.Red);
filter.Editor.FontSize = 16;