Class RadColorEditor
The Rad
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
[TelerikToolboxCategory("Input")]
[Themable]
public class RadColorEditor : Control, IThemable
Constructors
RadColorEditor()
Fields
ActiveSectionsProperty
Identifies the ActiveSections dependency property.
Declaration
public static readonly DependencyProperty ActiveSectionsProperty
Field Value
System.
|
AlphaSettingsVisibilityProperty
Identifies the AlphaSettingsVisibility dependency property.
Declaration
public static readonly DependencyProperty AlphaSettingsVisibilityProperty
Field Value
System.
|
ColorModeChangedEvent
Identifies the Color
Declaration
public static readonly RoutedEvent ColorModeChangedEvent
Field Value
System.
|
ColorModeProperty
Identifies the ColorMode dependency property.
Declaration
public static readonly DependencyProperty ColorModeProperty
Field Value
System.
|
ColorSettingsPanelWidthProperty
Identifies the Telerik.Windows.Controls.RadColorEditor.ColorSettingsPanelWidth dependency property.
Declaration
public static readonly DependencyProperty ColorSettingsPanelWidthProperty
Field Value
System.
|
HistoryCapacityProperty
Identifies the HistoryCapacity dependency property.
Declaration
public static readonly DependencyProperty HistoryCapacityProperty
Field Value
System.
|
HistoryChangedEvent
Identifies the History
Declaration
public static readonly RoutedEvent HistoryChangedEvent
Field Value
System.
|
InitialColorProperty
Identifies the InitialColor dependency property.
Declaration
public static readonly DependencyProperty InitialColorProperty
Field Value
System.
|
PreviousColorChangedEvent
Identifies the Previous
Declaration
public static readonly RoutedEvent PreviousColorChangedEvent
Field Value
System.
|
PreviousColorProperty
Identifies the PreviousColor dependency property.
Declaration
public static readonly DependencyProperty PreviousColorProperty
Field Value
System.
|
SelectedColorChangedEvent
Identifies the Selected
Declaration
public static readonly RoutedEvent SelectedColorChangedEvent
Field Value
System.
|
SelectedColorChangingEvent
Identifies the Selected
Declaration
public static readonly RoutedEvent SelectedColorChangingEvent
Field Value
System.
|
SelectedColorProperty
Identifies the SelectedColor dependency property.
Declaration
public static readonly DependencyProperty SelectedColorProperty
Field Value
System.
|
UnifiedColorProperty
Identifies the UnifiedColor dependency property.
Declaration
public static readonly DependencyProperty UnifiedColorProperty
Field Value
System.
|
ViewModelProperty
Identifies the View
Declaration
public static readonly DependencyProperty ViewModelProperty
Field Value
System.
|
Properties
ActiveSections
Gets or sets the active sections.
Declaration
public ActiveSectionTypes ActiveSections { get; set; }
Property Value
AlphaSettingsVisibility
Gets or sets the AlphaSettingsVisibility. Hides or shows the Alpha Channel TextBox and Slider.
Declaration
public Visibility AlphaSettingsVisibility { get; set; }
Property Value
System.
|
ColorConverter
Gets or sets the color converter used by Rad
Declaration
public static ColorConverter ColorConverter { get; set; }
Property Value
Color The color converter. |
ColorHistory
Provides a collection of previously selected colors.
Declaration
public ObservableCollection<Color> ColorHistory { get; }
Property Value
System.
|
ColorMode
Gets or sets the ColorMode property. The ColorMode property determines which will be the current color scheme - RGB, HLS, HSV or CMYK.
Declaration
public ColorMode ColorMode { get; set; }
Property Value
ColorSettingsPanelWidth
Gets or sets the color settings panel width.
Declaration
public double ColorSettingsPanelWidth { get; set; }
Property Value
System.
|
HistoryCapacity
Gets or sets the HistoryCapacity property.
Declaration
public int HistoryCapacity { get; set; }
Property Value
System.
|
InitialColor
Gets or sets the initial color.
Declaration
public Color InitialColor { get; set; }
Property Value
System.
|
PreviousColor
Gets or sets the previously used color.
Declaration
public Color PreviousColor { get; set; }
Property Value
System.
|
SelectedColor
Gets or sets the currently selected color.
Declaration
public Color SelectedColor { get; set; }
Property Value
System.
|
UnifiedColor
Gets or sets the UnifiedColor property.
Declaration
public UnifiedColor UnifiedColor { get; set; }
Property Value
ViewModel
Gets or sets the view model.
Declaration
public UnifiedColorViewModel ViewModel { get; }
Property Value
Unified The view model. |
Methods
AddToHistory(Color)
Adds a System.
Declaration
protected virtual void AddToHistory(Color color)
Parameters
System.
|
ChangeVisualState()
Changes the visual state of the control using transitions.
Declaration
protected virtual void ChangeVisualState()
ChangeVisualState(Boolean)
Updates the visual state of the control.
Declaration
protected virtual void ChangeVisualState(bool useTransitions)
Parameters
System. Indicates whether transitions should be used. |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application
code or internal processes (such as a rebuilding layout pass) call System.
Declaration
public override void OnApplyTemplate()
OnColorModeChanged(ColorMode, ColorMode)
Called when the ColorMode property changes.
Declaration
protected virtual void OnColorModeChanged(ColorMode oldValue, ColorMode newValue)
Parameters
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.
|
OnHistoryCapacityChanged(Int32, Int32)
Declaration
protected virtual void OnHistoryCapacityChanged(int oldValue, int newValue)
Parameters
System.
|
System.
|
OnInitialized(EventArgs)
Raises the System.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |
OnPreviousColorChanged(Color, Color)
Called when the PreviousColor property changes.
Declaration
protected virtual void OnPreviousColorChanged(Color oldValue, Color newValue)
Parameters
System.
|
System.
|
OnSelectedColorChanged(Color, Color)
Called when the SelectedColor property changes.
Declaration
protected virtual void OnSelectedColorChanged(Color oldValue, Color newValue)
Parameters
System.
|
System.
|
OnUnifiedColorChanged(UnifiedColor, UnifiedColor)
Called when the UnifiedColor property changes.
Declaration
protected virtual void OnUnifiedColorChanged(UnifiedColor oldValue, UnifiedColor newValue)
Parameters
Unified
|
Unified
|
RaiseColorModeChanged(ColorMode, ColorMode)
Raises the Color
Declaration
protected virtual void RaiseColorModeChanged(ColorMode oldValue, ColorMode newValue)
Parameters
RaiseHistoryChanged(IList<Color>, IList<Color>)
Raises the History
Declaration
protected virtual void RaiseHistoryChanged(IList<Color> removedItems, IList<Color> addedItems)
Parameters
System. The removed items. |
System. The added items. |
RaisePreviousColorChanged(Color)
Raises the Selected
Declaration
protected virtual void RaisePreviousColorChanged(Color color)
Parameters
System. The selected color. |
RaiseSelectedColorChanged(Color)
Raises the Selected
Declaration
protected virtual void RaiseSelectedColorChanged(Color color)
Parameters
System. The selected color. |
RaiseSelectedColorChanging(Color)
Raises the Selected
Declaration
protected virtual void RaiseSelectedColorChanging(Color color)
Parameters
System. The selected color. |
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()
Events
ColorModeChanged
Occurs when the Color
Declaration
public event EventHandler<ColorModeEventArgs> ColorModeChanged
Event Type
System.
|
HistoryChanged
Occurs when Color
Declaration
public event EventHandler<HistoryChangedEventArgs> HistoryChanged
Event Type
System.
|
PreviousColorChanged
Occurs when the Previous
Declaration
public event EventHandler<ColorChangeEventArgs> PreviousColorChanged
Event Type
System.
|
SelectedColorChanged
Occurs when the Selected
Declaration
public event EventHandler<ColorChangeEventArgs> SelectedColorChanged
Event Type
System.
|
SelectedColorChanging
Occurs when the Selected
Declaration
public event EventHandler<ColorChangeEventArgs> SelectedColorChanging
Event Type
System.
|