I have a ListView control which is behind other controls. I cant set parent nor use BringInFront function like in winforms to make it front. How I can achieve this in WPF? Bring ListView control in top of other controls.
You can set the ZIndex
Property to the maximum.
Read this
OR
Alternatively, just move the ListView
control to the bottom of the declarations inside the Grid
(z-order is bottom (highest) to top (lowest)). Perhaps a bit counterintuitive.
You can do this,
Goto View->Designer (Shift+f7)
Right Click your ListView ,
Order->Bring To Front
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.