Avalonia
Home
Support
GitHub Repository
Searchβ¦
π
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:
1
<
Grid
ColumnDefinitions
=
"
Auto,*,32
"
RowDefinitions
=
"
*,Auto
"
>
Copied!
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