Export (0) Print
Expand All

TabletDevice.SupportedStylusPointProperties Property

Gets a collection of StylusPointProperty objects that the TabletDevice supports.

Namespace:  System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public ReadOnlyCollection<StylusPointProperty> SupportedStylusPointProperties { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<StylusPointProperty>
A collection of StylusPointProperty objects that the TabletDevice supports.

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());

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft