Browse Source

working on sample app shell

pull/1645/head
brianlagunas_cp 15 years ago
parent
commit
e13613af5c
  1. BIN
      ExtendedWPFToolkitSolution/Src/Samples/Samples/Images/Background.jpg
  2. 3
      ExtendedWPFToolkitSolution/Src/Samples/Samples/Samples.csproj
  3. 60
      ExtendedWPFToolkitSolution/Src/Samples/Samples/Shell.xaml

BIN
ExtendedWPFToolkitSolution/Src/Samples/Samples/Images/Background.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

3
ExtendedWPFToolkitSolution/Src/Samples/Samples/Samples.csproj

@ -120,6 +120,9 @@
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
</ItemGroup> </ItemGroup>
<ItemGroup>
<Resource Include="Images\Background.jpg" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.

60
ExtendedWPFToolkitSolution/Src/Samples/Samples/Shell.xaml

@ -4,23 +4,53 @@
xmlns:inf="clr-namespace:Samples.Infrastructure;assembly=Samples.Infrastructure" xmlns:inf="clr-namespace:Samples.Infrastructure;assembly=Samples.Infrastructure"
xmlns:infCommands="clr-namespace:Samples.Infrastructure.Commands;assembly=Samples.Infrastructure" xmlns:infCommands="clr-namespace:Samples.Infrastructure.Commands;assembly=Samples.Infrastructure"
xmlns:prism="http://www.codeplex.com/CompositeWPF" xmlns:prism="http://www.codeplex.com/CompositeWPF"
Title="Shell" Height="600" Width="800"> Title="Extended WPF Toolkit - Samples" Height="768" Width="1024" >
<Window.Background>
<ImageBrush ImageSource="/Images/Background.jpg" />
</Window.Background>
<Window.Resources> <Window.Resources>
<!--<Style TargetType="TreeViewItem">
</Style>-->
</Window.Resources> </Window.Resources>
<Grid> <Grid Margin="15" >
<Grid.ColumnDefinitions> <Grid.RowDefinitions>
<ColumnDefinition Width="Auto" /> <RowDefinition Height="Auto" />
<ColumnDefinition Width="*" /> <RowDefinition />
</Grid.ColumnDefinitions> </Grid.RowDefinitions>
<TreeView prism:RegionManager.RegionName="{x:Static inf:RegionNames.NavigationRegion}"
infCommands:TreeViewSelected.Command="{Binding NavigateCommand}" <Grid Margin="10,0,10,10">
MinWidth="150" /> <TextBlock Text="Extended WPF Toolkit" Foreground="WHite" FontSize="28" FontWeight="Bold" />
</Grid>
<ContentControl Grid.Column="1" prism:RegionManager.RegionName="{x:Static inf:RegionNames.ContentRegion}" Margin="10" />
<Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Border CornerRadius="3" BorderBrush="Gray" BorderThickness="1" >
<TreeView prism:RegionManager.RegionName="{x:Static inf:RegionNames.NavigationRegion}"
infCommands:TreeViewSelected.Command="{Binding NavigateCommand}"
BorderBrush="{x:Null}" Background="{x:Null}"
MinWidth="150" Margin="3">
<!-- TODO: Style the TreeViewItems-->
</TreeView>
</Border>
<Border Grid.Column="1" Margin="10,0,10,0" BorderBrush="Gray" BorderThickness="1" Background="White"
CornerRadius="3">
<ContentControl prism:RegionManager.RegionName="{x:Static inf:RegionNames.ContentRegion}" Margin="5" />
</Border>
</Grid>
</Grid> </Grid>
</Window> </Window>

Loading…
Cancel
Save