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)
{
}


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