Class MouseEventArgs
Class for containing mouse event data.
Inheritance
System.Object
System.EventArgs
MouseEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:GoogleMaps
Assembly:GoogleMaps.dll
Syntax
public class MouseEventArgs : EventArgs, IScriptDescriptorData
Constructors
MouseEventArgs()
Initializes a new instance of the MouseEventArgs class.
Declaration
public MouseEventArgs()
MouseEventArgs(LatLng)
Initializes a new instance of the MouseEventArgs class.
Declaration
public MouseEventArgs(LatLng latlng)
Parameters
Type | Name | Description |
---|---|---|
LatLng | latlng | The latlng. |
MouseEventArgs(Double, Double)
Initializes a new instance of the MouseEventArgs class.
Declaration
public MouseEventArgs(double lat, double lng)
Parameters
Type | Name | Description |
---|---|---|
System.Double | lat | The lat. |
System.Double | lng | The LNG. |
Properties
Position
Gets the mouse position.
Declaration
public LatLng Position { get; protected set; }
Property Value
Type | Description |
---|---|
LatLng | The position. |
Methods
FromScriptData(Object)
Retrieves an instance from script data.
Declaration
public static MouseEventArgs FromScriptData(object scriptObject)
Parameters
Type | Name | Description |
---|---|---|
System.Object | scriptObject | The script object. |
Returns
Type | Description |
---|---|
MouseEventArgs |
ToScriptData()
Returns the instance as a script data.
Declaration
public IDictionary<string, object> ToScriptData()
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |