I'm working with SelectedObject="{Binding}".
I have a property taht is Font and I want the end user to type the font or to choose from a combobox with the different fonts I wroteHowever I don't get the combobox is there any predefined editor or I have to program a custom made editor? (I think it is so common that there should be a way without programming myself)
The same situation I have with 2 more properties:
1) FontStyle (comobobox with normal, italic....)
2) Color I would like a combobox with the colors # and name.
I have a property taht is Font and I want the end user to type the font or to choose from a combobox with the different fonts I wrote
<summary>
/// Gets or sets the font family.
/// </summary>
/// <value>The font family.</value>
[Category("Font/Text")]
[Description("The font family.")]
public FontFamily FontFamily
{
get
{
return this.fontFamily;
}
set
{
if (value != this.fontFamily)
{
this.fontFamily = value;
}
}
}
The same situation I have with 2 more properties:
1) FontStyle (comobobox with normal, italic....)
2) Color I would like a combobox with the colors # and name.