Tuesday, April 19, 2011

Gold and Black gradient

<Grid Style="{StaticResource NavigationOuterGridStyle}" Margin="0,0,-82,0">
<Grid x:Name="NavigationGrid" Style="{StaticResource NavigationGridStyle}">
<Rectangle >
<Rectangle.Fill>
<LinearGradientBrush >
<GradientStop Offset="0.4" Color="Gold" ></GradientStop>
<GradientStop Offset="0.8" Color="Black" ></GradientStop>
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
<Border x:Name="BrandingBorder" Style="{StaticResource BrandingBorderStyle}">
<StackPanel x:Name="BrandingStackPanel" Style="{StaticResource BrandingStackPanelStyle}">
<TextBlock x:Name="ApplicationNameTextBlock" Style="{StaticResource ApplicationNameStyle}" Foreground="Black"
Text="{Binding ApplicationStrings.ApplicationName, Source={StaticResource ResourceWrapper}}"/>
</StackPanel>
</Border>
<Border x:Name="LinksBorder" Style="{StaticResource LinksBorderStyle}">
<StackPanel x:Name="LinksStackPanel" Style="{StaticResource LinksStackPanelStyle}" Height="22" Width="74">
<Rectangle x:Name="Divider1" Style="{StaticResource DividerStyle}"/>
</StackPanel>
</Border>

<HyperlinkButton x:Name="Link1" Style="{StaticResource LinkStyle}" NavigateUri="/Home" TargetName="ContentFrame" Content="{Binding Path=ApplicationStrings.HomePageTitle, Source={StaticResource ResourceWrapper}}" Margin="284,3,0,11" HorizontalAlignment="Left" Width="78" />
<HyperlinkButton x:Name="Link2" Style="{StaticResource LinkStyle}" NavigateUri="/About" TargetName="ContentFrame" Content="{Binding Path=ApplicationStrings.AboutPageTitle, Source={StaticResource ResourceWrapper}}" Margin="360,4,250,10" Width="78"/>
<Rectangle x:Name="Divider2" Style="{StaticResource DividerStyle}"/>
<HyperlinkButton x:Name="Link3" Style="{StaticResource LinkStyle}" Content="{Binding Path=ApplicationStrings.VehicleCurrentStatus, Source={StaticResource ResourceWrapper}}" Margin="505,3,62,0" Width="150" NavigateUri="/VehicleCurrentStatus" TargetName="ContentFrame"/>
</Grid>
<Border x:Name="loginContainer" Style="{StaticResource LoginContainerStyle}">

<!-- LoginStatus will be added here in code behind. This is required for the designer view to work -->
<Rectangle>
<Rectangle.Fill>
<LinearGradientBrush >
<GradientStop Offset="0.2" Color="Black" ></GradientStop>
<GradientStop Offset="0.8" Color="Gold" ></GradientStop>
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
</Border>
</Grid>
</Grid>

No comments:

Post a Comment