Table of Contents

Class RepeaterItemTemplate

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

The control tree a Repeater builds once per item.

public class RepeaterItemTemplate
Inheritance
RepeaterItemTemplate
Inherited Members

Remarks

A wrapper element rather than putting the layout straight on the repeater, for the same reason GridCell is one: it names what the child is for, and it leaves room for per-template settings later without another schema break. Exactly one layout, so a row always has a single root to position and measure - two roots would mean the repeater inventing an implicit container and the view author not being able to control it.

Properties

Layout

The layout built for each item. Bindings inside it resolve against the item, not the view model.

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

Property Value

LayoutControl