SystemParameters.IsMousePresent 속성

정의

마우스가 설치되어 있는지 여부를 나타내는 값을 가져옵니다.

public:
 static property bool IsMousePresent { bool get(); };
public static bool IsMousePresent { [System.Security.SecurityCritical] get; }
public static bool IsMousePresent { get; }
[<get: System.Security.SecurityCritical>]
static member IsMousePresent : bool
static member IsMousePresent : bool
Public Shared ReadOnly Property IsMousePresent As Boolean

속성 값

마우스가 설치되어 있으면 true이고, 그렇지 않으면 false입니다.

특성

설명

가상 마우스가 지원되고 일부 시스템에서 마우스 대신 포트의 존재를 감지하기 때문에 이 값은 거의 false없습니다.

SM_MOUSEPRESENT 매핑합니다. GetSystemMetrics를 참조하세요.

XAML 특성 사용

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

적용 대상