C# 클래스 VisibleBoundsWP8Sample.VisibleBoundsExtensions

Extension methods for accessing new VisibleBound property and VisibleBoundsChanged event on PhoneApplicationPage in Windows Phone 8.1 Update 1.
파일 보기 프로젝트 열기: martinsuchan/wpdev.samples

공개 메소드들

메소드 설명
GetVisibleBounds ( this page ) : System.Windows.Thickness

Get the VisibleBounds value from provided PhoneApplicationPage

VisibleBoundsChangedAdd ( this page, EventHandler handler ) : void

Attach provided handler to VisibleBoundsChanged event.

VisibleBoundsChangedRemove ( this page, EventHandler handler ) : void

Detach provided handler from VisibleBoundsChanged event.

비공개 메소드들

메소드 설명
EnsureVersion ( ) : void

메소드 상세

GetVisibleBounds() 공개 정적인 메소드

Get the VisibleBounds value from provided PhoneApplicationPage
Thrown if application is running on older version of /// Windows Phone than Windows Phone 8.1 Update 1.
public static GetVisibleBounds ( this page ) : System.Windows.Thickness
page this Target page.
리턴 System.Windows.Thickness

VisibleBoundsChangedAdd() 공개 정적인 메소드

Attach provided handler to VisibleBoundsChanged event.
Thrown if application is running on older version of /// Windows Phone than Windows Phone 8.1 Update 1.
public static VisibleBoundsChangedAdd ( this page, EventHandler handler ) : void
page this Target page.
handler EventHandler Delegate to attach to the event.
리턴 void

VisibleBoundsChangedRemove() 공개 정적인 메소드

Detach provided handler from VisibleBoundsChanged event.
Thrown if application is running on older version of /// Windows Phone than Windows Phone 8.1 Update 1.
public static VisibleBoundsChangedRemove ( this page, EventHandler handler ) : void
page this Target page.
handler EventHandler Delegate to detach from the event.
리턴 void