RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox Namespace / C1RichTextBox Class / MouseLeftButtonDown Event

In This Topic
    MouseLeftButtonDown Event (C1RichTextBox)
    In This Topic
    Occurs when the left mouse button is pressed (or when the tip of the stylus touches the tablet PC) while the mouse pointer is over a System.Windows.UIElement.
    Syntax
    'Declaration
     
    
    Public Event MouseLeftButtonDown As MouseButtonEventHandler
    public event MouseButtonEventHandler MouseLeftButtonDown
    Event Data

    The event handler receives an argument of type MouseButtonEventArgs containing data related to this event. The following MouseButtonEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the state of the button associated with the event.  
    Gets the button associated with the event.  
    Gets the number of times the button was clicked.  
    (Inherited from System.Windows.Input.InputEventArgs)
    (Inherited from System.Windows.RoutedEventArgs)
    (Inherited from System.Windows.Input.MouseEventArgs)
    (Inherited from System.Windows.Input.MouseEventArgs)
    (Inherited from System.Windows.Input.MouseEventArgs)
    (Inherited from System.Windows.RoutedEventArgs)
    (Inherited from System.Windows.Input.MouseEventArgs)
    (Inherited from System.Windows.RoutedEventArgs)
    (Inherited from System.Windows.RoutedEventArgs)
    (Inherited from System.Windows.Input.MouseEventArgs)
    (Inherited from System.Windows.Input.InputEventArgs)
    (Inherited from System.Windows.Input.MouseEventArgs)
    (Inherited from System.Windows.Input.MouseEventArgs)
    Remarks
    This event overrides System.Windows.UIElement's MouseLeftButtonDown in order to allow handlers to prevent the default behavior of a mouse down.
    See Also