Class TreeMap
Inheritance
System.Object
TreeMap
Implements
System.IDisposable
System.ComponentModel.INotifyPropertyChanged
Assembly: Syncfusion.TreeMap.Windows.dll
public class TreeMap : BaseControl, IThemeProvider, IVisualStyle, IDisposable, INotifyPropertyChanged
Constructors
Declaration
Properties
Declaration
public string ColorValuePath { get; set; }
Property Value
Declaration
public List<GroupColorMapping> GroupColorMappings { get; set; }
Property Value
To specify the color for treemap header background
Declaration
public Brush HeaderBackgroundBrush { get; set; }
Property Value
Type |
System.Drawing.Brush |
To specify the color for header border brush
Declaration
public Brush HeaderBorderBrush { get; set; }
Property Value
Type |
System.Drawing.Brush |
To specify the header border thickness
Declaration
public float HeaderBorderThickness { get; set; }
Property Value
To specify the color for treemap header
Declaration
public Brush HeaderBrush { get; set; }
Property Value
Type |
System.Drawing.Brush |
To specify the font for treemap header
Declaration
public Font HeaderFont { get; set; }
Property Value
To specify the header tooltip info
Declaration
public ToolTipInfo HeaderToolTipInfo { get; set; }
Property Value
To specify the highlightonselection is true or not
Declaration
public Brush HighlightBorderBrush { get; set; }
Property Value
Type |
System.Drawing.Brush |
To specify the highlightborder thickness
Declaration
public double HighlightBorderThickness { get; set; }
Property Value
To specify highlighting the group of items on selection
Declaration
public bool HighlightGroupOnSelection { get; set; }
Property Value
To specify the highlightonselection is true or not
Declaration
public bool HighlightOnSelection { get; set; }
Property Value
To specify the tooltip is visible or not
Declaration
public bool IsTootTipVisible { get; set; }
Property Value
Gets a value indicating whether the visual style based theme is applied to the control and
also indicates whether the theme files are referred from external assemblies or not.
Declaration
public bool IsVisualStyleEnabled { get; }
Property Value
Type |
Description |
System.Boolean |
Return true, if the visual style based theme is applied to the control. Otherwise returns false.
|
To specify the item layout mode
Declaration
public ItemsLayoutModes ItemsLayoutMode { get; set; }
Property Value
Declaration
public object ItemsSource { get; set; }
Property Value
To specify the Item tooltip info
Declaration
public ToolTipInfo ItemToolTipInfo { get; set; }
Property Value
To specify the label background brush
Declaration
public Brush LabelBackgroundBrush { get; set; }
Property Value
Type |
System.Drawing.Brush |
To specify the label border brush
Declaration
public Brush LabelBorderBrush { get; set; }
Property Value
Type |
System.Drawing.Brush |
To specify the label border thickness
Declaration
public float LabelBorderThickness { get; set; }
Property Value
To specify the label brush
Declaration
public Brush LabelBrush { get; set; }
Property Value
Type |
System.Drawing.Brush |
To specify the font style of label
Declaration
public Font LabelFont { get; set; }
Property Value
Declaration
public ColorMapping LeafColorMapping { get; set; }
Property Value
Declaration
public LeafItemSettings LeafItemSettings { get; set; }
Property Value
Declaration
public List<Legend> Legends { get; set; }
Property Value
Type |
System.Collections.Generic.List<Legend> |
To specify the legendsettings
Declaration
public LegendSettings LegendSetting { get; set; }
Property Value
Declaration
public List<TreeMapLevel> Levels { get; set; }
Property Value
Declaration
public Brush RangeColorMapping { get; set; }
Property Value
Type |
System.Drawing.Brush |
Declaration
public ObservableCollection<object> SelectedItems { get; set; }
Property Value
Type |
System.Collections.ObjectModel.ObservableCollection<System.Object> |
To specify the selection mode
Declaration
public SelectionModes SelectionMode { get; set; }
Property Value
Declaration
public TreeMapVisualStyle ThemeStyle { get; set; }
Property Value
To specify the Weightvalue path
Declaration
public string WeightValuePath { get; set; }
Property Value
Methods
Creates the accessibilty for the control.
Declaration
protected override AccessibleObject CreateAccessibilityInstance()
Returns
Type |
Description |
System.Windows.Forms.AccessibleObject |
Accessibility
|
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
true if managed resources should be disposed; otherwise, false.
|
Helps to apply the ControlName settings in control
Declaration
public override string GetControlName(string controlName)
Parameters
Type |
Name |
Description |
System.String |
controlName |
ControlName
|
Returns
Overrides
Declaration
public void GroupColor(List<TreeMapItem> items)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<TreeMapItem> |
items |
|
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MouseEventArgs |
e |
|
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MouseEventArgs |
e |
|
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.PaintEventArgs |
e |
|
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
Helps to apply the ThemeName settings in control
Declaration
public override void OnThemeNameChanged(string themeName)
Parameters
Type |
Name |
Description |
System.String |
themeName |
ThemeName
|
Overrides
Events
Declaration
public event TreeMap.LeafItemDrawingEventHandler LeafItemDrawing
Event Type
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
System.ComponentModel.PropertyChangedEventHandler |
Declaration
public event TreeMap.SelectionChangedEventHandler SelectionChanged
Event Type
Declaration
public event TreeMap.TooltipDrawingEventHandler TooltipDrawing
Event Type
Implements
System.IDisposable
System.ComponentModel.INotifyPropertyChanged