I need to show two labels “hello” and “world”, one at leftmost, and the other at right most.
How can I do that?
I tried this, but it doesn’t work.
<Grid>
<StackPanel Orientation="Horizontal" Width="300">
<Label HorizontalAlignment="Left">Hello</Label>
<Label HorizontalAlignment="Right">World</Label>
</StackPanel>
</Grid>
Use a grid