How to Create Overlapping Rectangles
#1
I want to display two overlapping rectangles.  I have written a sample project that does this (MainWindow.xaml) and the result is screenshot1.   However, I want the windows to look like screenshot2 (for clarity, I added labels in screenshot2 that indicate the rectangles' positions.)  There are two differences in screenshot2: the rectangles are arranged slightly differently and we do not see the edges of the "bottom" rectangle that is overlapped.  How can I re-write MainWindow.xaml so that I get the result in screenshot2?  Thanks for any help you can give.


Attached Files Thumbnail(s)
       

.xaml   MainWindow.xaml (Size: 4.24 KB / Downloads: 3)
  


Messages In This Thread
How to Create Overlapping Rectangles - by HelloSupport - 07-14-2019, 09:34 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)