Class IgbToast
A toast component is used to show a notification
Inheritance
System.Object
IgbToast
Implements
System.IDisposable
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbToast : BaseRendererControl, JsonSerializable
Constructors
IgbToast()
Declaration
Properties
DirectRenderElementName
Declaration
protected override string DirectRenderElementName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
DisplayTime
Determines the time after which the toast will close
Declaration
public double DisplayTime { get; set; }
Property Value
Type |
Description |
System.Double |
|
KeepOpen
Determines whether the toast is closed automatically or not.
Declaration
public bool KeepOpen { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Open
Determines whether the toast is opened.
Declaration
public bool Open { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
SupportsVisualChildren
Declaration
protected override bool SupportsVisualChildren { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Type
Declaration
public override string Type { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
UseDirectRender
Declaration
protected override bool UseDirectRender { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Methods
ConnectedCallback()
Declaration
public void ConnectedCallback()
ConnectedCallbackAsync()
Declaration
public Task ConnectedCallbackAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
EnsureModulesLoaded()
Declaration
protected override void EnsureModulesLoaded()
Overrides
FindByName(String)
Declaration
public override object FindByName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Object |
|
Overrides
Hide()
Declaration
HideAsync()
Declaration
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
ResolveDisplay()
Declaration
protected override string ResolveDisplay()
Returns
Type |
Description |
System.String |
|
Overrides
SetNativeElement(Object)
Declaration
public void SetNativeElement(object element)
Parameters
Type |
Name |
Description |
System.Object |
element |
|
SetNativeElementAsync(Object)
Declaration
public Task SetNativeElementAsync(object element)
Parameters
Type |
Name |
Description |
System.Object |
element |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Show()
Declaration
ShowAsync()
Declaration
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Toggle()
Declaration
ToggleAsync()
Toggles the open state of the toast.
Declaration
public Task ToggleAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Implements
System.IDisposable