Class RadDataForm
The Rad
Inherited Members
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class RadDataForm : DataFormContentView, IRadContentView, IContentView, IPadding, ICrossPlatformLayout, IDataFormView, IView, IElement, ITransform
Constructors
RadDataForm()
Fields
ActualValidationSummaryImageStyleProperty
Identifies the Actual
Declaration
public static readonly BindableProperty ActualValidationSummaryImageStyleProperty
Field Value
Microsoft.
|
ActualValidationSummaryLabelStyleProperty
Identifies the Actual
Declaration
public static readonly BindableProperty ActualValidationSummaryLabelStyleProperty
Field Value
Microsoft.
|
ActualValidationSummaryStyleProperty
Identifies the Actual
Declaration
public static readonly BindableProperty ActualValidationSummaryStyleProperty
Field Value
Microsoft.
|
AutoGenerateItemsProperty
Identifies the Auto
Declaration
public static BindableProperty AutoGenerateItemsProperty
Field Value
Microsoft.
|
CommitModeProperty
Identifies the Commit
Declaration
public static readonly BindableProperty CommitModeProperty
Field Value
Microsoft.
|
ErrorDisplayOptionsProperty
Identifies the Error
Declaration
public static readonly BindableProperty ErrorDisplayOptionsProperty
Field Value
Microsoft.
|
ErrorImageSourceProperty
Identifies the Error
Declaration
public static readonly BindableProperty ErrorImageSourceProperty
Field Value
Microsoft.
|
ErrorImageStyleProperty
Identifies the Error
Declaration
public static readonly BindableProperty ErrorImageStyleProperty
Field Value
Microsoft.
|
ErrorLabelStyleProperty
Identifies the Error
Declaration
public static readonly BindableProperty ErrorLabelStyleProperty
Field Value
Microsoft.
|
ErrorLengthProperty
Identifies the Error
Declaration
public static readonly BindableProperty ErrorLengthProperty
Field Value
Microsoft.
|
ErrorPositionProperty
Identifies the Error
Declaration
public static readonly BindableProperty ErrorPositionProperty
Field Value
Microsoft.
|
HasPendingChangesProperty
Identifies the Has
Declaration
public static readonly BindableProperty HasPendingChangesProperty
Field Value
Microsoft.
|
HasValidationErrorsProperty
Identifies the Has
Declaration
public static readonly BindableProperty HasValidationErrorsProperty
Field Value
Microsoft.
|
HeaderDisplayOptionsProperty
Identifies the Header
Declaration
public static readonly BindableProperty HeaderDisplayOptionsProperty
Field Value
Microsoft.
|
HeaderImageSourceProperty
Identifies the Header
Declaration
public static readonly BindableProperty HeaderImageSourceProperty
Field Value
Microsoft.
|
HeaderImageStyleProperty
Identifies the Header
Declaration
public static readonly BindableProperty HeaderImageStyleProperty
Field Value
Microsoft.
|
HeaderLabelStyleProperty
Identifies the Header
Declaration
public static readonly BindableProperty HeaderLabelStyleProperty
Field Value
Microsoft.
|
HeaderLengthProperty
Identifies the Header
Declaration
public static readonly BindableProperty HeaderLengthProperty
Field Value
Microsoft.
|
HeaderPositionProperty
Identifies the Header
Declaration
public static readonly BindableProperty HeaderPositionProperty
Field Value
Microsoft.
|
IsValidationSummaryVisibleProperty
Identifies the Is
Declaration
public static readonly BindableProperty IsValidationSummaryVisibleProperty
Field Value
Microsoft.
|
LayoutDefinitionProperty
Identifies the Layout
Declaration
public static readonly BindableProperty LayoutDefinitionProperty
Field Value
Microsoft.
|
ValidationModeProperty
Identifies the Validation
Declaration
public static readonly BindableProperty ValidationModeProperty
Field Value
Microsoft.
|
ValidationSummaryImageSourceProperty
Identifies the Validation
Declaration
public static readonly BindableProperty ValidationSummaryImageSourceProperty
Field Value
Microsoft.
|
ValidationSummaryImageStyleProperty
Identifies the Validation
Declaration
public static readonly BindableProperty ValidationSummaryImageStyleProperty
Field Value
Microsoft.
|
ValidationSummaryLabelStyleProperty
Identifies the Validation
Declaration
public static readonly BindableProperty ValidationSummaryLabelStyleProperty
Field Value
Microsoft.
|
ValidationSummaryStyleProperty
Identifies the Validation
Declaration
public static readonly BindableProperty ValidationSummaryStyleProperty
Field Value
Microsoft.
|
Properties
ActualValidationSummaryImageStyle
Gets the result from merging the Microsoft.
Declaration
public Style ActualValidationSummaryImageStyle { get; }
Property Value
Microsoft.
|
ActualValidationSummaryLabelStyle
Gets the result from merging the Microsoft.
Declaration
public Style ActualValidationSummaryLabelStyle { get; }
Property Value
Microsoft.
|
ActualValidationSummaryStyle
Gets the result from merging the Microsoft.
Declaration
public Style ActualValidationSummaryStyle { get; }
Property Value
Microsoft.
|
AutoGenerateItems
Gets or sets a value indicating whether the Rad
Declaration
public bool AutoGenerateItems { get; set; }
Property Value
System.
|
CancelCommand
Gets a command to cancel all pending changes in the Rad
Declaration
public ICommand CancelCommand { get; }
Property Value
System.
|
CommitCommand
Gets a command to commit all pending changes in the Rad
Declaration
public ICommand CommitCommand { get; }
Property Value
System.
|
CommitMode
Gets or sets the current commit mode of the Rad
Declaration
public DataFormCommitMode CommitMode { get; set; }
Property Value
ErrorDisplayOptions
Gets or sets the display options of the error indicator to be visualized next to each editor when there
are some validation errors. For more information see the Data
Declaration
public Nullable<DataFormErrorDisplayOptions> ErrorDisplayOptions { get; set; }
Property Value
System.
|
ErrorImageSource
Gets or sets the Microsoft.
Declaration
public ImageSource ErrorImageSource { get; set; }
Property Value
Microsoft.
|
ErrorImageStyle
Gets or sets the Microsoft.
Declaration
public Style ErrorImageStyle { get; set; }
Property Value
Microsoft.
|
ErrorLabelStyle
Gets or sets the Microsoft.
Declaration
public Style ErrorLabelStyle { get; set; }
Property Value
Microsoft.
|
ErrorLength
Gets or sets the length of the error indicators in the editors. This property has an effect only
when the Error
Declaration
public GridLength ErrorLength { get; set; }
Property Value
Microsoft.
|
ErrorPosition
Gets or sets a value specifying the relative position of the error indicators from their associated editors.
For more information see the Data
Declaration
public Nullable<DataFormErrorPosition> ErrorPosition { get; set; }
Property Value
System.
|
HasPendingChanges
Gets a value indicating whether there are pending changes.
Declaration
public bool HasPendingChanges { get; }
Property Value
System.
|
HasValidationErrors
Gets a value indicating whether there are validation errors.
Declaration
public bool HasValidationErrors { get; }
Property Value
System.
|
HeaderDisplayOptions
Gets or sets the display options of the headers in the editors.
For more information see the Data
Declaration
public Nullable<DataFormHeaderDisplayOptions> HeaderDisplayOptions { get; set; }
Property Value
System.
|
HeaderImageSource
Gets or sets the Microsoft.
Declaration
public ImageSource HeaderImageSource { get; set; }
Property Value
Microsoft.
|
HeaderImageStyle
Gets or sets the Microsoft.
Declaration
public Style HeaderImageStyle { get; set; }
Property Value
Microsoft.
|
HeaderLabelStyle
Gets or sets the Microsoft.
Declaration
public Style HeaderLabelStyle { get; set; }
Property Value
Microsoft.
|
HeaderLength
Gets or sets the length of the header views in the editors. This property has an effect only when
the Header
Declaration
public GridLength HeaderLength { get; set; }
Property Value
Microsoft.
|
HeaderPosition
Gets or sets a value specifying the relative position of the header views from their associated editors.
For more information see the Data
Declaration
public Nullable<DataFormHeaderPosition> HeaderPosition { get; set; }
Property Value
System.
|
IsValidationSummaryVisible
Gets or sets a value indicating whether the validation summary is visible in the Rad
Declaration
public bool IsValidationSummaryVisible { get; set; }
Property Value
System.
|
Items
Gets a collection of items associated with the current Rad
Declaration
public IList<DataFormItem> Items { get; }
Property Value
System.
|
LayoutDefinition
Gets or sets the layout definition controlling how the individual items are sized and arranged within the
Rad
Declaration
public DataFormLayout LayoutDefinition { get; set; }
Property Value
ValidateCommand
Gets a command to execute the validation logic of the Rad
Declaration
public ICommand ValidateCommand { get; }
Property Value
System.
|
ValidationErrors
Gets a collection of validation errors that are produced after the last execution of the
validation logic associated with the current Rad
Declaration
public IReadOnlyList<DataFormValidationError> ValidationErrors { get; }
Property Value
System.
|
ValidationMode
Gets or sets the current validation mode of the Rad
Declaration
public DataFormValidationMode ValidationMode { get; set; }
Property Value
ValidationRules
Gets a collection of validation rules associated with the current Rad
Declaration
public IList<DataFormObjectValidationRule> ValidationRules { get; }
Property Value
System.
|
ValidationSummaryImageSource
Gets or sets the Microsoft.
Declaration
public ImageSource ValidationSummaryImageSource { get; set; }
Property Value
Microsoft.
|
ValidationSummaryImageStyle
Gets or sets the Microsoft.
Declaration
public Style ValidationSummaryImageStyle { get; set; }
Property Value
Microsoft.
|
ValidationSummaryLabelStyle
Gets or sets the Microsoft.
Declaration
public Style ValidationSummaryLabelStyle { get; set; }
Property Value
Microsoft.
|
ValidationSummaryStyle
Gets or sets the Microsoft.
Declaration
public Style ValidationSummaryStyle { get; set; }
Property Value
Microsoft.
|
Methods
CancelChanges()
Cancels all pending changes in the Rad
Declaration
public void CancelChanges()
CancelChanges(String)
Cancels the pending changes in the Data
Declaration
public void CancelChanges(string propertyName)
Parameters
System. Specifies the name of the property to cancel. |
CommitChanges()
Commits all pending changes in the Rad
Declaration
public bool CommitChanges()
Returns
System. True if the validation passes and the changes are committed successfully, false otherwise. |
CommitChanges(String)
Commits the pending changes in the Data
Declaration
public bool CommitChanges(string propertyName)
Parameters
System. Specifies the name of the property to commit. |
Returns
System. True if the validation passes and the changes are committed successfully, false otherwise. |
OnBindingContextChanged()
Declaration
protected override void OnBindingContextChanged()
Overrides
OnHandlerChanged()
ValidateChanges()
Executes the validation logic associated with the current Rad
Declaration
public bool ValidateChanges()
Returns
System. True if the validation passes, false otherwise. |
ValidateChanges(String)
Validates the pending changes in the Data
Declaration
public bool ValidateChanges(string propertyName)
Parameters
System. Specifies the name of the property to validate. |
Returns
System. True if the validation passes, false otherwise. |
Events
EditorGenerated
Raised when the data form is about to generate an editor for a given property automatically.
This event can be used to customize the automatic generation if editors in the data form,
when the Auto
Declaration
public event EventHandler<DataFormEditorGeneratedEventArgs> EditorGenerated
Event Type
System.
|
EditorValidationCompleted
Raised when the validation of an editor has completed.
Declaration
public event EventHandler<DataFormEditorValidationCompletedEventArgs> EditorValidationCompleted
Event Type
System.
|
EditorValueChanged
Raised when the value of an editor has changed.
Declaration
public event EventHandler<DataFormEditorValueChangedEventArgs> EditorValueChanged
Event Type
System.
|
GroupGenerated
Raised when the data form is about to generate a group of items automatically.
This event can be used to customize the automatic generation if groups in the data form,
when the Auto
Declaration
public event EventHandler<DataFormGroupGeneratedEventArgs> GroupGenerated
Event Type
System.
|
ValidationCompleted
Raised when the validation of the data form has completed.
Declaration
public event EventHandler<DataFormObjectValidationCompletedEventArgs> ValidationCompleted
Event Type
System.
|