Problem with moveable Border and resizing it #13996
Unanswered
Unbekanntp
asked this question in
Q&A
Replies: 2 comments
-
|
BTW, I suggest using thumb control to implement the resizable function, which will be simpler. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've developed a custom border that can be freely moved within the window. However, I'm encountering an issue when the border's size increases, causing the control to potentially extend beyond the visible area if moved to the window's edges. The affected sides depend on the
VerticalAlignmentandHorizontalAlignmentproperties. My question is whether there's a way to manage the control's resizing to prevent it from extending outside the visible area.Here is the Control
Also here is a repo with a simple setup to show the Problem https://github.com/Unbekanntp/MinimalBorderProblemExample
To get the Problem move the whitesquare to the bottom right corner and click it.
If you need more info please tell me and I try to give you the info.
Beta Was this translation helpful? Give feedback.
All reactions