Class SfDialogProvider
DialogProvider is a target element where the built-in dialogs are shown using ConfirmAsync(String, String, DialogOptions), AlertAsync(String, String, DialogOptions) and PromptAsync(String, String, DialogOptions) methods that are appended to this element.
Inheritance
System.Object
SfDialogProvider
Namespace: Syncfusion.Blazor.Popups
Assembly: Syncfusion.Blazor.dll
Syntax
public class SfDialogProvider : ComponentBase
Remarks
It is recommended to add this component in MainLayout.razor
to show utility dialogs from anywhere in the application.
If you add this to any particular page, the utility dialogs can then be displayed only for that page.
Constructors
SfDialogProvider()
Declaration
public SfDialogProvider()
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
Dispose()
Declaration
public void Dispose()
OnInitialized()
Declaration
protected override void OnInitialized()