Skip to content

DragBarPanelWidget

Namespace: Hex1b.Widgets

Assembly: Hex1b.dll

A panel widget with a built-in resize handle on one edge. The panel manages its own size state internally — dragging the handle changes the panel's fixed size, triggering re-layout automatically.

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

Inheritance

ObjectHex1bWidgetDragBarPanelWidget

Implements

Fields

FocusNextAction

Returns: ActionId

csharp
public static readonly ActionId FocusNextAction

FocusPreviousAction

Returns: ActionId

csharp
public static readonly ActionId FocusPreviousAction

ResizeDownAction

Returns: ActionId

csharp
public static readonly ActionId ResizeDownAction

ResizeLeftAction

Returns: ActionId

csharp
public static readonly ActionId ResizeLeftAction

ResizeRightAction

Returns: ActionId

csharp
public static readonly ActionId ResizeRightAction

ResizeUpAction

Returns: ActionId

csharp
public static readonly ActionId ResizeUpAction

Remarks

The handle edge is auto-detected from the parent layout context: in an HStack, the first child gets a handle on the right; the last child gets a handle on the left. Use to override.

Released under the MIT License.