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.
Assembly: Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)
Property Value
Type: System.Booleantrue 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.
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.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.