I have Grid
in WPF whose child control I want to clip. I tried setting negative margins for the child control but it keeps going out of the Grid
. What can I do to clip out portions of the child control?
Use the Clip property of the Child or use <Grid ClipToBounds="True">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With