ClassMapCommandBar
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
MapCommandBar()
Initializes a new instance of the MapCommandBar class.
Declaration
public MapCommandBar()
Fields
MapSourceButtonTemplateProperty
Identifies the MapSourceButtonTemplate dependency property.
Declaration
public static readonly DependencyProperty MapSourceButtonTemplateProperty
Field Value
DependencyProperty
MapSwitchModeButtonTemplateProperty
Identifies the MapSwitchModeButtonTemplate dependency property.
Declaration
public static readonly DependencyProperty MapSwitchModeButtonTemplateProperty
Field Value
DependencyProperty
Properties
DefaultChangeModeButtonTemplate
Gets default change mode button's data template depends on the theme set for RadMap control.
Declaration
public DataTemplate DefaultChangeModeButtonTemplate { get; }
Property Value
DataTemplate
DefaultChangeSourceButtonTemplate
Gets default change source button's data template depends on the theme set for RadMap control.
Declaration
public DataTemplate DefaultChangeSourceButtonTemplate { get; }
Property Value
DataTemplate
MapSourceButtonTemplate
Gets or sets the Source Button data template.
Declaration
public DataTemplate MapSourceButtonTemplate { get; set; }
Property Value
DataTemplate
MapSwitchModeButtonTemplate
Gets or sets the Switch Mode Button data template.
Declaration
public DataTemplate MapSwitchModeButtonTemplate { get; set; }
Property Value
DataTemplate
Methods
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
OnMapInitialize(RadMap, RadMap)
Method is called when the map is initialized.
OnMouseLeftButtonDown(MouseButtonEventArgs)
Method is called when the Mouse Left Button is down.
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs
Event arguments.
OnMouseLeftButtonUp(MouseButtonEventArgs)
Method is called when the Mouse Left Button is up.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs
Event arguments.
Refresh()
Refresh command buttons regardless whether map provider has been changed or not.
Declaration
public void Refresh()
ToggleVisibility()
Toggles the visibility of the command bar control.
Declaration
public void ToggleVisibility()