Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Shared Sub SetResizeGripDirection ( _
inputElement As IInputElement, _
direction As ResizeGripDirection _
)
public static void SetResizeGripDirection(
IInputElement inputElement,
ResizeGripDirection direction
)
public:
static void SetResizeGripDirection(
IInputElement^ inputElement,
ResizeGripDirection direction
)
static member SetResizeGripDirection :
inputElement:IInputElement *
direction:ResizeGripDirection -> unit
public static function SetResizeGripDirection(
inputElement : IInputElement,
direction : ResizeGripDirection
)
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.
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.