Blazor MediaQuery - Overview
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
- Overview.razor
The MediaQuery component is part of Telerik UI for Blazor, a professional grade UI library with 110+ native components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.
Description
The Telerik Blazor Media Query component allows you to build responsive UI with renderings for every resolution. It lets you get flags in your C# code that correspond to CSS media queries without writing any JavaScript.
The MediaQuery component lets you change component settings, render different components or prevent components from rendering at all depending on the browser viewport size. This can make your application rendering much more adaptive. You can still use responsive CSS and HTML rendering for the overall page layout where you don't need to affect components or their settings.