New to Telerik UI for WPFStart a free 30-day trial

This class represents the mouse control.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class MouseControl : ContentControl

Inheritance: objectMouseControl

Constructors

Initializes a new instance of the MouseControl class. MouseControl Constructor, will use the default instance of the map.

C#
public MouseControl()

Initializes a new instance of the MouseControl class. MouseControl Constructor, will use the default instance of the map.

C#
public MouseControl(RadMap map)
Parameters:mapRadMap

Instance of Map.

Properties

Gets MouseControl Location, Point X,Y for Top Left relative to the Canvas containing the MouseControl.

C#
public Point Location { get; set; }

Gets or sets map control this layer belongs to.

C#
public RadMap MapControl { get; set; }

Size

Size

Gets MouseControl Size. Height and Width of the area covered by Mouse Drag when in selection DragBehaviour mode.

C#
public Size Size { get; set; }

Methods

Overridden from the FrameworkElement class.

C#
public override void OnApplyTemplate()

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.