New to Telerik UI for WPFStart a free 30-day trial

Command bar which sends commands to the RadMap control.

Definition

Constructors

Initializes a new instance of the MapCommandBar class.

C#
public MapCommandBar()

Fields

Identifies the MapSourceButtonTemplate dependency property.

C#
public static readonly DependencyProperty MapSourceButtonTemplateProperty

Identifies the MapSwitchModeButtonTemplate dependency property.

C#
public static readonly DependencyProperty MapSwitchModeButtonTemplateProperty

Properties

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

C#
public DataTemplate DefaultChangeModeButtonTemplate { get; }

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

C#
public DataTemplate DefaultChangeSourceButtonTemplate { get; }

Gets or sets the Source Button data template.

C#
public DataTemplate MapSourceButtonTemplate { get; set; }

Gets or sets the Switch Mode Button data template.

C#
public DataTemplate MapSwitchModeButtonTemplate { get; set; }

Methods

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Method is called when the map is initialized.

C#
protected override void OnMapInitialize(RadMap oldMapControl, RadMap newMapControl)
Parameters:oldMapControlRadMapnewMapControlRadMap

Overrides: MapBaseControl.OnMapInitialize(RadMap, RadMap)

Method is called when the Mouse Left Button is down.

C#
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters:eMouseButtonEventArgs

Event arguments.

Method is called when the Mouse Left Button is up.

C#
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters:eMouseButtonEventArgs

Event arguments.

Refresh command buttons regardless whether map provider has been changed or not.

C#
public void Refresh()

Toggles the visibility of the command bar control.

C#
public void ToggleVisibility()