Interface IUIStack
A component that stacks child elements into a single line that can be oriented horizontally or vertically.
Inherited Members
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
public interface IUIStack : IUIElementWithChildren, IUIElement
Properties
Children
Gets the list of child elements.
Declaration
IUIElement[]? Children { get; }
Property Value
Type | Description |
---|---|
IUIElement[] |
Orientation
Gets a value that indicates the dimension by which child elements are stacked. Default is Horizontal.
Declaration
UIOrientation Orientation { get; }
Property Value
Type | Description |
---|---|
UIOrientation |
Spacing
Gets a value that indicates the space between stacked elements. Default is Small.
Declaration
UISpacing Spacing { get; }
Property Value
Type | Description |
---|---|
UISpacing |
Events
ChildrenChanged
Raised when Children is changed.
Declaration
event EventHandler? ChildrenChanged
Event Type
Type | Description |
---|---|
EventHandler |
OrientationChanged
Raised when Orientation is changed.
Declaration
event EventHandler? OrientationChanged
Event Type
Type | Description |
---|---|
EventHandler |
SpacingChanged
Raised when Spacing is changed.
Declaration
event EventHandler? SpacingChanged
Event Type
Type | Description |
---|---|
EventHandler |