You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/mediaquery/integration.md
+136-6Lines changed: 136 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -191,12 +191,142 @@ You can resize the Chart based on the browser size and re-render with the new di
191
191
192
192
## Form Integration
193
193
194
-
You can utilize the Form Columns to fit the contents of the Telerik Form to a smaller browser window. You can find an example in the <ahref="https://github.com/telerik/blazor-ui/tree/master/form/responsive-form"target="_blank">Responsive Form</a> demo application.
194
+
You can use the MediaQuery component to set various [layout-related parameters of the Form component]({%slug form-overview%}#form-parameters), such as `Orientation`, `Columns`, `ColumnSpacing`, and `ButtonsLayout`.
|`Media`|`string`|the <ahref="https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries"target="_blank">media query string</a> that will be matched. |
64
+
| Parameter | Type | Description |
65
+
|---|---|---|
66
+
|`Media`|`string`|The <ahref="https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries"target="_blank">media query string</a> that will be matched. |
67
67
68
68
## Notes
69
69
70
-
The MediaQuery component facilitates the usage of CSS media queries in your C# code. There are a few points to keep in mind:
70
+
The MediaQuery component facilitates the usage of CSS media queries in your C# code:
71
71
72
-
* The MediaQuery component is not a replacement for responsive design, layout and CSS. You should use them to create your responsive application layouts like with any other web application.
73
-
74
-
* The MediaQuery component makes it easy to use C# logic based on the breakpoint that matches - such as changing parameter values, replacing a component with a different component or even not rendering a part of the layout (with CSS alone you can resize parts of the app or hide them visually, but they still render).
72
+
* The MediaQuery component makes it easy to use C# logic based on the matched media query breakpoints. For example, you can change parameter values, replace a component with a different component or even not render parts of the layout. With CSS alone you can resize parts of the app or hide them visually, but they still render.
73
+
* The MediaQuery component is not designed as a full replacement for responsive design, layout and CSS. You should use them to create your responsive application layouts like with any other web application.
0 commit comments