SystemParameters::SwapButtons Property

 

Gets a value that indicates whether the functionality of the left and right mouse buttons are swapped.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
property bool SwapButtons {
	[SecurityCriticalAttribute]
	static bool get();
}

Property Value

Type: System::Boolean

true if the functionality of the left and right mouse buttons are swapped; otherwise false.

Maps to SM_SWAPBUTTON. See GetSystemMetrics.

<object property="{ SystemParameters.SwapButtons}"/>

UnmanagedCode

to call this method, because it calls an unsafe native method. Associated enumeration:

UnmanagedCode

.NET Framework
Available since 3.0
Return to top
Show: