Class ElementShapeEditor
Provides a design-time editor for ElementShape objects with dropdown selection and custom shape editing capabilities.
Inheritance
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class ElementShapeEditor : UITypeEditor
Constructors
ElementShapeEditor()
Methods
EditValue(ITypeDescriptorContext, IServiceProvider, Object)
Edits the specified value using the provided context and service provider.
Declaration
public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
Parameters
|
System.ComponentModel.ITypeDescriptorContext
context
The type descriptor context. |
|
System.IServiceProvider
provider
The service provider. |
|
System.Object
value
The current value to edit. |
Returns
|
System.Object
The edited value. |
GetEditStyle(ITypeDescriptorContext)
Gets the editing style for the editor.
Declaration
public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext context)
Parameters
|
System.ComponentModel.ITypeDescriptorContext
context
The type descriptor context. |
Returns
|
System.Drawing.Design.UITypeEditorEditStyle
The System.Drawing.Design.UITypeEditorEditStyle.DropDown style. |