PropertyGrid Customization in C#.NET
KetticPropertyGrid .NET component contains automatic generation and intuitive custom editors for the users to display and customize the data for their Windows Forms application. The users of the KetticPropertyGrid control are able to bind the control to a data item with a simple C# code snippet and set the properties as requirements and can set and customize the property editors using C# code and perform the scrolling operations through touch interface.
Styling Items in KetticPropertyGrid
KetticPropertyGrid control for Windows Forms contains several properties used to customize the style and appearance of the items in PropertyGrid. The customization also requires the ItemFormatting event. The properties used to customize the PropertyGrid item appearance includes,
KetticPropertyGrid WinForms control applies the data virtualization like KetticGridView and KetticListControl, and the PropertyGrid Items are reusable, so we need to always reset the customized properties values to prevent the formatting being applied to other PropertyGrid items. C# code Example for Customizing PropertyGrid items
The following is a sample which demonstrates how to change items colors and the sub items' back colors.
| ![]() 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 |