Mask on rectangle
Posted: 21 Apr 2021, 17:04
Hey, I want to make something like mask on rectangle: When button is out of rectangle isnt rendered, is like behind the background. Is here any idea?
Welcome to our official discussion site. You’ll find topics on features, bugs, development, and general support here
https://www.noesisengine.com/forums/
<Grid Width="200" Height="200" ClipToBounds="True">
<Button Content="Button"/>
</Button>Yes, Thanks :)You can set the property ClipToBounds to true in a parent container:Is this what you are looking for?Code: Select all<Grid Width="200" Height="200" ClipToBounds="True"> <Button Content="Button"/> </Button>