Custom control in Single EditMode

2 posts, 0 answers
  1. Sergei
    Sergei avatar
    7 posts
    Member since:
    Jun 2015

    Posted 14 Oct Link to this post

    In Single EditMode value of property is displayed in TextBlock.
    How can I add a custom control instead this TextBlock?

  2. Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    281 posts

    Posted 19 Oct Link to this post

    Hello Sergei,

    The logic behind creating the PropertyGridField Presenter is internal and such functionality would not be straightforward to achieve. You can modify the ControlTempalte of the PropertyGridField and replace the ContentPresenter with an element of your choice, but you will lose all the editing functionality. If you decide to modify the template, the following articles should be useful:

    - Editing Control Templates
    - Setting a Theme(Using Implicit Styles)

    Regards,
    Stefan Nenchev
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft banner
Back to Top