Class
DataFormEditorGeneratedEventArgs

Event arguments allowing to customize the generated DataFormEditor for a given property in the RadDataForm.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class DataFormEditorGeneratedEventArgs : EventArgs

Inheritance: objectEventArgsDataFormEditorGeneratedEventArgs

Inherited Members EventArgs.Empty

Constructors

DataFormEditorGeneratedEventArgs(string, Type)

Initializes a new instance of the DataFormEditorGeneratedEventArgs class.

Declaration

cs-api-definition
public DataFormEditorGeneratedEventArgs(string propertyName, Type propertyType)

Parameters

propertyName

string

Specifies the name of the property from the data model, for which to generate an editor.

propertyType

Type

Specifies the type of the property from the data model, for which to generate an editor.

DataFormEditorGeneratedEventArgs(string, Type, DataFormEditor)

Initializes a new instance of the DataFormEditorGeneratedEventArgs class.

Declaration

cs-api-definition
public DataFormEditorGeneratedEventArgs(string propertyName, Type propertyType, DataFormEditor defaultEditor)

Parameters

propertyName

string

Specifies the name of the property from the data model, for which to generate an editor.

propertyType

Type

Specifies the type of the property from the data model, for which to generate an editor.

defaultEditor

DataFormEditor

Specifies the default editor, which is generated for the specified property.

Properties

Editor

Gets or sets the editor, which is generated for the specified property. To skip the generation of the editor, set this property to null.

Declaration

cs-api-definition
public DataFormEditor Editor { get; set; }

Property Value

DataFormEditor

PropertyName

Gets the name of property from the data model, for which to generate an editor.

Declaration

cs-api-definition
public string PropertyName { get; }

Property Value

string

PropertyType

Gets the type of property from the data model, for which to generate an editor.

Declaration

cs-api-definition
public Type PropertyType { get; }

Property Value

Type