New to Telerik UI for WinForms? Start a free 30-day trial

Base class for geographic shapes that support extended data, colorization, and text containing extended-data references.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

C#
public abstract class MapGeometry : MapPathBasedVisualElement, IClusterable, IBorderElement, IBoxStyle, IBoxElement, IFillElement, ITextElement, IShapedElement, IExtendedData, IColorizable

Inheritance: objectMapVisualElementMapPathBasedVisualElementMapGeometry

Derived Classes: MapPathMapPointMapPolygonMapPolyline

Implements: IBorderElementIBoxElementIBoxStyleIClusterableIColorizableIExtendedDataIFillElementIShapedElementITextElement...

Inherited Members MapPathBasedVisualElement.ViewportChanged(IMapViewport, ViewportChangeAction)MapPathBasedVisualElement.HitTest(PointG, PointL, IMapViewport)MapPathBasedVisualElement.GetVisualElementInfo(IMapViewport)MapPathBasedVisualElement.CreateVisualElementInfo(IMapViewport)MapPathBasedVisualElement.ResetGraphicsPathCache()MapPathBasedVisualElement.IsInViewportMapPathBasedVisualElement.IsOutlineMapPathBasedVisualElement.LocationMapVisualElement.Paint(IGraphics, IMapViewport)MapVisualElement.GetGeographicBounds()MapVisualElement.GetCurrentShape()MapVisualElement.GeographicBoundsMapVisualElement.LayerMapVisualElement.IsVisibleMapVisualElement.IsSelectedMapVisualElement.TagMapVisualElement.NumberOfColorsMapVisualElement.GradientAngleMapVisualElement.GradientPercentageMapVisualElement.GradientPercentage2MapVisualElement.GradientStyleMapVisualElement.SizeMapVisualElement.SmoothingModeMapVisualElement.BorderColorMapVisualElement.BorderColor2MapVisualElement.BorderColor3MapVisualElement.BorderColor4MapVisualElement.InnerColorMapVisualElement.InnerColor2MapVisualElement.InnerColor3MapVisualElement.InnerColor4MapVisualElement.BoxStyleMapVisualElement.BorderDrawModeMapVisualElement.BorderDashStyleMapVisualElement.BorderDashPatternMapVisualElement.LeftColorMapVisualElement.LeftShadowColorMapVisualElement.TopColorMapVisualElement.TopShadowColorMapVisualElement.RightColorMapVisualElement.RightShadowColorMapVisualElement.BottomColorMapVisualElement.BottomShadowColorMapVisualElement.BorderWidthMapVisualElement.LeftWidthMapVisualElement.TopWidthMapVisualElement.RightWidthMapVisualElement.BottomWidthMapVisualElement.OffsetMapVisualElement.BorderSizeMapVisualElement.HorizontalWidthMapVisualElement.VerticalWidthMapVisualElement.ForeColorMapVisualElement.FontMapVisualElement.ToolTipTextMapVisualElement.RawResourceMapVisualElement.Shape...

Constructors

C#
protected MapGeometry()

Properties

Gets the non-empty colorizer color in preference to the base fill color. Setting this property updates the base fill color, which remains hidden while the colorizer color is non-empty.

C#
public override Color BackColor { get; set; }

Overrides: MapVisualElement.BackColor

Gets the non-empty colorizer color in preference to the second base fill color. Setting this property updates the base fill color, which remains hidden while the colorizer color is non-empty.

C#
public override Color BackColor2 { get; set; }

Overrides: MapVisualElement.BackColor2

Gets the non-empty colorizer color in preference to the third base fill color. Setting this property updates the base fill color, which remains hidden while the colorizer color is non-empty.

C#
public override Color BackColor3 { get; set; }

Overrides: MapVisualElement.BackColor3

Gets the non-empty colorizer color in preference to the fourth base fill color. Setting this property updates the base fill color, which remains hidden while the colorizer color is non-empty.

C#
public override Color BackColor4 { get; set; }

Overrides: MapVisualElement.BackColor4

Gets or sets the color specified by a colorization strategy.

C#
public Color ColorizerColor { get; set; }
Property Value:

The color specified by a colorization strategy.

Implements: IColorizable.ColorizerColor

Gets the text after extended-data references have been resolved.

C#
public string DrawText { get; }

Gets or sets extended data.

C#
public ExtendedData ExtendedData { get; set; }
Property Value:

The extended data.

Implements: IExtendedData.ExtendedData

Gets or sets the geometry text. Setting it resolves $[property] references from ExtendedData into DrawText.

C#
public override string Text { get; set; }

Overrides: MapVisualElement.Text

Methods

Called when the ExtendedData property changes.

C#
protected virtual void OnExtendedDataPropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters:senderobject

The sender.

ePropertyChangedEventArgs

The PropertyChangedEventArgs instance containing the event data.

Resolves $[property] references in the geometry text using the current ExtendedData.

C#
protected virtual void ResolveEntityReferences()