Skip to content

ITileGridSource

Interface in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll

What a TileGrid shows: the tiles, the edit mode and the rules; it moves and resizes tiles.

public interface ITileGridSource : INotifyPropertyChanged

Extends INotifyPropertyChanged

string CopyText { get; }

Default implementation

The tooltip of the edit frame’s copy icon (ITileGridItem.CopyCommand).

bool IsEditing { get; }

While true the grid draws the cell lines and every tile its edit frame (PropertyChanged IsEditing).

IReadOnlyList<ITileGridItem> Items { get; }

The tiles; when the list also raises collection changes, the grid follows them.

TileLayout Layout { get; }

The grid’s rules (size, smallest tile).

string RemoveText { get; }

The tooltip of the edit frame’s X (“Remove camera”).

bool TryMove(ITileGridItem item, TileRect rect)

Moves or resizes a tile; false (nothing changes) when it would break the rules.

event EventHandler? LayoutChanged

Tiles moved or resized: the grid arranges again.