Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DialogButton - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DialogButton

    Provides data to configure the Dialog button properties.

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

    Constructors

    DialogButton()

    Declaration
    public DialogButton()

    Properties

    ButtonModel

    Specifies the properties to render the dialog buttons.

    Declaration
    public DialogButtonModel ButtonModel { get; set; }
    Property Value
    Type Description
    DialogButtonModel

    Content

    Defines the text content of the Button element.

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

    CssClass

    Defines the class/multiple classes separated by a space in the Button element.

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

    Disabled

    Specifies a value that indicates whether the Button is disabled.

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

    EnableRtl

    Enable or disable rendering component in the right to left (RTL) direction.

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

    IconCss

    Defines the class/multiple classes separated by a space for the Button that is used to include an icon.

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

    IconPosition

    Positions the icon before or 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 Description
    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 Description
    System.Boolean

    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 Description
    System.Boolean

    OnClick

    Event triggers when click the dialog button.

    Declaration
    public EventCallback<MouseEventArgs> OnClick { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs>

    Type

    Specifies the type of the button. Possible values are Button, Submit, and Reset.

    Declaration
    public ButtonType Type { get; set; }
    Property Value
    Type Description
    ButtonType

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    Syncfusion.Blazor.SfBaseComponent.OnInitializedAsync()

    OnParametersSetAsync()

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved