This is an example of a custom LayoutView and a custom control that inherits the DevExpress.XtraGrid.GridControl. Make sure to build the project prior to opening Form1 in the designer.
To obtain general information about creating and registering a custom view descendant class at design time, refer to the following Knowledge Base article: How to create a GridView descendant class and register it for design-time use.
Question Comments
Added By: Don Fadely at: 10/6/2014 11:22:43 AM
I need to see your designer code module for the form. Since the control doesn't show up in the toolbox, I'll need to add it manually.
Added By: Yaroslav (DevExpress Support) at: 10/6/2014 1:21:29 PM Hi Don,To resolve the issue, add the ToolBoxItem attribute to classes you want to see in your toolbox. See the following code:
[C#][ToolboxItem(true)]publicclassMyGridControl:GridControl{}