UIElement on top of everything else
Posted: 09 Aug 2023, 03:34
I'm trying to address a common use case of having an element render on top of everything else (think tooltip, tutorial, button prompt, etc.)
What's the best and easiest way to achieve this? I understand there's a z index property, but that doesn't work well with nested hierarchies. Googling has lead me to some Adorner stuff but I'm really lost as to how to proceed with that. Basically, I have all the behavior I need set up and working as expected, the only problem is that tooltip-like objects are sometimes obstructed by other UI elements.
Is there a way to achieve something like this with an attached property? Something like
What's the best and easiest way to achieve this? I understand there's a z index property, but that doesn't work well with nested hierarchies. Googling has lead me to some Adorner stuff but I'm really lost as to how to proceed with that. Basically, I have all the behavior I need set up and working as expected, the only problem is that tooltip-like objects are sometimes obstructed by other UI elements.
Is there a way to achieve something like this with an attached property? Something like
Code: Select all
noesis:RenderAfterEverything="{Binding IsTooltip}"