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 ColorEditorColorBox that shows the color in the editor.
Declaration
public ColorEditorColorBox ColorBox { get; }
Property Value
ColorEditorColorBox
|
ColorDialog
Gets or set the RadColorDialog that is displayed when the button is clicked.
Declaration
public RadColorDialog ColorDialog { get; set; }
Property Value
RadColorDialog
|
ColorPickerButton
Gets the RadButtonElement that opens the RadColorDialog.
Declaration
public ColorPickerButtonElement ColorPickerButton { get; }
Property Value
ColorPickerButtonElement
|
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.Boolean
|
Value
Gets the value of the editor.
Declaration
public virtual Color Value { get; set; }
Property Value
System.Drawing.Color
|
Methods
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateColorBoxElement()
Declaration
protected virtual ColorEditorColorBox CreateColorBoxElement()
Returns
ColorEditorColorBox
|
CreateColorDialog()
CreateColorPickerButtonElement()
Declaration
protected virtual ColorPickerButtonElement CreateColorPickerButtonElement()
Returns
ColorPickerButtonElement
|
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
GetColorValue()
Declaration
public virtual Color GetColorValue()
Returns
System.Drawing.Color
|
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
OnDialogButtonClick(EventArgs)
Fires when the ColorPickerButtonElement is clicked.
Declaration
protected virtual void OnDialogButtonClick(EventArgs e)
Parameters
System.EventArgs
e
The event arguments. |
OnDialogClosed(DialogClosedEventArgs)
Fires after the color dialog is closed.
Declaration
protected virtual void OnDialogClosed(DialogClosedEventArgs e)
Parameters
DialogClosedEventArgs
e
The event arguments. |
OnKeyDown(KeyEventArgs)
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
OnPropertyChanging(RadPropertyChangingEventArgs)
Declaration
protected override void OnPropertyChanging(RadPropertyChangingEventArgs args)
Parameters
RadPropertyChangingEventArgs
args
|
Overrides
OnTextChanged(EventArgs)
Declaration
protected override void OnTextChanged(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnTextChanging(TextChangingEventArgs)
Declaration
protected override void OnTextChanging(TextChangingEventArgs e)
Parameters
TextChangingEventArgs
e
|
Overrides
OnValueChanged(EventArgs)
Fires right after the editor value is changed.
Declaration
protected virtual void OnValueChanged(EventArgs e)
Parameters
System.EventArgs
e
The event arguments. |
OnValueChanging(ValueChangingEventArgs)
Fires right before the editor value is changed.
Declaration
protected virtual void OnValueChanging(ValueChangingEventArgs e)
Parameters
ValueChangingEventArgs
e
The event arguments. |
SetColorValue(Color)
Declaration
public virtual void SetColorValue(Color newValue)
Parameters
System.Drawing.Color
newValue
|
UnwireEvents()
Declaration
protected virtual void UnwireEvents()
Validate()
Declaration
public virtual bool Validate()
Returns
System.Boolean
|
WireEvents()
Declaration
protected virtual void WireEvents()
Events
DialogClosed
Occurs when the dialog window is closed.
Declaration
public event DialogClosedEventHandler DialogClosed
Event Type
DialogClosedEventHandler
|
ValueChanged
Occurs after the editor has changed the value during the editing process.
Declaration
public event EventHandler ValueChanged
Event Type
System.EventHandler
|
ValueChanging
Occurs when the value is being changed. Cancelable event.
Declaration
public event ValueChangingEventHandler ValueChanging
Event Type
ValueChangingEventHandler
|