Making a ColorPicker.
Posted: 11 Sep 2013, 17:18
So, just out of curiosity, how would you guys go about creating a ColorPicker with noesis? Since afaik there isn't any control supported to make a ColorPicker?
Thanks.
Thanks.
Welcome to our official discussion site. You’ll find topics on features, bugs, development, and general support here
https://www.noesisengine.com/forums/
<DockPanel>
<Grid x:Name="huePanel" DockPanel.Dock="Right" MinWidth="20">
<Border>
<Border.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="Red" Offset="0"/>
<GradientStop Color="Blue" Offset="0.333"/>
<GradientStop Color="Lime" Offset="0.666"/>
<GradientStop Color="Red" Offset="1"/>
</LinearGradientBrush>
</Border.Background>
</Border>
</Grid>
<Grid x:Name="saturationBrightnessPanel">
<Border>
<Border.Background>
<LinearGradientBrush EndPoint="0,0" StartPoint="1,0">
<GradientStop Color="#FFFF0000" Offset="0"/>
<GradientStop Color="#FFFFFFFF" Offset="1"/>
</LinearGradientBrush>
</Border.Background>
</Border>
<Border>
<Border.Background>
<LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
<GradientStop Color="#FF000000" Offset="0"/>
<GradientStop Color="#00000000" Offset="1"/>
</LinearGradientBrush>
</Border.Background>
</Border>
</Grid>
</DockPanel>
The HSV control is very similar to the one you postedoh lol i had not seen that, gonna check it too to see if it's like what i would have done