Remove focus on object in listbox?

Hello

If you have a object in listbox and it is marked by the line accross in the listbox, what is the syntax to do that the object not will be marked

spot



Answer this question

Remove focus on object in listbox?

  • GDigrego

    Hi,
    one possible way is to set the SelectedItem to null:

    listBox.SelectedItem = null;


  • Remove focus on object in listbox?