Popup.Opened 이벤트
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
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 속성입니다.