Border in Silverlight

Border in silverlight

<
Border BorderBrush="Pink" BorderThickness="5"  CornerRadius="5" >

        <Grid>

            <ScrollViewer>

                <StackPanel Orientation="Vertical">

                    <StackPanel>

                        <Grid x:Name="LayoutRoot" Width="1000" Height="100" VerticalAlignment="Top">

 

                            <Grid.Background>

                                <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">

                                    <GradientStop Color="SkyBlue"  Offset="0"/>

                                    <GradientStop Color="White"  Offset="0.75"/>

                                    <GradientStop Color="SkyBlue"  Offset="1"/>

                                </LinearGradientBrush>

                            </Grid.Background>

                        </Grid>

                    </StackPanel>

                   

                </StackPanel>

 

            </ScrollViewer>

        </Grid>

 

    </Border>

Ebook Download
View all
Learn
View all