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

Custom control in Single EditMode

1 Answer 28 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Eugene
Top achievements
Rank 1
Eugene asked on 14 Oct 2016, 02:36 PM

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

1 Answer, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 19 Oct 2016, 09:56 AM
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.
Tags
PropertyGrid
Asked by
Eugene
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Share this question
or