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 |
Disabled
Gets or sets whether the Button is enabled or disabled.
Declaration
public bool Disabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
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.