WindowChrome.SetIsHitTestVisibleInChrome Method

.NET Framework 4.6 and 4.5

Sets the value of the IsHitTestVisibleInChrome attached property on the specified input element.

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

public static void SetIsHitTestVisibleInChrome(
	IInputElement inputElement,
	bool hitTestVisible
)

Parameters

inputElement
Type: System.Windows.IInputElement

The element on which to set the IsHitTestVisibleInChrome attached property.

hitTestVisible
Type: System.Boolean

The property value to set.

ExceptionCondition
ArgumentNullException

inputElement is null.

ArgumentException

inputElement is not a DependencyObject.

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft