ThinkGeo.MapSuite.WindowsPhoneCore.LayersDrawingEventArgs
Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.
<!– Class –>
This is the event arguments class for the LayersDrawing event on the MapEngine class. It is raised before any of the layers are drawn.
This is the event arguments class for the LayersDrawing event on the MapEngine class. It is raised before any of the layers are drawn. This event allows you to cancel, manipulate the Layer, or draw something with the canvas before the Layer draws.
Inheritance Hierarchy
Members Summary
Public Constructors
Protected Constructors
Name | Parameters | DeclaringType | Summary |
Public Methods
Protected Methods
Public Properties
Name | Return | DeclaringType | Summary |
Cancel | Boolean | | This property gets and sets the value that indicates you want to cancel all of the layers from drawing. |
Layers | IEnumerable<Layer> | | This property gets and sets the layers you will be drawing. |
NativeImage | Object | | This property gets and sets the GeoImage or native image that we are drawing on. |
WorldExtent | RectangleShape | | This property gets and sets the world extent that will be drawn. |
Protected Properties
Name | Return | DeclaringType | Summary |
Public Events
Name | Event Arguments | DeclaringType | Summary |
Public Constructors
LayersDrawingEventArgs()
This is a constructor for the class.
Overloads
This is the default constructor. If you use this constructor, then you need to set the required properties manually.
This is the default constructor. If you use this constructor, then you need to set the required properties manually.
Parameters
LayersDrawingEventArgs(IEnumerable<Layer>, RectangleShape, Object)
This is a constructor for the class.
Overloads
This constructor allows you to set the layers to be drawn, the world extent, and the image you are drawing on.
Parameters
Name | Type | Description |
layers | IEnumerable<Layer><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.WindowsPhoneCore.Layer} –> | This parameter is the layers that will be drawn. |
worldExtent | RectangleShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape –> | This parameter is the world extent you are drawing. |
nativeImage | Object<!– System.Object –> | This parameter is the GeoImage or native map image. |
Go Back
Protected Constructors
Public Methods
Equals(Object)
Return Value
Return Type | Description |
Boolean<!– System.Boolean –> | |
Parameters
Name | Type | Description |
obj | Object<!– System.Object –> | |
<!– System.Object –>
Go Back
GetHashCode()
Return Value
Return Type | Description |
Int32<!– System.Int32 –> | |
Parameters
GetType()
Return Value
Return Type | Description |
Type<!– System.Type –> | |
Parameters
ToString()
Return Value
Return Type | Description |
String<!– System.String –> | |
Parameters
Protected Methods
Finalize()
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
MemberwiseClone()
Return Value
Return Type | Description |
Object<!– System.Object –> | |
Parameters
Public Properties
Cancel
This property gets and sets the value that indicates you want to cancel all of the layers from drawing.
Return Value
Return Type |
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.LayersDrawingEventArgs –>
Go Back
Layers
This property gets and sets the layers you will be drawing.
Return Value
Return Type |
IEnumerable<Layer><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.WindowsPhoneCore.Layer} –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.LayersDrawingEventArgs –>
Go Back
NativeImage
This property gets and sets the GeoImage or native image that we are drawing on.
Return Value
Return Type |
Object<!– System.Object –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.LayersDrawingEventArgs –>
Go Back
WorldExtent
This property gets and sets the world extent that will be drawn.
Return Value
Return Type |
RectangleShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.LayersDrawingEventArgs –>
Go Back
Protected Properties
Public Events