Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

StylusButtonCollection::GetStylusButtonByGuid Method (Guid)

 

Gets the StylusButton that the specified GUID identifies.

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

public:
StylusButton^ GetStylusButtonByGuid(
	Guid guid
)

Parameters

guid
Type: System::Guid

The Guid that specifies the desired StylusButton.

Return Value

Type: System.Windows.Input::StylusButton^

The StylusButton of the specified GUID.

The StylusPointProperties class contains a StylusPointProperty for the tip and barrel buttons on a tablet pen. Use the Id property to get the GUID associated with a button.

The following example demonstrates how to get the StylusButtonState of the barrel button.

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

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft