Perform the following steps to create CLR properties that send notifications to the UI:
- Open the MainWindow.xaml file and give the window a name. For example, name the current window window by adding the following syntax to the Window tag: x:Name="window".
- Now divide the default Grid into a few rows and columns. Copy the following XAML markup inside your Grid panel:
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="15"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="10"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
- Once the grid has been divided into rows and columns, let's add a few text and button controls inside it. Place...