List avaliable Columns at design time

2 posts, 0 answers
  1. Leandro
    Leandro avatar
    48 posts
    Member since:
    Jul 2015

    Posted 01 Nov 2018 Link to this post

    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; }
        }
  2. Leandro
    Leandro avatar
    48 posts
    Member since:
    Jul 2015

    Posted 01 Nov 2018 in reply to Leandro Link to this post

    I think it could be at least a list of the columns names, I could change.
Back to Top