WindowChrome.SetResizeGripDirection(IInputElement, ResizeGripDirection) メソッド

定義

指定された入力要素の ResizeGripDirection 添付プロパティの値を設定します。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)

パラメーター

inputElement
IInputElement

ResizeGripDirection 添付プロパティを設定する要素。The element on which to set the ResizeGripDirection attached property.

direction
ResizeGripDirection

設定するプロパティ値。The property value to set.

例外

inputElementnullです。inputElement is null.

inputElementDependencyObject ではありません。inputElement is not a DependencyObject.

適用対象