New to Telerik UI for WinForms? Start a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class EditorInitializingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsEditorInitializingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Gets the descriptor for the property whose editor is being created.

C#
public PropertyDescriptor Property { get; }

Constructors

Initializes event data for an editor candidate.

C#
public EditorInitializingEventArgs(PropertyDescriptor property, Control editor, Type editorType)
Parameters:propertyPropertyDescriptor

The descriptor for the property being edited.

editorControl

The initial editor control candidate.

editorTypeType

The runtime type of the initial editor candidate.

Properties

Gets or sets the editor candidate. Runtime generation uses this value; design-time generation creates a replacement component of EditorType when a different instance is assigned.

C#
public Control Editor { get; set; }

Gets the runtime type of the initial editor candidate. Design-time generation uses this type when creating a replacement component.

C#
public Type EditorType { get; }