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

Manipulate EditorTemplate

1 Answer 51 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 05 Apr 2013, 07:29 PM
I'm trying to customize my property grid.  Is there a way to access the EditorTemplate at runtime in code behind?

1) for strings that use text editors, I want to access the text changed event, so I can validate entries as the user types instead of waiting until the field loses focus.

1) to customize the editor's background color and border at runtime.

1 Answer, 1 is accepted

Sort by
0
Accepted
Maya
Telerik team
answered on 08 Apr 2013, 07:32 AM
Hello Andrew,

Generally, you can find any element child of another one with the help of ChildrenOfType<T>() extension method. Check out this blog post for a reference. 

Regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
PropertyGrid
Asked by
Andrew
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or