C# Класс VisibleBoundsWP8Sample.VisibleBoundsExtensions

Extension methods for accessing new VisibleBound property and VisibleBoundsChanged event on PhoneApplicationPage in Windows Phone 8.1 Update 1.
Показать файл Открыть проект

Открытые методы

Метод Описание
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