SegmentedControl
One choice from a few, as joined buttons.
IzzyBlazor.SegmentedControl<TValue> in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.17 assembly
and its doc comments.
Properties (7)
ItemsIEnumerable<TValue>?The options. Not needed for enums, whose values are listed automatically.
ItemTextFunc<TValue, string>? (computed)The text for each option. Defaults to the enum value's [Display(Name)] or its string form.
ItemIconFunc<TValue, IconData?>?An icon for each option, before its text.
IconOnlybool = falseShows only the icons; the text stays for screen readers and as a tooltip.
FullWidthbool = falseFills the available width, the segments sharing it equally.
@bind-ValueTValueThe value, bound with @bind-Value.
DisplayNamestring?The field's name in validation messages from the input itself, such as a value that can't be parsed.
Events (0)
No events.