//------------------------------------------------------ // // Public Methods // //------------------------------------------------------ #region Public Methods /// <summary> /// Changes the State of the window based on the passed enum. /// </summary> /// <param name="state">The requested state of the window.</param> public void SetWindowVisualState(WindowVisualState state) { UiaCoreApi.WindowPattern_SetWindowVisualState(_hPattern, state); }