Method TrySplitTile
TrySplitTile(int, int, out TileView)
Converts of Tiles element idx
from a regular View to a new
nested TileView the specified numberOfPanels
. Returns false if the element already
contains a nested view.
public bool TrySplitTile(int idx, int numberOfPanels, out TileView result)
Parameters
idx
intThe element of Tiles that is to be subdivided.
numberOfPanels
intThe number of panels that the Tile should be split into
result
TileViewThe new nested TileView.
Returns
- bool
true if a View was converted to a new nested TileView. false if it was already a nested TileView
Remarks
After successful splitting, the old contents will be moved to the result
TileView 's first tile.