WindowChrome.SetResizeGripDirection(IInputElement, ResizeGripDirection) WindowChrome.SetResizeGripDirection(IInputElement, ResizeGripDirection) WindowChrome.SetResizeGripDirection(IInputElement, ResizeGripDirection) WindowChrome.SetResizeGripDirection(IInputElement, ResizeGripDirection) Method

定义

设置指定输入元素上的 System.Windows.Shell.WindowChrome.ResizeGripDirection 附加属性的值。Sets the value of the System.Windows.Shell.WindowChrome.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)

参数

inputElement
IInputElement IInputElement IInputElement IInputElement

要在其上设置 System.Windows.Shell.WindowChrome.ResizeGripDirection 附加属性的元素。The element on which to set the System.Windows.Shell.WindowChrome.ResizeGripDirection attached property.

direction
ResizeGripDirection ResizeGripDirection ResizeGripDirection ResizeGripDirection

要设置的属性值。The property value to set.

异常

适用于