Export (0) Print
Expand All

WindowChrome.IsHitTestVisibleInChrome Attached Property

.NET Framework 4

Gets or sets a value that indicates whether WPF hit-testing is enabled on the part of an element that is in the non-client area of a window.

Namespace:  Microsoft.Windows.Shell
Assembly:  Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)

See GetIsHitTestVisibleInChrome, SetIsHitTestVisibleInChrome

Property Value

Type: System.Boolean
true if hit testing is enabled in the non-client area; otherwise, false. The registered default is false. For more information about what can influence the value, see Dependency Property Value Precedence.

Identifier field

IsHitTestVisibleInChromeProperty

Metadata properties set to true

None

The values of this dependency property are inherited by child elements.

By default, the parts of any visual elements that are within the non-client area of the window are not interactive. To enable interactive elements in the non-client area, attach the IsHitTestVisibleInChrome attached property to the element and set it to true.

Show:
© 2014 Microsoft