skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadColorDialogForm

Represents a dialog form containing a color picker with rich functionality for color selection.

Inheritance
System.Object
RadFormControlBase
RadForm
RadColorDialogForm
Inherited Members
RadForm.ScrollToControl(Control)
RadForm.EndInit()
RadForm.ProcessCaptureChangeRequested(RadElement, Boolean)
RadForm.InitializeFormBehavior()
RadForm.SetIconPrimitiveVisibility(Boolean)
RadForm.Text
RadForm.ThemeClassName
RadForm.FormElement
RadForm.IconScaling
RadForm.AllowTheming
RadForm.ShowIcon
RadFormControlBase.newBounds
RadFormControlBase.oldDpi
RadFormControlBase.currentDpi
RadFormControlBase.isBehaviorPrepared
RadFormControlBase.controlIsInitializingRootComponent
RadFormControlBase.isPainting
RadFormControlBase.Construct()
RadFormControlBase.GetUseNewLayout()
RadFormControlBase.OnCreateControl()
RadFormControlBase.LoadElementTree()
RadFormControlBase.LoadElementTree(Size)
RadFormControlBase.OnLoad(Size)
RadFormControlBase.OnShown(EventArgs)
RadFormControlBase.OnPaint(PaintEventArgs)
RadFormControlBase.OnPaintBackground(PaintEventArgs)
RadFormControlBase.ProcessDialogKey(Keys)
RadFormControlBase.UpdateDefaultButton()
RadFormControlBase.ShouldSerializeBackColor()
RadFormControlBase.OnBackColorChanged(EventArgs)
RadFormControlBase.ShouldSerializeForeColor()
RadFormControlBase.OnForeColorChanged(EventArgs)
RadFormControlBase.ShouldSerializeFont()
RadFormControlBase.OnFontChanged(EventArgs)
RadFormControlBase.OnParentChanged(EventArgs)
RadFormControlBase.ShouldSerializeProperty(RadProperty)
RadFormControlBase.ResetFormBehavior(Boolean)
RadFormControlBase.WndProc(Message)
RadFormControlBase.PerformDesignModeLocationCorrection(Message)
RadFormControlBase.CallBaseWndProc(Message)
RadFormControlBase.IComponentTreeHandler.GetAmbientPropertyValue(RadProperty)
RadFormControlBase.IComponentTreeHandler.OnAmbientPropertyChanged(RadProperty)
RadFormControlBase.IComponentTreeHandler.OnFocusRequested(RadElement)
RadFormControlBase.IComponentTreeHandler.OnCaptureChangeRequested(RadElement, Boolean)
RadFormControlBase.ProcessFocusRequested(RadElement)
RadFormControlBase.OnNotifyPropertyChanged(String)
RadFormControlBase.OnNotifyPropertyChanged(PropertyChangedEventArgs)
RadFormControlBase.CreateChildItems(RadElement)
RadFormControlBase.CreateRootElement()
RadFormControlBase.OnThemeNameChanged(ThemeNameChangedEventArgs)
RadFormControlBase.OnThemeChanged()
RadFormControlBase.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)
RadFormControlBase.OnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadFormControlBase.OnHandleCreated(EventArgs)
RadFormControlBase.OnVisibleChanged(EventArgs)
RadFormControlBase.IComponentTreeHandler.InitializeRootElement(RootRadElement)
RadFormControlBase.IComponentTreeHandler.CreateRootElement()
RadFormControlBase.IComponentTreeHandler.CreateChildItems(RadElement)
RadFormControlBase.IComponentTreeHandler.CallOnThemeNameChanged(ThemeNameChangedEventArgs)
RadFormControlBase.OnAutoSizeChanged(EventArgs)
RadFormControlBase.OnLayout(LayoutEventArgs)
RadFormControlBase.CreateHandle()
RadFormControlBase.SetClientSizeCore(Int32, Int32)
RadFormControlBase.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)
RadFormControlBase.GetPreferredSize(Size)
RadFormControlBase.InvalidateIfNotSuspended()
RadFormControlBase.IComponentTreeHandler.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)
RadFormControlBase.IComponentTreeHandler.CallOnMouseCaptureChanged(EventArgs)
RadFormControlBase.IComponentTreeHandler.CallOnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadFormControlBase.InvalidateElement(RadElement)
RadFormControlBase.InvalidateElement(RadElement, Rectangle)
RadFormControlBase.AddInvalidatedRect(Rectangle)
RadFormControlBase.SuspendUpdate()
RadFormControlBase.ResumeUpdate()
RadFormControlBase.ResumeUpdate(Boolean)
RadFormControlBase.RegisterHostedControl(RadHostItem)
RadFormControlBase.UnregisterHostedControl(RadHostItem, Boolean)
RadFormControlBase.ControlDefinesThemeForElement(RadElement)
RadFormControlBase.OnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadFormControlBase.IComponentTreeHandler.CallOnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadFormControlBase.ControlThemeChangedCallback()
RadFormControlBase.IComponentTreeHandler.GetShowFocusCues()
RadFormControlBase.InvokeLayoutCallback(LayoutCallback)
RadFormControlBase.BeginInit()
RadFormControlBase.HandleDpiChanged()
RadFormControlBase.ScaleControl(SizeF, BoundsSpecified)
RadFormControlBase.SuspendDpiScaling()
RadFormControlBase.ResumeDpiScaling()
RadFormControlBase.OnWm_SettingChange(Message)
RadFormControlBase.IComponentTreeHandler.get_Name()
RadFormControlBase.IComponentTreeHandler.set_Name(String)
RadFormControlBase.Site
RadFormControlBase.AnalyticsName
RadFormControlBase.EnableAnalytics
RadFormControlBase.IsLoaded
RadFormControlBase.MaximumSize
RadFormControlBase.MinimumSize
RadFormControlBase.FormBorderStyle
RadFormControlBase.FormBehavior
RadFormControlBase.Behavior
RadFormControlBase.SmallImageList
RadFormControlBase.FocusedElement
RadFormControlBase.AllowShowFocusCues
RadFormControlBase.ShowItemToolTips
RadFormControlBase.CommandBindings
RadFormControlBase.EnableKeyMap
RadFormControlBase.WindowsSettings
RadFormControlBase.BackColor
RadFormControlBase.ForeColor
RadFormControlBase.Font
RadFormControlBase.CreateParams
RadFormControlBase.IsDesignMode
RadFormControlBase.ElementTree
RadFormControlBase.IComponentTreeHandler.Behavior
RadFormControlBase.IComponentTreeHandler.ThemeClassName
RadFormControlBase.ThemeName
RadFormControlBase.RootElement
RadFormControlBase.IsUpdateSuspended
RadFormControlBase.IComponentTreeHandler.SmallImageList
RadFormControlBase.ImageList
RadFormControlBase.SmallImageScalingSize
RadFormControlBase.ImageScalingSize
RadFormControlBase.IComponentTreeHandler.Initializing
RadFormControlBase.LayoutManager
RadFormControlBase.IsInitialized
RadFormControlBase.IsPerformingScale
RadFormControlBase.HasOwnToolbar
RadFormControlBase.IsDpiScalingSuspended
RadFormControlBase.ThemeNameChanged
RadFormControlBase.ToolTipTextNeeded
RadFormControlBase.ScreenTipNeeded
RadFormControlBase.Initialized
RadFormControlBase.PropertyChanged
RadFormControlBase.WindowsThemeChanged
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll

