C# 클래스 System.Windows.Controls.PopupHelper

PopupHelper is a simple wrapper type that helps abstract platform differences out of the Popup.
파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Arrange void
OnClosed void
OnFocusChanged void
OnPopupClosedStateChanged void
OnUpdateVisualStates void
PopupChild_GotFocus void
PopupChild_LostFocus void
PopupChild_MouseEnter void
PopupChild_MouseLeave void
PopupChild_SizeChanged void
Popup_Closed void

공개 메소드들

메소드 설명
AfterOnApplyTemplate ( ) : void

Should be called by the parent control after the base OnApplyTemplate method is called.

BeforeOnApplyTemplate ( ) : void

Should be called by the parent control before the base OnApplyTemplate method is called.

PopupHelper ( Control parent ) : System.Diagnostics

Initializes a new instance of the PopupHelper class.

PopupHelper ( Control parent, System.Windows.Controls.Primitives.Popup popup ) : System.Diagnostics

Initializes a new instance of the PopupHelper class.

비공개 메소드들

메소드 설명
Arrange ( ) : void
OnClosed ( EventArgs e ) : void

Fires the Closed event.

OnFocusChanged ( EventArgs e ) : void

Connected to several events that indicate that the FocusChanged event should bubble up to the parent control.

OnPopupClosedStateChanged ( object sender, System.Windows.VisualStateChangedEventArgs e ) : void

Actually closes the popup after the VSM state animation completes.

OnUpdateVisualStates ( EventArgs e ) : void

Fires the UpdateVisualStates event.

PopupChild_GotFocus ( object sender, RoutedEventArgs e ) : void

The popup child has received focus.

PopupChild_LostFocus ( object sender, RoutedEventArgs e ) : void

The popup child has lost focus.

PopupChild_MouseEnter ( object sender, System.Windows.Input.MouseEventArgs e ) : void

The popup child has had the mouse enter its bounds.

PopupChild_MouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void

The mouse has left the popup child's bounds.

PopupChild_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void

The size of the popup child has changed.

Popup_Closed ( object sender, EventArgs e ) : void

Connected to the Popup Closed event and fires the Closed event.

메소드 상세

AfterOnApplyTemplate() 공개 메소드

Should be called by the parent control after the base OnApplyTemplate method is called.
public AfterOnApplyTemplate ( ) : void
리턴 void

BeforeOnApplyTemplate() 공개 메소드

Should be called by the parent control before the base OnApplyTemplate method is called.
public BeforeOnApplyTemplate ( ) : void
리턴 void

PopupHelper() 공개 메소드

Initializes a new instance of the PopupHelper class.
public PopupHelper ( Control parent ) : System.Diagnostics
parent Control The parent control.
리턴 System.Diagnostics

PopupHelper() 공개 메소드

Initializes a new instance of the PopupHelper class.
public PopupHelper ( Control parent, System.Windows.Controls.Primitives.Popup popup ) : System.Diagnostics
parent Control The parent control.
popup System.Windows.Controls.Primitives.Popup The Popup template part.
리턴 System.Diagnostics