This is a migrated thread and some comments may be shown as answers.

create new property in datagrid column collection

1 Answer 9 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
babu
Top achievements
Rank 1
babu asked on 09 Mar 2016, 03:33 AM

hai

 

I am creating a user control with datagrid and i created a property called DataGridNumeric column and I want to add this property for my control.

Please he me hos to do this.

 

I use this code for creating column 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.

1 Answer, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 11 Mar 2016, 12:02 PM
Hello Babu,

Could you please specify the controls you're using in your user control? You've set RadPropertyGrid as the category of the thread, but you do not seem to mention it. Are you using any other Telerik controls?

Please give more information about your exact setup so that I can further assist you.

Regards,
Dilyan Traykov
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
PropertyGrid
Asked by
babu
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question
or