WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeMap - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TreeMap

    Inheritance
    System.Object
    BaseControl
    TreeMap
    Implements
    IThemeProvider
    IVisualStyle
    System.IDisposable
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    BaseControl.RaiseThemeChanged(Object, ThemeChangedEventArgs)
    BaseControl.GetActiveThemeName()
    BaseControl.OnCanApplyThemeChanged(Boolean)
    BaseControl.OnCanOverrideStyleChanged(Boolean)
    BaseControl.ThemeName
    BaseControl.CanOverrideStyle
    BaseControl.IThemeProvider.BaseThemeName
    BaseControl.CanApplyTheme
    BaseControl.ControlName
    BaseControl.IVisualStyle.VisualTheme
    BaseControl.ThemeNameChanged
    Namespace: Syncfusion.Windows.Forms.TreeMap
    Assembly: Syncfusion.TreeMap.Windows.dll
    Syntax
    public class TreeMap : BaseControl, IThemeProvider, IVisualStyle, IDisposable, INotifyPropertyChanged

    Constructors

    TreeMap()

    Declaration
    public TreeMap()

    Properties

    ColorValuePath

    Declaration
    public string ColorValuePath { get; set; }
    Property Value
    Type Description
    System.String

    GroupColorMappings

    Declaration
    public List<GroupColorMapping> GroupColorMappings { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<GroupColorMapping>

    HeaderBackgroundBrush

    To specify the color for treemap header background

    Declaration
    public Brush HeaderBackgroundBrush { get; set; }
    Property Value
    Type Description
    System.Drawing.Brush

    HeaderBorderBrush

    To specify the color for header border brush

    Declaration
    public Brush HeaderBorderBrush { get; set; }
    Property Value
    Type Description
    System.Drawing.Brush

    HeaderBorderThickness

    To specify the header border thickness

    Declaration
    public float HeaderBorderThickness { get; set; }
    Property Value
    Type Description
    System.Single

    HeaderBrush

    To specify the color for treemap header

    Declaration
    public Brush HeaderBrush { get; set; }
    Property Value
    Type Description
    System.Drawing.Brush

    HeaderFont

    To specify the font for treemap header

    Declaration
    public Font HeaderFont { get; set; }
    Property Value
    Type Description
    System.Drawing.Font

    HeaderToolTipInfo

    To specify the header tooltip info

    Declaration
    public ToolTipInfo HeaderToolTipInfo { get; set; }
    Property Value
    Type Description
    ToolTipInfo

    HighlightBorderBrush

    To specify the highlightonselection is true or not

    Declaration
    public Brush HighlightBorderBrush { get; set; }
    Property Value
    Type Description
    System.Drawing.Brush

    HighlightBorderThickness

    To specify the highlightborder thickness

    Declaration
    public double HighlightBorderThickness { get; set; }
    Property Value
    Type Description
    System.Double

    HighlightGroupOnSelection

    To specify highlighting the group of items on selection

    Declaration
    public bool HighlightGroupOnSelection { get; set; }
    Property Value
    Type Description
    System.Boolean

    HighlightOnSelection

    To specify the highlightonselection is true or not

    Declaration
    public bool HighlightOnSelection { get; set; }
    Property Value
    Type Description
    System.Boolean

    IsTootTipVisible

    To specify the tooltip is visible or not

    Declaration
    public bool IsTootTipVisible { get; set; }
    Property Value
    Type Description
    System.Boolean

    IsVisualStyleEnabled

    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.

    ItemsLayoutMode

    To specify the item layout mode

    Declaration
    public ItemsLayoutModes ItemsLayoutMode { get; set; }
    Property Value
    Type Description
    ItemsLayoutModes

    ItemsSource

    Declaration
    public object ItemsSource { get; set; }
    Property Value
    Type Description
    System.Object

    ItemToolTipInfo

    To specify the Item tooltip info

    Declaration
    public ToolTipInfo ItemToolTipInfo { get; set; }
    Property Value
    Type Description
    ToolTipInfo

    LabelBackgroundBrush

    To specify the label background brush

    Declaration
    public Brush LabelBackgroundBrush { get; set; }
    Property Value
    Type Description
    System.Drawing.Brush

    LabelBorderBrush

    To specify the label border brush

    Declaration
    public Brush LabelBorderBrush { get; set; }
    Property Value
    Type Description
    System.Drawing.Brush

    LabelBorderThickness

    To specify the label border thickness

    Declaration
    public float LabelBorderThickness { get; set; }
    Property Value
    Type Description
    System.Single

    LabelBrush

    To specify the label brush

    Declaration
    public Brush LabelBrush { get; set; }
    Property Value
    Type Description
    System.Drawing.Brush

    LabelFont

    To specify the font style of label

    Declaration
    public Font LabelFont { get; set; }
    Property Value
    Type Description
    System.Drawing.Font

    LeafColorMapping

    Declaration
    public ColorMapping LeafColorMapping { get; set; }
    Property Value
    Type Description
    ColorMapping

    LeafItemSettings

    Declaration
    public LeafItemSettings LeafItemSettings { get; set; }
    Property Value
    Type Description
    LeafItemSettings

    Legends

    Declaration
    public List<Legend> Legends { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<Legend>

    LegendSetting

    To specify the legendsettings

    Declaration
    public LegendSettings LegendSetting { get; set; }
    Property Value
    Type Description
    LegendSettings

    Levels

    Declaration
    public List<TreeMapLevel> Levels { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<TreeMapLevel>

    RangeColorMapping

    Declaration
    public Brush RangeColorMapping { get; set; }
    Property Value
    Type Description
    System.Drawing.Brush

    SelectedItems

    Declaration
    public ObservableCollection<object> SelectedItems { get; set; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<System.Object>

    SelectionMode

    To specify the selection mode

    Declaration
    public SelectionModes SelectionMode { get; set; }
    Property Value
    Type Description
    SelectionModes

    ThemeStyle

    Gets or sets the TreeMapVisualStyle value used to customize the appearance of the TreeMap.

    Declaration
    public TreeMapVisualStyle ThemeStyle { get; set; }
    Property Value
    Type Description
    TreeMapVisualStyle
    Remarks

    This ThemeStyle settings will be applied only when the VisualStyleBased theme has been applied to the control.

    WeightValuePath

    To specify the Weightvalue path

    Declaration
    public string WeightValuePath { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    CreateAccessibilityInstance()

    Creates the accessibilty for the control.

    Declaration
    protected override AccessibleObject CreateAccessibilityInstance()
    Returns
    Type Description
    System.Windows.Forms.AccessibleObject

    Accessibility

    Dispose(Boolean)

    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.

    GetControlName(String)

    Helps to apply the ControlName settings in control

    Declaration
    public override string GetControlName(string controlName)
    Parameters
    Type Name Description
    System.String controlName

    ControlName

    Returns
    Type Description
    System.String
    Overrides
    BaseControl.GetControlName(String)

    GroupColor(List<TreeMapItem>)

    Declaration
    public void GroupColor(List<TreeMapItem> items)
    Parameters
    Type Name Description
    System.Collections.Generic.List<TreeMapItem> items

    OnMouseEnter(EventArgs)

    Declaration
    protected override void OnMouseEnter(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnMouseLeave(EventArgs)

    Declaration
    protected override void OnMouseLeave(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnMouseMove(MouseEventArgs)

    Declaration
    protected override void OnMouseMove(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    OnMouseUp(MouseEventArgs)

    Declaration
    protected override void OnMouseUp(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    OnPaint(PaintEventArgs)

    Declaration
    protected override void OnPaint(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e

    OnPropertyChanged(String)

    Declaration
    protected virtual void OnPropertyChanged(string propertyName)
    Parameters
    Type Name Description
    System.String propertyName

    OnThemeNameChanged(String)

    Helps to apply the ThemeName settings in control

    Declaration
    public override void OnThemeNameChanged(string themeName)
    Parameters
    Type Name Description
    System.String themeName

    ThemeName

    Overrides
    BaseControl.OnThemeNameChanged(String)

    Events

    LeafItemDrawing

    Declaration
    public event TreeMap.LeafItemDrawingEventHandler LeafItemDrawing
    Event Type
    Type Description
    TreeMap.LeafItemDrawingEventHandler

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    SelectionChanged

    Declaration
    public event TreeMap.SelectionChangedEventHandler SelectionChanged
    Event Type
    Type Description
    TreeMap.SelectionChangedEventHandler

    TooltipDrawing

    Declaration
    public event TreeMap.TooltipDrawingEventHandler TooltipDrawing
    Event Type
    Type Description
    TreeMap.TooltipDrawingEventHandler

    Implements

    IThemeProvider
    IVisualStyle
    System.IDisposable
    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved