Fluent.SplitButton.OnPreviewMouseLeftButtonDown C# (CSharp) Méthode

OnPreviewMouseLeftButtonDown() protected méthode

Invoked when an unhandled System.Windows.UIElement.PreviewMouseLeftButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected OnPreviewMouseLeftButtonDown ( System e ) : void
e System The System.Windows.Input.MouseButtonEventArgs that contains the event data. /// The event data reports that the left mouse button was pressed.
Résultat void
        protected override void OnPreviewMouseLeftButtonDown(System.Windows.Input.MouseButtonEventArgs e)
        {
            if (!PopupService.IsMousePhysicallyOver(button)) base.OnPreviewMouseLeftButtonDown(e);
        }