Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

Example of abbreviated markup versus explicit syntax

<Window x: Class="WpfApplication1.Window1"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     Title="" Height="300" Width="300">     <GeometryGroup>         <EllipseGeometry RadiusX="0.45" RadiusY="0.2" Center="0.5,0.5"/>         <EllipseGeometry RadiusX="0.2" RadiusY="0.45">             <EllipseGeometry.Center>                  <Point X="0.5" Y="0.5" />             </EllipseGeometry.Center>          </EllipseGeometry>     </GeometryGroup> </Window>