O'Reilly logo

XAML Unleashed by Adam Nathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the User Interface

Listing 15.1 replaces the auto-generated NumericUpDown.xaml contents with content that is appropriate for our user control.

LISTING 15.1 NumericUpDown.xaml: The User Interface for NumericUpDown

<UserControl x:Class="Chapter15.NumericUpDown" xmlns:local="using:Chapter15"  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"  mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400">  <Grid Margin="4">    <Grid.RowDefinitions>      <RowDefinition/>      <RowDefinition/>    </Grid.RowDefinitions ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required