InteractionHelper
The InteractionHelper provides controls with support for all of the common interactions like mouse movement, mouse clicks, etc., and also incorporates proper event semantics when the control is disabled.
Definition
Namespace:Telerik.Windows.Controls.Rating
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
public class InteractionHelper
Inheritance: objectInteractionHelper
Constructors
Initializes a new instance of the InteractionHelper class.
public InteractionHelper(Control control)
The control.
Properties
Control
Control
Gets or sets the control.
public Control Control { get; }
The control.
Gets or sets a value indicating whether this instance is mouse over.
public bool IsMouseOver { get; }
Gets or sets a value indicating whether this instance is read only.
public bool IsReadOnly { get; }
Methods
Allows the mouse enter.
public bool AllowMouseEnter(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Returns:Allows the mouse leave.
public bool AllowMouseLeave(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Returns:Allows the mouse left button down.
public bool AllowMouseLeftButtonDown(MouseButtonEventArgs e)
The MouseButtonEventArgs instance containing the event data.
Returns:Allows the mouse left button up.
public bool AllowMouseLeftButtonUp(MouseButtonEventArgs e)
The MouseButtonEventArgs instance containing the event data.
Returns:Called when [apply template base].
public void OnApplyTemplateBase()
Called when [is read only changed].
Called when [mouse enter base].
public void OnMouseEnterBase()
Called when [mouse leave base].
public void OnMouseLeaveBase()
Called when [mouse left button down base].
public void OnMouseLeftButtonDownBase()
Called when [mouse left button up base].
public void OnMouseLeftButtonUpBase()
Updates the visual state base.