BoxWidget
ClassNamespace:
RazorConsole.Core.LayoutAssembly:
RazorConsole.CoreDefinition
public sealed class BoxWidget : WidgetConstructors
1| Name | Type | Description |
|---|---|---|
BoxWidget(string, Widget, int, int, int, int, int, int, int, int, int?, int?, string?, IReadOnlyDictionary<string, string?>?, int, bool, bool, bool, string?, BoxBorderStyle, BoxBorderStyle?, BoxBorderStyle?, BoxBorderStyle?, BoxBorderStyle?, Style?)() | Constructor | — |
Properties
18| Name | Type | Description |
|---|---|---|
Appearance | ||
Border | BoxBorder | — |
BorderStyle | Nullable<Style> | — |
FillHeight | Boolean | — |
FillWidth | Boolean | — |
Height | Nullable<Int32> | — |
Width | Nullable<Int32> | — |
Common | ||
Title | String | — |
Other | ||
Child | Widget | — |
Expand | Boolean | — |
MarginBottom | Int32 | — |
MarginLeft | Int32 | — |
MarginRight | Int32 | — |
MarginTop | Int32 | — |
PaddingBottom | Int32 | — |
PaddingLeft | Int32 | — |
PaddingRight | Int32 | — |
PaddingTop | Int32 | — |
Scrollbar | ScrollbarOptions | Gets or sets how the scrollbar is drawn when the content is a ScrollViewportWidget; null draws none. |
Methods
4| Name | Type | Description |
|---|---|---|
ArrangeCore(LayoutContext, LayoutRect)() | Method | — |
CreateLayoutBox() | LayoutBox | — |
MeasureCore(LayoutContext, BoxConstraints)() | LayoutSize | — |
PaintCore(PaintContext)() | Method | — |