Class RadTreeMapBase
Base class for all TreeMap controls.
Inheritance
Namespace: Telerik.Windows.Controls.TreeMap
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public abstract class RadTreeMapBase : Control, ISupportInitialize
Fields
DataMappingSelectorProperty
Identifies the DataMappingSelector dependency property.
Declaration
public static readonly DependencyProperty DataMappingSelectorProperty
Field Value
System.Windows.DependencyProperty
|
DataViewProperty
Identifies the DataView dependency property.
Declaration
public static readonly DependencyProperty DataViewProperty
Field Value
System.Windows.DependencyProperty
|
IsHoverEnabledProperty
Identifies the IsHoverEnabled dependency property.
Declaration
public static readonly DependencyProperty IsHoverEnabledProperty
Field Value
System.Windows.DependencyProperty
|
IsSelectionEnabledProperty
Identifies the IsSelectionEnabled dependency property.
Declaration
public static readonly DependencyProperty IsSelectionEnabledProperty
Field Value
System.Windows.DependencyProperty
|
ItemsSourceProperty
Identifies the ItemsSource dependency property.
Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
System.Windows.DependencyProperty
|
ItemTemplateSelectorProperty
Identifies the ItemTemplateSelector dependency property.
Declaration
public static readonly DependencyProperty ItemTemplateSelectorProperty
Field Value
System.Windows.DependencyProperty
|
LayoutStrategiesProperty
Identifies the LayoutStrategies dependency property.
Declaration
public static readonly DependencyProperty LayoutStrategiesProperty
Field Value
System.Windows.DependencyProperty
|
LayoutStrategyProperty
Identifies the LayoutStrategy dependency property.
Declaration
public static readonly DependencyProperty LayoutStrategyProperty
Field Value
System.Windows.DependencyProperty
|
MappingsProperty
Identifies the Mappings dependency property.
Declaration
public static readonly DependencyProperty MappingsProperty
Field Value
System.Windows.DependencyProperty
|
PreviewSelectionChangedEvent
Identifies the PreviewSelectionChanged routed event.
Declaration
public static readonly RoutedEvent PreviewSelectionChangedEvent
Field Value
RoutedEvent
|
SelectedItemProperty
Identifies the SelectedItem dependency property.
Declaration
public static readonly DependencyProperty SelectedItemProperty
Field Value
System.Windows.DependencyProperty
|
SelectedItemsProperty
Identifies the SelectedItems dependency property.
Declaration
public static readonly DependencyProperty SelectedItemsProperty
Field Value
System.Windows.DependencyProperty
|
SelectedValuePathProperty
Identifies the SelectedValuePath dependency property.
Declaration
public static readonly DependencyProperty SelectedValuePathProperty
Field Value
System.Windows.DependencyProperty
|
SelectedValueProperty
Identifies the SelectedValue dependency property.
Declaration
public static readonly DependencyProperty SelectedValueProperty
Field Value
System.Windows.DependencyProperty
|
SelectionChangedEvent
Identifies the SelectionChanged routed event.
Declaration
public static readonly RoutedEvent SelectionChangedEvent
Field Value
RoutedEvent
|
SelectionModeProperty
Identifies the SelectionMode dependency property.
Declaration
public static readonly DependencyProperty SelectionModeProperty
Field Value
System.Windows.DependencyProperty
|
Properties
DataMappingSelector
This property supports the RadTreeMapBase infrastructure and is not intended to be used directly from your code.
Declaration
public DataMappingSelector DataMappingSelector { get; protected set; }
Property Value
DataMappingSelector
|
DataView
This property supports the RadTreeMapBase infrastructure and is not intended to be used directly from your code.
Declaration
public IEnumerable DataView { get; }
Property Value
System.Collections.IEnumerable
|
IsHoverEnabled
Gets or sets a value indicating if hover is enabled.
Declaration
public bool IsHoverEnabled { get; set; }
Property Value
System.Boolean
The is hover enabled. |
IsInitialized
Gets a value that indicates whether this element has been initialized, either during processing by a XAML processor, or by explicitly having its EndInit() method called.
Declaration
public bool IsInitialized { get; }
Property Value
System.Boolean
If this instance is initialized |
IsSelectionEnabled
Gets or sets a value indicating if selection is enabled.
Declaration
public bool IsSelectionEnabled { get; set; }
Property Value
System.Boolean
The is selection enabled. |
ItemsSource
Gets or sets the items source.
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
System.Collections.IEnumerable
The items source. |
ItemTemplateSelector
Gets or sets the custom logic for choosing a template used to display each item. This is a dependency property.
Declaration
public DataTemplateSelector ItemTemplateSelector { get; set; }
Property Value
DataTemplateSelector
A custom System.Windows.Controls.DataTemplateSelector object that provides logic and returns a System.Windows.DataTemplate. The default is null. |
LayoutStrategies
This property supports the RadTreeMapBase infrastructure and is not intended to be used directly from your code.
Declaration
public IEnumerable<LayoutStrategyBase> LayoutStrategies { get; }
Property Value
System.Collections.Generic.IEnumerable<LayoutStrategyBase>
|
LayoutStrategy
Gets or sets the layout strategy.
Declaration
public LayoutStrategyBase LayoutStrategy { get; set; }
Property Value
LayoutStrategyBase
The layout strategy. |
Mappings
This property supports the RadTreeMapBase infrastructure and is not intended to be used directly from your code.
Declaration
public IEnumerable<ObjectMappingBase> Mappings { get; }
Property Value
System.Collections.Generic.IEnumerable<ObjectMappingBase>
|
SelectedItem
Gets the selected item.
Declaration
public object SelectedItem { get; }
Property Value
System.Object
The selected item. |
SelectedItems
Gets the selected items.
Declaration
public IList SelectedItems { get; }
Property Value
System.Collections.IList
The selected items. |
SelectedValue
Gets or sets the value of the SelectedItem, obtained by using SelectedValuePath.
Declaration
public object SelectedValue { get; set; }
Property Value
System.Object
The selected value. |
SelectedValuePath
Gets or sets the path that is used to get the SelectedValue from the SelectedItem.
Declaration
public string SelectedValuePath { get; set; }
Property Value
System.String
The selected value path. |
SelectionMode
Gets or sets a value defining the selection mode.
Declaration
public SelectionMode SelectionMode { get; set; }
Property Value
System.Windows.Controls.SelectionMode
The selection mode. |
Methods
add_PreviewSelectionChanged(SelectionChangedRoutedEventHandler)
Declaration
public void add_PreviewSelectionChanged(SelectionChangedRoutedEventHandler value)
Parameters
SelectionChangedRoutedEventHandler
value
|
add_SelectionChanged(SelectionChangedRoutedEventHandler)
Declaration
public void add_SelectionChanged(SelectionChangedRoutedEventHandler value)
Parameters
SelectionChangedRoutedEventHandler
value
|
BeginInit()
Starts the initialization process for this element.
Declaration
public virtual void BeginInit()
ClearSelection()
EndInit()
Indicates that the initialization process for the element is complete.
Declaration
public virtual void EndInit()
Exceptions
System.InvalidOperationException
System.Windows.FrameworkElement.EndInit was called without System.Windows.FrameworkElement.BeginInit having previously been called on the element. |
HideTooltip(RadTreeMapItem)
Hides the tooltip of the specified RadTreeMapItem.
Declaration
public void HideTooltip(RadTreeMapItem item)
Parameters
RadTreeMapItem
item
The RadTreeMapItem that owns the tooltip. |
OnItemsSourceChanged(IEnumerable, IEnumerable)
Called when ItemsSource property changed.
Declaration
protected virtual void OnItemsSourceChanged(IEnumerable oldValue, IEnumerable newValue)
Parameters
System.Collections.IEnumerable
oldValue
The old value. |
System.Collections.IEnumerable
newValue
The new value. |
OnLayoutStrategyChanged(Object, LayoutStrategyBase)
Called when LayoutStrategy property changes..
Declaration
protected virtual void OnLayoutStrategyChanged(object sender, LayoutStrategyBase newValue)
Parameters
System.Object
sender
The RadTreeMapBase object. |
LayoutStrategyBase
newValue
The new value. |
OnMouseLeave(MouseEventArgs)
Called before the System.Windows.UIElement.MouseLeave event occurs.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
The data for the event. |
OnMouseMove(MouseEventArgs)
Called before the System.Windows.UIElement.MouseMove event occurs.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
The data for the event. |
remove_PreviewSelectionChanged(SelectionChangedRoutedEventHandler)
Declaration
public void remove_PreviewSelectionChanged(SelectionChangedRoutedEventHandler value)
Parameters
SelectionChangedRoutedEventHandler
value
|
remove_SelectionChanged(SelectionChangedRoutedEventHandler)
Declaration
public void remove_SelectionChanged(SelectionChangedRoutedEventHandler value)
Parameters
SelectionChangedRoutedEventHandler
value
|
SetDataView(IEnumerable)
Sets the data view.
Declaration
protected void SetDataView(IEnumerable collection)
Parameters
System.Collections.IEnumerable
collection
The collection. |
Events
PreviewSelectionChanged
Occurs when the selection changes.
Declaration
public event SelectionChangedRoutedEventHandler PreviewSelectionChanged
Event Type
SelectionChangedRoutedEventHandler
|
SelectionChanged
Occurs when the selection changed.
Declaration
public event SelectionChangedRoutedEventHandler SelectionChanged
Event Type
SelectionChangedRoutedEventHandler
|