We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

creating new column property in datagrid column collection

Thread ID:





123342 Mar 9,2016 03:28 AM UTC Mar 10,2016 10:10 AM UTC WPF 1
Tags: SfDataGrid
Asked On March 9, 2016 03:28 AM UTC


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>();
        [Description("New Column Creation")]
        public Collection<DataGridColumn> Columns
            get { return field; }

Srinivasan Vasu [Syncfusion]
Replied On March 10, 2016 10:10 AM UTC

Hi Babu,
Thanks you for Contacting Syncfusion support.
We are unable to understand your requirement clearly. Could you please let us know whether you are using any CustomColumn of SfDataGrid? Could you please share the details about your exact requirement? It will be helpful for us to analyze further. 
To know more about columns in SfDataGrid, please refer the below links.
Link: http://help.syncfusion.com/wpf/sfdatagrid/column-types


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon