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

Provides an editor type and optional editor instance for an editor-required event.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class EditorRequiredEventArgs : EventArgs

Inheritance: objectEventArgsEditorRequiredEventArgs

Derived Classes: ListViewItemEditorRequiredEventArgsPropertyGridEditorRequiredEventArgsTreeNodeEditorRequiredEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes EditorRequiredEventArgs with editor type defined.

C#
public EditorRequiredEventArgs()

Initializes EditorRequiredEventArgs setting the required editor type.

C#
public EditorRequiredEventArgs(Type editorType)
Parameters:editorTypeType

The type of the editor required.

Properties

Gets or sets the editor instance supplied for the edit operation.

C#
public IValueEditor Editor { get; set; }

An event handler can supply an editor directly; when this property remains null, the owning control can use EditorType to create one.

Gets or sets the type of the editor required by the edited control if no default editor is available.

C#
public Type EditorType { get; set; }