A
A
Alexander Simonov2018-03-15 13:34:52
WPF
Alexander Simonov, 2018-03-15 13:34:52

How to remove this strip in wpf application?

5aaa4afc1f2de623597409.png
Guys, this is the ListViewItem element that lies in.
<ListView.View> -> <GridView /> </ListView.View>
When directed to it, there is such a gray strip (inside the black block), what is this thing and how to get rid of it
. And the ListViewItem has rounded corners, how can I remove them?
Sorry for stupid questions, I just can’t find an answer on the Internet, maybe in the course of communication I’ll get to something and understand. Thanks in advance everyone

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Grekhov, 2018-03-22
@Sterk

A very vague question. I can recommend two options. The first option is to view the component tree in the debugger in VS. And determine which component this strip belongs to. The second option is to cut out pieces of the view until you find which component this strip belongs to. After you understand who is not displayed as it should, look for the styles associated with this component and edit them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question