L
Luis Arvayo
Is there some way to attach an editor to a property of a class at runtime ?
Ex.;
public class MyClass
{
[Editor(typeof(ImageEditor),typeof(UITypeEditor)]
public int BitmapIndex
{
get {...}
set {...}
}
}
Instead of defining statically before compile time, I need to define the
editor at runtime in order to be used together with the PropertyGrid. Is tha
possible ?
Thanks
Luis A.
Ex.;
public class MyClass
{
[Editor(typeof(ImageEditor),typeof(UITypeEditor)]
public int BitmapIndex
{
get {...}
set {...}
}
}
Instead of defining statically before compile time, I need to define the
editor at runtime in order to be used together with the PropertyGrid. Is tha
possible ?
Thanks
Luis A.