Class MapCommandBar
Command bar which sends commands to the RadMap control.
Inherited Members
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class MapCommandBar : MapBaseControl, ILayer
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
System.
|
MapSwitchModeButtonTemplateProperty
Identifies the MapSwitchModeButtonTemplate dependency property.
Declaration
public static readonly DependencyProperty MapSwitchModeButtonTemplateProperty
Field Value
System.
|
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
System.
|
DefaultChangeSourceButtonTemplate
Gets default change source button's data template depends on the theme set for RadMap control.
Declaration
public DataTemplate DefaultChangeSourceButtonTemplate { get; }
Property Value
System.
|
MapSourceButtonTemplate
Gets or sets the Source Button data template.
Declaration
public DataTemplate MapSourceButtonTemplate { get; set; }
Property Value
System.
|
MapSwitchModeButtonTemplate
Gets or sets the Switch Mode Button data template.
Declaration
public DataTemplate MapSwitchModeButtonTemplate { get; set; }
Property Value
System.
|
Methods
OnInitialized(EventArgs)
Raises the System.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |
OnMapInitialize(RadMap, RadMap)
Method is called when the map is initialized.
Declaration
protected override void OnMapInitialize(RadMap oldMapControl, RadMap newMapControl)
Parameters
Overrides
OnMouseLeftButtonDown(MouseButtonEventArgs)
Method is called when the Mouse Left Button is down.
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
System. Event arguments. |
OnMouseLeftButtonUp(MouseButtonEventArgs)
Method is called when the Mouse Left Button is up.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
System. 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()