Class
MouseControl

This class represents the mouse control.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class MouseControl : ContentControl

Inheritance: objectMouseControl

Constructors

MouseControl()

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

Declaration

cs-api-definition
public MouseControl()

MouseControl(RadMap)

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

Declaration

cs-api-definition
public MouseControl(RadMap map)

Parameters

map

RadMap

Instance of Map.

Properties

Location

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

Declaration

cs-api-definition
public Point Location { get; set; }

Property Value

Point

MapControl

Gets or sets map control this layer belongs to.

Declaration

cs-api-definition
public RadMap MapControl { get; set; }

Property Value

RadMap

Size

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

Declaration

cs-api-definition
public Size Size { get; set; }

Property Value

Size

Methods

OnApplyTemplate()

Overridden from the FrameworkElement class.

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.