StylusButton Class

 

Represents a button on a stylus.

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

System.Object
  System.Windows.Input.StylusButton

type StylusButton = class end

NameDescription
System_CAPS_pubpropertyGuid

Gets the Guid that represents the stylus button.

System_CAPS_pubpropertyName

Gets the name of the stylus button.

System_CAPS_pubpropertyStylusButtonState

Gets the state of the stylus button.

System_CAPS_pubpropertyStylusDevice

Gets the stylus that this button belongs to.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Creates a string representation of the StylusButton.(Overrides Object.ToString().)

The following checks whether the user pressed the barrel button on a stylus.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: