ElementShapeEditor
Class
Provides a design-time editor for ElementShape objects with dropdown selection and custom shape editing capabilities.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
C#
public class ElementShapeEditor : UITypeEditor
Inheritance: objectUITypeEditorElementShapeEditor
Inherited Members
Constructors
Initializes a new instance of the ElementShapeEditor class.
C#
public ElementShapeEditor()
Methods
Edits the specified value using the provided context and service provider.
C#
public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
The type descriptor context.
providerIServiceProviderThe service provider.
valueobjectThe current value to edit.
Returns:The edited value.
Overrides:
Gets the editing style for the editor.
C#
public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext context)
The type descriptor context.
Returns:The DropDown style.
Overrides: