Class TelerikMediaQuery
The class for the MediaQuery component.
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikMediaQuery : BaseComponent, IDisposable
Constructors
TelerikMediaQuery()
Declaration
public TelerikMediaQuery()
Properties
Media
Media Query string, using standard media query syntax.
Declaration
public string Media { get; set; }
Property Value
System.String
|
OnChange
Fires when the media query string changes its matches state. Event is also triggered on initial load.
Declaration
public EventCallback<bool> OnChange { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<System.Boolean>
|
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
|