Property Height
Height
Gets or sets the height dimension of the view.
public Dim Height { get; set; }
Property Value
Remarks
See the View Layout Deep Dive for more information: https://gui-cs.github.io/Terminal.Gui/docs/layout.html
The dimension is relative to the SuperView's Content, which is bound by GetContentSize() .
If set to a relative value (e.g. DimFill) the value is indeterminate until the view has been laid out (e.g. Layout(Size) has been called).
Changing this property will result in NeedsLayout and NeedsDraw to be set, resulting in the view being laid out and redrawn as appropriate in the next iteration of the MainLoop.
Changing this property will cause Frame to be updated.
Setting this property raises pre- and post-change events via CWPPropertyHelper, allowing customization or cancellation of the change. The HeightChanging event is raised before the change, and HeightChanged is raised after.
The default value is Dim.Absolute (0)
.
- See Also