none
Adorner Element is streching outside InkCanvas RRS feed

  • Question

  • Hi,

    I am using an Resizing Adorner on Ink Canvas.

    Adorner Element can be either Text/Image, which can be resized from four sides.

    Problem statement - How do I restrict stretching Adorner element outside Ink Canvas boundaries.

    In other words, Adorner element should stop resizing when it reaches Ink Canvas boundaries.

    Any samples or logic will be helpful.

    Thanks

    Thursday, April 12, 2018 5:50 AM

All replies

  • Hi Vijay Zalaki,

    How did you implement your Resizing Adorner? And how did you apply it to the child element in InkCanvas? Please provide a simple reproducible code sample.

    Best Regards,

    Xavier Xie


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, April 13, 2018 7:25 AM
    Moderator