Syntax

public class RadColorDialogForm : RadForm, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider, IRadColorDialog

Constructors

RadColorDialogForm()

Initializes a new instance of the RadColorDialogForm class.

Declaration
public 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
IRadColorDialog.ActiveMode

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
IRadColorDialog.AllowColorPickFromScreen

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
IRadColorDialog.AllowColorSaving

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
IRadColorDialog.AllowEditHEXValue

BasicTabHeading

Gets or sets the heading text for the basic colors tab.

Declaration
public string BasicTabHeading { get; set; }
Property Value
System.String

Implements
IRadColorDialog.BasicTabHeading

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
IRadColorDialog.CustomColors

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
IRadColorDialog.OldColor

OldColorLabelHeading

Gets or sets the heading text for the old color label.

Declaration
public string OldColorLabelHeading { get; set; }
Property Value
System.String

Implements
IRadColorDialog.OldColorLabelHeading

ProfessionalTabHeading

Gets or sets the heading text for the professional colors tab.

Declaration
public string ProfessionalTabHeading { get; set; }
Property Value
System.String

Implements
IRadColorDialog.ProfessionalTabHeading

RadColorSelector

Gets the color selector control as a System.Windows.Forms.UserControl.

Declaration
public UserControl RadColorSelector { get; }
Property Value
System.Windows.Forms.UserControl

Implements
IRadColorDialog.RadColorSelector

SelectedColor

Gets or sets the currently selected color in the color picker.

Declaration
public Color SelectedColor { get; set; }
Property Value
System.Drawing.Color

Implements
IRadColorDialog.SelectedColor

SelectedColorLabelHeading

Gets or sets the heading text for the selected color label.

Declaration
public string SelectedColorLabelHeading { get; set; }
Property Value
System.String

Implements
IRadColorDialog.SelectedColorLabelHeading

SelectedHslColor

Gets or sets the currently selected color as an HslColor value.

Declaration
public HslColor SelectedHslColor { get; set; }
Property Value
HslColor

Implements
IRadColorDialog.SelectedHslColor

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
IRadColorDialog.ShowBasicColors

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
IRadColorDialog.ShowCustomColors

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
IRadColorDialog.ShowHEXColorValue

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
IRadColorDialog.ShowProfessionalColors

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
IRadColorDialog.ShowSystemColors

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
IRadColorDialog.ShowWebColors

SystemTabHeading

Gets or sets the heading text for the system colors tab.

Declaration
public string SystemTabHeading { get; set; }
Property Value
System.String

Implements
IRadColorDialog.SystemTabHeading

WebTabHeading

Gets or sets the heading text for the web colors tab.

Declaration
public string WebTabHeading { get; set; }
Property Value
System.String

Implements
IRadColorDialog.WebTabHeading

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
RadForm.Dispose(Boolean)

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
RadForm.OnLoad(EventArgs)

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

Implements
IRadColorDialog.ColorChanged

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.