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
I am trying to place an element vertically relative to a NavigationViewItem (kind of an overlay to that item) and am finding it difficult to place the element correctly relative to the item. The item has an ActualOffset member (with X,Y,Z components), but that is always zero. If it were not zero, then I could use the Y component to place the element.
Obviously, there must be a way to place elements relative to NavigationViewItems because the TeachingTip element is able to do that just fine. Is there a NavigationViewItem property or some trick that will let me place the element correctly? I have tried counting the NavigationViewItems and multiplying by an offset value and it works poorly.
Many thanks for any suggestions that can be offered.
This discussion was converted from issue #7187 on July 22, 2022 21:21.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi -
I am trying to place an element vertically relative to a NavigationViewItem (kind of an overlay to that item) and am finding it difficult to place the element correctly relative to the item. The item has an ActualOffset member (with X,Y,Z components), but that is always zero. If it were not zero, then I could use the Y component to place the element.
Obviously, there must be a way to place elements relative to NavigationViewItems because the TeachingTip element is able to do that just fine. Is there a NavigationViewItem property or some trick that will let me place the element correctly? I have tried counting the NavigationViewItems and multiplying by an offset value and it works poorly.
Many thanks for any suggestions that can be offered.
Beta Was this translation helpful? Give feedback.
All reactions