May 2010
Intermediate to advanced
1752 pages
41h 17m
English
Create a brand new WPF Application project named JackpotDeluxe using Expression Blend, and set a reference to MyCustomControl.dll using the Project | Add Reference... menu option. Because your control is defined in an external assembly, update the opening element of the Window to define a new XML namespace named custom that maps to your MyCustomControl namespace:
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:custom="clr-namespace:MyCustomControl;assembly=MyCustomControl" x:Class="JackpotDeluxe.MainWindow" x:Name="Window" Title="MainWindow" Width="640" Height="438"> <Grid/> </Window>
You will build your complete ...