Свойство | Тип | Описание | |
---|---|---|---|
OnClick | void | ||
OnDoubleClick | void | ||
OnHeldClick | void | ||
ResetDoubleClickThread | void | ||
ResetHeldClickThread | void |
Метод | Описание | |
---|---|---|
HandleMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void | ||
HandleMouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void |
Handles the click.
|
|
MouseClickManager ( |
Initializes a new instance of the MouseClickManager class with default values Double Click Timeout = 400ms Held Click Timeout = 2000ms.
|
|
MouseClickManager ( |
Initializes a new instance of the MouseClickManager class.
|
Метод | Описание | |
---|---|---|
OnClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void |
Called when [click].
|
|
OnDoubleClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void |
Called when [double click].
|
|
OnHeldClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void |
Called when the mouse is held down for a set period.
|
|
ResetDoubleClickThread ( object state ) : void |
Resets the thread.
|
|
ResetHeldClickThread ( object state ) : void |
public HandleMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void | ||
sender | object | |
e | System.Windows.Input.MouseButtonEventArgs | |
Результат | void |
public HandleMouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void | ||
sender | object | The sender. |
e | System.Windows.Input.MouseButtonEventArgs | The |
Результат | void |
public MouseClickManager ( |
||
frameworkElement | ||
Результат | System |
public MouseClickManager ( |
||
control | ||
doubleClickTimeout | int | |
heldClickTimeout | int | |
Результат | System |