
Hello,
I am trying to make a custom property editor.
I have different classes with properties on which I added some properties attributes like:I would like to make in this case a custom property editor to have a button to load an image file. I am having troubles to achieve this.
Later on, I will have to implement an existing control into a property editor, I guess if I can get this image sample to work, then it will be easy to move forward with my control.
I would really appreciate some help.
Thanks :)
I am trying to make a custom property editor.
I have different classes with properties on which I added some properties attributes like:
BitmapImage m_Image = null;
[Category("Appearance")]
[Description("Image property")]
[Browsable(true)]
public BitmapImage Image
{
get
{
return m_Image;
}
set
{
m_Image = value;
}
}
Later on, I will have to implement an existing control into a property editor, I guess if I can get this image sample to work, then it will be easy to move forward with my control.
I would really appreciate some help.
Thanks :)