DrawingAttributionOverlayEventArgs¶
Namespace: ThinkGeo.UI.Wpf
Provides data for the overlay's DrawingAttribution event, allowing the attribution text or drawing to be customized.
public class DrawingAttributionOverlayEventArgs : System.EventArgs
Inheritance Object → EventArgs → DrawingAttributionOverlayEventArgs
Properties¶
Cancel¶
Gets or sets a value indicating whether the default attribution drawing should be canceled.
public bool Cancel { get; set; }
Property Value¶
Canvas¶
Gets or sets the canvas used to render the attribution information.
public GeoCanvas Canvas { get; set; }
Property Value¶
GeoCanvas
Exceptions¶
ArgumentNullException
 Thrown when the value is null.
Attribution¶
Gets or sets the attribution text to render.
public string Attribution { get; set; }
Property Value¶
Constructors¶
DrawingAttributionOverlayEventArgs()¶
Initializes a new instance of the DrawingAttributionOverlayEventArgs class with no canvas and empty attribution.
public DrawingAttributionOverlayEventArgs()
DrawingAttributionOverlayEventArgs(GeoCanvas, String)¶
Initializes a new instance of the DrawingAttributionOverlayEventArgs class for the specified drawing context.
public DrawingAttributionOverlayEventArgs(GeoCanvas canvas, string attribution)
Parameters¶
canvas GeoCanvas
 The canvas on which the attribution will be rendered.
attribution String
 The attribution text to draw.