TabletDevice 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
Tablet PC의 디지타이저 디바이스를 나타냅니다.
public ref class TabletDevice sealed : System::Windows::Input::InputDevice
public sealed class TabletDevice : System.Windows.Input.InputDevice
type TabletDevice = class
inherit InputDevice
Public NotInheritable Class TabletDevice
Inherits InputDevice
- 상속
예제
다음 예제에서는 에서 지원하는 속성을 TabletDevice 가져오는 방법을 보여 줍니다.
TabletDevice currentTablet = Tablet.CurrentTabletDevice;
ReadOnlyCollection<StylusPointProperty> supportedProperties =
currentTablet.SupportedStylusPointProperties;
StringWriter properties = new StringWriter();
foreach (StylusPointProperty property in supportedProperties)
{
properties.WriteLine(property.ToString());
}
MessageBox.Show(properties.ToString());
Dim currentTablet As TabletDevice = Tablet.CurrentTabletDevice
Dim supportedProperties As ReadOnlyCollection(Of StylusPointProperty) _
= currentTablet.SupportedStylusPointProperties
Dim properties As New StringWriter()
For Each supportedProperty As StylusPointProperty In supportedProperties
properties.WriteLine(supportedProperty.ToString())
Next supportedProperty
MessageBox.Show(properties.ToString())
속성
| ActiveSource |
태블릿 디바이스의 현재 입력을 보고하는 PresentationSource를 가져옵니다. |
| Dispatcher |
이 Dispatcher와 연결된 DispatcherObject를 가져옵니다. (다음에서 상속됨 DispatcherObject) |
| Id |
시스템의 태블릿 디바이스에 대한 고유 식별자를 가져옵니다. |
| Name |
태블릿 디바이스의 이름을 가져옵니다. |
| ProductId |
태블릿 디바이스에 대한 제품 식별자를 가져옵니다. |
| StylusDevices |
태블릿 디바이스와 연결된 StylusDeviceCollection을 가져옵니다. |
| SupportedStylusPointProperties |
StylusPointProperty가 지원하는 TabletDevice 개체의 컬렉션을 가져옵니다. |
| TabletHardwareCapabilities |
태블릿 디바이스의 TabletHardwareCapabilities를 가져옵니다. |
| Target |
태블릿 디바이스에 대한 기본 입력 처리를 제공하는 IInputElement를 가져옵니다. |
| Type |
태블릿 디바이스의 TabletDeviceType을 가져옵니다. |
메서드
| CheckAccess() |
호출 스레드가 이 DispatcherObject에 액세스할 수 있는지 여부를 확인합니다. (다음에서 상속됨 DispatcherObject) |
| Equals(Object) |
지정된 개체가 현재 개체와 같은지 확인합니다. (다음에서 상속됨 Object) |
| GetHashCode() |
기본 해시 함수로 작동합니다. (다음에서 상속됨 Object) |
| GetType() |
현재 인스턴스의 Type을 가져옵니다. (다음에서 상속됨 Object) |
| MemberwiseClone() |
현재 Object의 단순 복사본을 만듭니다. (다음에서 상속됨 Object) |
| ToString() |
태블릿 디바이스의 이름을 반환합니다. |
| VerifyAccess() |
호출 스레드에서 이 DispatcherObject에 액세스할 수 있는지 확인합니다. (다음에서 상속됨 DispatcherObject) |