DrawingFeaturesEventArgs¶
Namespace: ThinkGeo.Core
This is the event arguments class for the DrawingFeatures event of the FeatureLayer.
public class DrawingFeaturesEventArgs : System.EventArgs
Inheritance Object → EventArgs → DrawingFeaturesEventArgs
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.
Properties¶
FeaturesToDraw¶
This property gets the collection of InternalFeatures that will draw.
public Collection<Feature> FeaturesToDraw { get; }
Property Value¶
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.
DrawingZoomLevel¶
public ZoomLevel DrawingZoomLevel { get; set; }
Property Value¶
Cancel¶
public bool Cancel { get; set; }
Property Value¶
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