skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class MapVisualElement

Inheritance
System.Object
MapVisualElement
MapPathBasedVisualElement
MapTile
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll

Syntax

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

Constructors

MapVisualElement()

Initializes a new instance of the MapVisualElement class.

Declaration
public MapVisualElement()

Properties

BackColor

Declaration
public virtual Color BackColor { get; set; }
Property Value
System.Drawing.Color

Implements
IFillElement.BackColor

BackColor2

Declaration
public virtual Color BackColor2 { get; set; }
Property Value
System.Drawing.Color

Implements
IFillElement.BackColor2

BackColor3

Declaration
public virtual Color BackColor3 { get; set; }
Property Value
System.Drawing.Color

Implements
IFillElement.BackColor3

BackColor4

Declaration
public virtual Color BackColor4 { get; set; }
Property Value
System.Drawing.Color

Implements
IFillElement.BackColor4

BorderColor

Declaration
public Color BorderColor { get; set; }
Property Value
System.Drawing.Color

BorderColor2

Declaration
public virtual Color BorderColor2 { get; set; }
Property Value
System.Drawing.Color

BorderColor3

Declaration
public virtual Color BorderColor3 { get; set; }
Property Value
System.Drawing.Color

BorderColor4

Declaration
public virtual Color BorderColor4 { get; set; }
Property Value
System.Drawing.Color

BorderDashPattern

Declaration
public virtual float[] BorderDashPattern { get; set; }
Property Value
System.Single[]

Implements
IBorderElement.BorderDashPattern

BorderDashStyle

Declaration
public virtual DashStyle BorderDashStyle { get; set; }
Property Value
System.Drawing.Drawing2D.DashStyle

Implements
IBorderElement.BorderDashStyle

BorderDrawMode

Declaration
public virtual BorderDrawModes BorderDrawMode { get; set; }
Property Value
BorderDrawModes

Implements
IBorderElement.BorderDrawMode

BorderSize

Declaration
public virtual SizeF BorderSize { get; set; }
Property Value
System.Drawing.SizeF

Implements
IBoxElement.BorderSize

BorderWidth

Declaration
public virtual float BorderWidth { get; set; }
Property Value
System.Single

BottomColor

Declaration
public virtual Color BottomColor { get; set; }
Property Value
System.Drawing.Color

Implements
IBoxStyle.BottomColor

BottomShadowColor

Declaration
public virtual Color BottomShadowColor { get; set; }
Property Value
System.Drawing.Color

Implements
IBoxStyle.BottomShadowColor

BottomWidth

Declaration
public virtual float BottomWidth { get; set; }
Property Value
System.Single

Implements
IBoxElement.BottomWidth

BoxStyle

Declaration
public virtual BorderBoxStyle BoxStyle { get; set; }
Property Value
BorderBoxStyle

Implements
IBorderElement.BoxStyle

Font

Gets or sets the font.

Declaration
public virtual Font Font { get; set; }
Property Value
System.Drawing.Font

The font.

Implements
ITextElement.Font

ForeColor

Gets or sets the fore color.

Declaration
public virtual Color ForeColor { get; set; }
Property Value
System.Drawing.Color

The fore color.

Implements
ITextElement.ForeColor

GeographicBounds

Gets the geographic bounds.

Declaration
public virtual RectangleG GeographicBounds { get; }
Property Value
RectangleG

The geographic bounds.

Implements
IClusterable.GeographicBounds

GradientAngle

Declaration
public virtual float GradientAngle { get; set; }
Property Value
System.Single

Implements
IBorderElement.GradientAngle
IFillElement.GradientAngle

GradientPercentage

Declaration
public virtual float GradientPercentage { get; set; }
Property Value
System.Single

Implements
IFillElement.GradientPercentage

GradientPercentage2

Declaration
public virtual float GradientPercentage2 { get; set; }
Property Value
System.Single

Implements
IFillElement.GradientPercentage2

GradientStyle

Declaration
public virtual GradientStyles GradientStyle { get; set; }
Property Value
GradientStyles

Implements
IBorderElement.GradientStyle
IFillElement.GradientStyle

HorizontalWidth

Declaration
public virtual float HorizontalWidth { get; set; }
Property Value
System.Single

Implements
IBoxElement.HorizontalWidth

InnerColor

Declaration
public virtual Color InnerColor { get; set; }
Property Value
System.Drawing.Color

Implements
IBorderElement.InnerColor

InnerColor2

Declaration
public virtual Color InnerColor2 { get; set; }
Property Value
System.Drawing.Color

Implements
IBorderElement.InnerColor2

InnerColor3

Declaration
public virtual Color InnerColor3 { get; set; }
Property Value
System.Drawing.Color

Implements
IBorderElement.InnerColor3

InnerColor4

Declaration
public virtual Color InnerColor4 { get; set; }
Property Value
System.Drawing.Color

Implements
IBorderElement.InnerColor4

IsInViewport

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

Declaration
public abstract bool IsInViewport { get; }
Property Value
System.Boolean

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

IsSelected

Gets a value indicating whether this instance is selected.

Declaration
public virtual bool IsSelected { get; }
Property Value
System.Boolean

true if this instance is selected; otherwise, false.

IsVisible

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

Declaration
public virtual bool IsVisible { get; set; }
Property Value
System.Boolean

true if this instance is visible; otherwise, false.

