RadColorDialogForm
Represents a dialog form containing a color picker with rich functionality for color selection.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadColorDialogForm : RadForm, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider, ISupportRootUIAutomation, IRadColorDialog
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormRadFormControlBaseRadFormRadColorDialogForm...
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadColorDialogForm class.
public RadColorDialogForm()
Properties
Gets or sets the active mode of the color picker, determining which tab is currently displayed.
public ColorPickerActiveMode ActiveMode { get; set; }
Implements:
Gets or sets a value indicating whether users can pick colors from the screen using an eyedropper tool.
public bool AllowColorPickFromScreen { get; set; }
Implements:
Gets or sets a value indicating whether users can save colors to the custom colors collection.
public bool AllowColorSaving { get; set; }
Implements:
Gets or sets a value indicating whether users can edit the hexadecimal color value directly.
public bool AllowEditHEXValue { get; set; }
Implements:
Gets or sets the heading text for the basic colors tab.
public string BasicTabHeading { get; set; }
Implements:
Gets an array of custom colors that have been saved by the user.
public Color[] CustomColors { get; }
Implements:
Gets or sets the old color that was previously selected, used for comparison purposes.
public Color OldColor { get; set; }
Implements:
Gets or sets the heading text for the old color label.
public string OldColorLabelHeading { get; set; }
Implements:
Gets or sets the heading text for the professional colors tab.
public string ProfessionalTabHeading { get; set; }
Implements:
Gets the color selector control as a UserControl.
public UserControl RadColorSelector { get; }
Implements:
Gets or sets the currently selected color in the color picker.
public Color SelectedColor { get; set; }
Implements:
Gets or sets the heading text for the selected color label.
public string SelectedColorLabelHeading { get; set; }
Implements:
Gets or sets the currently selected color as an HslColor value.
public HslColor SelectedHslColor { get; set; }
Implements:
Gets or sets a value indicating whether the basic colors tab is visible.
public bool ShowBasicColors { get; set; }
Implements:
Gets or sets a value indicating whether the custom colors tab is visible.
public bool ShowCustomColors { get; set; }
Implements:
Gets or sets a value indicating whether the hexadecimal color value is displayed.
public bool ShowHEXColorValue { get; set; }
Implements:
Gets or sets a value indicating whether the professional colors tab is visible.
public bool ShowProfessionalColors { get; set; }
Implements:
Gets or sets a value indicating whether the system colors tab is visible.
public bool ShowSystemColors { get; set; }
Implements:
Gets or sets a value indicating whether the web colors tab is visible.
public bool ShowWebColors { get; set; }
Implements:
Gets or sets the heading text for the system colors tab.
public string SystemTabHeading { get; set; }
Implements:
Gets or sets the heading text for the web colors tab.
public string WebTabHeading { get; set; }
Implements:
Methods
Clean up any resources being used.
protected override void Dispose(bool disposing)
true if managed resources should be disposed; otherwise, false.
Overrides:
Raises the ColorChanged event.
protected virtual void OnColorChanged(ColorChangedEventArgs e)
A ColorChangedEventArgs that contains the event data.
Processes command keys to handle special keyboard input, such as the Enter key.
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
A Message, passed by reference, that represents the window message to process.
keyDataKeysOne of the Keys values that represents the key to process.
Returns:true if the command key was processed by this method; otherwise, false.
Overrides:
Events
Occurs when the selected color has changed.
public event ColorChangedEventHandler ColorChanged
Implements: