menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ProgressButton - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ProgressButton

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    ProgressButton
    Namespace: Syncfusion.EJ2.SplitButtons
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ProgressButton : EJTagHelper

    Constructors

    ProgressButton()

    Declaration
    public ProgressButton()

    Properties

    AnimationSettings

    Specifies the animation settings.

    Declaration
    public ProgressButtonAnimationSettings AnimationSettings { get; set; }
    Property Value
    Type Description
    ProgressButtonAnimationSettings

    The default value is null

    Begin

    Triggers when the progress starts.

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

    The default value is null

    Content

    Defines the text content of the progress button element.

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

    The default value is ""

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    Created

    Triggers once the component rendering is completed.

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

    The default value is null

    CssClass

    Specifies the root CSS class of the progress button that allows customization of component’s appearance. The progress button types, styles, and size can be achieved by using this property.

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

    The default value is ""

    Disabled

    Enables or disables the progress button.

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

    The default value is false

    Duration

    Specifies the duration of progression in the progress button.

    Declaration
    public double Duration { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 2000

    EnableHtmlSanitizer

    Specifies whether to enable the rendering of untrusted HTML values in the Progress button component. If 'enableHtmlSanitizer' set to true, the component will sanitize any suspected untrusted strings and scripts before rendering them.

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

    The default value is true

    EnableProgress

    Enables or disables the background filler UI in the progress button.

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

    The default value is false

    End

    Triggers when the progress is completed.

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

    The default value is null

    Fail

    Triggers when the progress is incomplete.

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

    The default value is null

    HtmlAttributes

    Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.

    Declaration
    public object HtmlAttributes { get; set; }
    Property Value
    Type
    System.Object

    IconCss

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

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

    The default value is ""

    IconPosition

    Positions an icon in the progress 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. Top: The icon will be positioned at the top of the text content. Bottom: The icon will be positioned at the bottom of the text content.

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

    The default value is Syncfusion.EJ2.Buttons.IconPosition.Left

    IsPrimary

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

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

    The default value is false

    IsToggle

    Makes the progress 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

    The default value is false

    Progress

    Triggers in specified intervals.

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

    The default value is null

    SpinSettings

    Specifies a spinner and its related properties.

    Declaration
    public ProgressButtonSpinSettings SpinSettings { get; set; }
    Property Value
    Type Description
    ProgressButtonSpinSettings

    The default value is null

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