Class RadColorBoxElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadColorBoxElement : RadTextBoxElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode
Constructors
RadColorBoxElement()
Declaration
public RadColorBoxElement()
Properties
ColorBox
Gets the Color
Declaration
public ColorEditorColorBox ColorBox { get; }
Property Value
ColorDialog
Gets or set the Rad
Declaration
public RadColorDialog ColorDialog { get; set; }
Property Value
ColorPickerButton
Gets the Rad
Declaration
public ColorPickerButtonElement ColorPickerButton { get; }
Property Value
ReadOnly
Gets or sets a value indicating if the user is allowed to type in the text field.
Declaration
public bool ReadOnly { get; set; }
Property Value
System.
|
Value
Gets the value of the editor.
Declaration
public virtual Color Value { get; set; }
Property Value
System.
|
Methods
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateColorBoxElement()
Declaration
protected virtual ColorEditorColorBox CreateColorBoxElement()
Returns
CreateColorDialog()
CreateColorPickerButtonElement()
Declaration
protected virtual ColorPickerButtonElement CreateColorPickerButtonElement()
Returns
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
GetColorValue()
Declaration
public virtual Color GetColorValue()
Returns
System.
|
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
OnDialogButtonClick(EventArgs)
Fires when the Color
Declaration
protected virtual void OnDialogButtonClick(EventArgs e)
Parameters
System. The event arguments. |
OnDialogClosed(DialogClosedEventArgs)
Fires after the color dialog is closed.
Declaration
protected virtual void OnDialogClosed(DialogClosedEventArgs e)
Parameters
Dialog The event arguments. |
OnKeyDown(KeyEventArgs)
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System.
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
OnPropertyChanging(RadPropertyChangingEventArgs)
Declaration
protected override void OnPropertyChanging(RadPropertyChangingEventArgs args)
Parameters
Overrides
OnTextChanged(EventArgs)
Declaration
protected override void OnTextChanged(EventArgs e)
Parameters
System.
|
Overrides
OnTextChanging(TextChangingEventArgs)
Declaration
protected override void OnTextChanging(TextChangingEventArgs e)
Parameters
Overrides
OnValueChanged(EventArgs)
Fires right after the editor value is changed.
Declaration
protected virtual void OnValueChanged(EventArgs e)
Parameters
System. The event arguments. |
OnValueChanging(ValueChangingEventArgs)
Fires right before the editor value is changed.
Declaration
protected virtual void OnValueChanging(ValueChangingEventArgs e)
Parameters
Value The event arguments. |
SetColorValue(Color)
Declaration
public virtual void SetColorValue(Color newValue)
Parameters
System.
|
UnwireEvents()
Declaration
protected virtual void UnwireEvents()
Validate()
Declaration
public virtual bool Validate()
Returns
System.
|
WireEvents()
Declaration
protected virtual void WireEvents()
Events
DialogClosed
Occurs when the dialog window is closed.
Declaration
public event DialogClosedEventHandler DialogClosed
Event Type
ValueChanged
Occurs after the editor has changed the value during the editing process.
Declaration
public event EventHandler ValueChanged
Event Type
System.
|
ValueChanging
Occurs when the value is being changed. Cancelable event.
Declaration
public event ValueChangingEventHandler ValueChanging