Skip to content

DrawnAdornmentLayersEventArgs

Namespace: ThinkGeo.Core

Provides data for the MapEngine.AdornmentLayersDrawn event, which fires after all adornment layers finish drawing.

public class DrawnAdornmentLayersEventArgs : System.EventArgs

Inheritance ObjectEventArgsDrawnAdornmentLayersEventArgs

Remarks:

Use this event to inspect the collection of DrawnAdornmentLayersEventArgs.AdornmentLayers or to perform additional drawing once adornment rendering completes.

Properties

AdornmentLayers

Gets or sets the collection of adornment layers that have been drawn.

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

Property Value

IEnumerable<AdornmentLayer>

Constructors

DrawnAdornmentLayersEventArgs()

Initializes a new instance of the DrawnAdornmentLayersEventArgs class.

public DrawnAdornmentLayersEventArgs()

Remarks:

When this constructor is used, populate DrawnAdornmentLayersEventArgs.AdornmentLayers before raising the event.

DrawnAdornmentLayersEventArgs(IEnumerable<AdornmentLayer>)

Initializes a new instance of the DrawnAdornmentLayersEventArgs class with the provided collection.

public DrawnAdornmentLayersEventArgs(IEnumerable<AdornmentLayer> adornmentLayers)

Parameters

adornmentLayers IEnumerable<AdornmentLayer>
The adornment layers that have completed rendering.