Class DisplayOptionsAttribute
Provides a attribute that lets you specify the the display settings for a data field in SfDataForm.
Inheritance
Namespace: Syncfusion.XForms.DataForm
Assembly: Syncfusion.SfDataForm.XForms.dll
Syntax
public class DisplayOptionsAttribute : Attribute
Constructors
DisplayOptionsAttribute()
Initializes a new instance of the DisplayOptionsAttribute class.
Declaration
public DisplayOptionsAttribute()
Properties
ColumnSpan
Gets or sets the value that indicates number columns the data field can span in view when ColumnCount is set.
Declaration
public int ColumnSpan { get; set; }
Property Value
Type |
---|
System.Int32 |
ImageName
Gets or sets the image to show in the place of label.
Declaration
public string ImageName { get; set; }
Property Value
Type |
---|
System.String |
LayoutOptions
Gets or sets the layout options for DataFormItem to define the layout type in dataform.
Declaration
public LayoutType LayoutOptions { get; set; }
Property Value
Type | Description |
---|---|
LayoutType | The default value is Default. |
Remarks
Not appicable to radiogroup, segment, switch and checkbox editors.
RowSpan
Gets or sets the row span value of data field in view during layout.
Declaration
public int RowSpan { get; set; }
Property Value
Type |
---|
System.Int32 |
ShowLabel
Gets or sets a value indicating whether to show label in view or not.
Declaration
public bool ShowLabel { get; set; }
Property Value
Type |
---|
System.Boolean |
ValidMessage
Gets or sets a string which will get displayed when user enters valid value for the data field as success message.
Declaration
public string ValidMessage { get; set; }
Property Value
Type |
---|
System.String |