hai
I am creating a user control with datagrid controls. I want to add my new property called DatagridNumericColumn property to my user control.
Please help me how to do this.
I use this code for creating collection
public Collection<DataGridColumn> field = new Collection<DataGridColumn>();
[Category("Data")]
[Description("New Column Creation")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public Collection<DataGridColumn> Columns
{
get { return field; }
}
Thanks.