TabletDevice.SupportedStylusPointProperties Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of StylusPointProperty objects that the TabletDevice supports.
public:
property System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Input::StylusPointProperty ^> ^ SupportedStylusPointProperties { System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Input::StylusPointProperty ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Input.StylusPointProperty> SupportedStylusPointProperties { get; }
member this.SupportedStylusPointProperties : System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Input.StylusPointProperty>
Public ReadOnly Property SupportedStylusPointProperties As ReadOnlyCollection(Of StylusPointProperty)
Property Value
A collection of StylusPointProperty objects that the TabletDevice supports.
Examples
The following example demonstrates how to get the properties that a TabletDevice supports.
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())
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET