編輯

共用方式為


WindowChrome.SetResizeGripDirection Method

Definition

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

public:
 static void SetResizeGripDirection(System::Windows::IInputElement ^ inputElement, System::Windows::Shell::ResizeGripDirection direction);
public static void SetResizeGripDirection (System.Windows.IInputElement inputElement, System.Windows.Shell.ResizeGripDirection direction);
static member SetResizeGripDirection : System.Windows.IInputElement * System.Windows.Shell.ResizeGripDirection -> unit
Public Shared Sub SetResizeGripDirection (inputElement As IInputElement, direction As ResizeGripDirection)

Parameters

inputElement
IInputElement

The element on which to set the ResizeGripDirection attached property.

direction
ResizeGripDirection

The property value to set.

Exceptions

inputElement is null.

inputElement is not a DependencyObject.

Applies to