
XAML Support
The real beauty of the Wizard control is how easy it is to create a page using XAML syntax.
This XAML code created this page below:
1 <wizard:Wizard x:Name="wizard" WindowTitleBehavior="PageTitle"
2 WindowTitleBaseText="Wizard Sample" PageSequenceType="Stack">
3
4 <wizard:WizardPage x:Name="welcomePage" PageType="Exterior"
5 Caption="Welcome to the Wizard Sample Application"
6 Description="Thank you for downloading the Actipro Wizard control..."
7 HeaderImage="/Sample;component/Images/HatLogo.png">
8 <wizard:WizardPage.HeaderBackground>
9 <ImageBrush TileMode="Tile" Stretch="None" Viewport="0,0,164,450"
10 ViewportUnits="Absolute"
11 ImageSource="/Sample;component/Images/WelcomeBG.png" />
12 </wizard:WizardPage.HeaderBackground>
13 <Grid>
14 <Grid.RowDefinitions>
15 <RowDefinition Height="*" />
16 <RowDefinition Height="Auto" />
17 </Grid.RowDefinitions>
18
19 <TextBlock Grid.Row="0" VerticalAlignment="Center"
20 TextAlignment="Center" TextWrapping="Wrap">
21 Visit our web site for new versions and licensing information:
22 <LineBreak />
23 <Hyperlink NavigateUri="http://www.ActiproSoftware.com/"
24 TargetName="_blank">http://www.ActiproSoftware.com/</Hyperlink>
25 </TextBlock>
26 <TextBlock Grid.Row="1" TextWrapping="Wrap">
27 To continue, click Next.
28 </TextBlock>
29 </Grid>
30 </wizard:WizardPage>
31
32 </wizard:Wizard>

A welcome page created by the above XAML code
|