Layer

Gets the layer this element is added to.

Declaration
public MapLayer Layer { get; }
Property Value
MapLayer

The layer.

LeftColor

Declaration
public virtual Color LeftColor { get; set; }
Property Value
System.Drawing.Color

Implements
IBoxStyle.LeftColor

LeftShadowColor

Declaration
public virtual Color LeftShadowColor { get; set; }
Property Value
System.Drawing.Color

Implements
IBoxStyle.LeftShadowColor

LeftWidth

Declaration
public virtual float LeftWidth { get; set; }
Property Value
System.Single

Implements
IBoxElement.LeftWidth

Location

Gets or sets the location.

Declaration
public virtual PointG Location { get; set; }
Property Value
PointG

The location.

Implements
IClusterable.Location

NumberOfColors

Declaration
public virtual int NumberOfColors { get; set; }
Property Value
System.Int32

Implements
IFillElement.NumberOfColors

Offset

Declaration
public virtual SizeF Offset { get; set; }
Property Value
System.Drawing.SizeF

Implements
IBoxElement.Offset

RawResource

Declaration
public virtual object RawResource { get; set; }
Property Value
System.Object

Implements
ITextElement.RawResource

RightColor

Declaration
public virtual Color RightColor { get; set; }
Property Value
System.Drawing.Color

Implements
IBoxStyle.RightColor

RightShadowColor

Declaration
public virtual Color RightShadowColor { get; set; }
Property Value
System.Drawing.Color

Implements
IBoxStyle.RightShadowColor

RightWidth

Declaration
public virtual float RightWidth { get; set; }
Property Value
System.Single

Implements
IBoxElement.RightWidth

Shape

Declaration
public ElementShape Shape { get; set; }
Property Value
ElementShape

Size

Declaration
public virtual Size Size { get; set; }
Property Value
System.Drawing.Size

Implements
IFillElement.Size

SmoothingMode

Declaration
public virtual SmoothingMode SmoothingMode { get; set; }
Property Value
System.Drawing.Drawing2D.SmoothingMode

Implements
IBorderElement.SmoothingMode
IFillElement.SmoothingMode

Tag

Declaration
public object Tag { get; set; }
Property Value
System.Object

Text

Gets or sets the text.

Declaration
public virtual string Text { get; set; }
Property Value
System.String

The text.

Implements
ITextElement.Text

TextFormat

Declaration
public virtual TextFormat TextFormat { get; set; }
Property Value
TextFormat

Implements
ITextElement.TextFormat

ToolTipText

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

Declaration
public virtual string ToolTipText { get; set; }
Property Value
System.String

The tool tip text.

Implements
IClusterable.ToolTipText

TopColor

Declaration
public virtual Color TopColor { get; set; }
Property Value
System.Drawing.Color

Implements
IBoxStyle.TopColor

TopShadowColor

Declaration
public virtual Color TopShadowColor { get; set; }
Property Value
System.Drawing.Color

Implements
IBoxStyle.TopShadowColor

TopWidth

Declaration
public virtual float TopWidth { get; set; }
Property Value
System.Single

Implements
IBoxElement.TopWidth

VerticalWidth

Declaration
public virtual float VerticalWidth { get; set; }
Property Value
System.Single

Implements
IBoxElement.VerticalWidth

Width

Declaration
public float Width { get; set; }
Property Value
System.Single

Implements
IBoxElement.Width

Methods

GetCurrentShape()

Declaration
public virtual ElementShape GetCurrentShape()
Returns
ElementShape

Implements
IShapedElement.GetCurrentShape()

GetGeographicBounds()

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

Declaration
public virtual RectangleG[] GetGeographicBounds()
Returns
RectangleG[]

RectangleG[].

HitTest(PointG, PointL, IMapViewport)

Hit tests the element.

Declaration
public virtual bool HitTest(PointG pointG, PointL pointL, IMapViewport viewport)
Parameters
PointG pointG

The point g.

PointL pointL

The point l.

IMapViewport viewport

The viewport.

Returns
System.Boolean

true if XXXX, false otherwise.

Paint(IGraphics, IMapViewport)

Paints the element to the specified graphics.

Declaration
public abstract void Paint(IGraphics graphics, IMapViewport viewport)
Parameters
IGraphics graphics

The graphics.

IMapViewport viewport

The viewport.

ViewportChanged(IMapViewport, ViewportChangeAction)

Called when the viewport changes.

Declaration
public abstract void ViewportChanged(IMapViewport viewport, ViewportChangeAction action)
Parameters
IMapViewport viewport

The viewport.

ViewportChangeAction action

The action.

Explicit Interface Implementations

IBorderElement.ForeColor

Declaration
Color IBorderElement.ForeColor { get; }
Returns
System.Drawing.Color

Implements
IBorderElement.ForeColor

IBorderElement.ForeColor2

Declaration
Color IBorderElement.ForeColor2 { get; }
Returns
System.Drawing.Color

Implements
IBorderElement.ForeColor2

IBorderElement.ForeColor3

Declaration
Color IBorderElement.ForeColor3 { get; }
Returns
System.Drawing.Color

Implements
IBorderElement.ForeColor3

IBorderElement.ForeColor4

Declaration
Color IBorderElement.ForeColor4 { get; }
Returns
System.Drawing.Color

Implements
IBorderElement.ForeColor4

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.