WindowChrome.IsHitTestVisibleInChrome Attached Property
Note
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.
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: System.Windows.Shell
Assembly: PresentationFramework (in PresentationFramework.dll)
Syntax
See GetIsHitTestVisibleInChrome, SetIsHitTestVisibleInChrome
See GetIsHitTestVisibleInChrome, SetIsHitTestVisibleInChrome
See GetIsHitTestVisibleInChrome, SetIsHitTestVisibleInChrome
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.
Remarks
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.
Dependency Property Information
Identifier field |
|
Metadata properties set to true |
None |
See Also
WindowChrome Class
System.Windows.Shell Namespace
Return to top