
I meet a problem when I using ColorEditBox;
The problem is when I use the code given below:
namespace xmlns:editors="clr-namespace:ActiproSoftware.Windows.Controls.Editors"
<editors:ColorEditBox x:Name="editBox" CheckBoxVisibility="Visible"
SpinnerVisibility="{Binding IsChecked, ElementName=spinnerVisibilityCheckBox, Converter={StaticResource BooleanToVisibilityConverter}}"
Width="200" Margin="0,7,0,0" HorizontalAlignment="Left" Value="Blue" />
I complie the project, system give me a error report,
Error 1 The property 'Value' was not found in type 'ColorEditBox'. MainContent.xaml
I see the demo and find the 'Value' property is not belong the ColorEditBox, it's belong the TypeSpecificEditBoxBase'1
However, The class TypeSpecificEditBoxBase'1 is a generic type class, and could not using like this:
editorsPrimitives:TypeSpecificEditBoxBase'1.Value
it will told me the character ''' hexadecimal value 0x60, can not be include in a name XML is not valid.
So how to using the editorsPrimitives:TypeSpecificEditBoxBase'1.Value in xaml directly?
Thanks.