alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class CommandButtonOptions

    Defines options for command buttons.

    Inheritance
    object
    CommandButtonOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Grids
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class CommandButtonOptions

    Constructors

    CommandButtonOptions()

    Declaration
    public CommandButtonOptions()

    Properties

    Content

    Defines the text content of the Button element.

    Declaration
    public string Content { get; set; }
    Property Value
    Type
    string

    CssClass

    Defines class/multiple classes separated by a space in the Button element. The Button types, styles, and size can be defined.

    Declaration
    public string CssClass { get; set; }
    Property Value
    Type
    string

    Disabled

    Specifies a value that indicates whether the Button is disabled or not.

    Declaration
    public bool Disabled { get; set; }
    Property Value
    Type
    bool

    EnableRtl

    Enable or disable rendering component in right to left direction.

    Declaration
    public bool EnableRtl { get; set; }
    Property Value
    Type
    bool

    IconCss

    Defines class/multiple classes separated by a space for the Button that is used to include an icon. Buttons can also include font icon and sprite image.

    Declaration
    public string IconCss { get; set; }
    Property Value
    Type
    string

    IconPosition

    Positions the icon before/after the text content in the Button. The possible values are: Left: The icon will be positioned to the left of the text content. Right: The icon will be positioned to the right of the text content.

    Declaration
    public IconPosition IconPosition { get; set; }
    Property Value
    Type
    IconPosition

    IsPrimary

    Allows the appearance of the Button to be enhanced and visually appealing when set to true.

    Declaration
    public bool IsPrimary { get; set; }
    Property Value
    Type
    bool

    IsToggle

    Makes the Button toggle, when set to true. When you click it, the state changes from normal to active.

    Declaration
    public bool IsToggle { get; set; }
    Property Value
    Type
    bool
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved