I upgrade to 17.1 recently and I have a hard time getting the brushpicker to work.
I will start with the first issue:
My brushPicker needs to appear in a tab control, in the second tab to be precise. And it needs to let the user click several times on it to make sure that the selected color is the one wanted. But at the first click the picker closes. This does not happen with the BrushEditBox but that control comes with its own dropdown which we do not want.
I have the xaml here for a test app:
<Grid>
<StackPanel Orientation="Vertical">
<ribbon:SplitButton Width="200" Label="BrushPickerTest">
<TabControl>
<TabItem Header="Tab1"></TabItem>
<TabItem Header="ColorPickerTab">
<editors:BrushPicker IsGradientAllowed="True" IsNullAllowed="False"></editors:BrushPicker>
</TabItem>
<TabItem Header="Tab3"></TabItem>
</TabControl>
</ribbon:SplitButton>
<ribbon:SplitButton Width="200" Label="BrushEditBoxTest">
<TabControl>
<TabItem Header="Tab1"></TabItem>
<TabItem Header="ColorPickerTab">
<editors:BrushEditBox IsGradientAllowed="True" IsNullAllowed="False" ></editors:BrushEditBox>
</TabItem>
<TabItem Header="Tab3"></TabItem>
</TabControl>
</ribbon:SplitButton>
</StackPanel>
</Grid>
How can I keep the BrushPicker opne until the user clicks ouside of the control
I used to be able to do that.
Thanks