Class PropertyGridUITypeEditorElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class PropertyGridUITypeEditorElement : RadTextBoxElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode
Constructors
PropertyGridUITypeEditorElement(Type)
Declaration
public PropertyGridUITypeEditorElement(Type editedType)
Parameters
System.Type
editedType
|
Properties
Button
Converter
Declaration
public TypeConverter Converter { get; set; }
Property Value
System.ComponentModel.TypeConverter
|
EditedType
Declaration
public Type EditedType { get; set; }
Property Value
System.Type
|
Editor
Declaration
public UITypeEditor Editor { get; set; }
Property Value
System.Drawing.Design.UITypeEditor
|
ThemeEffectiveType
Declaration
protected override Type ThemeEffectiveType { get; }
Property Value
System.Type
|
Overrides
Value
Declaration
public virtual object Value { get; set; }
Property Value
System.Object
|
Methods
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
DropEditor()
Shows the UITypeEditor
Declaration
protected virtual void DropEditor()
GetValue()
Declaration
protected virtual object GetValue()
Returns
System.Object
|
OnEditorButtonClick()
Occurs when the button of the editor is clicked.
Declaration
protected virtual void OnEditorButtonClick()
SelectTextBox()
Selects the whole text inside the editor tex box.
Declaration
public void SelectTextBox()
ShouldCloseEditor(Object, Object)
Determines if the editor should be closed after the value has been changed.
Declaration
protected virtual bool ShouldCloseEditor(object oldValue, object newValue)
Parameters
System.Object
oldValue
The current value of the editor. |
System.Object
newValue
The new value of the editor. |
Returns
System.Boolean
True if editor should be closed other wise false. |
Validate()
Validates if the text input in the text box is a valid value for the edited item
Declaration
public virtual bool Validate()
Returns
System.Boolean
True if the value is valid otherwise false. |