Reputation: 947
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.
Upvotes: 0
Views: 569
Reputation: 48568
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.
Upvotes: 3
Reputation: 222582
You can do this,
Goto View->Designer (Shift+f7)
Right Click your ListView ,
Order->Bring To Front
Upvotes: 0