Class ToastButtonModelProp
Inheritance
System.Object
Syncfusion.Blazor.SfBaseComponent
ToastButtonModelProp
Assembly: Syncfusion.Blazor.dll
public class ToastButtonModelProp : SfBaseComponent
Constructors
Declaration
public ToastButtonModelProp()
Properties
Specifies the click event binding of action buttons created within Toast.
Declaration
public EventCallback<MouseEventArgs> Clicked { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs> |
|
Content
Defines the text Content
of the Button element.
Declaration
public string Content { get; set; }
Property Value
Type |
Description |
System.String |
|
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 |
|
Specifies a value that indicates whether the Button is Disabled
.
Declaration
public bool Disabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Enable or disable rendering component in the right to left (RTL) direction.
Declaration
public bool EnableRtl { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
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 |
|
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
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 |
|
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 |
|
Specifies the Button component model properties to render the Toast action buttons.
Declaration
public object Model { get; set; }
Property Value
Type |
Description |
System.Object |
|
Event triggers when click
the toast button.
Declaration
public EventCallback<MouseEventArgs> OnClick { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs> |
|
Methods
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
Syncfusion.Blazor.SfBaseComponent.OnInitializedAsync()