MapNavigationElement
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
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
Called by the element when constructed. Allows inheritors to build the element tree.
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.
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
protected override void InitializeFields()
Overrides:
Measures the desired size of the element by calculating the space needed for content, padding, and borders.