Class DataFormViewItem
Represents the base class that encapsulates the layout, group and editor setting for a data fields appearing in DataForm.
Namespace: Syncfusion.Maui.DataForm
Assembly: Syncfusion.Maui.DataForm.dll
Syntax
public abstract class DataFormViewItem : Element
Constructors
DataFormViewItem()
Initializes a new instance of the DataFormViewItem class.
Declaration
protected DataFormViewItem()
Fields
ColumnSpanProperty
Identifies the ColumnSpan dependency property.
Declaration
public static readonly BindableProperty ColumnSpanProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for ColumnSpan dependency property. |
IsVisibleProperty
Identifies the IsVisible dependency property.
Declaration
public static readonly BindableProperty IsVisibleProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for IsVisible dependency property. |
PaddingProperty
Identifies the Padding dependency property.
Declaration
public static readonly BindableProperty PaddingProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for Padding dependency property. |
RowOrderProperty
Identifies the RowOrder dependency property.
Declaration
public static readonly BindableProperty RowOrderProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for RowOrder dependency property. |
RowSpanProperty
Identifies the RowSpan dependency property.
Declaration
public static readonly BindableProperty RowSpanProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for RowSpan dependency property. |
Properties
ColumnSpan
Gets or sets the number of column that this item spans to increase item's width.
Declaration
public int ColumnSpan { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The default value is |
Remarks
Items on the data form are arranged in layout columns. Use the RowOrder property to specify the number of the layout row where the item should be displayed.
Examples
The below examples shows, how to use the ColumnSpan property of DataFormViewItem in the SfDataForm.
See Also
IsVisible
Gets or sets a value indicating whether the data form item layout (Holds editor and label) is visible or not.
Declaration
public bool IsVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is |
Examples
The below examples shows, how to use the IsVisible property of DataFormViewItem in the SfDataForm.
See Also
Padding
Gets or sets the space between the data form item’s editor and label.
Declaration
public Thickness Padding { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Thickness | The default value is |
Examples
The below examples shows, how to use the Padding property of DataFormViewItem in the SfDataForm.
See Also
RowOrder
Gets or sets the row order of the editor in the data form.
Declaration
public int RowOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The default value is |
Remarks
Data form editors are arranged in rows, use the RowOrder property to specify the row order where the editor should be displayed.
Examples
The below examples shows, how to use the RowOrder property of DataFormViewItem in the SfDataForm.
See Also
RowSpan
Gets or sets the number of rows that this item spans which is used to increase item's height.
Declaration
public int RowSpan { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The default value is |
Remarks
Items on the data form are arranged in layout rows. Use the RowOrder property to specify the number of the layout row where the item should be displayed.
Examples
The below examples shows, how to use the RowSpan property of DataFormViewItem in the SfDataForm.
See Also
Methods
OnPropertyChanged(String)
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName |