Table of Contents

Class DrawingFeaturesEventArgs

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll

This is the event arguments class for the DrawingFeatures event of the FeatureLayer.

public class DrawingFeaturesEventArgs : EventArgs
Inheritance
DrawingFeaturesEventArgs
Inherited Members

Remarks

This is the event arguments class for the DrawingFeatures event of the FeatureLayer. You can use the FeaturesToDraw property to add and remove features to draw before the FeatureLayer actually draws them.

Constructors

DrawingFeaturesEventArgs()

This is a constructor for the class.

public DrawingFeaturesEventArgs()

Remarks

None

DrawingFeaturesEventArgs(IEnumerable<Feature>)

public DrawingFeaturesEventArgs(IEnumerable<Feature> featuresToDraw)

Parameters

featuresToDraw IEnumerable<Feature>

DrawingFeaturesEventArgs(IEnumerable<Feature>, ZoomLevel)

This is a constructor for the class.

public DrawingFeaturesEventArgs(IEnumerable<Feature> featuresToDraw, ZoomLevel drawingZoomLevel)

Parameters

featuresToDraw IEnumerable<Feature>

This parameter represents the faatures that will be drawn.

drawingZoomLevel ZoomLevel

Remarks

None

Properties

Cancel

public bool Cancel { get; set; }

Property Value

bool

DrawingZoomLevel

public ZoomLevel DrawingZoomLevel { get; set; }

Property Value

ZoomLevel

FeaturesToDraw

This property gets the collection of InternalFeatures that will draw.

public Collection<Feature> FeaturesToDraw { get; }

Property Value

Collection<Feature>

Remarks

This property gets the collection of InternalFeatures that will draw. You can add, remove or edit items in this collection and they will be considered for drawing in the FeatureLayer.