| Aligning elements using multiple attached properties of Canvas |
|
|
 |
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Canvas Margin="20" HorizontalAlignment="Left" VerticalAlignment="Top">
<TextBox Canvas.Top ="10" Canvas.Left="70" Margin="0 0 0 10" Width="150 ">[email protected]</TextBox>
<PasswordBox Canvas.Top ="80" Margin="0 0 0 10" Width="150 "></PasswordBox>
</Canvas>
</Page>
|
|
|
| Related examples in the same category |