Skip to content
IzzyBlazor

Enter all results ↑ ↓ move Esc close

Splitter

Since 0.1.0-alpha.21
Divides a view into panes the user resizes, such as a mail list beside the open message.

IzzyBlazor.Splitter in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.31 assembly and its doc comments.

Properties (5)

OrientationOrientation = Orientation.HorizontalAdded in 0.1.0-alpha.21

Orientation.Horizontal puts the panes side by side, the default; Orientation.Vertical stacks them.

LayoutKeystring?Added in 0.1.0-alpha.21

Keeps the sizes each person leaves, in a cookie under this name, so the server draws them on the first paint. Letters, digits, - and _. Without it, sizes last until the page is left.

OnePaneBelowBreakpoint?Added in 0.1.0-alpha.24

Below this width the splitter shows one pane, filling it, with no bars: the SplitterPane marked Current, or the first when none is. For a list and its detail on a phone. The sizes come back when the window widens.

Disabledbool = falseAdded in 0.1.0-alpha.21

Stops the bars from moving and the panes from collapsing.

ChildContentRenderFragment?Added in 0.1.0-alpha.21

Events (0)

No events.

Parts (1)

Components written inside Splitter, documented here with it.

SplitterPane

One pane of a Splitter. Every pane after the first draws the bar before it, which resizes it and the pane before.

SizeLength?Added in 0.1.0-alpha.21

The size the pane starts at: Length.Rem(16), Length.Px(240), Length.Percent(35). A pane with none fills what's left. When dragged, a percentage stays a percentage, so the pane keeps its share as the window resizes; other lengths are held in pixels.

MinLength?Added in 0.1.0-alpha.21

The smallest the pane can be made.

MaxLength?Added in 0.1.0-alpha.21

The largest the pane can be made.

Collapsiblebool = falseAdded in 0.1.0-alpha.21

Lets the pane collapse: Enter on the bar beside it, the bar's menu, its button on the bar, or dragging the bar past its Min.

@bind-Collapsedbool = falseAdded in 0.1.0-alpha.21 @bind: Interactive only

Collapses the pane, which must be Collapsible. The bar stays, so it can be restored.

Currentbool = falseAdded in 0.1.0-alpha.24

With the splitter's OnePaneBelow, the pane that shows below that width. Mark one; with none marked, the first pane shows.

Resizablebool = trueAdded in 0.1.0-alpha.21

Lets the bars beside the pane move it. Defaults to true.

Labelstring?Added in 0.1.0-alpha.21

What the pane holds, such as "Folders". It names the bar after the pane ("Resize Folders") and its collapse button.

Idstring?Added in 0.1.0-alpha.21

The pane's id. Generated when not set.

ChildContentRenderFragment?Added in 0.1.0-alpha.21

The content. It scrolls inside the pane when it doesn't fit.

Types (3)

Breakpoint

enum

The responsive breakpoints. Mobile first: a value at a breakpoint applies from that width upward.

Breakpoint values
ValueDescription
Sm

640px and wider.

Md

768px and wider.

Lg

1024px and wider.

Xl

1280px and wider.

Xxl

1536px and wider: for where an AppAside shows, and HiddenFrom/VisibleFrom. AppSidebar's and SiteNav's breakpoints, and responsive values (Responsive<T>), stop at Xl.

Length

struct

A width, height or flex basis: a size token, a keyword, or a CSS length built with a factory such as Rem.

Length members
MemberDescription
Sm

640px (matches the sm breakpoint).

Md

768px (matches the md breakpoint).

Lg

1024px (matches the lg breakpoint).

Xl

1280px (matches the xl breakpoint).

Prose

A comfortable reading width, 68 characters.

Full

100% of the containing block.

Auto

auto.

FitContent

fit-content: as wide as the content, up to the available space.

MinContent

min-content.

MaxContent

max-content.

Px(double value)

Pixels.

Rem(double value)

Root ems (16px each by default).

Percent(double value)

Percent of the containing block.

Ch(double value)

Character widths, for text measures.

Vw(double value)

Percent of the viewport width.

Dvh(double value)

Percent of the dynamic viewport height (accounts for mobile browser bars).

Of(string css)

Any CSS length, such as calc(100% - 2rem). Checked for unsafe characters.

Css string

The CSS value this length renders as.

Orientation

enum

Whether items run across or down.

Orientation values
ValueDescription
Vertical

Top to bottom.

Horizontal

Side by side, wrapping when space runs out.

Connection lost

Rejoining the server…