Hello,
I'm trying to use a RadColorPaletteView with my own list of custom colors, in this way:
<TInputControls:RadColorPaletteView Height="18" SelectionChanged="RadColorPaletteView_SelectionChanged" >
<TInputControls:RadColorPaletteViewItem Color="Red" />
<TInputControls:RadColorPaletteViewItem Color="Orange"/>
<TInputControls:RadColorPaletteViewItem Color="Yellow" />
<TInputControls:RadColorPaletteViewItem Color="Green" />
<TInputControls:RadColorPaletteViewItem Color="Blue" />
<TInputControls:RadColorPaletteViewItem Color="Purple" />
<TInputControls:RadColorPaletteViewItem Color="White" />
<TInputControls:RadColorPaletteViewItem Color="Black" />
</TInputControls:RadColorPaletteView>
In my app, the black doesn't show up. Instead, I get a square that seems to have a transparent background. If I hover close to the border of that square, sometimes it allows me to select it, but most of the time I can't select the square.
I've tried moving the black to other positions in the list, and tried the hex value instead of the name, and it seems to have the same problem. Additionally, if I wrap the RadColorPaletteViewItems in a plain ListBox instead of the RadColorPaletteView, the "black" one still has the same problem.
Is there something I need to do differently?
I'm trying to use a RadColorPaletteView with my own list of custom colors, in this way:
<TInputControls:RadColorPaletteView Height="18" SelectionChanged="RadColorPaletteView_SelectionChanged" >
<TInputControls:RadColorPaletteViewItem Color="Red" />
<TInputControls:RadColorPaletteViewItem Color="Orange"/>
<TInputControls:RadColorPaletteViewItem Color="Yellow" />
<TInputControls:RadColorPaletteViewItem Color="Green" />
<TInputControls:RadColorPaletteViewItem Color="Blue" />
<TInputControls:RadColorPaletteViewItem Color="Purple" />
<TInputControls:RadColorPaletteViewItem Color="White" />
<TInputControls:RadColorPaletteViewItem Color="Black" />
</TInputControls:RadColorPaletteView>
In my app, the black doesn't show up. Instead, I get a square that seems to have a transparent background. If I hover close to the border of that square, sometimes it allows me to select it, but most of the time I can't select the square.
I've tried moving the black to other positions in the list, and tried the hex value instead of the name, and it seems to have the same problem. Additionally, if I wrap the RadColorPaletteViewItems in a plain ListBox instead of the RadColorPaletteView, the "black" one still has the same problem.
Is there something I need to do differently?