RequestingDrawingLayerEventArgs¶
Namespace: ThinkGeo.Core
Provides data for the Layer.RequestingDrawing event, raised before a redraw is scheduled.
public class RequestingDrawingLayerEventArgs : System.EventArgs
Inheritance Object → EventArgs → RequestingDrawingLayerEventArgs
Properties¶
BufferTime¶
Gets or sets the amount of time before drawing is forced to occur.
public TimeSpan BufferTime { get; set; }
Property Value¶
ExtentsToRefresh¶
Gets the extents that the layer should refresh.
public Collection<RectangleShape> ExtentsToRefresh { get; }
Property Value¶
BufferTimeType¶
Gets or sets how the buffer time should be interpreted.
public RequestDrawingBufferTimeType BufferTimeType { get; set; }
Property Value¶
Cancel¶
Gets or sets a value indicating whether the pending redraw should be canceled.
public bool Cancel { get; set; }
Property Value¶
Constructors¶
RequestingDrawingLayerEventArgs()¶
Initializes a new instance using the default extent.
public RequestingDrawingLayerEventArgs()
RequestingDrawingLayerEventArgs(RectangleShape)¶
Initializes a new instance targeting a single extent.
public RequestingDrawingLayerEventArgs(RectangleShape extentToRefresh)
Parameters¶
extentToRefresh RectangleShape
RequestingDrawingLayerEventArgs(IEnumerable<RectangleShape>)¶
Initializes a new instance with multiple extents and the default buffer time.
public RequestingDrawingLayerEventArgs(IEnumerable<RectangleShape> extentsToRefresh)
Parameters¶
extentsToRefresh IEnumerable<RectangleShape>
RequestingDrawingLayerEventArgs(TimeSpan)¶
Initializes a new instance with the default extent and a custom buffer time.
public RequestingDrawingLayerEventArgs(TimeSpan bufferTime)
Parameters¶
bufferTime TimeSpan
RequestingDrawingLayerEventArgs(TimeSpan, RequestDrawingBufferTimeType)¶
Initializes a new instance with the default extent, buffer time, and buffer mode.
public RequestingDrawingLayerEventArgs(TimeSpan bufferTime, RequestDrawingBufferTimeType bufferTimeType)
Parameters¶
bufferTime TimeSpan
bufferTimeType RequestDrawingBufferTimeType
RequestingDrawingLayerEventArgs(RectangleShape, TimeSpan)¶
Initializes a new instance targeting a single extent with a custom buffer time.
public RequestingDrawingLayerEventArgs(RectangleShape extentToRefresh, TimeSpan bufferTime)
Parameters¶
extentToRefresh RectangleShape
bufferTime TimeSpan
RequestingDrawingLayerEventArgs(RectangleShape, TimeSpan, RequestDrawingBufferTimeType)¶
Initializes a new instance targeting a single extent with a buffer time and mode.
public RequestingDrawingLayerEventArgs(RectangleShape extentToRefresh, TimeSpan bufferTime, RequestDrawingBufferTimeType bufferTimeType)
Parameters¶
extentToRefresh RectangleShape
bufferTime TimeSpan
bufferTimeType RequestDrawingBufferTimeType
RequestingDrawingLayerEventArgs(IEnumerable<RectangleShape>, TimeSpan)¶
Initializes a new instance with multiple extents and a custom buffer time.
public RequestingDrawingLayerEventArgs(IEnumerable<RectangleShape> extentsToRefresh, TimeSpan bufferTime)
Parameters¶
extentsToRefresh IEnumerable<RectangleShape>
bufferTime TimeSpan
RequestingDrawingLayerEventArgs(IEnumerable<RectangleShape>, TimeSpan, RequestDrawingBufferTimeType)¶
Initializes a new instance with multiple extents, a buffer time, and buffer mode.
public RequestingDrawingLayerEventArgs(IEnumerable<RectangleShape> extentsToRefresh, TimeSpan bufferTime, RequestDrawingBufferTimeType bufferTimeType)
Parameters¶
extentsToRefresh IEnumerable<RectangleShape>
bufferTime TimeSpan
bufferTimeType RequestDrawingBufferTimeType