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

List avaliable Columns at design time

1 Answer 30 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Leandro
Top achievements
Rank 1
Leandro asked on 01 Nov 2018, 04:52 PM

Hey guys, is it possible to create a List of GridViewDataColumn avaliable at design time? Like u do in the GridRelations(attached), I've tried reading your TemplateCollectionEditor(at Telerik.WinControls.UI.Design.dll, same namespace) class, but didn't understand anything.

Here is my class where I want' use it

public class ColunaTextoAjuda : IAjuda
    {
        public GridViewDataColumn Coluna { get; set; }
 
        [Browsable(true)]
        [DefaultValue("")]
        [Editor("Telerik.WinControls.UI.Design.TextOrHtmlSelector, Telerik.WinControls.UI.Design, Version=2018.1.116.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e", typeof(UITypeEditor))]
        public string Texto { get; set; }
    }

1 Answer, 1 is accepted

Sort by
0
Leandro
Top achievements
Rank 1
answered on 01 Nov 2018, 05:03 PM
I think it could be at least a list of the columns names, I could change.
Tags
GridView
Asked by
Leandro
Top achievements
Rank 1
Answers by
Leandro
Top achievements
Rank 1
Share this question
or