Adorners #23988
Unanswered
davepruitt
asked this question in
Q&A
Adorners
#23988
Replies: 0 comments
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.
-
Hey all,
I am currently developing an app in which I'd like to display interactive "adorners" on some UI elements/controls when they are tapped by the user. Examples include a "resize adorner" or other similar adorners.
For example, let's say I have some kind of rectangle on the screen. The user taps the rectangle, and then I want to show the rectangle is "focused" by displaying an adorning box around the rectangle, possibly with some resize adorners on it.
I see that there is something called "overlays" in .NET MAUI, but the documentation on overlays is lacking, and the only code I can find that uses overlays is very old and doesn't build with the latest version of .NET MAUI: https://github.com/jsuarezruiz/netmaui-overlay-playground
I also see there are even some "adorner" classes within .NET MAUI. For example, there is a class called RectangleAdorner: https://learn.microsoft.com/en-us/dotnet/api/microsoft.maui.rectangleadorner?view=net-maui-8.0
Unfortunately there doesn't seem to be any documentation on how to use these classes.
I'm curious if anyone has experience doing something similar to what I'd like to do, and possibly could suggest the best way to go about this? Or are there any known good sources of documentation/examples/tutorials on the above-mentioned classes, etc?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions