Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

Fill Rectangle with Bisque

<Window x: Class="WpfApplication1.Window1"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     Title="Canvas" Height="300" Width="300">     <Canvas Background="AliceBlue">         <Rectangle Canvas.Left="50" Canvas.Top="50" Height="40" Width="100" Stroke="Black" Fill="Chocolate" />         <Rectangle Canvas.Right="50" Canvas.Bottom="50" Height="40" Width="100" Stroke="Black" Fill="Bisque" />     </Canvas> </Window>