WindowChrome.SetResizeGripDirection Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Anger värdet för den ResizeGripDirection anslutna egenskapen för det angivna indataelementet.
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)
Parametrar
- inputElement
- IInputElement
Elementet som den ResizeGripDirection anslutna egenskapen ska anges på.
- direction
- ResizeGripDirection
Egenskapsvärdet som ska anges.
Undantag
inputElement är null.
inputElement är inte en DependencyObject.