Table of Contents

Class View

Namespace
BSGameLib.UI.Builder.Models
Assembly
BSGameLib.UI.dll

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

List<Decoration>

Layout

The root layout: the structure of the view.

[Required]
public LayoutControl Layout { get; set; }

Property Value

LayoutControl

References

The template files whose resources this view uses.

public List<ViewTemplate> References { get; }

Property Value

List<ViewTemplate>

Resources

Textures and other resources declared in this view. The XML-authored form of WithResources(Action<ITemplateBuilder>).

public Template Resources { get; set; }

Property Value

Template

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; }

Property Value

string