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:
FeatureLayer. You can use the FeaturesToDraw property to add and remove features to draw before the FeatureLayer actually draws them.
Properties¶
FeaturesToDraw¶
Gets the collection of features scheduled for drawing.
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¶
Gets or sets the zoom level context in which the features will be rendered.
public ZoomLevel DrawingZoomLevel { get; set; }
Property Value¶
Cancel¶
Gets or sets a value indicating whether the draw operation should be cancelled.
public bool Cancel { get; set; }
Property Value¶
Constructors¶
DrawingFeaturesEventArgs()¶
This is a constructor for the class.
public DrawingFeaturesEventArgs()
Remarks:
None
DrawingFeaturesEventArgs(IEnumerable<Feature>)¶
Initializes a new instance of the DrawingFeaturesEventArgs class.
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
Specifies the drawingZoomLevel.
Remarks:
None