You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I want to realize that the picture automatically adapts to the canvas, so that the picture is in the middle of the canvas, is there a way to get the width and height of the RichItemsControl or other methods to achieve this function?
whether I can do it with an extension method that changes coordinates similar to what ShouldBringIntoView does (as the MakeVisible method does)
Trouble you again,Thank you so much.
Best Wishes!
The text was updated successfully, but these errors were encountered:
Hi,
You should be able to get the ActualWidth and ActualHeight from the RichItemsControl.
Also you can wrap your RichItemsControl in another Panel or any other object and use that size.
Anyway, I will expose a property on RichItemsControl to see the current Viewport size.
Hi,
I want to realize that the picture automatically adapts to the canvas, so that the picture is in the middle of the canvas, is there a way to get the width and height of the RichItemsControl or other methods to achieve this function?
whether I can do it with an extension method that changes coordinates similar to what ShouldBringIntoView does (as the MakeVisible method does)
Trouble you again,Thank you so much.
Best Wishes!
The text was updated successfully, but these errors were encountered: