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 layout of the actions button in the footer. Default value is Stretch. The possible options are Stretch, Start, End, Center.
Declaration
public DialogButtonsLayout ButtonsLayout { get; set; }
Property Value
DialogButtonsLayout
|
CloseOnOverlayClick
Defines if the Dialog should close when the user clicks on the modal page overlay.
Declaration
public bool CloseOnOverlayClick { get; set; }
Property Value
System.Boolean
|
DialogButtons
Configure the Dialog Buttons inside the TelerikDialog tag.
Declaration
public RenderFragment DialogButtons { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
DialogContent
Defines the RenderFragment to be displayed inside the Dialog.
Declaration
public RenderFragment DialogContent { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
DialogTitle
Defines the RenderFragment to be displayed instead of the default Dialog Title.
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 Dialog in any supported CSS unit.
Declaration
public string Height { get; set; }
Property Value
System.String
|
ShowCloseButton
Defines if the Dialog should render a close button in the header. The default value is "true".
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 if the dialog is rendered. Use the parameter to 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 in any supported CSS unit.
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
|