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.Windows.DependencyProperty
|
MapSwitchModeButtonTemplateProperty
Identifies the MapSwitchModeButtonTemplate dependency property.
Declaration
public static readonly DependencyProperty MapSwitchModeButtonTemplateProperty
Field Value
System.Windows.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
System.Windows.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
System.Windows.DataTemplate
|
MapSourceButtonTemplate
Gets or sets the Source Button data template.
Declaration
public DataTemplate MapSourceButtonTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
MapSwitchModeButtonTemplate
Gets or sets the Switch Mode Button data template.
Declaration
public DataTemplate MapSwitchModeButtonTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
Methods
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
OnMapInitialize(RadMap, RadMap)
Method is called when the map is initialized.
Declaration
protected override void OnMapInitialize(RadMap oldMapControl, RadMap newMapControl)
Parameters
RadMap
oldMapControl
|
RadMap
newMapControl
|
Overrides
OnMouseLeftButtonDown(MouseButtonEventArgs)
Method is called when the Mouse Left Button is down.
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs
e
Event arguments. |
OnMouseLeftButtonUp(MouseButtonEventArgs)
Method is called when the Mouse Left Button is up.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs
e
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()