Create a custom editor

Thread is closed for posting
2 posts, 0 answers
  1. StepTNT
    StepTNT avatar
    18 posts
    Member since:
    Mar 2013

    Posted 08 Jan 2014 Link to this post

    I'm trying to use a DataForm to avoid writing my settings page manually, but I need some custom editors.

    In your documentation I can't find what I need, but I'm quite sure that we have this possibility and I'd like to know how to do this.

    Here's just an example of my property:

    public Color BackgroundColor
        get { return _backgroundColor; }
            if (_backgroundColor == value) return;
            _backgroundColor = value;
            RaisePropertyChanged(() => BackgroundColor);

    and I want it do be bound to che Color property of a Coding4Fun's ColorPicker.

    How can I do that?

    As a side question, can I define my own annotations to make this thing automatic?
    Something like
    public Color BackgroundColor
    to create a ColorPicker for each property marked with that attribute.
  2. Deyan
    Deyan avatar
    2147 posts

    Posted 13 Jan 2014 Link to this post

    Hi Stefano,

    Yes, you can easily create custom editors with RadDataForm. Here's the help article you need to follow:

    Let us know if you have additional questions.

    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Back to Top