ClassTelerikDialog
The class for the TelerikDialog component.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikDialog : DialogBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentDialogBaseTelerikDialog
Implements:
Inherited Members
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
[Parameter]
public DialogButtonsLayout ButtonsLayout { get; set; }
Property Value
CloseOnOverlayClick
Defines if the Dialog should close when the user clicks on the modal page overlay.
Declaration
[Parameter]
public bool CloseOnOverlayClick { get; set; }
Property Value
DialogButtons
Configure the Dialog Buttons inside the TelerikDialog tag.
Declaration
[Parameter]
public RenderFragment DialogButtons { get; set; }
Property Value
DialogContent
Defines the RenderFragment to be displayed inside the Dialog.
Declaration
[Parameter]
public RenderFragment DialogContent { get; set; }
Property Value
DialogTitle
Defines the RenderFragment to be displayed instead of the default Dialog Title.
Declaration
[Parameter]
public RenderFragment DialogTitle { get; set; }
Property Value
FocusedElementSelector
Defines the query selector of the auto focusable element in the dialog.
Declaration
[Parameter]
public string FocusedElementSelector { get; set; }
Property Value
Height
Defines the height of the Dialog in any supported CSS unit.
ShowCloseButton
Defines if the Dialog should render a close button in the header. The default value is "true".
Declaration
[Parameter]
public bool ShowCloseButton { get; set; }
Property Value
Title
Defines the title of the Dialog.
Default value is null
.
Visible
Defines if the dialog is rendered. Use the parameter to define initial visibility and toggle visibility at runtime.
VisibleChanged
Fires when the Visible Parameter has changed.
Declaration
[Parameter]
public EventCallback<bool> VisibleChanged { get; set; }
Property Value
Width
Defines the width of the Dialog in any supported CSS unit.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
parameters
Returns
Overrides