Class
MapCommandBar

Command bar which sends commands to the RadMap control.

Definition

Constructors

MapCommandBar()

Declaration

cs-api-definition
public MapCommandBar()

Fields

MapSourceButtonTemplateProperty

Identifies the MapSourceButtonTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MapSourceButtonTemplateProperty

Field Value

DependencyProperty

MapSwitchModeButtonTemplateProperty

Identifies the MapSwitchModeButtonTemplate dependency property.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public DataTemplate DefaultChangeSourceButtonTemplate { get; }

Property Value

DataTemplate

MapSourceButtonTemplate

Gets or sets the Source Button data template.

Declaration

cs-api-definition
public DataTemplate MapSourceButtonTemplate { get; set; }

Property Value

DataTemplate

MapSwitchModeButtonTemplate

Gets or sets the Switch Mode Button data template.

Declaration

cs-api-definition
public DataTemplate MapSwitchModeButtonTemplate { get; set; }

Property Value

DataTemplate

Methods

OnMapInitialize(RadMap, RadMap)

Method is called when the map is initialized.

Declaration

cs-api-definition
protected override void OnMapInitialize(RadMap oldMapControl, RadMap newMapControl)

Parameters

oldMapControl

RadMap

newMapControl

RadMap

Overrides MapBaseControl.OnMapInitialize(RadMap, RadMap)

Refresh()

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

Declaration

cs-api-definition
public void Refresh()

ToggleVisibility()

Toggles the visibility of the command bar control.

Declaration

cs-api-definition
public void ToggleVisibility()