简体   繁体   中英

How to set ZIndex on StatusBarItem

I have 'StatusBar' with 'StatusBarItem'`s and one of them is current status label. I want it to fill all available space but dont overlap other Items. Usually I achieve this using ZIndex=-1 but there is no ZIndex on StatusBarItem. So how to do it?

It appears that StatusBar derives from ItemsControl, which allows you to set the template for ItemsPanel. It seems like using a different template for that will give you the flexibility you need for layout.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM