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

적용 대상