Avalonia UI
HomeSupportGitHub Repository
Search…
⌃K
Links
👋
Welcome
Documentation
⚡
Getting Started
🔄
Data Binding
🎨
Styling
🧰
Controls
📚
Templates
✏
Authoring Controls
🖱
Input
🔑
Animations
📐
Layout
📦
Distribution / Publishing
API Reference
🧾
Namespaces
Guides
🐣
Basics
🤿
Deep dives
👩💻
👩💻 Developer Guides
Tutorials
📋
ToDo List App
📻
Music Store App
🕸️ Running in the Browser
📱
Developing for Mobile
Misc
👪
Community
🖥
WPF Developers Tips
Styling
DataTemplates
HierachicalDataTemplate
UIElement, FrameworkElement and Control
DependencyProperty
Grid
ItemsControl
Tunnelling Events
Class Handlers
PropertyChangedCallback
RenderTransforms and RenderTransformOrigin
📋
Projects that are using Avalonia
❔
FAQ
Powered By GitBook

Grid

Column and row definitions can be specified in Avalonia using strings, avoiding the clunky syntax in WPF:
<Grid ColumnDefinitions="Auto,*,32" RowDefinitions="*,Auto">
A common use of Grid in WPF is to stack two controls on top of each other. For this purpose in Avalonia you can just use a Panel which is more lightweight than Grid.
Previous
DependencyProperty
Next
ItemsControl
Last modified 1yr ago
Export as PDF
Copy link
Edit on GitHub