-
DescriptionTwo buttons in a canvas, the Button is created in code, the Adorned Button is defined in axaml as a child of the canvas. When I resize the adorner, the button created in code seems like it's shaking, and the other button defined in xaml works fine. How to make the dynamically created button act like the axaml button? Behaviorresize.mp4Code |
Beta Was this translation helpful? Give feedback.
Answered by
maxkatz6
May 16, 2024
Replies: 1 comment 1 reply
-
Most likely, you need to set UseLayoutRounding to false on canvas. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jeff9571
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Most likely, you need to set UseLayoutRounding to false on canvas.