public sealed class AssetTileOne realised tile of an AssetGrid: the element, and what it is showing.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ A view over a pool slot rather than the element itself, since #1406. A tile used to be a control of this name with four typed parts, created by the grid's CreateTile in C#. The tile template is @rows markup now, and a pool makes every slot by tag name — so the slot is a plain <asset-tile> element, and this names its parts for a caller that wants them, which is what the grid hands out.
⚠ Made on each ask and not kept. The slot is rebound to another item as the grid scrolls, so a view held across a scroll names whatever the slot shows now while its Node still says what it showed then. Ask the grid again.
Fields and properties (6)
public UiElement ElementThe slot's element, which is what is laid out, hit and styled.
public AssetTreeNode? NodeWhich asset it shows.
public Icon GlyphThe glyph, shown while there is no picture and for everything that has none.
public Image PictureThe picture, when the asset has one.
public UiElement CaptionThe name under it.
public UiElement StatusThe source-control mark in the corner, hidden when there is nothing to say.
Methods (1)
public AssetTile(UiElement element, AssetTreeNode? node)One realised tile of an AssetGrid: the element, and what it is showing.
Used by (10)
- AssetGridVixen.Editor.App
- AssetGridDumpTestsVixen.Editor.App.Tests
- AssetPickerTestsVixen.Editor.App.Tests
- AssetPreviewContributionTestsVixen.Editor.App.Tests
- BrowserCollectionTestsVixen.Editor.App.Tests
- BrowserFolderTreeTestsVixen.Editor.App.Tests
- ContentBrowsingVixen.Editor.App
- GridViewTestsVixen.Editor.App.Tests
- SourceControlColumnTestsVixen.Editor.App.Tests
- ThumbnailTestsVixen.Editor.App.Tests