Export (0) Print
Expand All

IStylusAsyncPlugin.RealTimeStylusDisabled Method

Notifies the implementing plug-in that the RealTimeStylus object is disabled.

Namespace:  Microsoft.StylusInput
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

void RealTimeStylusDisabled(
	RealTimeStylus sender,
	RealTimeStylusDisabledData data
)

Parameters

sender
Type: Microsoft.StylusInput.RealTimeStylus

The RealTimeStylus object that sent the disabled notification.

data
Type: Microsoft.StylusInput.PluginData.RealTimeStylusDisabledData

Information about the Microsoft.Ink.Tablet objects associated with this RealTimeStylus object.

This C# example alerts the developer when the plug-in is removed from the StylusAsyncPluginCollection.

public void RealTimeStylusDisabled(RealTimeStylus sender, RealTimeStylusDisabledData data)
{
  Debug.Assert(false, "RealTimeStylusDisabled", 
  "The plug-in has been removed from the RealTimeStylusAsyncPluginCollection.");
}

This Microsoft Visual Basic .NET example alerts the developer when the plug-in is removed from the StylusAsyncPluginCollection.

Public Sub RealTimeStylusDisabled(sender As RealTimeStylus, data As RealTimeStylusDisabledData)
   Implements IStylusAsyncPlugin.RealTimeStylusDisabled
      Debug.Assert(False, "RealTimeStylusDisabled", _
      "The plug-in has been removed from the RealTimeStylusAsyncPluginCollection.")
   End Sub 'RealTimeStylusDisabled

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft