SetResizeGripDirection Method

WindowChrome.SetResizeGripDirection Method (IInputElement, ResizeGripDirection)

.NET Framework (current version)
 

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

Namespace:   System.Windows.Shell
Assembly:  PresentationFramework (in PresentationFramework.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: System.Windows.Shell.ResizeGripDirection

The property value to set.

Exception Condition
ArgumentNullException

inputElement is null.

ArgumentException

inputElement is not a DependencyObject.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft