New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

C#
public abstract class MapVisualElement : IClusterable, IBorderElement, IBoxStyle, IBoxElement, IFillElement, ITextElement, IShapedElement

Inheritance: objectMapVisualElement

Derived Classes: MapPathBasedVisualElementMapTile

Implements: IBorderElementIBoxElementIBoxStyleIClusterableIFillElementIShapedElementITextElement...

Constructors

Initializes a new instance of the MapVisualElement class.

C#
public MapVisualElement()

Properties

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

Implements: IFillElement.BackColor

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

Implements: IFillElement.BackColor2

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

Implements: IFillElement.BackColor3

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

Implements: IFillElement.BackColor4

C#
public Color BorderColor { get; set; }
C#
public virtual Color BorderColor2 { get; set; }
C#
public virtual Color BorderColor3 { get; set; }
C#
public virtual Color BorderColor4 { get; set; }
C#
public virtual float[] BorderDashPattern { get; set; }

Implements: IBorderElement.BorderDashPattern

C#
public virtual DashStyle BorderDashStyle { get; set; }

Implements: IBorderElement.BorderDashStyle

C#
public virtual BorderDrawModes BorderDrawMode { get; set; }

Implements: IBorderElement.BorderDrawMode

Gets a value indicating the border size.

C#
public virtual SizeF BorderSize { get; set; }

Implements: IBoxElement.BorderSize

C#
public virtual float BorderWidth { get; set; }
C#
public virtual Color BottomColor { get; set; }

Implements: IBoxStyle.BottomColor

C#
public virtual Color BottomShadowColor { get; set; }

Implements: IBoxStyle.BottomShadowColor

Gets or sets a value indicating the botton width.

C#
public virtual float BottomWidth { get; set; }

Implements: IBoxElement.BottomWidth

C#
public virtual BorderBoxStyle BoxStyle { get; set; }

Implements: IBorderElement.BoxStyle

Gets or sets the font.

C#
public virtual Font Font { get; set; }
Property Value:

The font.

Implements: ITextElement.Font

Gets or sets the fore color.

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

The fore color.

Implements: ITextElement.ForeColor

Gets the geographic bounds.

C#
public virtual RectangleG GeographicBounds { get; }
Property Value:

The geographic bounds.

Implements: IClusterable.GeographicBounds

C#
public virtual float GradientAngle { get; set; }

Implements: IBorderElement.GradientAngleIFillElement.GradientAngle

C#
public virtual float GradientPercentage { get; set; }

Implements: IFillElement.GradientPercentage

C#
public virtual float GradientPercentage2 { get; set; }

Implements: IFillElement.GradientPercentage2

C#
public virtual GradientStyles GradientStyle { get; set; }

Implements: IBorderElement.GradientStyleIFillElement.GradientStyle

Gets a value indicating the horizontal width.

C#
public virtual float HorizontalWidth { get; set; }

Implements: IBoxElement.HorizontalWidth

C#
public virtual Color InnerColor { get; set; }

Implements: IBorderElement.InnerColor

C#
public virtual Color InnerColor2 { get; set; }

Implements: IBorderElement.InnerColor2

C#
public virtual Color InnerColor3 { get; set; }

Implements: IBorderElement.InnerColor3

C#
public virtual Color InnerColor4 { get; set; }

Implements: IBorderElement.InnerColor4

Gets a value indicating whether this instance is visible in the viewport.

C#
public abstract bool IsInViewport { get; }
Property Value:

true if this instance is visible in the viewport.; otherwise, false.

Gets a value indicating whether this instance is selected.

C#
public virtual bool IsSelected { get; }
Property Value:

true if this instance is selected; otherwise, false.

Gets or sets a value indicating whether this instance is visible.

C#
public virtual bool IsVisible { get; set; }
Property Value:

true if this instance is visible; otherwise, false.

Gets the layer this element is added to.

C#
public MapLayer Layer { get; }
Property Value:

The layer.

C#
public virtual Color LeftColor { get; set; }

Implements: IBoxStyle.LeftColor

C#
public virtual Color LeftShadowColor { get; set; }

Implements: IBoxStyle.LeftShadowColor

Gets or sets a value indicating the left width.

C#
public virtual float LeftWidth { get; set; }

Implements: IBoxElement.LeftWidth

Gets or sets the location.

C#
public virtual PointG Location { get; set; }
Property Value:

The location.

Implements: IClusterable.Location

C#
public virtual int NumberOfColors { get; set; }

Implements: IFillElement.NumberOfColors

Gets a value indicating the offset.

C#
public virtual SizeF Offset { get; set; }

Implements: IBoxElement.Offset

C#
public virtual object RawResource { get; set; }

Implements: ITextElement.RawResource

C#
public virtual Color RightColor { get; set; }

Implements: IBoxStyle.RightColor

C#
public virtual Color RightShadowColor { get; set; }

Implements: IBoxStyle.RightShadowColor

Gets or sets a value indicating the right width.

C#
public virtual float RightWidth { get; set; }

Implements: IBoxElement.RightWidth

C#
public ElementShape Shape { get; set; }
C#
public virtual Size Size { get; set; }

Implements: IFillElement.Size

C#
public virtual SmoothingMode SmoothingMode { get; set; }

Implements: IBorderElement.SmoothingModeIFillElement.SmoothingMode

C#
public object Tag { get; set; }

Gets or sets the text.

C#
public virtual string Text { get; set; }
Property Value:

The text.

Implements: ITextElement.Text

Gets or sets the text of the tool tip for this element.

C#
public virtual string ToolTipText { get; set; }
Property Value:

The tool tip text.

Implements: IClusterable.ToolTipText

C#
public virtual Color TopColor { get; set; }

Implements: IBoxStyle.TopColor

C#
public virtual Color TopShadowColor { get; set; }

Implements: IBoxStyle.TopShadowColor

Gets or sets a value indicating the top width.

C#
public virtual float TopWidth { get; set; }

Implements: IBoxElement.TopWidth

Gets a value indicating the vertical width.

C#
public virtual float VerticalWidth { get; set; }

Implements: IBoxElement.VerticalWidth

Methods

C#
public virtual ElementShape GetCurrentShape()
Returns:

ElementShape

Implements: IShapedElement.GetCurrentShape()

Gets the geographic bounds of elements that consist of more than one figure.

C#
public virtual RectangleG[] GetGeographicBounds()
Returns:

RectangleG[]

RectangleG[].

Hit tests the element.

C#
public virtual bool HitTest(PointG pointG, PointL pointL, IMapViewport viewport)
Parameters:pointGPointG

The point g.

pointLPointL

The point l.

viewportIMapViewport

The viewport.

Returns:

bool

true if XXXX, false otherwise.

Paints the element to the specified graphics.

C#
public abstract void Paint(IGraphics graphics, IMapViewport viewport)
Parameters:graphicsIGraphics

The graphics.

viewportIMapViewport

The viewport.

Called when the viewport changes.

C#
public abstract void ViewportChanged(IMapViewport viewport, ViewportChangeAction action)
Parameters:viewportIMapViewport

The viewport.

actionViewportChangeAction

The action.