## Элементы и их атрибуты Создание обычной кнокпи ``` ``` C# ``` namespace AvaloniaFirst; public class Phone { public string Name { get; set; } public int Price { get; set; } public override string ToString() { return $"Смартфон {this.Name}; цена: {this.Price}"; } } ``` Результат: ![](./img/3.png) ## Grid (сетка) AXAML ```