Class DisplayOptionsAttribute
Provides a attribute that lets you specify the display settings for a data field in SfDataForm.
Inheritance
System.Object
DisplayOptionsAttribute
Namespace: Syncfusion.iOS.DataForm
Assembly: Syncfusion.SfDataForm.iOS.dll
Syntax
public sealed 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 |
ImageSource
Gets or sets the image to show in the place of label.
Declaration
public string ImageSource { get; set; }
Property Value
Type |
---|
System.String |
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 that indicates 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 |