July 2017
Beginner
466 pages
9h 37m
English
Let's first design our app UI to have a TextBox control to enter the description of the ToDo item, a checkbox to mark it as complete, and a few buttons to perform add, delete, and refresh data functionalities.
Open the MainPage.xaml file, where we need to change the UI. Replace the default Grid panel, with the following XAML code snippet:
<Grid> <StackPanel Width="270" Margin="10"> <TextBlock Text="Task description:"/> <TextBox x:Name="txbTaskDescription" Height="26" /> <CheckBox x:Name="chkComplete" Content="Complete?" Margin="0 10"/> <StackPanel Orientation="Horizontal" HorizontalAlignment="Center"> <Button Content="Save" Width="100" Margin="10" Click="OnSaveButtonClicked"/> <Button Content="Refresh" Width="100" ...
Read now
Unlock full access