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

Provides the shared viewport, provider/layer collections, and input routing used by the main map and its overview map.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

C#
public class BaseMapElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IMapViewport

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementBaseMapElement...

Derived Classes: MiniMapElementRadMapElement

Implements: IBindableComponentIBorderElementIBoxElementIBoxStyleIComponentICustomTypeDescriptorIDisposableIDrawFillElementIFillElementIImageElementIMapViewportINotifyPropertyChangedIPrimitiveElementIShapedElementIShortcutProviderIStylableElementIStylableNodeISupportDragISupportDropISupportSystemSkinITextPrimitiveITextProvider...

Inherited Members LightVisualElement.BackgroundImagePropertyLightVisualElement.BackgroundImageLayoutPropertyLightVisualElement.BackColor2PropertyLightVisualElement.BackColor3PropertyLightVisualElement.BackColor4PropertyLightVisualElement.BorderBottomColorPropertyLightVisualElement.BorderBottomShadowColorPropertyLightVisualElement.BorderBottomWidthPropertyLightVisualElement.BorderBoxStylePropertyLightVisualElement.BorderColorPropertyLightVisualElement.BorderColor2PropertyLightVisualElement.BorderColor3PropertyLightVisualElement.BorderColor4PropertyLightVisualElement.BorderDashStylePropertyLightVisualElement.BorderDashPatternPropertyLightVisualElement.BorderDrawModePropertyLightVisualElement.BorderGradientAnglePropertyLightVisualElement.BorderGradientStylePropertyLightVisualElement.BorderInnerColorPropertyLightVisualElement.BorderInnerColor2PropertyLightVisualElement.BorderInnerColor3PropertyLightVisualElement.BorderInnerColor4PropertyLightVisualElement.BorderLeftColorPropertyLightVisualElement.BorderLeftShadowColorPropertyLightVisualElement.BorderLeftWidthPropertyLightVisualElement.BorderRightColorPropertyLightVisualElement.BorderRightShadowColorPropertyLightVisualElement.BorderRightWidthPropertyLightVisualElement.BorderTopColorPropertyLightVisualElement.BorderTopShadowColorPropertyLightVisualElement.BorderTopWidthPropertyLightVisualElement.BorderWidthPropertyLightVisualElement.ClipTextPropertyLightVisualElement.DisabledTextRenderingHintPropertyLightVisualElement.DrawBorderPropertyLightVisualElement.DrawFillPropertyLightVisualElement.DrawTextPropertyLightVisualElement.DrawBackgroundImagePropertyLightVisualElement.DrawImagePropertyLightVisualElement.EnableImageTransparencyPropertyLightVisualElement.GradientAnglePropertyLightVisualElement.GradientPercentagePropertyLightVisualElement.GradientPercentage2PropertyLightVisualElement.GradientStylePropertyLightVisualElement.HorizontalLineColorPropertyLightVisualElement.HorizontalLineWidthPropertyLightVisualElement.ImageAlignmentPropertyLightVisualElement.ImageIndexPropertyLightVisualElement.ImageKeyPropertyLightVisualElement.ImageLayoutPropertyLightVisualElement.ImageOpacityPropertyLightVisualElement.ImagePropertyLightVisualElement.ImageTransparentColorPropertyLightVisualElement.NumberOfColorsPropertyLightVisualElement.ShowHorizontalLinePropertyLightVisualElement.SvgImagePropertyLightVisualElement.TextAlignmentPropertyLightVisualElement.TextImageRelationPropertyLightVisualElement.TextWrapPropertyLightVisualElement.TextRenderingHintPropertyLightVisualElement.GetBorderThickness(LightVisualElement, bool)LightVisualElement.ShouldSerializeProperty(PropertyDescriptor)LightVisualElement.GetImageDrawTypeLocalValue()LightVisualElement.MapStyleProperty(RadProperty, string)LightVisualElement.GetStylablePropertiesFilter()LightVisualElement.GetPaintingBorderWidth()LightVisualElement.OnBitStateChanged(long, bool, bool)LightVisualElement.GetAsBitmapEx(Color, float, SizeF)LightVisualElement.GetClipRect()LightVisualElement.PaintText(IGraphics)LightVisualElement.PaintTextCore(IGraphics)LightVisualElement.DrawHorizontalLineWithoutText(IGraphics)LightVisualElement.DrawHorizontalLine(IGraphics)LightVisualElement.PaintImage(IGraphics)LightVisualElement.PaintSvgImage(IGraphics)LightVisualElement.PaintBackgroundImage(IGraphics)LightVisualElement.PaintContent(IGraphics)LightVisualElement.AnimateImage(Image, bool)LightVisualElement.ClipImage(Image, Rectangle, Size)LightVisualElement.MeasureOverride(SizeF)LightVisualElement.CalculateDesiredSize(SizeF, SizeF, SizeF)LightVisualElement.MeasureElements(SizeF, SizeF, Padding)LightVisualElement.ArrangeElement(RadElement, SizeF)LightVisualElement.GetClientOffset(bool)LightVisualElement.GetBorderThickness(bool)LightVisualElement.GetClientRectangle(bool, SizeF)LightVisualElement.GetClientRectangle(SizeF)LightVisualElement.GetTextAlignment(ContentAlignment)LightVisualElement.GetTextAlignment()LightVisualElement.OnLoaded()LightVisualElement.OnTunnelEvent(RadElement, RoutedEventArgs)LightVisualElement.ToggleTextPrimitive(RadProperty)LightVisualElement.OnAnimatedImageFrameChanged()LightVisualElement.GetFaceRectangle()LightVisualElement.CreateTextParams()LightVisualElement.PaintPrimitive(IGraphics, float, SizeF, TextParams)LightVisualElement.PaintPrimitive(IGraphics, TextParams)LightVisualElement.MeasureOverride(SizeF, TextParams)LightVisualElement.OnMouseMove(object, MouseEventArgs)LightVisualElement.GetTextSize(SizeF, TextParams)LightVisualElement.GetTextSize(TextParams)LightVisualElement.TextRenderingHintLightVisualElement.DisabledTextRenderingHintLightVisualElement.ShouldPaintLightVisualElement.CanFocusLightVisualElement.DrawTextLightVisualElement.DrawFillLightVisualElement.DrawBorderLightVisualElement.DrawBackgroundImageLightVisualElement.DrawImageLightVisualElement.BorderBoxStyleLightVisualElement.BorderDrawModeLightVisualElement.BorderWidthLightVisualElement.BorderLeftWidthLightVisualElement.BorderTopWidthLightVisualElement.BorderRightWidthLightVisualElement.BorderBottomWidthLightVisualElement.BorderGradientAngleLightVisualElement.BorderGradientStyleLightVisualElement.BorderColorLightVisualElement.BorderColor2LightVisualElement.BorderColor3LightVisualElement.BorderColor4LightVisualElement.BorderInnerColorLightVisualElement.BorderInnerColor2LightVisualElement.BorderInnerColor3LightVisualElement.BorderInnerColor4LightVisualElement.BackColor2LightVisualElement.BackColor3LightVisualElement.BackColor4LightVisualElement.NumberOfColorsLightVisualElement.GradientStyleLightVisualElement.GradientAngleLightVisualElement.GradientPercentageLightVisualElement.GradientPercentage2LightVisualElement.BackgroundImageLightVisualElement.ImageLightVisualElement.ImageIndexLightVisualElement.ImageKeyLightVisualElement.ImageLayoutLightVisualElement.BackgroundImageLayoutLightVisualElement.ImageOpacityLightVisualElement.DisabledImageOpacityLightVisualElement.TextAlignmentLightVisualElement.ImageAlignmentLightVisualElement.TextImageRelationLightVisualElement.ShowHorizontalLineLightVisualElement.HorizontalLineColorLightVisualElement.HorizontalLineWidthLightVisualElement.DisableHTMLRenderingLightVisualElement.BorderLeftColorLightVisualElement.BorderTopColorLightVisualElement.BorderRightColorLightVisualElement.BorderBottomColorLightVisualElement.BorderLeftShadowColorLightVisualElement.BorderTopShadowColorLightVisualElement.BorderRightShadowColorLightVisualElement.BorderBottomShadowColorLightVisualElement.ClipTextLightVisualElement.LayoutLightVisualElement.ImageTransparentColorLightVisualElement.BorderDashStyleLightVisualElement.BorderDashPatternLightVisualElement.EnableImageTransparencyLightVisualElement.SvgImageLightVisualElement.ImageDrawTypeLightVisualElement.AutoEllipsisLightVisualElement.UseMnemonicLightVisualElement.TextWrapLightVisualElement.ShowKeyboardCuesLightVisualElement.MeasureTrailingSpacesLightVisualElement.TextParamsUIItemBase.PaintFill(IGraphics, float, SizeF)UIItemBase.GetFillPaintRect(float, SizeF)UIItemBase.PaintFill(IGraphics, float, SizeF, RectangleF)UIItemBase.PaintBorder(IGraphics, float, SizeF)UIItemBase.PaintBorder(IGraphics, float, SizeF, RectangleF)UIItemBase.OnBoundsChanged(RadPropertyChangedEventArgs)UIItemBase.GetBorderPaintRect(float, SizeF)UIItemBase.ShouldUsePaintBuffer()RadItem.KeyDownEventRadItem.KeyPressEventRadItem.KeyUpEventRadItem.FocusCommandRadItem.ActionCommandRadItem.UseDefaultDisabledPaintPropertyRadItem.TextPropertyRadItem.TextOrientationPropertyRadItem.FlipTextPropertyRadItem.IsAddNewItemPropertyRadItem.ToolTipTextPropertyRadItem.EnableElementShadowPropertyRadItem.ShadowDepthPropertyRadItem.ShadowColorPropertyRadItem.IsPaintingRippleRadItem.EnableRippleAnimationPropertyRadItem.RippleAnimationColorPropertyRadItem.EnableFocusBorderPropertyRadItem.FocusBorderColorPropertyRadItem.FocusBorderWidthPropertyRadItem.EnableFocusBorderAnimationPropertyRadItem.EnableHighlightPropertyRadItem.HighlightColorPropertyRadItem.EnableBorderHighlightPropertyRadItem.BorderHighlightColorPropertyRadItem.BorderHighlightThicknessPropertyRadItem.VisualStatePropertyRadItem.SetOwnerCollection(RadItemOwnerCollection)RadItem.Select()RadItem.OnSelect()RadItem.Deselect()RadItem.OnDeselect()RadItem.DoKeyDown(KeyEventArgs)RadItem.DoKeyPress(KeyPressEventArgs)RadItem.DoKeyUp(KeyEventArgs)RadItem.RaiseBubbleEvent(RadElement, RoutedEventArgs)RadItem.OnPropertyChanging(RadPropertyChangingEventArgs)RadItem.OnEnabledChanged(RadPropertyChangedEventArgs)RadItem.OnTextChanging(TextChangingEventArgs)RadItem.OnTextChanged(EventArgs)RadItem.OnTextOrientationChanged(EventArgs)RadItem.OnFlipTextChanged(EventArgs)RadItem.PaintOverride(IGraphics, Rectangle, float, SizeF, bool)RadItem.StartRippleAnimation(MouseEventArgs)RadItem.UpdateFocusBorder(bool)RadItem.ContainsText()RadItem.ProcessDialogKey(Keys)RadItem.ProcessCmdKey(ref Message, Keys)RadItem.RaiseKeyDown(KeyEventArgs)RadItem.RaiseKeyPress(KeyPressEventArgs)RadItem.RaiseKeyUp(KeyEventArgs)RadItem.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadItem.CallOnGesture(GestureEventArgs)RadItem.CanDragCore(Point)RadItem.GetDragContextCore()RadItem.GetDragHintCore()RadItem.ProcessDragDrop(Point, ISupportDrag)RadItem.ProcessDragOver(Point, ISupportDrag)RadItem.ProcessDragEnter(Point, ISupportDrag)RadItem.ProcessDragLeave(Point, ISupportDrag)RadItem.UpdateOnShortcutsChanged()RadItem.CanHandleShortcut(ShortcutEventArgs)RadItem.IsOnActiveForm(Control, bool)RadItem.SetThemeValueOverride(RadProperty, object, string)RadItem.SetThemeValueOverride(RadProperty, object, string, string)RadItem.SetThemeValueOverride(RadProperty, object, string, Type)RadItem.ResetThemeValueOverride(RadProperty)RadItem.ResetThemeValueOverride(RadProperty, string)RadItem.ResetThemeValueOverrides()RadItem.GetAvailableVisualStates()RadItem.ShouldFallbackToDefaultTheme()RadItem.UseDefaultDisabledPaintRadItem.TextOrientationRadItem.FlipTextRadItem.CanHaveOwnStyleRadItem.TextRadItem.SelectableRadItem.DefaultAutoToolTipRadItem.ShouldHandleMouseInputRadItem.KeyTipRadItem.ParentItemRadItem.ShortcutsHandlerRadItem.EnableElementShadowRadItem.ShadowDepthRadItem.ShadowColorRadItem.EnableRippleAnimationRadItem.RippleAnimationColorRadItem.EnableFocusBorderRadItem.FocusBorderColorRadItem.FocusBorderWidthRadItem.EnableFocusBorderAnimationRadItem.EnableHighlightRadItem.HighlightColorRadItem.EnableBorderHighlightRadItem.BorderHighlightColorRadItem.BorderHighlightThicknessRadItem.MnemonicTextRadItem.ToolTipTextRadItem.ThemeRoleRadItem.VisualStateRadItem.StateManagerRadItem.AllowDragRadItem.AllowDropRadItem.ShortcutsRadItem.AccessibleDescriptionRadItem.AccessibleNameRadItem.AccessibleRoleRadItem.TextChangingRadItem.TextChangedRadItem.TextOrientationChangedRadItem.FlipTextChangedRadItem.QueryAccessibilityHelpRadItem.KeyDownRadItem.KeyPressRadItem.KeyUpRadItem.ZoomGestureRadItem.RotateGestureRadItem.PanGestureRadItem.TwoFingerTapGestureRadItem.PressAndTapGestureRadComponentElement.ToString()RadComponentElement.GetService(Type)RadComponentElement.CanRaiseEventsRadComponentElement.ContainerRadComponentElement.DesignModeRadComponentElement.SiteRadComponentElement.DataBindingsVisualElement.DefaultSizePropertyVisualElement.ForeColorPropertyVisualElement.BackColorPropertyVisualElement.FontPropertyVisualElement.SmoothingModePropertyVisualElement.OpacityPropertyVisualElement.CustomFontPropertyVisualElement.CustomFontSizePropertyVisualElement.CustomFontStylePropertyVisualElement.OnFontChanged(EventArgs)VisualElement.PaintChildren(IGraphics, Rectangle, float, SizeF, bool)VisualElement.PrePaintElement(IGraphics)VisualElement.PostPaintElement(IGraphics)VisualElement.GetScaledFont(float)VisualElement.GetScaledFont(float, Font)VisualElement.DefaultSizeVisualElement.ForeColorVisualElement.BackColorVisualElement.FontVisualElement.CustomFontVisualElement.CustomFontSizeVisualElement.CustomFontStyleVisualElement.SmoothingModeVisualElement.OpacityVisualElement.FontChangedRadElement.BoundsPropertyRadElement.BorderThicknessPropertyRadElement.PaddingPropertyRadElement.MarginPropertyRadElement.AlignmentPropertyRadElement.AutoSizeModePropertyRadElement.FitToSizeModePropertyRadElement.MinSizePropertyRadElement.EnabledPropertyRadElement.CanFocusPropertyRadElement.IsItemFocusedPropertyRadElement.IsFocusedPropertyRadElement.IsMouseOverPropertyRadElement.IsMouseOverElementPropertyRadElement.IsMouseDownPropertyRadElement.ShouldPaintPropertyRadElement.VisibilityPropertyRadElement.NamePropertyRadElement.ClassPropertyRadElement.ClipDrawingPropertyRadElement.ShapePropertyRadElement.MouseClickedEventRadElement.MouseDoubleClickedEventRadElement.MouseDownEventRadElement.MouseUpEventRadElement.MouseWheelEventRadElement.ChildElementAddedEventRadElement.ParentChangedEventRadElement.BoundsChangedEventRadElement.VisibilityChangingEventRadElement.EnabledChangedEventRadElement.ControlChangedEventRadElement.BackgroundShapePropertyRadElement.BackgroundShapePaintModePropertyRadElement.ContainsFocusPropertyRadElement.ContainsMousePropertyRadElement.MaxSizePropertyRadElement.RightToLeftPropertyRadElement.AutoSizePropertyRadElement.ZIndexPropertyRadElement.AngleTransformPropertyRadElement.ScaleTransformPropertyRadElement.PositionOffsetPropertyRadElement.TagPropertyRadElement.StretchHorizontallyPropertyRadElement.StretchVerticallyPropertyRadElement.UseCompatibleTextRenderingPropertyRadElement.ClickModePropertyRadElement.styleVersionRadElement.paintSystemSkinRadElement.SetPropertyValueCommandRadElement.GetPropertyValueCommandRadElement.StylePropertyRadElement.CallCreateChildElements()RadElement.SuspendReferenceUpdate()RadElement.ResumeReferenceUpdate()RadElement.CreateChildElements()RadElement.OnLoad(bool)RadElement.LoadCore()RadElement.OnUnload(ComponentThemableElementTree, bool)RadElement.UnloadCore(ComponentThemableElementTree)RadElement.OnUnloaded(ComponentThemableElementTree)RadElement.OnElementTreeChanged(ComponentThemableElementTree)RadElement.OnBeginDispose()RadElement.SetParent(RadElement)RadElement.OnParentChanged(RadElement)RadElement.UpdateReferences(ComponentThemableElementTree, bool, bool)RadElement.ResetLayout(bool)RadElement.HasInvisibleAncestor()RadElement.ResetLayoutCore()RadElement.InvalidateArrange()RadElement.InvalidateArrange(bool)RadElement.InvalidateMeasure()RadElement.InvalidateMeasure(bool)RadElement.UpdateLayout()RadElement.SuspendLayout()RadElement.SuspendLayout(bool)RadElement.ResumeLayout(bool)RadElement.ResumeLayout(bool, bool)RadElement.Arrange(RectangleF)RadElement.Measure(SizeF)RadElement.SetBounds(Rectangle)RadElement.SetBounds(int, int, int, int)RadElement.GetBoundingRectangle(Size)RadElement.GetBoundingRectangle(Rectangle)RadElement.GetDesiredSize(bool)RadElement.PointToScreen(Point)RadElement.PointFromScreen(Point)RadElement.PointToControl(Point)RadElement.PointFromControl(Point)RadElement.LocationToControl()RadElement.RectangleToScreen(Rectangle)RadElement.HitTest(Point)RadElement.OnRenderSizeChanged(SizeChangedInfo)RadElement.OnChildDesiredSizeChanged(RadElement)RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)RadElement.ArrangeCore(RectangleF)RadElement.MeasureCore(SizeF)RadElement.ShouldArrangeChild(RadElement)RadElement.ShouldMeasureChild(RadElement)RadElement.MeasureChildren(SizeF)RadElement.GetArrangeRect(RectangleF)RadElement.CanExecuteLayoutOperation()RadElement.CalcLayoutOffset(PointF)RadElement.LockBounds()RadElement.UnlockBounds()RadElement.SetBoundsCore(Rectangle)RadElement.IsInValidState(bool)RadElement.Invalidate()RadElement.Invalidate(bool)RadElement.GetInvalidateBounds()RadElement.NotifyInvalidate(RadElement)RadElement.OnTransformationInvalidated()RadElement.PerformLayoutTransformation(ref RadMatrix)RadElement.PerformPaintTransformation(ref RadMatrix)RadElement.IsInGetAsBitmap()RadElement.PaintElementSkin(IGraphics)RadElement.PaintBackgroundShape(IGraphics)RadElement.PostPaintChildren(IGraphics, Rectangle, float, SizeF)RadElement.PaintChild(RadElement, IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintShadow(RadElement, IGraphics)RadElement.PaintShadowCore(Graphics, Rectangle, RadItem)RadElement.GetShadowRect(ref Rectangle, int)RadElement.PaintFocusCues(IGraphics, Rectangle)RadElement.GetAsBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Rectangle, Brush, float, SizeF)RadElement.GetAsBitmapEx(Brush, float, SizeF)RadElement.GetAsBitmap(Brush, float, SizeF)RadElement.IsInVisibleClipBounds(Rectangle)RadElement.SetClipping(Graphics)RadElement.ShouldPaintChild(RadElement)RadElement.GetFocusRect()RadElement.GetCurrentShape()RadElement.GetPaintRectangle(float, float, SizeF)RadElement.GetPatchedRect(RectangleF, float, SizeF)RadElement.GetXPVisualStyle()RadElement.GetVistaVisualStyle()RadElement.InitializeSystemSkinPaint()RadElement.UnitializeSystemSkinPaint()RadElement.GetSystemSkinPaintBounds()RadElement.OnUseSystemSkinChanged(EventArgs)RadElement.ShouldPaintSystemSkin()RadElement.ComposeShouldPaintSystemSkin()RadElement.ResetStyleSettings(bool)RadElement.ResetStyleSettings(bool, RadProperty)RadElement.ProcessBehaviors(RadPropertyChangedEventArgs)RadElement.AddBehavior(PropertyChangeBehavior)RadElement.GetBehaviors()RadElement.RemoveBehavior(PropertyChangeBehavior)RadElement.ClearBehaviors()RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection)RadElement.SetThemeApplied(bool)RadElement.OnStyleChanged(RadPropertyChangedEventArgs)RadElement.UnapplyStyle()RadElement.RemoveRangeBehaviors(PropertyChangeBehaviorCollection)RadElement.RemoveBehaviors(PropertyChangeBehavior)RadElement.RemoveRangeRoutedEventBehaviors(RoutedEventBehaviorCollection)RadElement.GetThemeEffectiveType()RadElement.GetChildrenByType(Type)RadElement.GetChildrenByBaseType(Type)RadElement.FindAncestorByThemeEffectiveType(Type)RadElement.FindAncestor<T>()RadElement.IsAncestorOf(RadElement)RadElement.FindDescendant<T>()RadElement.FindDescendant(Predicate<RadElement>)RadElement.FindDescendant(Type)RadElement.EnumDescendants(TreeTraversalMode)RadElement.EnumDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.EnumDescendants(Filter, TreeTraversalMode)RadElement.GetDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.GetDescendants(Filter, TreeTraversalMode)RadElement.GetAncestors(Filter)RadElement.GetAncestors(Predicate<RadElement>)RadElement.RaiseRoutedEvent(RadElement, RoutedEventArgs)RadElement.RaiseTunnelEvent(RadElement, RoutedEventArgs)RadElement.OnBubbleEvent(RadElement, RoutedEventArgs)RadElement.IsEventInProcess(RaisedRoutedEvent)RadElement.RegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, string)RadElement.GetRegisterRoutedEvent(string)RadElement.OnChildrenChanged(RadElement, ItemsChangeOperation)RadElement.GetChildren(ChildrenListOptions)RadElement.SendToBack()RadElement.BringToFront()RadElement.IsChildOf(RadElement)RadElement.Focus()RadElement.Focus(bool)RadElement.SetFocusPropertySafe(bool)RadElement.KillFocus()RadElement.OnCLREventsRise(RoutedEventArgs)RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnLostMouseCapture(MouseEventArgs)RadElement.OnClick(EventArgs)RadElement.PerformClick()RadElement.DoMouseWheel(MouseEventArgs)RadElement.DoClick(EventArgs)RadElement.DoDoubleClick(EventArgs)RadElement.IsInputKey(InputKeyEventArgs)RadElement.MouseEventArgsFromControl(MouseEventArgs)RadElement.DoMouseDown(MouseEventArgs)RadElement.DoMouseUp(MouseEventArgs)RadElement.DoMouseMove(MouseEventArgs)RadElement.ShowScreenTip(ScreenTipNeededEventArgs)RadElement.HideScreenTip()RadElement.DoMouseHover(EventArgs)RadElement.OnShowScreenTip(ComponentInputBehavior)RadElement.RaiseClick(EventArgs)RadElement.RaiseDoubleClick(EventArgs)RadElement.RaiseMouseWheel(MouseEventArgs)RadElement.UpdateContainsFocus(bool)RadElement.DoMouseEnter(EventArgs)RadElement.DoMouseLeave(EventArgs)RadElement.GetValue(RadProperty)RadElement.AddStylePropertySetting(IPropertySetting)RadElement.SetValueCore(RadPropertyValue, object, object, ValueSource)RadElement.NotifyChildren(RadPropertyChangedEventArgs)RadElement.OnLocationChanged(RadPropertyChangedEventArgs)RadElement.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)RadElement.CanRaisePropertyChangeNotifications(RadPropertyValue)RadElement.IsPropertyCancelable(RadPropertyMetadata)RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs)RadElement.PerformDispose(bool)RadElement.DisposeChildren()RadElement.GetStylableChildrenHierarchy()RadElement.GetStylableChildren()RadElement.GetBorderThickness(BorderPrimitive)RadElement.DpiScaleChanged(SizeF)RadElement.ElementStateRadElement.DesiredSizeRadElement.IsLayoutSuspendedRadElement.BoundingRectangleRadElement.ControlBoundingRectangleRadElement.BypassLayoutPoliciesRadElement.IsArrangeValidRadElement.IsMeasureValidRadElement.TreeLevelRadElement.TransformRadElement.TotalTransformRadElement.ShouldPaintUsingParentShapeRadElement.UseSystemSkinRadElement.PropagateStyleToChildrenRadElement.ThemeEffectiveTypeRadElement.ElementTreeRadElement.ChildrenRadElement.ChildrenHierarchyRadElement.ParentRadElement.RoutedEventBehaviorsRadElement.LayoutableChildrenCountRadElement.ContainsFocusRadElement.NotifyParentOnMouseInputRadElement.IsAbleToRespondToMouseEventsRadElement.AutoSizeRadElement.BoundsRadElement.LocationRadElement.SizeRadElement.BorderThicknessRadElement.PaddingRadElement.MarginRadElement.AlignmentRadElement.AutoSizeModeRadElement.FitToSizeModeRadElement.EnabledRadElement.IsFocusedRadElement.IsMouseOverRadElement.IsMouseOverElementRadElement.IsMouseDownRadElement.InvalidateChildrenOnChildChangedRadElement.VisibilityRadElement.IsElementVisibleRadElement.NameRadElement.ClassRadElement.ClipDrawingRadElement.ShapeRadElement.MinSizeRadElement.MaxSizeRadElement.ZIndexRadElement.RightToLeftRadElement.UseCompatibleTextRenderingRadElement.BackgroundShapeRadElement.BackgroundShapePaintModeRadElement.ContainsMouseRadElement.CaptureRadElement.ScaleTransformRadElement.AngleTransformRadElement.PositionOffsetRadElement.SerializePropertiesRadElement.SerializeElementRadElement.SerializeChildrenRadElement.RenderingMaxFramerateRadElement.IsThemeAppliedRadElement.ShouldApplyThemeRadElement.UseCenteredAngleTransformRadElement.TagRadElement.StretchHorizontallyRadElement.StretchVerticallyRadElement.ClickModeRadElement.DoubleClickEnabledRadElement.CaptureOnMouseDownRadElement.IsItemHoveredRadElement.StyleRadElement.AutoToolTipRadElement.ScreenTipRadElement.AutoNumberKeyTipRadElement.DpiScaleFactorRadElement.LayoutUpdatedRadElement.MouseHoverRadElement.MouseMoveRadElement.MouseDownRadElement.MouseUpRadElement.ClickRadElement.DoubleClickRadElement.MouseEnterRadElement.MouseWheelRadElement.EnabledChangedRadElement.MouseLeaveRadElement.ChildrenChangedRadElement.LostMouseCaptureRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing...

