标签:
达到如图这个效果:
shell:SystemTray.IsVisible="True" shell:SystemTray.Opacity="0.01"
<Grid x:Name="LayoutRoot"> <Grid.RowDefinitions> <RowDefinition Height="80"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <Grid Grid.Row="0" Background="Blue"> <TextBlock Text="我的应用" Margin="0,25,0,0" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="30"/> </Grid> <Grid Grid.Row="1"> <Grid.Background> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> <GradientStop Color="#FF6CBFC3" Offset="1"/> <GradientStop Color="#FF68AE61" Offset="0"/> </LinearGradientBrush> </Grid.Background> </Grid> </Grid>
标签:
原文地址:http://www.cnblogs.com/cjxy1993/p/4355866.html