Feeds:
Posts
Comments

Archive for July, 2008

rectangle XAML

i was in fun with XAML, sharing some of my rectangular XAML codes with you.

<Rectangle x:Name=”rectangle” Stroke=”Gray” StrokeThickness=”1″ Fill=”LightYellow” Width=”50″ Height=”50″ />

<Rectangle x:Name=”rectangle” Stroke=”Gray” StrokeThickness=”1″ Width=”50″ Height=”50″ >
<Rectangle.Fill>
<LinearGradientBrush StartPoint=”0,0″>
<GradientStop Color=”White” Offset=”0.0″ />
<GradientStop Color=”Gray” Offset=”1.0″ />
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>

<Rectangle x:Name=”start” Stroke=”Gray” RadiusX=”10″ RadiusY=”10″ StrokeThickness=”1″ Width=”50″ Height=”50″>

<Rectangle x:Name=”decision” Canvas.Left=”15″ Height=”40″ Width=”40″ Stroke=”Black” Fill=”LightYellow”>
<Rectangle.RenderTransform>
<RotateTransform Angle=”45″ />
</Rectangle.RenderTransform>
</Rectangle>

<Rectangle Canvas.Left=”10″ Height=”40″ Width=”40″ Stroke=”Black” Fill=”LightYellow”>
<Rectangle.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX=”1″ [...]

Read Full Post »