ButtonBase.OnLostMouseCapture(MouseEventArgs) 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.
Provides class handling for the LostMouseCapture routed event that occurs when this control is no longer receiving mouse event messages.
protected:
override void OnLostMouseCapture(System::Windows::Input::MouseEventArgs ^ e);
protected override void OnLostMouseCapture (System.Windows.Input.MouseEventArgs e);
override this.OnLostMouseCapture : System.Windows.Input.MouseEventArgs -> unit
Protected Overrides Sub OnLostMouseCapture (e As MouseEventArgs)
Parameters
The event data for the LostMouseCapture event.
Remarks
This implementation does not change the handled state (the Handled property) of the LostMouseCapture event data.
Notes to Inheritors
If you override OnLostMouseCapture(MouseEventArgs), always call the base implementation in your OnLostMouseCapture(MouseEventArgs) implementation. Failure to call the base implementation prevents base classes from handling the event with a class handler, which might change the run-time behavior of the final class. You can call the base implementation either before or after your special handling, depending on your requirements.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για