C1.WPF.FlexGrid Namespace > C1FlexGridFilter Class : Editor Property |
'Declaration Public Property Editor As ColumnFilterEditor
public ColumnFilterEditor Editor {get; set;}
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.
// 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;
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2