WindowChrome.GetResizeGripDirection Method
Gets the value of the ResizeGripDirection 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 GetResizeGripDirection ( _
inputElement As IInputElement _
) As ResizeGripDirection
public static ResizeGripDirection GetResizeGripDirection(
IInputElement inputElement
)
public:
static ResizeGripDirection GetResizeGripDirection(
IInputElement^ inputElement
)
static member GetResizeGripDirection :
inputElement:IInputElement -> ResizeGripDirection
public static function GetResizeGripDirection(
inputElement : IInputElement
) : ResizeGripDirection
Parameters
- inputElement
Type: System.Windows.IInputElement
The input element from which to read the property value.
Return Value
Type: Microsoft.Windows.Shell.ResizeGripDirection
The value of the ResizeGripDirection attached property.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | inputElement is null. |
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.