Silverlight LinearGradientBrush uygulaması - Bilişim Konuları

Silverlight LinearGradientBrush uygulaması

Silverlight ile yapılmış çok güzel bir LinearGradientBrush uygulaması. Renklerin adeta dans ettiği bir ekran görüntüsü


<UserControl x:Class="firca3.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

    <Grid x:Name="LayoutRoot" Background="White">
        <Rectangle Width="300" Margin="45,12,55,26">
            <Rectangle.Fill>
                <LinearGradientBrush StartPoint="0,0" EndPoint="1,0">
                    <GradientStop Color="Yellow" Offset="0.0" />
                    <GradientStop Color="Red" Offset="0.10" />
                    <GradientStop Color="Blue" Offset="0.20" />
                    <GradientStop Color="Green" Offset="0.30" />
                    <GradientStop Color="Yellow" Offset="0.40" />
                    <GradientStop Color="Red" Offset="0.50" />
                    <GradientStop Color="Blue" Offset="0.60" />
                    <GradientStop Color="Green" Offset="0.70" />
                    <GradientStop Color="Yellow" Offset="0.80" />
                    <GradientStop Color="Red" Offset="0.90" />
                    <GradientStop Color="Blue" Offset="1.0" />
                </LinearGradientBrush>
            </Rectangle.Fill>
        </Rectangle>
    </Grid>
</UserControl>

Ekran Görüntüsü

Bu Yazıya Tepkin Nedir?
+1
0
+1
0
+1
0
+1
0
+1
0
+1
0
+1
0

Yorum Yap