Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DialogButtonOptions

    Show / Hide Table of Contents

    Class DialogButtonOptions

    Provides options to configure dialog buttons of built-in dialogs shown using ConfirmAsync(String, String, DialogOptions), AlertAsync(String, String, DialogOptions) and PromptAsync(String, String, DialogOptions) methods.

    Inheritance
    System.Object
    DialogButtonOptions
    Namespace: Syncfusion.Blazor.Popups
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class DialogButtonOptions : Object

    Constructors

    DialogButtonOptions()

    Declaration
    public DialogButtonOptions()

    Properties

    Content

    Gets or sets the text content of the button.

    Declaration
    public string Content { get; set; }
    Property Value
    Type Description
    System.String

    The default value is String.Empty.

    Disabled

    Gets or sets whether the Button is enabled or disabled.

    Declaration
    public bool Disabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    true, the button is disabled; otherwise, false. The default value is false.

    IconCss

    Gets or sets one or more CSS classes to include an icon or image for the Button.

    Declaration
    public string IconCss { get; set; }
    Property Value
    Type Description
    System.String

    Accepts a CSS class string separated by space to include an icon or image for the button. The default value is String.Empty.

    Remarks

    Buttons can also include font icon and sprite image.

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