The RadzenColumn component is used within a RadzenRow to create a structured grid layout. Without the RadzenRow
component, the RadzenColumn
would not be rendered correctly.
RadzenColumns are positioned on a 12-column based responsive grid.
If column Size
is not specified, the column width is automatically calculated with respect to the remaining free space available.
When setting column Size
, make sure that the total sum of all column sizes is not greater than 12. Otherwise, columns might wrap to a second row.
Resize your browser window to see how the column adapts to the predefined breakpoint sizes. See Breakpoints to learn more.
4 RadzenColumns with Size="6" render on two lines in a RadzenRow. Use RowGap
property to specify the vertical spacing between columns on two or more lines in a row.
The Offset
property moves the column to the right following the grid column layout. E.g. Offset="3"
offsets 3 columns to the right.
Resize your browser window to see how the column adapts to the predefined breakpoint sizes. See Breakpoints to learn more.
The Order
property is used to reorder columns visually.
You can reorder columns on different screen sizes. Resize your browser window to see how the columns reorder. See Breakpoints to learn more.
You can reorder columns on different screen sizes. Resize your browser window to see how the columns reorder. See Breakpoints to learn more.
Example with 3 levels of nesting. You can nest rows and columns indefinitely.
The second column contains a nested row with 4 columns.
By default, the spacing between columns is set to 1rem
, via the --rz-gap
CSS variable. Spacing between coulmns can be controlled by setting the Gap
property of the parent RadzenRow
component.
Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.
Radzen Blazor Components, © 2018-2024 Radzen.
Source Code licensed under
MIT