Class MouseControl
This class represents the mouse control.
Inheritance
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class MouseControl : ContentControl
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
RadMap
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
System.Windows.Point
|
MapControl
Gets or sets map control this layer belongs to.
Declaration
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
public Size Size { get; set; }
Property Value
System.Windows.Size
|
Methods
OnApplyTemplate()
Overridden from the FrameworkElement class.
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |