ClassMouseControl
This class represents the mouse control.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
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
public MouseControl()
MouseControl(RadMap)
Initializes a new instance of the MouseControl class. MouseControl Constructor, will use the default instance of the map.
Declaration
public MouseControl(RadMap map)
Parameters
map
Instance of Map.
Properties
Location
Gets MouseControl Location, Point X,Y for Top Left relative to the Canvas containing the MouseControl.
Declaration
public Point Location { get; set; }
Property Value
Point
MapControl
Gets or sets map control this layer belongs to.
Size
Gets MouseControl Size. Height and Width of the area covered by Mouse Drag when in selection DragBehaviour mode.
Declaration
public Size Size { get; set; }
Property Value
Size
Methods
OnApplyTemplate()
Overridden from the FrameworkElement class.
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.