ListBox.UnselectAll 메서드

정의

ListBox의 모든 선택 영역을 지웁니다.

public:
 void UnselectAll();
public void UnselectAll ();
member this.UnselectAll : unit -> unit
Public Sub UnselectAll ()

예제

다음 예제에서는 사용 하는 방법의 UnselectAll 목록 상자에 있는 모든 항목을 선택 취소 하는 방법입니다.

private void UnselectAll(object sender, RoutedEventArgs e)
{
    lb.UnselectAll();
}
Private Sub UnselectAll(ByVal sender As Object, ByVal e As RoutedEventArgs)
    lb.UnselectAll()
End Sub

적용 대상