Class TelerikWindow
The class for the Telerik Window component.
Inheritance
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikWindow : BaseComponent, IDisposable
Constructors
TelerikWindow()
Declaration
public TelerikWindow()
Properties
Centered
Defines whether the Window will be centered. It is true by default. Not respected if Window has Top or Left Position.
Declaration
public bool Centered { get; set; }
Property Value
System.Boolean
|
Draggable
Defines whether the window should be draggable through the titlebar.
Declaration
public bool Draggable { get; set; }
Property Value
System.Boolean
|
Height
Defines the height of the Window. Overrides a predefined Size.
Declaration
public string Height { get; set; }
Property Value
System.String
|
Left
Defines the left position of the Window.
Declaration
public string Left { get; set; }
Property Value
System.String
|
LeftChanged
Fires when the left parameter has changed.
Declaration
public EventCallback<string> LeftChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<System.String>
|
Modal
Whether the Window is modal.
Declaration
public bool Modal { get; set; }
Property Value
System.Boolean
|
Size
Defines the predefined sizes of the Window.
Declaration
public Nullable<WindowSize> Size { get; set; }
Property Value
System.Nullable<WindowSize>
|
State
Defines the state of the window. To be rendered minimized, maximized or in default state.
Declaration
public WindowState State { get; set; }
Property Value
WindowState
|
StateChanged
Fires when the State Parameter has changed.
Declaration
public EventCallback<WindowState> StateChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<WindowState>
|
Top
Defines the top position of the Window.
Declaration
public string Top { get; set; }
Property Value
System.String
|
TopChanged
Fires when the top parameter has changed.
Declaration
public EventCallback<string> TopChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<System.String>
|
Visible
Defines whether the Window 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 Window. Overrides a predefined Size.
Declaration
public string Width { get; set; }
Property Value
System.String
|
WindowActions
Defines the action buttons of the Window.
Declaration
public RenderFragment WindowActions { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
WindowContent
Defines the content of the Window.
Declaration
public RenderFragment WindowContent { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
WindowTitle
Defines the title template of the Window.
Declaration
public RenderFragment WindowTitle { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
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
OnParametersSet()
Declaration
protected override void OnParametersSet()
Refresh()
Refresh Method to manually re-render the Window. Useful when the component is disposed.
Declaration
public void Refresh()
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Microsoft.AspNetCore.Components.ParameterView
parameters
|
Returns
System.Threading.Tasks.Task
|