Below is a sample code demonstrating how to embed a rectangle inside a Button in Xaml .
How to embed Rectangle inside a Button in Xaml ?
<Button Width="100" Height="200">
<Rectangle Width="70" Height="100" Fill="AliceBlue"></Rectangle>
</Button>
Leave a Reply