Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
220
Default property grid editors
posted

In a MVVM design pattern, we are creating a ViewModel inheriting from CustomTypeDescriptor.
In doing so, we need to known which types are natively supported by the xamPropertyGrid in order to default unsupported types to a String.
From my understanding, PropertyGridEditorDefinitionCollection would just do that but since we are in a MVVM design pattern the xamPropertyGrid is not instanciated when we are creating our ViewModel.

Is there some static class information that could be used?