Class
MouseControl

This class represents the mouse control.

Definition

Namespace:Telerik.UI.Xaml.Controls.DataVisualization.Map

Assembly:Telerik.WinUI.Controls.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
protected override void OnApplyTemplate()