Class TelerikDialog
The class for the TelerikDialog component.
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikDialog : DialogBase, IDisposable
Constructors
TelerikDialog()
Declaration
public TelerikDialog()
Properties
ButtonsLayout
Defines the action buttons layout in the action bar. Default value is stretched
.
Declaration
public DialogButtonsLayout ButtonsLayout { get; set; }
Property Value
DialogButtonsLayout
|
CloseOnOverlayClick
Defines whether the dialog should close on overlay click action.
Declaration
public bool CloseOnOverlayClick { get; set; }
Property Value
System.Boolean
|
DialogButtons
Defines the action bar of the dialog.
Declaration
public RenderFragment DialogButtons { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
DialogContent
Defines the content of the Dialog.
Declaration
public RenderFragment DialogContent { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
DialogTitle
Defines the title template of the Dialog.
Declaration
public RenderFragment DialogTitle { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
FocusedElementSelector
Defines the query selector of the auto focusable element in the dialog.
Declaration
public string FocusedElementSelector { get; set; }
Property Value
System.String
|
Height
Defines the height of the Window.
Declaration
public string Height { get; set; }
Property Value
System.String
|
ShowCloseButton
Defines whether the dialog should render a close button in the header.
Declaration
public bool ShowCloseButton { get; set; }
Property Value
System.Boolean
|
Title
Defines the title of the Dialog. Default value is null
.
Declaration
public string Title { get; set; }
Property Value
System.String
|
Visible
Defines whether the dialog is rendered. Can define initial visibility and toggle visibility at runtime.
Declaration
public bool Visible { get; set; }
Property Value
System.Boolean
|
VisibleChanged
Fires when the Visible Parameter has changed.
Declaration
public EventCallback<bool> VisibleChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<System.Boolean>
|
Width
Defines the width of the Dialog.
Declaration
public string Width { get; set; }
Property Value
System.String
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
OnAfterRenderAsync(Boolean)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
System.Boolean
firstRender
|
Returns
System.Threading.Tasks.Task
|
Overrides
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
System.Threading.Tasks.Task
|
Refresh()
Refreshes the dialog content.
Declaration
public void Refresh()
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Microsoft.AspNetCore.Components.ParameterView
parameters
|
Returns
System.Threading.Tasks.Task
|