Home Forums WinForms controls Xceed Grid for WinForms How to use custom Text Rows on the Designer? Reply To: How to use custom Text Rows on the Designer?

User (Old forums)
Post count: 23064

Hi Martha,

You still won’t be able to add your custom row to the designer at design time. However, you WILL be able to see it at design time if you added it to your form’s .class and instantiated it correctly in your InitializeComponent function.

An easy way to use it at design time would be to add a normal text row to the grid, then switch to code view. Search for the textRow’s name and change the object type from Xceed.Grid.TextRow to your own class name. Afterward, compile and switch back to the designer. You will see your custom text row in the gridControl and will be able to set it’s exposed properties at design time.

Cheers ! 8)

Imported from legacy forums. Posted by PL (had 3460 views)