Define ClipRectangle for ChildControls
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hello all together, I have a problem with my custom user control. It has some childcontrols (also usercontrols) which will be movable inbetween the custom control. But I have some regions (Top and Left area) which should be tabu for it's childcontrols. So my question is, how can I set a ClipRectangle Region where childcontrols are allowed to be painted? I solved temporarly this problem with calculating a Region area, if a childcontrols location is inbetween the "zone which is not allowed", but I have to check this Region each movement and will be very slowly. So I would be pleased if someone could explain me a solution. Thanks for replies. With best regards Norman-Timo