Rectangle

Displays a rectangle shape


There is no click event but you can achieve this by assigning a method to the MouseLeftButtonDown event handler


<Rectangle x:Name="Rectangle1" 
   MouseLeftButtonDown="Rectangle_MouseLeftButtonDown">

private void Rectangle_MouseLeftButtonDown( 
   object sender,
   System.Windows.RoutedEventArgs e)
{
}


© 2020 Better Solutions Limited. All Rights Reserved. © 2020 Better Solutions Limited TopPrevNext