Popup.Closed 이벤트

정의

IsOpen 속성이 false로 변경될 때 발생합니다.

public:
 event EventHandler ^ Closed;
public event EventHandler Closed;
member this.Closed : EventHandler 
Public Custom Event Closed As EventHandler 

이벤트 유형

예제

다음 예제에 대 한 이벤트 처리기를 정의 하는 방법을 보여 줍니다는 Closed 이벤트입니다.

private void PopupClosing(object sender, EventArgs e)
{
    //Code to execute when Popup closes
}
Private Sub PopupClosing(ByVal sender As Object, ByVal e As EventArgs)
    'Code to execute when Popup closes
End Sub
<DockPanel>
  <Popup Closed="PopupClosing">
    <TextBlock Background="Yellow">Popup Text</TextBlock>
  </Popup>
</DockPanel>

설명

A Popup 로 전환 하 여 닫힌는 IsOpen 속성입니다.

적용 대상

추가 정보