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 Map
Declaration
public MapCallout(PointG location)
Parameters
Point The location. |
MapCallout(MapVisualElement)
Initializes a new instance of the Map
Declaration
public MapCallout(MapVisualElement element)
Parameters
Map The element. |
Fields
drawText
Declaration
protected string drawText
Field Value
System.
|
Properties
Distance
Gets or sets the distance to the element or location.
Declaration
public int Distance { get; set; }
Property Value
System. The distance. |
Element
Gets the element this callout adorns.
Declaration
public MapVisualElement Element { get; }
Property Value
Image
Declaration
public virtual Image Image { get; set; }
Property Value
System.
|
IsOutline
Declaration
protected override bool IsOutline { get; }
Property Value
System.
|
Overrides
MaxWidth
Gets or sets the maximal width.
Declaration
public int MaxWidth { get; set; }
Property Value
System. The maximum width. |
Padding
Gets or sets the padding.
Declaration
public Padding Padding { get; set; }
Property Value
System. The padding. |
Text
Declaration
public override string Text { get; set; }
Property Value
System.
|
Overrides
Methods
CreateVisualElementInfo(IMapViewport)
Declaration
protected override MapVisualElementInfo CreateVisualElementInfo(IMapViewport viewport)
Parameters
IMap
|
Returns
Overrides
MeasureText(Graphics, IMapViewport)
Declaration
protected virtual SizeF MeasureText(Graphics graphics, IMapViewport viewport)
Parameters
System.
|
IMap
|
Returns
System.
|
Paint(IGraphics, IMapViewport)
Declaration
public override void Paint(IGraphics graphics, IMapViewport viewport)
Parameters
IGraphics
graphics
|
IMap
|
Overrides
PaintText(IGraphics, IMapViewport)
Declaration
protected virtual void PaintText(IGraphics graphics, IMapViewport viewport)
Parameters
IGraphics
graphics
|
IMap
|
ResolveEntityReferences(MapPoint)
Resolves the entity references in the callout text ([$property]).
Declaration
protected virtual void ResolveEntityReferences(MapPoint point)
Parameters
Map The point. |