Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
| IStylusSyncPlugin.DataInterest Property | 
Used to define the set of data notifications that the plug-in requires.
Definition
Visual Basic .NET Public ReadOnly Property DataInterest As DataInterestMask C# public DataInterestMask DataInterest { get; } Managed C++ public: __property DataInterestMask* get_DataInterest(); 
Property Value
Microsoft.StylusInput.DataInterestMask. A bit mask that defines the set of data notifications.
This property is read-only. This property has no default value.
AllStylusData-1Indicates the plug-in wishes to receive notifications for all data. Error1Occurs when an error has occurred and has been added to the input queue. See Error. RealTimeStylusEnabled2Occurs when the parent instance of the RealTimeStylus class has been enabled. See RealTimeStylusEnabled. RealTimeStylusDisabled4Occurs when the parent instance of the RealTimeStylus class has been disabled. See RealTimeStylusDisabled. StylusInRange16Occurs when the Stylus is in range of the digitizer. See StylusInRange. InAirPackets32Occurs when the Stylus is in range of the digitizer and moving, but not on the digitizer. See InAirPackets. StylusOutOfRange64Occurs when the Stylus is out of range of the digitizer. See StylusOutOfRange. StylusDown128Occurs when the stylus contacts the digitizer. See StylusDown. Packets256Occurs when the stylus moves along the digitizer while in contact. See Packets. StylusUp512Occurs when the stylus breaks physical contact with the digitizer. See StylusUp. StylusButtonUp1024Occurs when a stylus button has been released. See StylusButtonUp. StylusButtonDown2048Occurs when a stylus button is pressed. See StylusButtonDown. SystemGesture4096Occurs when a System Gestures is detected. See SystemGesture. TabletAdded8192Occurs when a new Tablet device is detected by the system. See TabletAdded. TabletRemoved16384Occurs when a Tablet device is removed from the system. See TabletRemoved CustomStylusDataAdded32768Occurs when a plug-in adds data to a queue. See CustomStylusDataAdded. DefaultStylusData37766Indicates plug-in wishes to receive the default stylus data: RealTimeStylusEnabled, RealTimeStylusDisabled, StylusDown, Packets, StylusUp, SystemGesture, and CustomStylusDataAdded. 
Examples
[C#]
This C# example shows the implentation of the DataInterest in a plug-in. This plug-in indicates the need to receive notifications for Packets and Error.
public DataInterestMask DataInterest { get { return DataInterestMask.Packets | DataInterestMask.Error; } }
See Also