Class MapCallout
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public class MapCallout : MapPathBasedVisualElement, IClusterable, IBorderElement, IBoxStyle, IBoxElement, IFillElement, ITextElement, IShapedElement
Constructors
MapCallout(PointG)
Initializes a new instance of the MapCallout class.
Declaration
public MapCallout(PointG location)
Parameters
PointG
location
The location. |
MapCallout(MapVisualElement)
Initializes a new instance of the MapCallout class.
Declaration
public MapCallout(MapVisualElement element)
Parameters
MapVisualElement
element
The element. |
Fields
drawText
Declaration
protected string drawText
Field Value
System.String
|
Properties
Distance
Gets or sets the distance to the element or location.
Declaration
public int Distance { get; set; }
Property Value
System.Int32
The distance. |
Element
Gets the element this callout adorns.
Declaration
public MapVisualElement Element { get; }
Property Value
MapVisualElement
|
Image
Declaration
public virtual Image Image { get; set; }
Property Value
System.Drawing.Image
|
IsOutline
Declaration
protected override bool IsOutline { get; }
Property Value
System.Boolean
|
Overrides
MaxWidth
Gets or sets the maximal width.
Declaration
public int MaxWidth { get; set; }
Property Value
System.Int32
The maximum width. |
Padding
Gets or sets the padding.
Declaration
public Padding Padding { get; set; }
Property Value
System.Windows.Forms.Padding
The padding. |
Text
Declaration
public override string Text { get; set; }
Property Value
System.String
|
Overrides
Methods
CreateVisualElementInfo(IMapViewport)
Declaration
protected override MapVisualElementInfo CreateVisualElementInfo(IMapViewport viewport)
Parameters
IMapViewport
viewport
|
Returns
MapVisualElementInfo
|
Overrides
MeasureText(Graphics, IMapViewport)
Declaration
protected virtual SizeF MeasureText(Graphics graphics, IMapViewport viewport)
Parameters
System.Drawing.Graphics
graphics
|
IMapViewport
viewport
|
Returns
System.Drawing.SizeF
|
Paint(IGraphics, IMapViewport)
Declaration
public override void Paint(IGraphics graphics, IMapViewport viewport)
Parameters
IGraphics
graphics
|
IMapViewport
viewport
|
Overrides
PaintText(IGraphics, IMapViewport)
Declaration
protected virtual void PaintText(IGraphics graphics, IMapViewport viewport)
Parameters
IGraphics
graphics
|
IMapViewport
viewport
|
ResolveEntityReferences(MapPoint)
Resolves the entity references in the callout text ([$property]).
Declaration
protected virtual void ResolveEntityReferences(MapPoint point)
Parameters
MapPoint
point
The point. |