Skip to content

SeparatorWidget ​

Namespace: Hex1b.Widgets

Assembly: Hex1b.dll

A separator widget that draws a horizontal or vertical line. When placed in a VStack, it draws a horizontal line. When placed in an HStack, it draws a vertical line. The axis can also be set explicitly. Customize appearance using via ThemePanel.

csharp
public sealed record SeparatorWidget : Hex1bWidget, IEquatable<Hex1bWidget>, IEquatable<SeparatorWidget>

Inheritance ​

Object → Hex1bWidget → SeparatorWidget

Implements ​

Properties ​

ExplicitAxis ​

Optional explicit axis. If null, the axis is inferred from the parent container.

Returns: Nullable<LayoutAxis>

csharp
public LayoutAxis? ExplicitAxis { get; init; }

Released under the MIT License.