Class DataFormDisplayOptionsAttribute
Represents display options for the DataForm component.
Inheritance
System.Object
DataFormDisplayOptionsAttribute
Namespace: Syncfusion.Blazor.DataForm
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class DataFormDisplayOptionsAttribute : Attribute
Constructors
DataFormDisplayOptionsAttribute()
Declaration
public DataFormDisplayOptionsAttribute()
Properties
ColumnSpan
Gets or sets the column span for the respective field editor.
Declaration
public int ColumnSpan { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The column span for the respective field editor. |
Remarks
Usage:
[DataFormDisplayOptions(ColumnSpan = 1)]
public DateTime DateTimeValue { get; set; }
Column span is useful when using auto-generation of fields under a column-classified container element.