New to Telerik UI for Blazor? Download Free 30-day trial
SegmentedControl - Item Width Modes
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
Support Tickets
Width mode:
Language:
- Item-width-modes.razor
Loading the demo source code...please wait.
Description
The LayoutMode parameter controls how segment items are sized within the SegmentedControl.
Compact (default): Each segment is sized based on its content (text, icon, and padding), which may result in segments with different widths.
Stretch: All segments stretch to fill the available horizontal space equally, regardless of their content length.
This demo shows both modes using a Support Tickets header filter with status options and dynamic counts. Use the configurator to switch between Compact and Stretch modes and see how the layout adapts.
This Blazor SegmentedControl Item Width Modes example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.