using UWP.Markup;
var value = new StackPanel()
.Background(Colors.Red)
.AddChild(new TextBlock().Text("Hello"));
// doc ⬇️
Custom Methods
Sets a Brush
that fills the panel
content area.
Add items as a params array of UIElement
to the Children
collection of the Panel
.
Add a item
to the Children
collection of the Panel
.
Try
to add items
as a params
array of UIElement to the Children
collection of the Panel
.
Try
to add
a item
to the Children
collection of the Panel
.
WinUI Methods