Class
RadColorPicker

RadColorPicker control.

Definition

Namespace:Telerik.WebAii.Controls.Html

Assembly:Telerik.WebAii.Controls.Html.dll

Syntax:

cs-api-definition
public class RadColorPicker : HtmlDiv

Inheritance: objectControlHtmlControlHtmlContainerControlHtmlDivRadColorPicker

Inherited Members HtmlContainerControl.TextContentHtmlContainerControl.InnerTextHtmlControl.FindParentContainer<TContainerControl>()HtmlControl.ValidateTag(string)HtmlControl.ValidateControl()HtmlControl.ParseResponseValue<T>(string, T)HtmlControl.GetAttributeAsString(string)HtmlControl.InitializeMappings(MappingsCollection)HtmlControl.GetRectangle()HtmlControl.IsVisible()HtmlControl.GetStyleValue(string)HtmlControl.GetStyle(string)HtmlControl.GetComputedStyleValue(string)HtmlControl.GetComputedStyle(string)HtmlControl.Parent<TContainerControl>()HtmlControl.Capture()HtmlControl.Capture(string, string)HtmlControl.Capture(string)HtmlControl.InvokeEvent(ScriptEventType)HtmlControl.InvokeEvent(ScriptEventType, bool)HtmlControl.InvokeEvent(ScriptEvent)HtmlControl.InvokeEvent(ScriptEvent, bool)HtmlControl.AddEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.RemoveEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.MouseClick()HtmlControl.MouseClick(MouseClickType)HtmlControl.MouseClick(MouseClickType, int, int)HtmlControl.MouseClick(MouseClickType, Point, OffsetReference)HtmlControl.MouseClick(MouseClickType, int, int, OffsetReference)HtmlControl.MouseHover()HtmlControl.MouseHover(Point)HtmlControl.MouseHover(int, int)HtmlControl.MouseHover(int, int, OffsetReference)HtmlControl.Click()HtmlControl.Click(bool)HtmlControl.ScrollToVisible()HtmlControl.ScrollToVisible(ScrollToVisibleType)HtmlControl.ScrollToVisible(ScrollToVisibleType, Rectangle)HtmlControl.Download(bool, DownloadOption, string, int)HtmlControl.CallMethod(string)HtmlControl.CallMethod<T>(string)HtmlControl.CallMethod<T>(string, T)HtmlControl.GetValue<T>(string)HtmlControl.GetValue<T>(string, T)HtmlControl.GetValue<T>(string, bool)HtmlControl.GetValue<T>(string, bool, T)HtmlControl.SetValue<T>(string, T)HtmlControl.SetValue<T>(string, T, bool)HtmlControl.Focus()HtmlControl.DragTo(OffsetReference, Point, int, int)HtmlControl.DragTo(OffsetReference, int, int, Rectangle, OffsetReference, int, int)HtmlControl.DragTo(Point)HtmlControl.DragTo(int, int)HtmlControl.DragTo(HtmlControl)HtmlControl.DragTo(HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, Point, HtmlControl)HtmlControl.DragTo(OffsetReference, Point, HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, int, int, bool, HtmlControl, OffsetReference, int, int, bool)HtmlControl.DragToWindowLocation(OffsetReference, int, int, bool, OffsetReference, int, int, bool)HtmlControl.ToString()HtmlControl.AsjQueryControl()HtmlControl.GetElementByTagNameClientSideLocatorHtmlControl.GetElementByIdClientSideLocatorHtmlControl.FindHtmlControl.ScrollTopHtmlControl.ScrollLeftHtmlControl.WaitHtmlControl.IDHtmlControl.CssClassHtmlControl.AttributesHtmlControl.MappingsHtmlControl.StylesHtmlControl.EventsHtmlControl.TagNameHtmlControl.ChildNodesHtmlControl.IsActiveElementHtmlControl.IsEnabledControl.Refresh()Control.AssignFailed(Exception)Control.SetTelerikComponentsVersion(TelerikComponentsVersion?)Control.MatchControl(Element, FindParam)Control.GetFamilyElement(int, Element)Control.ThrowOnInvalidAssignmentControl.TelerikComponentsVersionControl.IsRefreshControl.BaseElementControl.OwnerBrowserControl.Locator

Constructors

RadColorPicker()

Initializes a new instance of the RadColorPicker class.

Declaration

cs-api-definition
public RadColorPicker()

RadColorPicker(Element)

Initializes a new instance of the RadColorPicker class.

Declaration

cs-api-definition
public RadColorPicker(Element element)

Parameters

element

Element

RadColorPicker wrapper div.

Properties

ClientSideLocator

Client-side script that identifies the control.

Declaration

cs-api-definition
public override string ClientSideLocator { get; }

Property Value

string

Overrides HtmlControl.ClientSideLocator

Columns

Gets ColorPicker columns.

Declaration

cs-api-definition
public int Columns { get; }

Property Value

int

Enabled

Determines or set whether the ColorPicker is enabled.

Declaration

cs-api-definition
public bool Enabled { get; set; }

Property Value

bool

Icon

Get the icon sub control of this RadColorPicker instance.

Declaration

cs-api-definition
public ColorPickerIcon Icon { get; }

Property Value

ColorPickerIcon

LocatorExpression

Gets the HtmlFindExpression that defines the pattern for a RadColorPickerHtmlControl.

Declaration

cs-api-definition
public override IFindExpression LocatorExpression { get; }

Property Value

IFindExpression

Overrides Control.LocatorExpression

Palette

Get the palette sub control of this RadColorPicker instance.

Declaration

cs-api-definition
public ColorPickerPalette Palette { get; }

Property Value

ColorPickerPalette

PaletteDisplayed

Determines whether the palette is displayed.

Declaration

cs-api-definition
public bool PaletteDisplayed { get; }

Property Value

bool

SelectedColor

Gets/sets currently selected color.

Declaration

cs-api-definition
public string SelectedColor { get; set; }

Property Value

string

ShowIcon

Determines whether the ColorPickcer is shown as an icon.

Declaration

cs-api-definition
public bool ShowIcon { get; }

Property Value

bool

Methods

AssignElement(Element)

Assign the control element.

Declaration

cs-api-definition
public override void AssignElement(Element e)

Parameters

e

Element

The underlying element object.

Overrides HtmlDiv.AssignElement(Element)

ControlAssert()

Gets RadControlAssert instance initialized for this control.

Declaration

cs-api-definition
public RadControlAssert ControlAssert()

Returns

RadControlAssert

RadControlAssert instance initialized for this control.

HidePalette()

Hides the ColorPicker palette and updates the ColorPicker instance.

Declaration

cs-api-definition
public void HidePalette()

ShowPalette()

Shows the ColorPicker palette and updates the ColorPicker instance.

Declaration

cs-api-definition
public void ShowPalette()