New to Telerik UI for WinFormsStart a free 30-day trial

Provides a design-time editor for ElementShape objects with dropdown selection and custom shape editing capabilities.

Definition

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)
Parameters:contextITypeDescriptorContext

The type descriptor context.

providerIServiceProvider

The service provider.

valueobject

The current value to edit.

Returns:

object

The edited value.

Overrides: UITypeEditor.EditValue(ITypeDescriptorContext, IServiceProvider, object)

Gets the editing style for the editor.

C#
public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext context)
Parameters:contextITypeDescriptorContext

The type descriptor context.

Returns:

UITypeEditorEditStyle

The DropDown style.

Overrides: UITypeEditor.GetEditStyle(ITypeDescriptorContext)