Xceed Grid for WinForms v4.3 Documentation
Using derived classes in the Grid Designer
Welcome to Xceed Grid for WinForms v4.3 > Grid Designer > Using derived classes in the Grid Designer

Most classes that derive from the GridElement class or one of its derived classes can be used within the Grid Designer. Although we will hopefully provide an easier solution, for the moment, the only way to use derived classes in the Grid Designer is to modify the persisted code.

Limitations

Most classes that derive from the classes contained within Xceed Grid for WinForms can be used seamlessly in the Grid Designer. The only exceptions are with classes that derive from the ColumnManagerRow, ColumnManagerCell, GroupByRow, Group, GroupMargin and RowSelector classes. 

Any classes that derive from the ColumnManagerRow, ColumnManagerCell, GroupByRow, Group, GroupMargin and RowSelector classes can only be partially used in the designer. Visually, their appearance will be that of the default ColumnManagerRow, ColumnManagerCell, GroupByRow, Group, GroupMargin and RowSelector however, any properties that are added in the derived class will be accessible in the property grid although modifications made to these properties, even if the ApplyToDesigner attribute is set to true, will not be reflected in the Grid Designer.

Things you should consider

  • Do you want modifications made to the properties of your derived class to be reflected in the Grid Designer? Make sure that you set the ApplyToDesigner attribute

  • Do you want to create your own custom classes to replace an existing class? Jump to the Extending topic.