MapCommandBar
Command bar which sends commands to the RadMap control.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class MapCommandBar : MapBaseControl, ILayer
Inheritance: objectMapBaseControlMapCommandBar
Implements:
Inherited Members
Constructors
Initializes a new instance of the MapCommandBar class.
public MapCommandBar()
Fields
MapSourceButtonTemplateProperty
DependencyProperty
Identifies the MapSourceButtonTemplate dependency property.
public static readonly DependencyProperty MapSourceButtonTemplateProperty
MapSwitchModeButtonTemplateProperty
DependencyProperty
Identifies the MapSwitchModeButtonTemplate dependency property.
public static readonly DependencyProperty MapSwitchModeButtonTemplateProperty
Properties
DefaultChangeModeButtonTemplate
DataTemplate
Gets default change mode button's data template depends on the theme set for RadMap control.
public DataTemplate DefaultChangeModeButtonTemplate { get; }
DefaultChangeSourceButtonTemplate
DataTemplate
Gets default change source button's data template depends on the theme set for RadMap control.
public DataTemplate DefaultChangeSourceButtonTemplate { get; }
MapSourceButtonTemplate
DataTemplate
Gets or sets the Source Button data template.
public DataTemplate MapSourceButtonTemplate { get; set; }
MapSwitchModeButtonTemplate
DataTemplate
Gets or sets the Switch Mode Button data template.
public DataTemplate MapSwitchModeButtonTemplate { get; set; }
Methods
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Method is called when the Mouse Left Button is down.
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Event arguments.
Method is called when the Mouse Left Button is up.
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Event arguments.
Refresh command buttons regardless whether map provider has been changed or not.
public void Refresh()
Toggles the visibility of the command bar control.
public void ToggleVisibility()