Class SfTreeMap
SfTreeMap
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.TreeMap
Assembly: Syncfusion.SfTreeMap.UWP.dll
Syntax
public class SfTreeMap : Control, IDisposable
Constructors
SfTreeMap()
Constructor
Declaration
public SfTreeMap()
Fields
ColorValuePathProperty
// Using a DependencyProperty as the backing store for ColorValuePath. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ColorValuePathProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DrillDownHeaderHeightProperty
// Using a DependencyProperty as the backing store for DrillDownHeaderHeight. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DrillDownHeaderHeightProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DrillDownHeaderTemplateProperty
// Using a DependencyProperty as the backing store for DrillDownHeaderTemplate. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DrillDownHeaderTemplateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DrillDownSelectionStrokeProperty
// Using a DependencyProperty as the backing store for DrillDownSelectionStroke. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DrillDownSelectionStrokeProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
EnableDrillDownProperty
Using a DependencyProperty as the backing store for EnableDrillDown. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty EnableDrillDownProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
GroupColorMappingsProperty
// Using a DependencyProperty as the backing store for GroupColorMapping. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty GroupColorMappingsProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
HighlightBorderBrushProperty
// Using a DependencyProperty as the backing store for HighlightBorderBrush. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty HighlightBorderBrushProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
HighlightBorderThicknessProperty
// Using a DependencyProperty as the backing store for HighlightBorderThickness. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty HighlightBorderThicknessProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
HighlightGroupOnSelectionProperty
// Using a DependencyProperty as the backing store for HighlightGroupOnSelection. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty HighlightGroupOnSelectionProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
HighlightHoverBrushProperty
// Using a DependencyProperty as the backing store for HighlightHoverBrush. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty HighlightHoverBrushProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
HighlightOnSelectionProperty
// Using a DependencyProperty as the backing store for HighlightOnSelection. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty HighlightOnSelectionProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ItemsLayoutModeProperty
// Using a DependencyProperty as the backing store for ItemsLayoutMode. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ItemsLayoutModeProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ItemsSourceProperty
// Using a DependencyProperty as the backing store for ItemsSource. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
LeafColorMappingProperty
// Using a DependencyProperty as the backing store for LeafColorMapping. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty LeafColorMappingProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
LeafItemSettingsProperty
// Using a DependencyProperty as the backing store for LeafItemSettings. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty LeafItemSettingsProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
LeafLabelPathProperty
// Using a DependencyProperty as the backing store for LeafLabelPath. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty LeafLabelPathProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
LeafNodesProperty
// Using a DependencyProperty as the backing store for LeafNodes. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty LeafNodesProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
LeafTemplateProperty
// Using a DependencyProperty as the backing store for LeafTemplate. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty LeafTemplateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
LegendProperty
// Using a DependencyProperty as the backing store for Legend. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty LegendProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
LevelsProperty
// Using a DependencyProperty as the backing store for Levels. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty LevelsProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SelectedItemProperty
// Using a DependencyProperty as the backing store for SelectedItem. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SelectedItemProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SelectedItemsProperty
// Using a DependencyProperty as the backing store for SelectedItems. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SelectedItemsProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SelectionModesProperty
// Using a DependencyProperty as the backing store for SelectionModes. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SelectionModesProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ShowToolTipProperty
// Using a DependencyProperty as the backing store for ShowToolTip. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ShowToolTipProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
TooltipSettingsProperty
Using a DependencyProperty as the backing store for TooltipSettings. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TooltipSettingsProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ToolTipShowDurationProperty
Using a DependencyProperty as the backing store for ToolTipShowDuration. This customize the animation duration.
Declaration
public static readonly DependencyProperty ToolTipShowDurationProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ToolTipTemplateProperty
// Using a DependencyProperty as the backing store for ToolTipTemplate. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ToolTipTemplateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
WeightValuePathProperty
// Using a DependencyProperty as the backing store for WeightValuePath. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty WeightValuePathProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
ColorValuePath
Gets or Sets ColorValuePath
Declaration
public string ColorValuePath { get; set; }
Property Value
Type |
---|
System.String |
DrillDownHeaderHeight
Gets or Sets DrillDownHeaderHeight
Declaration
public double DrillDownHeaderHeight { get; set; }
Property Value
Type |
---|
System.Double |
DrillDownHeaderTemplate
Gets or Sets DrillDownHeaderTemplate
Declaration
public DataTemplate DrillDownHeaderTemplate { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.DataTemplate |
DrillDownSelectionStroke
DrillDownSelectionStroke
Declaration
public Brush DrillDownSelectionStroke { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
EnableDrillDown
Gets or sets a value to indicate whether the drill down feature should be enabled.
Declaration
public bool EnableDrillDown { get; set; }
Property Value
Type |
---|
System.Boolean |
GroupColorMappings
Gets or Sets GroupColorMappings
Declaration
public ObservableCollection<GroupColorMapping> GroupColorMappings { get; set; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<GroupColorMapping> |
HighlightBorderBrush
Gets or Sets HighlightBorderBrush
Declaration
public Brush HighlightBorderBrush { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
HighlightBorderThickness
Gets or Sets HighlightBorderThickness
Declaration
public double HighlightBorderThickness { get; set; }
Property Value
Type |
---|
System.Double |
HighlightGroupOnSelection
Gets or Sets HighlightGroupOnSelection values
Declaration
public bool HighlightGroupOnSelection { get; set; }
Property Value
Type |
---|
System.Boolean |
HighlightHoverBrush
Gets or Sets HighlightHoverBrush
Declaration
public Brush HighlightHoverBrush { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
HighlightOnSelection
Gets or Sets HighlightOnSelection
Declaration
public bool HighlightOnSelection { get; set; }
Property Value
Type |
---|
System.Boolean |
ItemsLayoutMode
Gets or Sets ItemsLayoutMode
Declaration
public TreeMapLayoutMode ItemsLayoutMode { get; set; }
Property Value
Type |
---|
TreeMapLayoutMode |
ItemsSource
Gets or Sets ItemsSource values
Declaration
public object ItemsSource { get; set; }
Property Value
Type |
---|
System.Object |
LeafColorMapping
Gets or Sets LeafColorMapping
Declaration
public ColorMapping LeafColorMapping { get; set; }
Property Value
Type |
---|
ColorMapping |
LeafItemSettings
Gets or Sets LeafItemSettings
Declaration
public LeafItemSettings LeafItemSettings { get; set; }
Property Value
Type |
---|
LeafItemSettings |
LeafLabelPath
Gets or Sets LeafLabelPath
Declaration
public string LeafLabelPath { get; set; }
Property Value
Type |
---|
System.String |
LeafNodes
Gets or Sets list of LeafNodes
Declaration
public List<TreeMapLeafNode> LeafNodes { get; }
Property Value
Type |
---|
System.Collections.Generic.List<TreeMapLeafNode> |
LeafTemplate
Gets or Sets LeafTemplate
Declaration
public DataTemplate LeafTemplate { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.DataTemplate |
Legend
Legend
Declaration
public TreeMapLegend Legend { get; set; }
Property Value
Type |
---|
TreeMapLegend |
Levels
Gets or Sets Levels for TreeMap
Declaration
public ObservableCollection<TreeMapLevel> Levels { get; set; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<TreeMapLevel> |
SelectedItem
Gets or Sets SelectedItem
Declaration
public object SelectedItem { get; }
Property Value
Type |
---|
System.Object |
SelectedItems
Gets or Sets SelectedItems
Declaration
public ObservableCollection<object> SelectedItems { get; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<System.Object> |
SelectionModes
Gets or Sets SelectionModes
Declaration
public TreeMapSelectionModes SelectionModes { get; set; }
Property Value
Type |
---|
TreeMapSelectionModes |
ShowToolTip
Gets or Sets ShowToolTip values
Declaration
public bool ShowToolTip { get; set; }
Property Value
Type |
---|
System.Boolean |
TooltipSettings
Gets or sets the Tooltip settings.
Declaration
public TooltipSetting TooltipSettings { get; set; }
Property Value
Type |
---|
TooltipSetting |
ToolTipShowDuration
Gets or sets the show duration of the tooltip in milliseconds.
Declaration
public int ToolTipShowDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer denotes the duration of animation in milliseconds. The default value is |
ToolTipTemplate
Gets or Sets ToolTipTemplate
Declaration
public DataTemplate ToolTipTemplate { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.DataTemplate |
WeightValuePath
Gets or Sets WeightValuePath
Declaration
public string WeightValuePath { get; set; }
Property Value
Type |
---|
System.String |
Methods
Dispose()
Dispose
Declaration
public void Dispose()
GroupColor(List<TreeMapItem>)
GroupColorMapping for levels
Declaration
public void GroupColor(List<TreeMapItem> items)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<TreeMapItem> | items |
OnApplyTemplate()
OnApplyTemplate
Declaration
protected override void OnApplyTemplate()
OnTapped(TappedRoutedEventArgs)
This override method is fired when the treemap layout is tapped to display the tooltip
Declaration
protected override void OnTapped(TappedRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.TappedRoutedEventArgs | e | Tapped event args |
RefreshTreeMap()
Method gets called to refresh tree map.
Declaration
public void RefreshTreeMap()
SelectItem(Object)
Method gets called to add the selected item.
Declaration
public void SelectItem(object data)
Parameters
Type | Name | Description |
---|---|---|
System.Object | data | The selected item. |
Events
ItemSelected
Event for treemap selected
Declaration
public event EventHandler<TreeMapItemSelectedEventArgs> ItemSelected
Event Type
Type |
---|
System.EventHandler<TreeMapItemSelectedEventArgs> |
SelectionChanged
SelectionChangedEventHandler
Declaration
public event SelectionChangedEventHandler SelectionChanged
Event Type
Type |
---|
Windows.UI.Xaml.Controls.SelectionChangedEventHandler |