This documentation is archived and is not being maintained.

WindowChrome.SetResizeGripDirection Method

Visual Studio 2010

Sets the value of the ResizeGripDirection attached property on the specified input element.

Namespace:  Microsoft.Windows.Shell
Assembly:  Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)

public static void SetResizeGripDirection(
	IInputElement inputElement,
	ResizeGripDirection direction
)

Parameters

inputElement
Type: System.Windows.IInputElement
The element on which to set the ResizeGripDirection attached property.
direction
Type: Microsoft.Windows.Shell.ResizeGripDirection
The property value to set.

ExceptionCondition
ArgumentNullException

inputElement is null.

ArgumentException

inputElement is not a DependencyObject.

Show: