ClassRadColorPicker
Represents the Silverlight RadColorPicker control wrapper.
Definition
Namespace:Telerik.WebAii.Controls.Xaml
Assembly:Telerik.WebAii.Controls.Xaml.dll
Syntax:
public class RadColorPicker : Control, IAutomationPeer, IPeerConverter, IRadColorPicker, IControl, IFrameworkElement, ITargetElement
Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementSilverlightTestElementControlRadColorPicker
Implements:
Inherited Members
Constructors
RadColorPicker()
Initializes a new instance of the RadColorPicker class.
Declaration
public RadColorPicker()
Properties
IsPopupOpen
Get whether the color selector popup is opened. Returns false if the popup cannot be found for some reason (e.g. custom control template).
SelectedColor
Gets/Sets the left button color (the selected color).
SelectedColorValue
Get the selected color RGB representation. Example: '255:0:0'.
Declaration
public string SelectedColorValue { get; }
Property Value
Implements
Selector
Get the selector control from the popup if open; return 'null' otherwise.
Declaration
public RadColorSelector Selector { get; }
Property Value
Methods
SelectItem(int, int)
Selects the item from the popped up selector finding the palette and its item with the given indeces.
TogglePopup()
Simulates user clicking on the drop down image to open/close the popup.
Declaration
public void TogglePopup()
Implements
WaitPopupAnimation(int)
Useful upon any open/close action of the popup.
Declaration
public void WaitPopupAnimation(int checkDuration)
Parameters
checkDuration
The duration in millis to wait for.