BoardTile class Core

One control placed on a Board: its cells, alignment, margin, classes and style.

public sealed class BoardTile
Namespace
ArionUI.Presentation.Controls
Package
ArionUI.Presentation · dotnet add package ArionUI.Presentation --prerelease

Properties

Box

public LogRect Box { get; }

The tile's box as last arranged, board coordinates: where the style draws; the control sits inside it by the style's padding.

Classes

public IReadOnlyList<string> Classes { get; }

The tile's style classes, which the rules of the style sheets select.

Column

public int Column { get; }

First column the tile covers; for a tile the board places itself, where the last layout put it.

ColumnSpan

public int ColumnSpan { get; }

How many columns the tile covers - for a tile the board places itself at most as many as the board has.

ComputedStyle

public ComputedStyle ComputedStyle { get; }

What the tile draws with right now, in the current theme - mid-transition the blend of that moment.

Control

public Control Control { get; }

The control the tile shows.

Flows

public bool Flows { get; }

True when the board places the tile itself, in reading order (Board.Flow), like CSS auto-placement.

Hidden

public bool Hidden { get; }

True while an active breakpoint of the board hides the tile (BoardBreakpoint.Hide).

HorizontalAlign

public TileAlign HorizontalAlign { get; }

Where the tile sits across its cell area.

Margin

public Insets Margin { get; }

Space between the cell area and the tile's box.

Row

public int Row { get; }

First row the tile covers; for a tile the board places itself, where the last layout put it.

RowSpan

public int RowSpan { get; }

How many rows the tile covers.

States

public TileStates States { get; }

The interaction states the tile is in.

Style

public ArionStyle? Style { get; }

The tile's own style, laid over every rule - CSS's inline style; null when it has none. Changed with Board.SetStyle.

VerticalAlign

public TileAlign VerticalAlign { get; }

Where the tile sits along its cell area.