Mega Code Archive

 
Categories / VB.Net / WPF
 

Ellipse with explicit SolidColorBrush

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"       HorizontalAlignment="Stretch" VerticalAlignment="Stretch">          <Ellipse Name="myEllipse" Height="100">       <Ellipse.Fill>         <SolidColorBrush x:Name="myBrush" Color="Red" />       </Ellipse.Fill>     </Ellipse> </Page>