Browse Source

working on sample app shell

import/raw
brianlagunas_cp 16 years ago
parent
commit
b497a1739e
  1. BIN
      Main/Source/ExtendedWPFToolkitSolution/Src/Samples/Samples/Images/Background.jpg
  2. 3
      Main/Source/ExtendedWPFToolkitSolution/Src/Samples/Samples/Samples.csproj
  3. 50
      Main/Source/ExtendedWPFToolkitSolution/Src/Samples/Samples/Shell.xaml

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

3
Main/Source/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.

50
Main/Source/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>
<Grid Margin="10,0,10,10">
<TextBlock Text="Extended WPF Toolkit" Foreground="WHite" FontSize="28" FontWeight="Bold" />
</Grid>
<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>
<TreeView prism:RegionManager.RegionName="{x:Static inf:RegionNames.NavigationRegion}" <Border Grid.Column="1" Margin="10,0,10,0" BorderBrush="Gray" BorderThickness="1" Background="White"
infCommands:TreeViewSelected.Command="{Binding NavigateCommand}" CornerRadius="3">
MinWidth="150" /> <ContentControl prism:RegionManager.RegionName="{x:Static inf:RegionNames.ContentRegion}" Margin="5" />
</Border>
<ContentControl Grid.Column="1" prism:RegionManager.RegionName="{x:Static inf:RegionNames.ContentRegion}" Margin="10" /> </Grid>
</Grid> </Grid>
</Window> </Window>

Loading…
Cancel
Save