WindowChrome.SetIsHitTestVisibleInChrome 메서드

지정된 입력 요소에 IsHitTestVisibleInChrome 연결된 속성 값을 설정합니다.

네임스페이스:  Microsoft.Windows.Shell
어셈블리:  Microsoft.Windows.Shell(Microsoft.Windows.Shell.dll)

구문

‘선언
Public Shared Sub SetIsHitTestVisibleInChrome ( _
    inputElement As IInputElement, _
    hitTestVisible As Boolean _
)
public static void SetIsHitTestVisibleInChrome(
    IInputElement inputElement,
    bool hitTestVisible
)
public:
static void SetIsHitTestVisibleInChrome(
    IInputElement^ inputElement, 
    bool hitTestVisible
)
static member SetIsHitTestVisibleInChrome : 
        inputElement:IInputElement * 
        hitTestVisible:bool -> unit 
public static function SetIsHitTestVisibleInChrome(
    inputElement : IInputElement, 
    hitTestVisible : boolean
)

매개 변수

  • hitTestVisible
    형식: System.Boolean
    설정할 속성 값입니다.

예외

예외 상황
ArgumentNullException

inputElement는 null입니다.

ArgumentException

inputElement가 DependencyObject가 아닌 경우

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

WindowChrome 클래스

Microsoft.Windows.Shell 네임스페이스