Skip to main content

DockPanel Class

Package: GHIElectronics.Endpoint.UI
Namespace: GHIElectronics.Endpoint.UI

WPF-style DockPanel. LVGL has no dock layout; the caller (or codegen) computes each child's absolute position from its Dock side plus the remaining area, then uses the child's X/Y/Width/Height properties.

public class DockPanel : Widget

Constructors​

DockPanel(Widget parent)​

public DockPanel(Widget parent)

Create a dock panel inside parent.

ParameterTypeDescription
parentWidgetContaining widget.

Properties​

LastChildFill​

public bool LastChildFill { get; set; }

When true, the last added child fills the remaining area. Consumed by codegen, not LVGL.

Returns bool