skip navigation
  • Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue 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 Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    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 MapZoomBar

Map zoom control.

Inheritance
System.Object
MapBaseControl
MapZoomBar
Inherited Members
MapBaseControl.MapControlProperty
MapBaseControl.MultiscaleImage_MotionFinished(Object, RoutedEventArgs)
MapBaseControl.MultiscaleImage_ViewportChanged(Object, RoutedEventArgs)
MapBaseControl.MapControl
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll

Syntax

public class MapZoomBar : MapBaseControl, ILayer, ISupportInitialize

Constructors

MapZoomBar()

Initializes a new instance of the MapZoomBar class.

Declaration
public MapZoomBar()

Fields

DropDownHeightProperty

Identifies the DropDownHeight DropDownHeight dependency property.

Declaration
public static readonly DependencyProperty DropDownHeightProperty
Field Value
System.Windows.DependencyProperty

ZoomLevelButtonTemplateProperty

Identifies the ZoomLevelButtonTemplate dependency property.

Declaration
public static readonly DependencyProperty ZoomLevelButtonTemplateProperty
Field Value
System.Windows.DependencyProperty

Properties

Commands

Gets collection of the zoom commands.

Declaration
public ObservableCollection<CommandDescription> Commands { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<CommandDescription>

DefaultZoomButtonTemplate

Gets default zoom level button's data template depends on the theme set for RadMap control.

Declaration
public DataTemplate DefaultZoomButtonTemplate { get; }
Property Value
System.Windows.DataTemplate

DropDownHeight

Gets or sets height of the drop down.

Declaration
public double DropDownHeight { get; set; }
Property Value
System.Double

ZoomLevelButtonTemplate

Gets or sets the ZoomLevel Button data template.

Declaration
public DataTemplate ZoomLevelButtonTemplate { get; set; }
Property Value
System.Windows.DataTemplate

Methods

BeginInit()

Start control initialization.

Declaration
public void BeginInit()

EndInit()

End control initialization.

Declaration
public void EndInit()

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate.

Declaration
public override void OnApplyTemplate()
Overrides
MapBaseControl.OnApplyTemplate()

OnMapInitialize(RadMap, RadMap)

Called when map control should be initialized (either on initial load or if the RadMap control owner is changed).

Declaration
protected override void OnMapInitialize(RadMap oldMapControl, RadMap newMapControl)
Parameters
RadMap oldMapControl

The old RadMap control owner.

RadMap newMapControl

The new RadMap control owner.

Overrides
MapBaseControl.OnMapInitialize(RadMap, RadMap)

OnMouseLeftButtonDown(MouseButtonEventArgs)

Method is called when the Mouse Left Button is down.

Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs e

Event arguments.

OnMouseLeftButtonUp(MouseButtonEventArgs)

Method is called when the Mouse Left Button is up.

Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs e

Event arguments.

RegisterSetZoomLevelCommand(Int32, String, DataTemplate, Uri)

Register new set zoom level command.

Declaration
public void RegisterSetZoomLevelCommand(int zoomLevel, string text, DataTemplate dataTemplate, Uri imageUri)
Parameters
System.Int32 zoomLevel

Zoom level.

System.String text

Command text.

System.Windows.DataTemplate dataTemplate

Data template for command representation.

System.Uri imageUri

URI of the image is used in the map source button data template.

ToggleVisibility()

Toggles the visibility of the zoom bar control.

Declaration
public void ToggleVisibility()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML 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.