User Tools

Site Tools


thinkgeo.mapsuite.wpfdesktopedition.mapclickwpfmapeventargs

This is an old revision of the document!


ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs

<!– Class –> This class provides the data for the click event of the map control.

Remarks

This class passes the location in world coordinates of where a user clicked on the map. You can then use event handlers to programmatically respond to the event based on the value of the location.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodMapClickWpfMapEventArgs Constructor of MapClickWpfMapEventArgs class.
Public MethodMapClickWpfMapEventArgs Single, Single, Double, Double, MapMouseButton Constructor of MapClickWpfMapEventArgs class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyMouseButton MapMouseButton Gets and sets which button is clicked.
Public PropertyScreenX Single Gets and sets clicked screen x.
Public PropertyScreenY Single Gets and sets clicked screen y.
Public PropertyWorldLocation PointShape Gets the clicked world position.
Public PropertyWorldX Double Gets and sets clicked world x.
Public PropertyWorldY Double Gets and sets clicked world y.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

MapClickWpfMapEventArgs()

Constructor of MapClickWpfMapEventArgs class.

Remarks

Parameters

Name Type Description

Go Back

MapClickWpfMapEventArgs(Single, Single, Double, Double, MapMouseButton)

Constructor of MapClickWpfMapEventArgs class.

Remarks

Parameters

Name Type Description
screenX Single<!– System.Single –> Clicked screen x.
screenY Single<!– System.Single –> Clicked screen y.
worldX Double<!– System.Double –> Clicked world x.
worldY Double<!– System.Double –> Clicked world y.
mouseButton MapMouseButton<!– ThinkGeo.MapSuite.WpfDesktopEdition.MapMouseButton –> Clicked mouse button.

Go Back

Protected Constructors

Public Methods

Equals(Object)

Remarks

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetHashCode()

Remarks

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Remarks

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

ToString()

Remarks

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Remarks

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

MouseButton

Gets and sets which button is clicked.

Remarks

Return Value

Return Type
MapMouseButton<!– ThinkGeo.MapSuite.WpfDesktopEdition.MapMouseButton –>

<!– ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs –> Go Back

ScreenX

Gets and sets clicked screen x.

Remarks

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs –> Go Back

ScreenY

Gets and sets clicked screen y.

Remarks

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs –> Go Back

WorldLocation

Gets the clicked world position.

Remarks

Return Value

Return Type
PointShape<!– ThinkGeo.MapSuite.Core.PointShape –>

<!– ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs –> Go Back

WorldX

Gets and sets clicked world x.

Remarks

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs –> Go Back

WorldY

Gets and sets clicked world y.

Remarks

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.wpfdesktopedition.mapclickwpfmapeventargs.1440040136.txt.gz · Last modified: 2015/09/18 03:12 (external edit)