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:
public class DataFormEditorGeneratedEventArgs : EventArgs
Inheritance: objectEventArgsDataFormEditorGeneratedEventArgs
Inherited Members
Constructors
Initializes a new instance of the DataFormEditorGeneratedEventArgs class.
public DataFormEditorGeneratedEventArgs(string propertyName, Type propertyType, DataFormEditor defaultEditor)
Specifies the name of the property from the data model, for which to generate an editor.
propertyTypeTypeSpecifies the type of the property from the data model, for which to generate an editor.
defaultEditorDataFormEditorSpecifies the default editor, which is generated for the specified property.
Initializes a new instance of the DataFormEditorGeneratedEventArgs class.
public DataFormEditorGeneratedEventArgs(string propertyName, Type propertyType)
Specifies the name of the property from the data model, for which to generate an editor.
propertyTypeTypeSpecifies the type of the property from the data model, for which to generate an editor.
Properties
Gets or sets the editor, which is generated for the specified property. To skip the generation of the editor, set this property to null.
public DataFormEditor Editor { get; set; }
Gets the name of property from the data model, for which to generate an editor.
public string PropertyName { get; }
Gets the type of property from the data model, for which to generate an editor.
public Type PropertyType { get; }