IWindowProvider.Close Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to close the window.
public:
void Close();
public void Close ();
abstract member Close : unit -> unit
Public Sub Close ()
Exceptions
When the control is unable to perform the requested action.
When the target element is no longer available (for example, the window has closed).
Remarks
Close must return immediately without blocking.
Close raises the WindowClosedEvent event. If possible, the event should be raised after the control has completed its associated action.
When called on a split pane control, this method will close the pane and remove the associated split. This method might also close all other panes, depending on implementation.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για