We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Every widget has following properties related to the layout:
_Note. Properties which names start with 'Grid' are used only in the Grid container.
Panel is simple container. Following MML demonstrates usage of layout properties with it:
<Project> <Panel> <TextBlock Text="Positioned Text" Left="50" Top="100" /> <TextButton Text="Padded Centered Button" PaddingLeft="8" PaddingRight="8" PaddingTop="8" PaddingBottom="8" HorizontalAlignment="Center" VerticalAlignment="Center" /> <TextBlock Text="Right Bottom Button" Left="-30" Top="-20" HorizontalAlignment="Right" VerticalAlignment="Bottom" /> <TextButton Text="Fixed Size Button" Width="150" Height="40" PaddingRight="1" /> </Panel> </Project>
It would result in following UI: