PropertyGrid Filtering in C#.NET
KetticPropertyGrid WinForms control contains various features for data processing, including grouping, sorting, as well as filtering. The filtering functionality can be easily added to your Windows Forms application by using the PropertyGrid control. To add the filtering, we can use the text box of the toolbar or populate the FilterDescriptors collection of KetticPropertyGrid using C# code.
Add Filtering to PropertyGrid in C#.NET
KetticPropertyGrid WinForms control allows the users to add filtering functionality either via text box of the toolbar or populating the FilterDescriptors collection of KetticPropertyGrid using C# code. To filtering in text box using toolbar, we must enable the toolbar by changing the ToolBarxVisible to true, type a string into the text box, and then perform searching. C# code for Adding Filtering to PropertyGrid
To add filtering to PropertyGrid control using C# code, we must enable the EnableFiltering property by changing its value to true, and then define the desired FilterDescriptor and add it to the control FilterDescriptors collection. The following are the standards for filtering in PropertyGrid.
C# code for Adding a Filter Descriptor
| ![]() UI Controlsfor Windows Forms .NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI DesignWinForms UI Controls WinForms Buttons UI Control WinForms Calendar UI ControlWinForms Carousel UI ControlWinForms Chart UI ControlWinForms Clock UI ControlCommandBar UI ControlWinForms Dock UI ControlDesktop Alert UI ControlDropDown List UI ControlWinForms Editor UI ControlForms and Dialogs UI ControlWinForms GridView UI ControlWinForms ListView UI ControlWinForms Menu UI ControlWinForms ComboBox UI ControlWinForms PageView UI ControlPanels and Labels UI ControlWinForms Panorama UI ControlWinForms PDFViewer UI ControlWinForms Property Grid UI ControlGet Started in C#Property Grid - AttributeAdd Custom PropertiesBinding to Multiple ObjectsProperty Grid - CustomizationProperty Grid - LocalizationProperty Grid - EditorsC# API & EventsValidationCustomizing Editor BehaviorHandle EventsProperty Grid - FeaturesFeatures - filteringFeatures - GroupingCustom GroupingFeatures - SortingFeatures - Help BarFeatures - Tool BarWinForms Ribbon UI ControlWinForms PivotGrid UI ControlWinForms RichTextBox UI ControlWinForms Rotator UI ControlWinForms Scheduler UI ControlWinForms Shortcuts UI ControlWinForms SpellChecker UI ControlWinForms Track & Status UI ControlWinForms TreeView UI ControlWinForms Wizard UI ControlWinForms Test UI ControlWinForms Theme UI Control |