Interface IUIGrid
A component provides a flexible grid area that consists of columns and rows. Child elements of the Grid are measured and arranged according to their row/column assignments and other logic.
Inherited Members
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
public interface IUIGrid : IUIElementWithChildren, IUIElement
Properties
Cells
Gets the cells in the grid.
Declaration
IUIGridCell[]? Cells { get; }
Property Value
Type | Description |
---|---|
IUIGridCell[] |
ColumnSpacing
Gets a value that indicates the space between columns. Default is Small.
Declaration
UISpacing ColumnSpacing { get; }
Property Value
Type | Description |
---|---|
UISpacing |
Columns
Gets the definition of the columns in the grid. Default is a column that takes the whole width.
Declaration
UIGridLength[]? Columns { get; }
Property Value
Type | Description |
---|---|
UIGridLength[] |
RowSpacing
Gets a value that indicates the space between rows. Default is Small.
Declaration
UISpacing RowSpacing { get; }
Property Value
Type | Description |
---|---|
UISpacing |
Rows
Gets the definition of the rows in the grid. Default is a row that takes the whole height.
Declaration
UIGridLength[]? Rows { get; }
Property Value
Type | Description |
---|---|
UIGridLength[] |
Events
CellsChanged
Raised when Cells is changed.
Declaration
event EventHandler? CellsChanged
Event Type
Type | Description |
---|---|
EventHandler |
ColumnSpacingChanged
Raised when ColumnSpacing is changed.
Declaration
event EventHandler? ColumnSpacingChanged
Event Type
Type | Description |
---|---|
EventHandler |
ColumnsChanged
Raised when Columns is changed.
Declaration
event EventHandler? ColumnsChanged
Event Type
Type | Description |
---|---|
EventHandler |
RowSpacingChanged
Raised when RowSpacing is changed.
Declaration
event EventHandler? RowSpacingChanged
Event Type
Type | Description |
---|---|
EventHandler |
RowsChanged
Raised when Rows is changed.
Declaration
event EventHandler? RowsChanged
Event Type
Type | Description |
---|---|
EventHandler |