Saturday, February 14, 2015

Making WPF application contain both metro-style and traditional windows style with LinsUIWPF Suite

Step 1: Download the libraries.
Step 2: Follow the link How to create a new project with LinsUIWPF Suite to create a WPF project.
Step 3: Follow the link How to create a metro screen with LinsUIWPF Suite to create a metro screen.
Step 4: You can customize a task button as follows,

<src:TaskButton ButtonType="LARGE" ViewID = "1001">
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<RowDefinition Height="30"/>
<TextBlock Grid.Row="0" Text="Copy" FontWeight="Thin" FontSize="12" FontStyle="Italic" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,10,0,0"/>
<Image Grid.Row="1" Stretch="Fill" Source="../Resource/Copy.ico" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,0" Width="100" Height="80"/>


Step 5: Follow the link How to create a document with LinsUIWPF Suite to create a document and assign its ID to 1001.
Now you are ready to run the application.

The two demonstrations Metro  and Normal are from the Sample Code.

Metro  Style

Traditional Windows Style


No comments:

Post a Comment