Editor Attribute

3 posts, 0 answers
  1. george
    george avatar
    21 posts
    Member since:
    Oct 2010

    Posted 21 Mar 2013 Link to this post

    Hi may I ask which version of the telerik support Editor Attribute
    such as

    [Editor(typeof(CustomActionEditor), typeof(UITypeEditor))]
    public string FirstName {get;set;}

    Also I found out the TypeConverter is not supported in WPF propertygrid as well
        [Description("The phone number of the employee in his office.")]
        [Display(Name = "Phone Number", Order = 3, GroupName = "Personal Information")]
        public string PhoneNum
                return phoneNum;
                if (this.phoneNum != value)
                    this.phoneNum = value;
    public class TestTypeConvertor:TypeConverter
        public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
            var i = 0;
            return base.CanConvertTo(context, destinationType);
        public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
            var i = 1;
            return base.CanConvertFrom(context, sourceType);

  2. Maya
    Maya avatar
    4062 posts

    Posted 25 Mar 2013 Link to this post

    Hello Geoge,

    The support for EditorAttribute is in our current to-do list and we are working on it. As for the TypeConverter, we will investigate the case and see how we can achieve it.  

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. George
    George avatar
    1 posts
    Member since:
    Mar 2013

    Posted 25 Mar 2013 Link to this post

Back to Top