.net - C# - Adding Button inside ListBox -


I am writing a C # app with a list box that contains the user added content. Now, to remove the item, I could have a normal button under the listbox, but I have to have a button next to the content, so the list is inside the box.

Like this:

  • Content 1 | X
  • Content 2 | X
  • ...
  • Content 5 | X

The problem is that I have lack of experience in .NET, so I have no indication how it would be possible with all automatic controls. I made it round, but there was no meaningful result.

Any hints, clues or snippets are welcome to get it! :)

Instead of ListBox you can use ListView, ListView is.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -