Class DataFormEditorGeneratedEventArgs
Event arguments allowing to customize the generated DataFormEditor for a given property in the RadDataForm.
Inheritance
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class DataFormEditorGeneratedEventArgs : EventArgs
Constructors
DataFormEditorGeneratedEventArgs(String, Type)
Initializes a new instance of the DataFormEditorGeneratedEventArgs class.
Declaration
public DataFormEditorGeneratedEventArgs(string propertyName, Type propertyType)
Parameters
System.String
propertyName
Specifies the name of the property from the data model, for which to generate an editor. |
System.Type
propertyType
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
public DataFormEditorGeneratedEventArgs(string propertyName, Type propertyType, DataFormEditor defaultEditor)
Parameters
System.String
propertyName
Specifies the name of the property from the data model, for which to generate an editor. |
System.Type
propertyType
Specifies the type of the property from the data model, for which to generate an editor. |
DataFormEditor
defaultEditor
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
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
public string PropertyName { get; }
Property Value
System.String
|
PropertyType
Gets the type of property from the data model, for which to generate an editor.
Declaration
public Type PropertyType { get; }
Property Value
System.Type
|