C# 클래스 InTheHand.Devices.Enumeration.DevicePicker

Represents a picker flyout that contains a list of devices for the user to choose from.
파일 보기 프로젝트 열기: inthehand/Charming 1 사용 예제들

공개 메소드들

메소드 설명
DevicePicker ( ) : System

Creates a DevicePicker object.

Hide ( ) : void

Hides the picker.

PickSingleDeviceAsync ( Rect selection ) : Task

Shows the picker UI and returns the selected device; does not require you to register for an event.

PickSingleDeviceAsync ( Rect selection, Placement placement ) : Task

Shows the picker UI and returns the selected device; does not require you to register for an event.

Show ( Rect selection ) : void

Shows the picker UI.

Show ( Rect selection, Placement placement ) : void

Shows the picker UI.

비공개 메소드들

메소드 설명
OnDevicePickerDismissed ( ) : void
OnDeviceSelected ( Windows device ) : void

메소드 상세

DevicePicker() 공개 메소드

Creates a DevicePicker object.
public DevicePicker ( ) : System
리턴 System

Hide() 공개 메소드

Hides the picker.
public Hide ( ) : void
리턴 void

PickSingleDeviceAsync() 공개 메소드

Shows the picker UI and returns the selected device; does not require you to register for an event.
public PickSingleDeviceAsync ( Rect selection ) : Task
selection Windows.Foundation.Rect The rectangle from which you want the picker to fly out. /// Ignored on Windows Phone.
리턴 Task

PickSingleDeviceAsync() 공개 메소드

Shows the picker UI and returns the selected device; does not require you to register for an event.
public PickSingleDeviceAsync ( Rect selection, Placement placement ) : Task
selection Windows.Foundation.Rect The rectangle from which you want the picker to fly out. /// Ignored on Windows Phone.
placement Placement The edge of the rectangle from which you want the picker to fly out. /// Ignored on Windows Phone.
리턴 Task

Show() 공개 메소드

Shows the picker UI.
public Show ( Rect selection ) : void
selection Windows.Foundation.Rect The rectangle from which you want the picker to fly out. /// Ignored on Windows Phone.
리턴 void

Show() 공개 메소드

Shows the picker UI.
public Show ( Rect selection, Placement placement ) : void
selection Windows.Foundation.Rect The rectangle from which you want the picker to fly out. /// Ignored on Windows Phone.
placement Placement The edge of the rectangle from which you want the picker to fly out. /// Ignored on Windows Phone.
리턴 void