DescriptionList
IzzyBlazor.DescriptionList in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.17 assembly
and its doc comments.
Properties (5)
ChildContentRenderFragment?The DescriptionItems.
OrientationOrientation = Orientation.HorizontalOrientation.Horizontal (the default) puts each term beside its detail on screens 640px and wider; Orientation.Vertical puts the term above.
Dividedbool = falseLines between the items.
Columnsint = 1For a vertical list, how many columns the items flow into on screens 640px and wider (1 to 4; defaults to 1). Phones always get one.
SizeControlSize = ControlSize.MdText size and spacing. Defaults to ControlSize.Md.
Item props (from LayoutItemBase)
Margin on all sides, in spacing steps (-16 to 16; one step = 4px).
Width.
Minimum width.
Maximum width.
Growbool = falseWhether to grow into free space inside a Stack, Row or Column: <Box Grow>.
Shrinkbool = trueWhether to shrink when space is short inside a Stack, Row or Column. Defaults to true; Shrink="false" keeps the size.
Starting size inside a Stack, before growing or shrinking.
Alignment across the parent's direction, overriding the parent's Align for this component only, such as a button lined up with the bottom of labeled fields in a Row.
Surface props (from StyledComponentBase)
ColorSchemeColorScheme = ColorScheme.AutoPadding on all sides, in spacing steps (0 to 16; one step = 4px).
Background color.
Text color. When not set and Bg is a theme color, the matching contrast color is used automatically (Bg="Color.Primary" gets Color.OnPrimary text).
Corner radius.
Elevation.
Minimum height.
Height.
Maximum height; pair it with Overflow to scroll what doesn't fit.
What happens to content that doesn't fit: Overflow.Auto to scroll it.
A border on every side, in whole pixels (0 to 16), in BorderColor (the border token by default) and BorderStyle (solid by default). Like padding: BorderX and BorderY override an axis, the single sides override that. Sides you don't set keep the component's own border.
Borders at the top and bottom, such as a band with lines above and below. Replaces Border on this axis.
The border color, for borders set here or the component's own. Defaults to Border.
How borders set here are drawn (BorderStyle.Dashed, BorderStyle.Dotted), and the own border of a Card or a bordered EmptyState. Solid by default (dashed on an EmptyState).
Common props (from IzzyComponentBase)
Classstring?Extra CSS classes, merged after the component's own classes.
Stylestring?Inline style, appended after the component's generated custom properties.
VisibleFromBreakpoint?Shows the component only from this breakpoint up, such as header links for wide screens.
Events (0)
No events.
Parts (1)
Components written inside DescriptionList, documented here with it.
DescriptionItem
One term and its detail in a DescriptionList: <div><dt/><dd/></div>.
Termstring?The term, such as "Status".
TermContentRenderFragment?Custom term content, such as text with an icon or a tooltip. Replaces Term.
ChildContentRenderFragment?The detail.
Plus 4 common props.
Types (2)
ControlSize
enumThe height of interactive controls. Shared by buttons and form fields, so a button and an input of the same size line up in a row.
| Value | Description |
|---|---|
Sm | 32px tall, small text. |
Md | 36px tall (the default). |
Lg | 44px tall, large text. For touch-first and marketing pages. |
Orientation
enumWhether items run across or down.
| Value | Description |
|---|---|
Vertical | Top to bottom. |
Horizontal | Side by side, wrapping when space runs out. |