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