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

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

See Also

Reference

WindowChrome Class

Microsoft.Windows.Shell Namespace