This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
thinkgeo.mapsuite.wpfdesktopedition.mapclickwpfmapeventargs [2015/08/20 03:08] 127.0.0.1 external edit |
thinkgeo.mapsuite.wpfdesktopedition.mapclickwpfmapeventargs [2017/03/16 21:59] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs ====== | ====== ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs ====== | ||
| + | {{section>upgrade_map_suite_to_10.0}} | ||
| - | |||
| - | <!-- Class --> | ||
| This class provides the data for the click event of the map control. | 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 ===== | ===== Inheritance Hierarchy ===== | ||
| - | *System.Object | + | *System.Object |
| - | **System.EventArgs | + | *System.EventArgs |
| - | ***[[ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs]] | + | ***ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs** |
| ===== Members Summary ===== | ===== Members Summary ===== | ||
| ==== Public Constructors ==== | ==== Public Constructors ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} MapClickWpfMapEventArgs() ** |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#MapClickWpfMapEventArgs()|MapClickWpfMapEventArgs]] | | | Constructor of MapClickWpfMapEventArgs class. | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#MapClickWpfMapEventArgs(Single, Single, Double, Double, MapMouseButton)|MapClickWpfMapEventArgs]] | Single, Single, Double, Double, [[ThinkGeo.MapSuite.WpfDesktopEdition.MapMouseButton|MapMouseButton]] | | Constructor of MapClickWpfMapEventArgs class. | | + | |
| - | ==== Protected Constructors ==== | + | Constructor of MapClickWpfMapEventArgs class. |
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
| + | N/A | ||
| + | == Parameters == | ||
| + | <div newline></div> | ||
| + | ** {{wiki:PublicMethod.gif|}} MapClickWpfMapEventArgs(Single,Single,Double,Double,MapMouseButton) ** | ||
| + | Constructor of MapClickWpfMapEventArgs class. | ||
| + | == Remarks == | ||
| + | N/A | ||
| + | == Parameters == | ||
| + | * //screenX// | ||
| + | * Type:Single | ||
| + | * Description:Clicked screen x. | ||
| + | |||
| + | * //screenY// | ||
| + | * Type:Single | ||
| + | * Description:Clicked screen y. | ||
| + | |||
| + | * //worldX// | ||
| + | * Type:Double | ||
| + | * Description:Clicked world x. | ||
| + | |||
| + | * //worldY// | ||
| + | * Type:Double | ||
| + | * Description:Clicked world y. | ||
| + | |||
| + | * //mouseButton// | ||
| + | * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.MapMouseButton|MapMouseButton]] | ||
| + | * Description:Clicked mouse button. | ||
| + | |||
| + | <div newline></div> | ||
| + | ==== Protected Constructors ==== | ||
| ==== Public Methods ==== | ==== Public Methods ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} ToString() ** |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | + | |
| - | ==== Protected Methods ==== | + | N/A |
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | + | N/A |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | + | |
| - | ==== Public Properties ==== | + | == Return Value == |
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * Type:String |
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#MouseButton|MouseButton]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.MapMouseButton|MapMouseButton]] | | Gets and sets which button is clicked. | | + | * Description:N/A |
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#ScreenX|ScreenX]] | Single | | Gets and sets clicked screen x. | | + | |
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#ScreenY|ScreenY]] | Single | | Gets and sets clicked screen y. | | + | |
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#WorldLocation|WorldLocation]] | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | | Gets the clicked world position. | | + | |
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#WorldX|WorldX]] | Double | | Gets and sets clicked world x. | | + | |
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#WorldY|WorldY]] | Double | | Gets and sets clicked world y. | | + | |
| - | ==== Protected Properties ==== | + | == Parameters == |
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | <div newline></div> |
| + | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
| - | ==== Public Events ==== | + | N/A |
| - | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | == Remarks == |
| + | N/A | ||
| - | ===== Public Constructors ===== | + | == Return Value == |
| - | ==== MapClickWpfMapEventArgs() ==== | + | * Type:Boolean |
| - | Constructor of MapClickWpfMapEventArgs class. | + | * Description:N/A |
| - | === Remarks === | + | |
| - | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#MapClickWpfMapEventArgs.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#MapClickWpfMapEventArgs.28.29</a> | + | |
| - | === Parameters === | + | |
| - | ^ Name ^ Type ^ Description ^ | + | |
| - | [[#Public Constructors|Go Back]] | + | == Parameters == |
| - | ==== MapClickWpfMapEventArgs(Single, Single, Double, Double, MapMouseButton) ==== | + | * //obj// |
| - | Constructor of MapClickWpfMapEventArgs class. | + | * Type:Object |
| - | === Remarks === | + | * Description:N/A |
| - | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#MapClickWpfMapEventArgs.28Single.2C_Single.2C_Double.2C_Double.2C_MapMouseButton.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#MapClickWpfMapEventArgs.28Single.2C_Single.2C_Double.2C_Double.2C_MapMouseButton.29</a> | + | |
| - | === 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 | [[ThinkGeo.MapSuite.WpfDesktopEdition.MapMouseButton|MapMouseButton]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.MapMouseButton --> | Clicked mouse button. | | + | |
| - | [[#Public Constructors|Go Back]] | + | <div newline></div> |
| - | ===== Protected Constructors ===== | + | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** |
| - | ===== Public Methods ===== | + | |
| - | ==== Equals(Object) ==== | + | |
| - | === Remarks === | + | |
| - | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#Equals.28Object.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#Equals.28Object.29</a> | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Boolean<!-- System.Boolean --> | | | + | |
| - | === Parameters === | + | N/A |
| - | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
| - | | obj | Object<!-- System.Object --> | | | + | N/A |
| - | <!-- System.Object --> | + | == Return Value == |
| - | [[#Public Methods|Go Back]] | + | * Type:Int32 |
| - | ==== GetHashCode() ==== | + | * Description:N/A |
| - | === Remarks === | + | |
| - | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#GetHashCode.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#GetHashCode.28.29</a> | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Int32<!-- System.Int32 --> | | | + | |
| - | === Parameters === | + | == Parameters == |
| - | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
| + | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
| - | <!-- System.Object --> | + | N/A |
| - | [[#Public Methods|Go Back]] | + | == Remarks == |
| - | ==== GetType() ==== | + | N/A |
| - | === Remarks === | + | |
| - | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#GetType.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#GetType.28.29</a> | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Type<!-- System.Type --> | | | + | |
| - | === Parameters === | + | == Return Value == |
| - | ^ Name ^ Type ^ Description ^ | + | * Type:Type |
| + | * Description:N/A | ||
| - | <!-- System.Object --> | + | == Parameters == |
| - | [[#Public Methods|Go Back]] | + | <div newline></div> |
| - | ==== ToString() ==== | + | ==== Protected Methods ==== |
| - | === Remarks === | + | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** |
| - | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#ToString.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#ToString.28.29</a> | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | String<!-- System.String --> | | | + | |
| - | === Parameters === | + | N/A |
| - | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
| + | N/A | ||
| - | <!-- System.Object --> | + | == Return Value == |
| - | [[#Public Methods|Go Back]] | + | * Type:Void |
| - | ===== Protected Methods ===== | + | * Description:N/A |
| - | ==== Finalize() ==== | + | |
| - | === Remarks === | + | |
| - | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#Finalize.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#Finalize.28.29</a> | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | == Parameters == |
| - | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
| + | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
| - | <!-- System.Object --> | + | N/A |
| - | [[#Protected Methods|Go Back]] | + | == Remarks == |
| - | ==== MemberwiseClone() ==== | + | N/A |
| - | === Remarks === | + | |
| - | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#MemberwiseClone.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#MemberwiseClone.28.29</a> | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Object<!-- System.Object --> | | | + | |
| - | === Parameters === | + | == Return Value == |
| - | ^ Name ^ Type ^ Description ^ | + | * Type:Object |
| + | * Description:N/A | ||
| - | <!-- System.Object --> | + | == Parameters == |
| - | [[#Protected Methods|Go Back]] | + | <div newline></div> |
| - | ===== Public Properties ===== | + | ==== Public Properties ==== |
| - | ==== MouseButton ==== | + | ** {{wiki:PublicProperty.gif|}} ScreenX ** |
| - | Gets and sets which button is clicked. | + | |
| - | === Remarks === | + | |
| - | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#MapClickWpfMapEventArgs.28Single.2C_Single.2C_Double.2C_Double.2C_MapMouseButton.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#MapClickWpfMapEventArgs.28Single.2C_Single.2C_Double.2C_Double.2C_MapMouseButton.29</a> | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ | + | |
| - | | [[ThinkGeo.MapSuite.WpfDesktopEdition.MapMouseButton|MapMouseButton]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.MapMouseButton --> | | + | |
| - | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== ScreenX ==== | ||
| Gets and sets clicked screen x. | Gets and sets clicked screen x. | ||
| - | === Remarks === | + | == Remarks == |
| - | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#ScreenX" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#ScreenX</a> | + | N/A |
| - | === Return Value === | + | == Return Value == |
| - | ^ Return Type ^ | + | * Type:Single |
| - | | Single<!-- System.Single --> | | + | |
| + | ** {{wiki:PublicProperty.gif|}} ScreenY ** | ||
| - | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== ScreenY ==== | ||
| Gets and sets clicked screen y. | Gets and sets clicked screen y. | ||
| - | === Remarks === | + | == Remarks == |
| - | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#ScreenY" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#ScreenY</a> | + | N/A |
| - | === Return Value === | + | == Return Value == |
| - | ^ Return Type ^ | + | * Type:Single |
| - | | Single<!-- System.Single --> | | + | |
| - | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs --> | + | ** {{wiki:PublicProperty.gif|}} WorldX ** |
| - | [[#Public Properties|Go Back]] | + | |
| - | ==== WorldLocation ==== | + | |
| - | Gets the clicked world position. | + | |
| - | === Remarks === | + | |
| - | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#WorldLocation" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#WorldLocation</a> | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ | + | |
| - | | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | | + | |
| - | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== WorldX ==== | ||
| Gets and sets clicked world x. | Gets and sets clicked world x. | ||
| - | === Remarks === | + | == Remarks == |
| - | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#WorldX" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#WorldX</a> | + | N/A |
| - | === Return Value === | + | == Return Value == |
| - | ^ Return Type ^ | + | * Type:Double |
| - | | Double<!-- System.Double --> | | + | |
| + | ** {{wiki:PublicProperty.gif|}} WorldY ** | ||
| - | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== WorldY ==== | ||
| Gets and sets clicked world y. | Gets and sets clicked world y. | ||
| - | === Remarks === | + | == Remarks == |
| - | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#WorldY" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs#WorldY</a> | + | N/A |
| - | === Return Value === | + | == Return Value == |
| - | ^ Return Type ^ | + | * Type:Double |
| - | | Double<!-- System.Double --> | | + | |
| - | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.MapClickWpfMapEventArgs --> | + | ** {{wiki:PublicProperty.gif|}} MouseButton ** |
| - | [[#Public Properties|Go Back]] | + | |
| - | ===== Protected Properties ===== | + | Gets and sets which button is clicked. |
| - | ===== Public Events ===== | + | == Remarks == |
| - | __NOTOC__ | + | N/A |
| - | [[Category:WpfDesktopEdition]] | + | == Return Value == |
| - | [[Category:ThinkGeo.MapSuite.WpfDesktopEdition]] | + | * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.MapMouseButton|MapMouseButton]] |
| - | [[Category:UpdateDocumentation]] | + | |
| + | ** {{wiki:PublicProperty.gif|}} WorldLocation ** | ||
| + | |||
| + | Gets the clicked world position. | ||
| + | == Remarks == | ||
| + | N/A | ||
| + | == Return Value == | ||
| + | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | ||
| + | |||
| + | ==== Protected Properties ==== | ||
| + | ==== Public Events ==== | ||