WindowChrome.GetIsHitTestVisibleInChrome Method
Gets the value of the IsHitTestVisibleInChrome attached property from the specified input element.
Namespace: Microsoft.Windows.Shell
Assembly: Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)
Syntax
'Declaration
Public Shared Function GetIsHitTestVisibleInChrome ( _
inputElement As IInputElement _
) As Boolean
public static bool GetIsHitTestVisibleInChrome(
IInputElement inputElement
)
public:
static bool GetIsHitTestVisibleInChrome(
IInputElement^ inputElement
)
static member GetIsHitTestVisibleInChrome :
inputElement:IInputElement -> bool
public static function GetIsHitTestVisibleInChrome(
inputElement : IInputElement
) : boolean
Parameters
- inputElement
Type: System.Windows.IInputElement
The input element from which to read the property value.
Return Value
Type: System.Boolean
The value of the IsHitTestVisibleInChrome attached property.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | inputElement is nulla null reference (Nothing in Visual Basic). |
ArgumentException | inputElement is not a DependencyObject. |
.NET Framework Security
- 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.