Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: Encapsulate property item editor

$
0
0
Hi, thanks for the reply.
I read the PropertyGrid documentation already several times, it was helpful but not for this question.
Maybe i should rephrase; I know how to create a custom editor, that is not the problem.
More to the point the question is; Is there a method to get the FrameworkElement which the PropertyGrid would use for an object of type T, which i could call from within my own ResolveEditor method ?
E.g.
FrameworkElement typeEditor = XXXXX_somemethod( object myobject );
myobject.GetType() = string --> textbox,
myobject.GetType() = int --> numericalupdown, etc.

Viewing all articles
Browse latest Browse all 4964

Trending Articles