Xamarin.Forms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DisplayOptionsAttribute - Xamarin.Forms API Reference | Syncfusion SfDataForm. ">

    Show / Hide Table of Contents

    Class DisplayOptionsAttribute

    Provides a attribute that lets you specify the the display settings for a data field in SfDataForm.

    Inheritance
    System.Object
    DisplayOptionsAttribute
    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 Description
    System.Int32

    ImageName

    Gets or sets the image to show in the place of label.

    Declaration
    public string ImageName { get; set; }
    Property Value
    Type Description
    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 Description
    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 Description
    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 Description
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved