Skip to content

DrawingAdornmentLayersEventArgs

Namespace: ThinkGeo.Core

Provides data for the MapEngine.AdornmentLayersDrawing event, which fires before any adornment layer draws.

public class DrawingAdornmentLayersEventArgs : System.EventArgs

Inheritance objectEventArgsDrawingAdornmentLayersEventArgs

Remarks:

Use this event to inspect or adjust the collection of adornment layers before rendering begins.

Properties

AdornmentLayers

Gets or sets the collection of adornment layers that will be drawn.

public IEnumerable<AdornmentLayer> AdornmentLayers { get; set; }

Property Value

IEnumerable<AdornmentLayer>

Constructors

DrawingAdornmentLayersEventArgs()

Initializes a new instance of the DrawingAdornmentLayersEventArgs class.

public DrawingAdornmentLayersEventArgs()

Remarks:

When this constructor is used, set the DrawingAdornmentLayersEventArgs.AdornmentLayers property before raising the event.

DrawingAdornmentLayersEventArgs(IEnumerable<AdornmentLayer>)

Initializes a new instance of the DrawingAdornmentLayersEventArgs class for the specified adornment layers.

public DrawingAdornmentLayersEventArgs(IEnumerable<AdornmentLayer> adornmentLayers)

Parameters

adornmentLayers IEnumerable<AdornmentLayer>
The adornment layers that are scheduled to draw.