Constructors

Initializes a new instance of the BaseMapElement class.

C#
public BaseMapElement()

Fields

Identifies the property that offsets the map image during viewport animations.

C#
public static RadProperty TileOffsetProperty

Identifies the property that scales the map image during viewport animations.

C#
public static RadProperty TileScaleProperty

Properties

Gets or sets the center of the viewport in geo coordinates.

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

The center.

Implements: IMapViewport.Center

Gets or sets the coordinates of the center of the viewport in pixels.

C#
public PointL CenterPixel { get; set; }
Property Value:

The center pixel.

Implements: IMapViewport.CenterPixel

Gets or sets a value indicating whether panning is allowed.

C#
public bool EnablePanning { get; set; }

Gets or sets a value indicating whether zooming is allowed.

C#
public bool EnableZooming { get; set; }

Gets or sets the input behavior that will handle the user input.

C#
public MapInputBehavior InputBehavior { get; set; }
Property Value:

The input behavior.

Gets a value indicating whether an animation is active.

C#
public bool IsAnimationActive { get; }
Property Value:

true if an animation is active; otherwise, false.

Gets a value indicating whether updates are suspended.

C#
public bool IsUpdateSuspended { get; }
Property Value:

true if updates are suspended; otherwise, false.

Gets the layers collection of the map element.

C#
public MapLayerCollection Layers { get; }
Property Value:

The layers.

Gets the number of wraparounds visible in the viewport.

C#
public int NumberOfWraparounds { get; }
Property Value:

The number of wraparounds.

Implements: IMapViewport.NumberOfWraparounds

Gets or sets the current pan offset of the viewport in pixels.

C#
public SizeL PanOffset { get; set; }
Property Value:

The pan offset.

Implements: IMapViewport.PanOffset

Gets the providers collection of the map element.

C#
public MapProviderCollection Providers { get; }
Property Value:

The providers.

Gets a collection of the selected elements.

C#
public List<MapVisualElement> SelectedElements { get; }
Property Value:

The selected elements.

Gets or sets the tile offset. This property is used for animations of the viewport.

C#
public SizeF TileOffset { get; set; }
Property Value:

The tile offset.

Gets or sets the tile scale. This property is used for animations of the viewport.

C#
public SizeF TileScale { get; set; }
Property Value:

The tile scale.

Gets or sets the currently visible viewport in geo coordinates.

C#
public RectangleG Viewport { get; set; }
Property Value:

The viewport.

Implements: IMapViewport.Viewport

Gets or sets the viewport in pixels.

C#
public RectangleL ViewportInPixels { get; set; }
Property Value:

The viewport in pixels.

Implements: IMapViewport.ViewportInPixels

Gets or sets a value indicating whether wraparound is enabled.

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

true if wraparound is enabled; otherwise, false.

Implements: IMapViewport.Wraparound

Gets or sets the current zoom level.

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

The zoom level.

Implements: IMapViewport.ZoomLevel

Methods

Updates the viewport after the element has been arranged to its final size.

C#
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters:finalSizeSizeFReturns:

SizeF

Overrides: LightVisualElement.ArrangeOverride(SizeF)

Suspends updates.

C#
public void BeginUpdate()

Brings the specified geo point into the center of the viewport and zooms the viewport to the specified zoom level.

C#
public virtual void BringIntoView(PointG location, int zoomLevel)
Parameters:locationPointG

The location.

zoomLevelint

The zoom level.

Brings the specified geo point into the center of the viewport.

C#
public virtual void BringIntoView(PointG location)
Parameters:locationPointG

The location.

Calculates the best zoom level that will fit the specified rectangle and centers it in the viewport.

C#
public virtual void BringIntoView(RectangleG rectangle)
Parameters:rectangleRectangleG

The rectangle.

Calculates the pixel and geographic viewport from the final element size and raises a full viewport-change notification.

C#
protected virtual void CalculateViewport(SizeF finalSize)
Parameters:finalSizeSizeF

The final arranged size of the map element.

Configures the graphics settings for optimal tile rendering based on the tile provider's requirements.

C#
protected virtual void ConfigureTileProviderGraphics(Graphics graphics, IMapTileProvider tileProvider)
Parameters:graphicsGraphics

The GDI+ graphics object to configure.

tileProviderIMapTileProvider

The tile provider that determines the transparency rendering mode.

Releases the input behavior owned by this map element.

C#
protected override void DisposeManagedResources()

Overrides: LightVisualElement.DisposeManagedResources()

Resumes updates and performs an update.

C#
public void EndUpdate()

Resumes updates and performs an update if specified by the update parameter.

C#
public void EndUpdate(bool update)
Parameters:updatebool

if set to true an update is performed.

Enables painting and input handling, initializes viewport animation state, and creates the layer collection.

C#
protected override void InitializeFields()

Overrides: LightVisualElement.InitializeFields()

Forwards double-click input to the configured InputBehavior after base processing.

C#
protected override void OnDoubleClick(EventArgs e)
Parameters:eEventArgs

Overrides: RadElement.OnDoubleClick(EventArgs)

Forwards gesture input to the configured InputBehavior after base processing.

C#
protected override void OnGesture(GestureEventArgs args)
Parameters:argsGestureEventArgs

Overrides: RadItem.OnGesture(GestureEventArgs)

Forwards key-down input to the configured InputBehavior after base processing.

C#
protected override void OnKeyDown(KeyEventArgs e)
Parameters:eKeyEventArgs

Overrides: RadItem.OnKeyDown(KeyEventArgs)

Forwards key-press input to the configured InputBehavior after base processing.

C#
protected override void OnKeyPress(KeyPressEventArgs e)
Parameters:eKeyPressEventArgs

Overrides: RadItem.OnKeyPress(KeyPressEventArgs)

Forwards key-up input to the configured InputBehavior after base processing.

C#
protected override void OnKeyUp(KeyEventArgs e)
Parameters:eKeyEventArgs

Overrides: RadItem.OnKeyUp(KeyEventArgs)

Forwards mouse-down input to the configured InputBehavior after base processing.

C#
protected override void OnMouseDown(MouseEventArgs e)
Parameters:eMouseEventArgs

Overrides: RadItem.OnMouseDown(MouseEventArgs)

Forwards mouse-enter input to the configured InputBehavior after base processing.

C#
protected override void OnMouseEnter(EventArgs e)
Parameters:eEventArgs

Overrides: RadElement.OnMouseEnter(EventArgs)

Forwards mouse-hover input to the configured InputBehavior after base processing.

C#
protected override void OnMouseHover(EventArgs e)
Parameters:eEventArgs

Overrides: RadElement.OnMouseHover(EventArgs)

Forwards mouse-leave input to the configured InputBehavior after base processing.

C#
protected override void OnMouseLeave(EventArgs e)
Parameters:eEventArgs

Overrides: RadItem.OnMouseLeave(EventArgs)

Forwards mouse-move input to the configured InputBehavior after base processing.

C#
protected override void OnMouseMove(MouseEventArgs e)
Parameters:eMouseEventArgs

Overrides: LightVisualElement.OnMouseMove(MouseEventArgs)

Forwards mouse-up input to the configured InputBehavior after base processing.

C#
protected override void OnMouseUp(MouseEventArgs e)
Parameters:eMouseEventArgs

Overrides: RadItem.OnMouseUp(MouseEventArgs)

Forwards mouse-wheel input to the configured InputBehavior after base processing.

C#
protected override void OnMouseWheel(MouseEventArgs e)
Parameters:eMouseEventArgs

Overrides: RadElement.OnMouseWheel(MouseEventArgs)

Forwards pan-gesture input to the configured InputBehavior after base processing.

C#
protected override void OnPanGesture(PanGestureEventArgs args)
Parameters:argsPanGestureEventArgs

Overrides: RadItem.OnPanGesture(PanGestureEventArgs)

Forwards press-and-tap input to the configured InputBehavior after base processing.

C#
protected override void OnPressAndTapGesture(PressAndTapGestureEventArgs args)
Parameters:argsPressAndTapGestureEventArgs

Overrides: RadItem.OnPressAndTapGesture(PressAndTapGestureEventArgs)

Recalculates the pan offset and viewport when the element's bounds change.

C#
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters:eRadPropertyChangedEventArgs

Overrides: LightVisualElement.OnPropertyChanged(RadPropertyChangedEventArgs)

Called when a map provider is initialized.

C#
public virtual void OnProviderInitializationComplete(IMapProvider mapProvider)
Parameters:mapProviderIMapProvider

The map provider.

Called when a provider updated occurs.

C#
public virtual void OnProviderUpdated(IMapProvider mapProvider)
Parameters:mapProviderIMapProvider

The map provider that was updated.

Forwards rotate-gesture input to the configured InputBehavior after base processing.

C#
protected override void OnRotateGesture(RotateGestureEventArgs args)
Parameters:argsRotateGestureEventArgs

Overrides: RadItem.OnRotateGesture(RotateGestureEventArgs)

Called when a zoom animation finishes.

C#
protected virtual void OnScaleAnimationFinished(object sender, AnimationStatusEventArgs e)
Parameters:senderobject

The sender.

eAnimationStatusEventArgs

The AnimationStatusEventArgs instance containing the event data.

Fires the event.

C#
protected virtual void OnSelectionChanged(MapSelectionChangedEventArgs e)
Parameters:eMapSelectionChangedEventArgs

The MapSelectionChangedEventArgs instance containing the event data.

Forwards two-finger-tap input to the configured InputBehavior after base processing.

C#
protected override void OnTwoFingerTapGesture(GestureEventArgs args)
Parameters:argsGestureEventArgs

Overrides: RadItem.OnTwoFingerTapGesture(GestureEventArgs)

Called after the viewport changes.

C#
protected virtual void OnViewportChanged(ViewportChangeAction action)
Parameters:actionViewportChangeAction

The change action.

Fires the event.

C#
protected virtual void OnViewportChanged(ViewportChangedEventArgs e)
Parameters:eViewportChangedEventArgs

The ViewportChangedEventArgs instance containing the event data.

Forwards zoom-gesture input to the configured InputBehavior after base processing.

C#
protected override void OnZoomGesture(ZoomGestureEventArgs args)
Parameters:argsZoomGestureEventArgs

Overrides: RadItem.OnZoomGesture(ZoomGestureEventArgs)

Performs base element painting before drawing the map image, provider content, and layers.

C#
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters:graphicsIGraphicsanglefloatscaleSizeF

Overrides: LightVisualElement.PaintElement(IGraphics, float, SizeF)

Paints the element, the providers content and the layers.

C#
protected virtual void PaintElement(IGraphics graphics)
Parameters:graphicsIGraphics

The graphics.

Paints the content of the layers.

C#
protected virtual void PaintLayers(IGraphics graphics)
Parameters:graphicsIGraphics

The graphics.

Paints the content of the providers.

C#
protected virtual void PaintProvidersContent(IGraphics graphics)
Parameters:graphicsIGraphics

The graphics.

Paints the zoom image whild a zoom animation is ongoing.

C#
protected virtual void PaintZoomImage(IGraphics graphics)
Parameters:graphicsIGraphics

The graphics.

Pans the viewport to the specified x and y coordinates.

C#
public virtual void Pan(long x, long y)
Parameters:xlong

The x coordinate.

ylong

The y coordinate.

Pans the viewport with the specified delta.

C#
public virtual void Pan(SizeL delta)
Parameters:deltaSizeL

The delta.

Reapplies the current pan offset using the map-size and viewport constraints.

C#
protected virtual void UpdatePanOffset()

Applies a pixel pan offset, wrapping it horizontally and keeping the viewport within the map's vertical extent.

C#
protected virtual void UpdatePanOffset(long x, long y)
Parameters:xlong

The horizontal pan offset in pixels.

ylong

The vertical pan offset in pixels.

Recalculates the pixel and geographic viewport bounds and, when wrapping is enabled, the visible world-copy count.

C#
protected virtual void UpdateViewport()

Zooms the viewport to the specified zoom level.

C#
public virtual void Zoom(int zoomLevel, bool animate, Point center)
Parameters:zoomLevelint

The zoom level.

animatebool

if set to true the zoom will be animated.

centerPoint

The point in the viewport around where the zoom should be performed.

Zooms the viewport to the specified zoom level.

C#
public virtual void Zoom(int zoomLevel, bool animate)
Parameters:zoomLevelint

The zoom level.

animatebool

if set to true the zoom will be animated.

Zooms the viewport to the specified zoom level.

C#
public virtual void Zoom(int zoomLevel)
Parameters:zoomLevelint

The zoom level.

Events

Occurs when the selection changed.

C#
public event EventHandler<MapSelectionChangedEventArgs> SelectionChanged

Occurs when the viewport changed.

C#
public event EventHandler<ViewportChangedEventArgs> ViewportChanged
In this article
DefinitionConstructorsBaseMapElement()FieldsTileOffsetPropertyTileScalePropertyPropertiesCenterCenterPixelEnablePanningEnableZoomingInputBehaviorIsAnimationActiveIsUpdateSuspendedLayersNumberOfWraparoundsPanOffsetProvidersSelectedElementsTileOffsetTileScaleViewportViewportInPixelsWraparoundZoomLevelMethodsArrangeOverride(SizeF)BeginUpdate()BringIntoView(PointG, int)BringIntoView(PointG)BringIntoView(RectangleG)CalculateViewport(SizeF)ConfigureTileProviderGraphics(Graphics, IMapTileProvider)DisposeManagedResources()EndUpdate()EndUpdate(bool)InitializeFields()OnDoubleClick(EventArgs)OnGesture(GestureEventArgs)OnKeyDown(KeyEventArgs)OnKeyPress(KeyPressEventArgs)OnKeyUp(KeyEventArgs)OnMouseDown(MouseEventArgs)OnMouseEnter(EventArgs)OnMouseHover(EventArgs)OnMouseLeave(EventArgs)OnMouseMove(MouseEventArgs)OnMouseUp(MouseEventArgs)OnMouseWheel(MouseEventArgs)OnPanGesture(PanGestureEventArgs)OnPressAndTapGesture(PressAndTapGestureEventArgs)OnPropertyChanged(RadPropertyChangedEventArgs)OnProviderInitializationComplete(IMapProvider)OnProviderUpdated(IMapProvider)OnRotateGesture(RotateGestureEventArgs)OnScaleAnimationFinished(object, AnimationStatusEventArgs)OnSelectionChanged(MapSelectionChangedEventArgs)OnTwoFingerTapGesture(GestureEventArgs)OnViewportChanged(ViewportChangeAction)OnViewportChanged(ViewportChangedEventArgs)OnZoomGesture(ZoomGestureEventArgs)PaintElement(IGraphics, float, SizeF)PaintElement(IGraphics)PaintLayers(IGraphics)PaintProvidersContent(IGraphics)PaintZoomImage(IGraphics)Pan(long, long)Pan(SizeL)UpdatePanOffset()UpdatePanOffset(long, long)UpdateViewport()Zoom(int, bool, Point)Zoom(int, bool)Zoom(int)EventsSelectionChangedViewportChanged
Not finding the help you need?
Contact Support