Popup.Opened 이벤트

정의

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

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

이벤트 유형

예제

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

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

설명

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

적용 대상

추가 정보