Class View
The model of a view file: the View element and everything in it.
public class View
- Inheritance
-
View
- Inherited Members
Properties
Decorations
Visual marks pinned to the view's corners and edges. Drawn after the whole control tree, outside the layout.
public List<Decoration> Decorations { get; set; }
Property Value
Layout
The root layout: the structure of the view.
[Required]
public LayoutControl Layout { get; set; }
Property Value
References
The template files whose resources this view uses.
public List<ViewTemplate> References { get; }
Property Value
Resources
Textures and other resources declared in this view. The XML-authored form of WithResources(Action<ITemplateBuilder>).
public Template Resources { get; set; }
Property Value
ViewModel
The assembly-qualified name of the view-model type this view is for, such as
Game.UI.OptionsViewModel, Game.
public string ViewModel { get; set; }