Add new DataGridColumnStyle

G

Guest

Hi everubody

I'm implementing new DataGridColumnStyle for DataGrid. I would like to use a new control on design-time

How can I add a new ColumnStlye to DataGridTableStyle of DataGrid during design-time

KPH
 
P

Pete Wright

Drop a grid onto your form, then select it with a single click. In the
properties window for the grid, find the TableStyles property. Click the
elipses button ( ... ) that appears inside this property to open the table
styles editor. Make sure that your table style is in the list, and if it's
not add it by clicking on the add button and editing the table style
properties. Once you have found the table style you want, select it and
scroll down it's properties in the dialog to find the GridColumnStyles
property. Click the ellipses button that appears to the right of this
property and voila - you will be in the DataGridColumnStyles editor where
you can add, edit and delete column styles to your heart's content.

Hope that helps,

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top