/// <summary> /// Non-blocking call to close this non-application window. /// When called on a split pane, it will close the pane (thereby removing a /// split), it may or may not also close all other panes related to the /// document/content/etc. This behavior is application dependent. /// </summary> public void Close() { UiaCoreApi.WindowPattern_Close(_hPattern); }