Перейти к основному содержимому
Версия: 11.0.0

Data Templates

These pages describe the important concept of a data template in Avalonia UI.

A data template allows an Avalonia UI control to display an object in its content zone which is not itself a control. This concept is explained using a practical code example.

к сведению

For some information about the concept of control layout zones in Avalonia UI, see here.

Example Code

To follow the example code that follows, create a new Avalonia UI project using the 'Avalonia Application' template in C#.