ClassMapNavigationElement
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
MapNavigationElement(MapNavigationBarElement)
Initializes a new instance of the MapNavigationElement class.
Declaration
public MapNavigationElement(MapNavigationBarElement navigationBarElement)
Parameters
navigationBarElement
The navigation bar element.
Properties
MapElement
Gets the map element.
Declaration
public RadMapElement MapElement { get; }
Property Value
The map element.
NavigateEastButton
Gets the navigate east button.
Declaration
public MapNavigationButton NavigateEastButton { get; }
Property Value
The navigate east button.
NavigateNorthButton
Gets the navigate north button.
Declaration
public MapNavigationButton NavigateNorthButton { get; }
Property Value
The navigate north button.
NavigateSouthButton
Gets the navigate south button.
Declaration
public MapNavigationButton NavigateSouthButton { get; }
Property Value
The navigate south button.
NavigateWestButton
Gets the navigate west button.
Declaration
public MapNavigationButton NavigateWestButton { get; }
Property Value
The navigate west button.
NavigationBarElement
Gets the navigation bar element.
Declaration
public MapNavigationBarElement NavigationBarElement { get; }
Property Value
The navigation bar element.
NavigationDelta
Gets or sets the navigation delta. This is the value in pixels by which each navigation button pans the viewport.
Declaration
public long NavigationDelta { get; set; }
Property Value
The navigation delta.
Methods
ArrangeOverride(SizeF)
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateNavigateEastButton()
Creates a navigate east button.
Declaration
protected virtual MapNavigationButton CreateNavigateEastButton()
Returns
MapNavigationButton.
CreateNavigateNorthButton()
Creates a navigate north button.
Declaration
protected virtual MapNavigationButton CreateNavigateNorthButton()
Returns
MapNavigationButton.
CreateNavigateSouthButton()
Creates a navigate south button.
Declaration
protected virtual MapNavigationButton CreateNavigateSouthButton()
Returns
MapNavigationButton.
CreateNavigateWestButton()
Creates a navigate west button.
Declaration
protected virtual MapNavigationButton CreateNavigateWestButton()
Returns
MapNavigationButton.
InitializeFields()
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
OnNavigateEastClick(object, EventArgs)
Handles the event.
OnNavigateNorthClick(object, EventArgs)
Handles the event.
OnNavigateSouthClick(object, EventArgs)
Handles the event.
OnNavigateWestClick(object, EventArgs)
Handles the event.