BaseLassoController
Provides the drag-rectangle overlay and pointer handling shared by lasso selection and zoom controllers.
The stored drag locations are clipped to the plot area for the overlay. The derived selection and zoom controllers use the raw mouse-up coordinates for their final rectangle, so releasing outside the plot area can make the operation extend beyond the clipped overlay.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public class BaseLassoController : ChartViewController, INotifyPropertyChanged
Inheritance: objectControllerChartViewControllerBaseLassoController
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes the drag overlay used by the lasso controller.
public BaseLassoController()
Properties
Gets or sets the clipped location where the current left-button drag began.
public virtual Point MouseDownLocation { get; set; }
Gets or sets the most recent clipped pointer location during the current left-button drag.
public virtual Point MouseMoveLocation { get; set; }
Gets the result.
protected virtual ViewResult Result { get; }
The result.
Methods
Creates the lasso rectangle.
Raises the event.
protected override ActionResult OnKeyPress(KeyPressEventArgs e)
The KeyPressEventArgs instance containing the event data.
Returns:Overrides:
Raises the event.
protected override ActionResult OnMouseDown(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Returns:Overrides:
Raises the event.
protected override ActionResult OnMouseMove(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Returns:Overrides:
Raises the event.
protected override ActionResult OnMouseWheel(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Returns:Overrides: