how do i set any control to the topmost of the screen. For e.g. i have a textblock in a datatemplate or a hierarchichal data template..etc... now i would like to set this te
ZIndex
is relative to other controls in the same Panel
. A number higher than another control will ensure it appears "above" that control.
If your controls aren't all in the same Panel
, ZIndex
won't help you. You may need to give more information on exactly what you're doing, but it sounds like an Adorner
will be of more use to you.