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 : INotifyPropertyChangedExtends INotifyPropertyChanged
Properties
Section titled “Properties”CopyText
Section titled “CopyText”string CopyText { get; }Default implementation
The tooltip of the edit frame’s copy icon (ITileGridItem.CopyCommand).
IsEditing
Section titled “IsEditing”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.
Layout
Section titled “Layout”TileLayout Layout { get; }The grid’s rules (size, smallest tile).
RemoveText
Section titled “RemoveText”string RemoveText { get; }The tooltip of the edit frame’s X (“Remove camera”).
Methods
Section titled “Methods”TryMove
Section titled “TryMove”bool TryMove(ITileGridItem item, TileRect rect)Moves or resizes a tile; false (nothing changes) when it would break the rules.
Events
Section titled “Events”LayoutChanged
Section titled “LayoutChanged”event EventHandler? LayoutChangedTiles moved or resized: the grid arranges again.