ClassInteractionHelper
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
InteractionHelper(Control)
Initializes a new instance of the InteractionHelper class.
Declaration
public InteractionHelper(Control control)
Parameters
control
Control
The control.
Properties
Control
Gets or sets the control.
Declaration
public Control Control { get; }
Property Value
Control
The control.
IsMouseOver
Gets or sets a value indicating whether this instance is mouse over.
IsReadOnly
Gets or sets a value indicating whether this instance is read only.
Methods
AllowMouseEnter(MouseEventArgs)
Allows the mouse enter.
Declaration
public bool AllowMouseEnter(MouseEventArgs e)
Parameters
e
MouseEventArgs
The MouseEventArgs instance containing the event data.
Returns
AllowMouseLeave(MouseEventArgs)
Allows the mouse leave.
Declaration
public bool AllowMouseLeave(MouseEventArgs e)
Parameters
e
MouseEventArgs
The MouseEventArgs instance containing the event data.
Returns
AllowMouseLeftButtonDown(MouseButtonEventArgs)
Allows the mouse left button down.
Declaration
public bool AllowMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs
The MouseButtonEventArgs instance containing the event data.
Returns
AllowMouseLeftButtonUp(MouseButtonEventArgs)
Allows the mouse left button up.
Declaration
public bool AllowMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs
The MouseButtonEventArgs instance containing the event data.
Returns
OnApplyTemplateBase()
Called when [apply template base].
Declaration
public void OnApplyTemplateBase()
OnIsReadOnlyChanged(bool)
Called when [is read only changed].
OnMouseEnterBase()
Called when [mouse enter base].
Declaration
public void OnMouseEnterBase()
OnMouseLeaveBase()
Called when [mouse leave base].
Declaration
public void OnMouseLeaveBase()
OnMouseLeftButtonDownBase()
Called when [mouse left button down base].
Declaration
public void OnMouseLeftButtonDownBase()
OnMouseLeftButtonUpBase()
Called when [mouse left button up base].
Declaration
public void OnMouseLeftButtonUpBase()
UpdateVisualStateBase(bool)
Updates the visual state base.
Declaration
public void UpdateVisualStateBase(bool useTransitions)
Parameters
useTransitions