Infragistics(R) NetAdvantage(R) : WPF 2012.1
Advanced Editor
E-mail your feedback on this topic.
Shared XAML > Editors > xamColorPicker > Using xamColorPicker > Advanced Editor

Glossary Item Box

The advanced editor section of the xamColorPicker control allows your end user to select a color that is not available in the palette that is supplied.

Color Mode Tabs – Your end users can avail of three different color modes within the advanced editor area:

Color Slider – This slider allows your end users to pick a particular color. This particular color’s range from dark to bright is then displayed in the color area

Color Area – This area displays the range of a particular color that your end user selected from the slider.

Selected Color Area – This area displays two colors, the previously selected color and the current color selected in the color area.

Color Sliders – Based on the model selected from the color mode tabs, these sliders will display the RGB value, the CMKY value or the HSL value. The last slider in each model displays the Transparency of the color.

When your end user chooses a color from the advanced editor area, the xamColorPicker control’s SelectedColor property will be set to that particular color.

The advanced editor can be hidden from your end user by setting the xamColorPicker control’s ShowAdvancedEditorButton property to false, as demonstrated in the following code.

In XAML:

<ig:XamColorPicker x:Name="MyColorPicker"  DerivedPalettesCount="10" Width="100"  
                   Height="20" ShowAdvancedEditorButton="False" 
                   ShowDerivedColorPalettes="False">
</ig:XamColorPicker>

In Visual Basic:

MyColorPicker.ShowAdvancedEditorButton = False

In C#:

MyColorPicker.ShowAdvancedEditorButton = false;

Related Topics

Palettes

Create a Custom Palette

Selected Color