menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DisplayOptionsAttribute - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DisplayOptionsAttribute

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

    Inheritance
    System.Object
    DisplayOptionsAttribute
    Namespace: Syncfusion.Android.DataForm
    Assembly: Syncfusion.SfDataForm.Android.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 int ImageSource { get; set; }
    Property Value
    Type
    System.Int32

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved