Vixen
dd8b0a81
csharp
public sealed class AssetTile

One asset as a tile: a glyph, a name, and what it stands for.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (7)

  • protected override string TagName

    The element name this type answers to when a caller does not choose one.

  • protected override bool AcceptsFocus

    Whether the focus can rest on this kind of control at all.

  • public AssetTreeNode? Node

    Which asset it shows.

  • public Icon Glyph

    The glyph, shown while there is no picture and for everything that has none.

  • public Image Picture

    The picture, when the asset has one.

  • public UiElement Caption

    The name under it.

  • public UiElement Status

    The source-control mark in the corner, hidden when there is nothing to say.

Methods (1)

  • protected override void OnCreated()

    Builds whatever this element is made of, once, as it joins a document.

Used by (9)

  • AssetGridVixen.Editor.App
  • AssetPickerTestsVixen.Editor.App.Tests
  • AssetPreviewContributionTestsVixen.Editor.App.Tests
  • BrowserCollectionTestsVixen.Editor.App.Tests
  • BrowserFolderTreeTestsVixen.Editor.App.Tests
  • EditorApplicationVixen.Editor.App
  • GridViewTestsVixen.Editor.App.Tests
  • SourceControlColumnTestsVixen.Editor.App.Tests
  • ThumbnailTestsVixen.Editor.App.Tests