蓝色的标题条

 <Grid Background="White">
        <Grid Height="80" x:Name="header" VerticalAlignment="Top" Opacity="1">

            <Grid Margin="0,0,0,0" x:Name="headerMain">

                <Path Opacity="0.945" Stretch="Fill" Stroke="#FF00233F" StrokeThickness="1" Data="F1 M5.5000038,0.49999613 L944.5,0.49999613 C947.26141,0.50000387 949.5,2.7385798 949.5,5.5 L949.5,50 949.5,54.5 949.5,59.500004 944.5,59.500004 939.75,59.500004 13.250005,59.500004 5.5000038,59.500004 0.5,59.500004 0.5,54.5 0.5,46.75 0.5,5.5 C0.5,2.7385798 2.7385762,0.50000387 5.5000038,0.49999613 z">
                    <Path.Fill>
                        <LinearGradientBrush EndPoint="0.489,-0.25" StartPoint="0.489,1.133">
                            <GradientStop Color="#FF00275F" Offset="0.288" />
                            <GradientStop Color="#FF2479F4" Offset="1" />
                            <GradientStop Color="#FF063A86" Offset="0" />
                        </LinearGradientBrush>
                    </Path.Fill>
                </Path>

                <Image Stretch="Fill" Source="/SilverlightApplication12;component/Images/headerbg.png" Margin="1,1,1,1" />

                <Rectangle Stroke="#FFACDAFF" StrokeThickness="1" RadiusX="4" RadiusY="4" x:Name="strokeHighlight" Margin="2,2,2,4">
                    <Rectangle.Fill>
                        <ImageBrush />
                    </Rectangle.Fill>
                    <Rectangle.OpacityMask>
                        <LinearGradientBrush EndPoint="0.511,0.513" StartPoint="0.511,0.052">
                            <GradientStop Color="#FF000000" Offset="0" />
                            <GradientStop Color="#00FFFFFF" Offset="1" />
                        </LinearGradientBrush>
                    </Rectangle.OpacityMask>
                </Rectangle>

            </Grid>
        </Grid>
    </Grid>

 效果图

 

posted @ 2012-07-15 20:49  ajeeky  阅读(354)  评论(0编辑  收藏  举报