menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DataFormDisplayOptionsAttribute - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved