MapNavigationElement
Displays four directional buttons that pan the map viewport.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadMap.dll
Syntax:
public class MapNavigationElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementMapNavigationElement...
Implements:
Inherited Members
Constructors
Initializes a new instance of the MapNavigationElement class.
public MapNavigationElement(MapNavigationBarElement navigationBarElement)
The navigation bar element.
Properties
Gets the map element.
public RadMapElement MapElement { get; }
The map element.
Gets the navigate east button.
public MapNavigationButton NavigateEastButton { get; }
The navigate east button.
Gets the navigate north button.
public MapNavigationButton NavigateNorthButton { get; }
The navigate north button.
Gets the navigate south button.
public MapNavigationButton NavigateSouthButton { get; }
The navigate south button.
Gets the navigate west button.
public MapNavigationButton NavigateWestButton { get; }
The navigate west button.
Gets the navigation bar element.
public MapNavigationBarElement NavigationBarElement { get; }
The navigation bar element.
Gets or sets the navigation delta. This is the value in pixels by which each navigation button pans the viewport.
public long NavigationDelta { get; set; }
The navigation delta.
Methods
Creates and adds the four directional navigation buttons.
protected override void CreateChildElements()
Overrides:
Creates a navigate east button.
protected virtual MapNavigationButton CreateNavigateEastButton()
MapNavigationButton.
Creates a navigate north button.
protected virtual MapNavigationButton CreateNavigateNorthButton()
MapNavigationButton.
Creates a navigate south button.
protected virtual MapNavigationButton CreateNavigateSouthButton()
MapNavigationButton.
Creates a navigate west button.
protected virtual MapNavigationButton CreateNavigateWestButton()
MapNavigationButton.
Sets the default pan distance and makes the navigation element non-focusable.
protected override void InitializeFields()
Overrides: