Posted 15 years ago
by Vadim Cherkashin
-
IA&E SB RAS
If InitialColor propery are directly set, binding for SelectedColor not working.
If not set, all ok.
<shared:SpectrumColorPicker Margin="0" Width="Auto" Height="100"
InitialColor="Blue"
SelectedColor="{Binding Properties[Color1].Value, RelativeSource=
{RelativeSource AncestorType={x:Type propgrid:ICategoryEditorDataAccessor}},
Mode=TwoWay}" />