Class
RadTreeMap

A data visualization control that displays hierarchical data as a set of nested rectangles, where each rectangle's size represents a quantitative value.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Data Controls")]
public class RadTreeMap : RadControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider

Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadTreeMap

Implements: IAnalyticsProviderIBindableComponentIComponentIComponentTreeHandlerIDisposableIDropTargetILayoutHandlerINotifyPropertyChangedISupportInitializeISupportInitializeNotificationISynchronizeInvokeIWin32Window

Inherited Members RadControl.isResizing2RadControl.isDisposing2RadControl.invalidResizeRectRadControl.isAccessibilityRequestedRadControl.Dispose(bool)RadControl.Construct()RadControl.CreateBehavior()RadControl.CreateRootElement()RadControl.InitializeRootElement(RootRadElement)RadControl.LoadElementTree()RadControl.LoadElementTree(Size)RadControl.SetBackColorThemeOverrides()RadControl.ResetBackColorThemeOverrides()RadControl.SetForeColorThemeOverrides()RadControl.ResetForeColorThemeOverrides()RadControl.OnKeyDown(KeyEventArgs)RadControl.OnKeyUp(KeyEventArgs)RadControl.OnPreviewKeyDown(PreviewKeyDownEventArgs)RadControl.OnKeyPress(KeyPressEventArgs)RadControl.OnClick(EventArgs)RadControl.OnDoubleClick(EventArgs)RadControl.OnMouseDown(MouseEventArgs)RadControl.OnMouseUp(MouseEventArgs)RadControl.OnMouseEnter(EventArgs)RadControl.OnMouseLeave(EventArgs)RadControl.OnMouseMove(MouseEventArgs)RadControl.OnMouseHover(EventArgs)RadControl.OnMouseWheel(MouseEventArgs)RadControl.OnMouseCaptureChanged(EventArgs)RadControl.OnGotFocus(EventArgs)RadControl.OnLostFocus(EventArgs)RadControl.OnCreateControl()RadControl.OnHandleDestroyed(EventArgs)RadControl.OnParentChanged(EventArgs)RadControl.OnVisibleChanged(EventArgs)RadControl.OnFontChanged(EventArgs)RadControl.OnForeColorChanged(EventArgs)RadControl.OnBackColorChanged(EventArgs)RadControl.OnEnabledChanged(EventArgs)RadControl.OnBindingContextChanged(EventArgs)RadControl.OnLocationChanged(EventArgs)RadControl.OnPaddingChanged(EventArgs)RadControl.OnRightToLeftChanged(EventArgs)RadControl.OnPaint(PaintEventArgs)RadControl.OnLayout(LayoutEventArgs)RadControl.OnAutoSizeChanged(EventArgs)RadControl.WndProc(ref Message)RadControl.OnInvalidated(RadElement)RadControl.OnLoad(Size)RadControl.OnCaptureLosing()RadControl.OnThemeChanged()RadControl.OnToolTipTextNeeded(object, ToolTipTextNeededEventArgs)RadControl.OnScreenTipNeeded(object, ScreenTipNeededEventArgs)RadControl.OnThemeNameChanged(ThemeNameChangedEventArgs)RadControl.ProcessMnemonic(char)RadControl.ProcessFocusRequested(RadElement)RadControl.ProcessCaptureChangeRequested(RadElement, bool)RadControl.ProcessAutoSizeChanged(bool)RadControl.IsInputKey(Keys)RadControl.GetInputElement()RadControl.BeginInit()RadControl.EndInit()RadControl.OnNotifyPropertyChanged(string)RadControl.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadControl.GetPreferredSize(Size)RadControl.SetBoundsCore(int, int, int, int, BoundsSpecified)RadControl.GetRootElementDesiredSize(int, int, int, int)RadControl.OnZoomGesture(ZoomGestureEventArgs)RadControl.OnRotateGesture(RotateGestureEventArgs)RadControl.OnPanGesture(PanGestureEventArgs)RadControl.OnTwoFingerTapGesture(GestureEventArgs)RadControl.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadControl.OnGesture(GestureEventArgs)RadControl.ProcessGesture(Message)RadControl.EnableGesture(GestureType)RadControl.DisableGesture(GestureType)RadControl.Refresh()RadControl.SuspendUpdate()RadControl.ResumeUpdate()RadControl.ResumeUpdate(bool)RadControl.InvokeLayoutCallback(LayoutCallback)RadControl.RegisterHostedControl(RadHostItem)RadControl.UnregisterHostedControl(RadHostItem, bool)RadControl.ResolveStyleGroupForElement(StyleGroup, RadObject)RadControl.GetPlainText()RadControl.ShouldSerializeProperty(RadProperty)RadControl.ShouldSerializeProperty(RadProperty, RadObject)RadControl.ResetProperty(RadProperty, RadObject)RadControl.CanEditElementAtDesignTime(RadElement)RadControl.ProcessCodedUIMessage(ref IPCMessage)RadControl.FindPropertyInChildren(RadControl, IPCMessage)RadControl.ScaleControl(SizeF, BoundsSpecified)RadControl.PerformRadAutoScale(BoundsSpecified?)RadControl.GetMonitorDpiScaleFactor(Control)RadControl.SetRadAutoScale(bool)RadControl.EnableDpiScalingRadControl.EnableRadAutoScaleRadControl.EnableRadFormInitialDpiScalingRadControl.EnableImageDpiScalingRadControl.EnableSvgImagesRadControl.IsLoadedRadControl.ElementTreeRadControl.UseCompatibleTextRenderingDefaultValueRadControl.BehaviorRadControl.RootElementRadControl.PaddingRadControl.ThemeNameRadControl.TextRadControl.EnableThemingRadControl.ThemeClassNameRadControl.ImageListRadControl.ImageScalingSizeRadControl.UseCompatibleTextRenderingRadControl.AutoSizeRadControl.MaximumSizeRadControl.MinimumSizeRadControl.FocusableRadControl.SiteRadControl.CausesValidationRadControl.IsInitializingRadControl.SmallImageListRadControl.SmallImageScalingSizeRadControl.IsDesignModeRadControl.IsDisplayedRadControl.FocusedElementRadControl.AllowShowFocusCuesRadControl.ShowItemToolTipsRadControl.CommandBindingsRadControl.EnableKeyMapRadControl.BackColorRadControl.ForeColorRadControl.FontRadControl.ValidationCancelRadControl.EnableAnalyticsRadControl.AnalyticsNameRadControl.EnableRadAccessibilityObjectsRadControl.EnableCodedUITestsRadControl.EnableCodedUITestsDefaultValueRadControl.EnableUIAutomationRadControl.EnableUIAutomationDefaultValueRadControl.ElementInvalidatedRadControl.ToolTipTextNeededRadControl.ScreenTipNeededRadControl.ThemeNameChangedRadControl.InitializedRadControl.PropertyChangedRadControl.ZoomGestureRadControl.RotateGestureRadControl.PanGestureRadControl.TwoFingerTapGestureRadControl.PressAndTapGestureScrollableControl.ScrollStateAutoScrollingScrollableControl.ScrollStateHScrollVisibleScrollableControl.ScrollStateVScrollVisibleScrollableControl.ScrollStateUserHasScrolledScrollableControl.ScrollStateFullDragScrollableControl.AdjustFormScrollbars(bool)ScrollableControl.GetScrollState(int)ScrollableControl.OnPaintBackground(PaintEventArgs)ScrollableControl.SetDisplayRectLocation(int, int)ScrollableControl.ScrollControlIntoView(Control)ScrollableControl.ScrollToControl(Control)ScrollableControl.OnScroll(ScrollEventArgs)ScrollableControl.SetAutoScrollMargin(int, int)ScrollableControl.SetScrollState(int, bool)ScrollableControl.AutoScrollScrollableControl.AutoScrollMarginScrollableControl.AutoScrollPositionScrollableControl.AutoScrollMinSizeScrollableControl.CreateParamsScrollableControl.DisplayRectangleScrollableControl.HScrollScrollableControl.HorizontalScrollScrollableControl.VScrollScrollableControl.VerticalScrollScrollableControl.ScrollControl.GetAccessibilityObjectById(int)Control.SetAutoSizeMode(AutoSizeMode)Control.GetAutoSizeMode()Control.AccessibilityNotifyClients(AccessibleEvents, int)Control.AccessibilityNotifyClients(AccessibleEvents, int, int)Control.BeginInvoke(Delegate)Control.BeginInvoke(Delegate, params object[])Control.BringToFront()Control.Contains(Control)Control.CreateAccessibilityInstance()Control.CreateControlsInstance()Control.CreateGraphics()Control.CreateHandle()Control.CreateControl()Control.DefWndProc(ref Message)Control.DestroyHandle()Control.DoDragDrop(object, DragDropEffects)Control.DrawToBitmap(Bitmap, Rectangle)Control.EndInvoke(IAsyncResult)Control.FindForm()Control.GetTopLevel()Control.RaiseKeyEvent(object, KeyEventArgs)Control.RaiseMouseEvent(object, MouseEventArgs)Control.Focus()Control.FromChildHandle(IntPtr)Control.FromHandle(IntPtr)Control.GetChildAtPoint(Point, GetChildAtPointSkip)Control.GetChildAtPoint(Point)Control.GetContainerControl()Control.GetScaledBounds(Rectangle, SizeF, BoundsSpecified)Control.GetNextControl(Control, bool)Control.GetStyle(ControlStyles)Control.Hide()Control.InitLayout()Control.Invalidate(Region)Control.Invalidate(Region, bool)Control.Invalidate()Control.Invalidate(bool)Control.Invalidate(Rectangle)Control.Invalidate(Rectangle, bool)Control.Invoke(Delegate)Control.Invoke(Delegate, params object[])Control.InvokePaint(Control, PaintEventArgs)Control.InvokePaintBackground(Control, PaintEventArgs)Control.IsKeyLocked(Keys)Control.IsInputChar(char)Control.IsMnemonic(char, string)Control.LogicalToDeviceUnits(int)Control.LogicalToDeviceUnits(Size)Control.ScaleBitmapLogicalToDevice(ref Bitmap)Control.NotifyInvalidate(Rectangle)Control.InvokeOnClick(Control, EventArgs)Control.OnBackgroundImageChanged(EventArgs)Control.OnBackgroundImageLayoutChanged(EventArgs)Control.OnCausesValidationChanged(EventArgs)Control.OnContextMenuChanged(EventArgs)Control.OnContextMenuStripChanged(EventArgs)Control.OnCursorChanged(EventArgs)Control.OnDockChanged(EventArgs)Control.OnNotifyMessage(Message)Control.OnParentBackColorChanged(EventArgs)Control.OnParentBackgroundImageChanged(EventArgs)Control.OnParentBindingContextChanged(EventArgs)Control.OnParentCursorChanged(EventArgs)Control.OnParentEnabledChanged(EventArgs)Control.OnParentFontChanged(EventArgs)Control.OnParentForeColorChanged(EventArgs)Control.OnParentRightToLeftChanged(EventArgs)Control.OnParentVisibleChanged(EventArgs)Control.OnPrint(PaintEventArgs)Control.OnTabIndexChanged(EventArgs)Control.OnTabStopChanged(EventArgs)Control.OnTextChanged(EventArgs)Control.OnClientSizeChanged(EventArgs)Control.OnControlAdded(ControlEventArgs)Control.OnControlRemoved(ControlEventArgs)Control.OnHandleCreated(EventArgs)Control.OnDragEnter(DragEventArgs)Control.OnDragOver(DragEventArgs)Control.OnDragLeave(EventArgs)Control.OnDragDrop(DragEventArgs)Control.OnGiveFeedback(GiveFeedbackEventArgs)Control.OnEnter(EventArgs)Control.InvokeGotFocus(Control, EventArgs)Control.OnHelpRequested(HelpEventArgs)Control.OnInvalidated(InvalidateEventArgs)Control.OnLeave(EventArgs)Control.InvokeLostFocus(Control, EventArgs)Control.OnMarginChanged(EventArgs)Control.OnMouseDoubleClick(MouseEventArgs)Control.OnMouseClick(MouseEventArgs)Control.OnDpiChangedBeforeParent(EventArgs)Control.OnDpiChangedAfterParent(EventArgs)Control.OnMove(EventArgs)Control.OnQueryContinueDrag(QueryContinueDragEventArgs)Control.OnRegionChanged(EventArgs)Control.OnResize(EventArgs)Control.OnSizeChanged(EventArgs)Control.OnChangeUICues(UICuesEventArgs)Control.OnStyleChanged(EventArgs)Control.OnSystemColorsChanged(EventArgs)Control.OnValidating(CancelEventArgs)Control.OnValidated(EventArgs)Control.RescaleConstantsForDpi(int, int)Control.PerformLayout()Control.PerformLayout(Control, string)Control.PointToClient(Point)Control.PointToScreen(Point)Control.PreProcessMessage(ref Message)Control.PreProcessControlMessage(ref Message)Control.ProcessCmdKey(ref Message, Keys)Control.ProcessDialogChar(char)Control.ProcessDialogKey(Keys)Control.ProcessKeyEventArgs(ref Message)Control.ProcessKeyMessage(ref Message)Control.ProcessKeyPreview(ref Message)Control.RaiseDragEvent(object, DragEventArgs)Control.RaisePaintEvent(object, PaintEventArgs)Control.RecreateHandle()Control.RectangleToClient(Rectangle)Control.RectangleToScreen(Rectangle)Control.ReflectMessage(IntPtr, ref Message)Control.ResetMouseEventArgs()Control.ResetText()Control.ResumeLayout()Control.ResumeLayout(bool)Control.Scale(SizeF)Control.Select()Control.Select(bool, bool)Control.SelectNextControl(Control, bool, bool, bool, bool)Control.SendToBack()Control.SetBounds(int, int, int, int)Control.SetBounds(int, int, int, int, BoundsSpecified)Control.SetClientSizeCore(int, int)Control.SizeFromClientSize(Size)Control.SetStyle(ControlStyles, bool)Control.SetTopLevel(bool)Control.SetVisibleCore(bool)Control.RtlTranslateAlignment(HorizontalAlignment)Control.RtlTranslateAlignment(LeftRightAlignment)Control.RtlTranslateAlignment(ContentAlignment)Control.RtlTranslateHorizontal(HorizontalAlignment)Control.RtlTranslateLeftRight(LeftRightAlignment)Control.RtlTranslateContent(ContentAlignment)Control.Show()Control.SuspendLayout()Control.Update()Control.UpdateBounds()Control.UpdateBounds(int, int, int, int)Control.UpdateBounds(int, int, int, int, int, int)Control.UpdateZOrder()Control.UpdateStyles()Control.OnImeModeChanged(EventArgs)Control.AccessibilityObjectControl.AccessibleDefaultActionDescriptionControl.AccessibleDescriptionControl.AccessibleNameControl.AccessibleRoleControl.AllowDropControl.AnchorControl.AutoScrollOffsetControl.LayoutEngineControl.BackgroundImageControl.BackgroundImageLayoutControl.BindingContextControl.BottomControl.BoundsControl.CanFocusControl.CanRaiseEventsControl.CanSelectControl.CaptureControl.CheckForIllegalCrossThreadCallsControl.ClientRectangleControl.ClientSizeControl.CompanyNameControl.ContainsFocusControl.ContextMenuControl.ContextMenuStripControl.ControlsControl.CreatedControl.CursorControl.DataBindingsControl.DefaultBackColorControl.DefaultCursorControl.DefaultFontControl.DefaultForeColorControl.DefaultMarginControl.DefaultMaximumSizeControl.DefaultMinimumSizeControl.DefaultPaddingControl.DeviceDpiControl.IsDisposedControl.DisposingControl.DockControl.DoubleBufferedControl.EnabledControl.FocusedControl.FontHeightControl.HandleControl.HasChildrenControl.HeightControl.IsHandleCreatedControl.InvokeRequiredControl.IsAccessibleControl.IsMirroredControl.LeftControl.LocationControl.MarginControl.ModifierKeysControl.MouseButtonsControl.MousePositionControl.NameControl.ParentControl.ProductNameControl.ProductVersionControl.RecreatingHandleControl.RegionControl.RenderRightToLeftControl.ResizeRedrawControl.RightControl.RightToLeftControl.ScaleChildrenControl.SizeControl.TabIndexControl.TabStopControl.TagControl.TopControl.TopLevelControlControl.ShowKeyboardCuesControl.ShowFocusCuesControl.UseWaitCursorControl.VisibleControl.WidthControl.PreferredSizeControl.CanEnableImeControl.DefaultImeModeControl.ImeModeControl.ImeModeBaseControl.PropagatingImeModeControl.BackColorChangedControl.BackgroundImageChangedControl.BackgroundImageLayoutChangedControl.BindingContextChangedControl.CausesValidationChangedControl.ClientSizeChangedControl.ContextMenuChangedControl.ContextMenuStripChangedControl.CursorChangedControl.DockChangedControl.EnabledChangedControl.FontChangedControl.ForeColorChangedControl.LocationChangedControl.MarginChangedControl.RegionChangedControl.RightToLeftChangedControl.SizeChangedControl.TabIndexChangedControl.TabStopChangedControl.TextChangedControl.VisibleChangedControl.ClickControl.ControlAddedControl.ControlRemovedControl.DragDropControl.DragEnterControl.DragOverControl.DragLeaveControl.GiveFeedbackControl.HandleCreatedControl.HandleDestroyedControl.HelpRequestedControl.InvalidatedControl.PaddingChangedControl.PaintControl.QueryContinueDragControl.QueryAccessibilityHelpControl.DoubleClickControl.EnterControl.GotFocusControl.KeyDownControl.KeyPressControl.KeyUpControl.LayoutControl.LeaveControl.LostFocusControl.MouseClickControl.MouseDoubleClickControl.MouseCaptureChangedControl.MouseDownControl.MouseEnterControl.MouseLeaveControl.DpiChangedBeforeParentControl.DpiChangedAfterParentControl.MouseHoverControl.MouseMoveControl.MouseUpControl.MouseWheelControl.MoveControl.PreviewKeyDownControl.ResizeControl.ChangeUICuesControl.StyleChangedControl.SystemColorsChangedControl.ValidatingControl.ValidatedControl.ParentChangedControl.ImeModeChangedComponent.Dispose()Component.GetService(Type)Component.ToString()Component.EventsComponent.ContainerComponent.DesignModeComponent.DisposedMarshalByRefObject.MemberwiseClone(bool)MarshalByRefObject.GetLifetimeService()MarshalByRefObject.InitializeLifetimeService()MarshalByRefObject.CreateObjRef(Type)

Constructors

RadTreeMap()

Initializes a new instance of the RadTreeMap class.

Declaration

cs-api-definition
public RadTreeMap()

Properties

Algorithm

Gets or sets the algorithm used to calculate the layout and positioning of rectangles in the tree map.

Declaration

cs-api-definition
[Browsable(false)]
public TreeMapAlgorithm Algorithm { get; set; }

Property Value

TreeMapAlgorithm

AllowHotTracking

Gets or sets a value indicating whether items are highlighted when the mouse hovers over them.

Declaration

cs-api-definition
public bool AllowHotTracking { get; set; }

Property Value

bool

AllowSelection

Gets or sets a value indicating whether users can select items in the tree map by clicking on them.

Declaration

cs-api-definition
public bool AllowSelection { get; set; }

Property Value

bool

Colorizer

Gets or sets the colorizer that determines the background and foreground colors for tree map items.

Declaration

cs-api-definition
[Browsable(false)]
public BaseColorizer Colorizer { get; set; }

Property Value

BaseColorizer

DataSource

Gets or sets the data source that provides the hierarchical data to be visualized in the tree map.

Declaration

cs-api-definition
[Browsable(true)]
public object DataSource { get; set; }

Property Value

object

DefaultSize

Gets the default size of the RadTreeMap when a new instance is initialized.

Declaration

cs-api-definition
protected override Size DefaultSize { get; }

Property Value

Size

Overrides Control.DefaultSize

DisplayMember

Gets or sets the name of the property from the data source that provides the display text for each item.

Declaration

cs-api-definition
[Browsable(true)]
[TypeConverter("System.Windows.Forms.Design.DataMemberFieldConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public string DisplayMember { get; set; }

Property Value

string

EnableGrouping

Gets or sets a value indicating whether automatic grouping of data items is enabled based on the GroupDescriptors.

Declaration

cs-api-definition
public bool EnableGrouping { get; set; }

Property Value

bool

GroupBackColor

Gets or sets the background color used for group headers and containers.

Declaration

cs-api-definition
public Color GroupBackColor { get; set; }

Property Value

Color

GroupBorderColor

Gets or sets the border color used for group headers and containers.

Declaration

cs-api-definition
public Color GroupBorderColor { get; set; }

Property Value

Color

GroupDescriptors

Gets a collection of GroupDescriptor objects that define the rules for automatically grouping tree map items.

Declaration

cs-api-definition
[Browsable(true)]
public GroupDescriptorCollection GroupDescriptors { get; }

Property Value

GroupDescriptorCollection

GroupTextAlignment

Gets or sets the alignment of text within group headers.

Declaration

cs-api-definition
public ContentAlignment GroupTextAlignment { get; set; }

Property Value

ContentAlignment

Groups

Gets a collection of TreeMapDataItemGroup objects that represent the grouped data items in the tree map.

Declaration

cs-api-definition
[Browsable(true)]
public TreeMapDataItemGroupCollection Groups { get; }

Property Value

TreeMapDataItemGroupCollection

HoveredGroup

Gets the TreeMapDataItemGroup that is currently under the mouse cursor.

Declaration

cs-api-definition
[Browsable(false)]
public TreeMapDataItemGroup HoveredGroup { get; }

Property Value

TreeMapDataItemGroup

HoveredItem

Gets the TreeMapDataItem that is currently under the mouse cursor.

Declaration

cs-api-definition
[Browsable(false)]
public TreeMapDataItem HoveredItem { get; }

Property Value

TreeMapDataItem

HoveredItemBackColor

Gets or sets the background color applied to items when they are hovered over by the mouse.

Declaration

cs-api-definition
public Color HoveredItemBackColor { get; set; }

Property Value

Color

HoveredItemBorderColor

Gets or sets the border color applied to items when they are hovered over by the mouse.

Declaration

cs-api-definition
public Color HoveredItemBorderColor { get; set; }

Property Value

Color

HoveredItemBorderWidth

Gets or sets the thickness of the border applied to items when they are hovered over by the mouse.

Declaration

cs-api-definition
public int HoveredItemBorderWidth { get; set; }

Property Value

int

ItemTextAlignment

Gets or sets the alignment of text within individual tree map items.

Declaration

cs-api-definition
public ContentAlignment ItemTextAlignment { get; set; }

Property Value

ContentAlignment

Items

Gets a collection of TreeMapDataItem objects that represent the individual data items in the tree map.

Declaration

cs-api-definition
[Browsable(true)]
public TreeMapDataItemCollection Items { get; }

Property Value

TreeMapDataItemCollection

LegendOrientation

Gets or sets the orientation of legend items when the legend is displayed.

Declaration

cs-api-definition
public Orientation LegendOrientation { get; set; }

Property Value

Orientation

LegendPosition

Gets or sets the position where the legend is displayed relative to the tree map.

Declaration

cs-api-definition
public RadPosition LegendPosition { get; set; }

Property Value

RadPosition

LegendTitle

Gets or sets the title text displayed above the legend.

Declaration

cs-api-definition
public string LegendTitle { get; set; }

Property Value

string

SelectedGroup

Gets or sets the currently selected TreeMapDataItemGroup.

Declaration

cs-api-definition
[Browsable(false)]
public TreeMapDataItemGroup SelectedGroup { get; set; }

Property Value

TreeMapDataItemGroup

SelectedItem

Gets or sets the currently selected TreeMapDataItem.

Declaration

cs-api-definition
[Browsable(false)]
public TreeMapDataItem SelectedItem { get; set; }

Property Value

TreeMapDataItem

SelectedItemBackColor

Gets or sets the background color applied to items when they are selected.

Declaration

cs-api-definition
public Color SelectedItemBackColor { get; set; }

Property Value

Color

SelectedItemBorderColor

Gets or sets the border color applied to items when they are selected.

Declaration

cs-api-definition
public Color SelectedItemBorderColor { get; set; }

Property Value

Color

SelectedItemBorderWidth

Gets or sets the thickness of the border applied to items when they are selected.

Declaration

cs-api-definition
public int SelectedItemBorderWidth { get; set; }

Property Value

int

ShowLegend

Gets or sets a value indicating whether a legend is displayed to explain the color coding of tree map items.

Declaration

cs-api-definition
public bool ShowLegend { get; set; }

Property Value

bool

Title

Gets or sets the title text displayed at the top of the tree map control.

Declaration

cs-api-definition
public string Title { get; set; }

Property Value

string

ToolTipDisplayMode

Gets or sets the mode for displaying tooltips when users hover over tree map items.

Declaration

cs-api-definition
public ToolTipDisplayMode ToolTipDisplayMode { get; set; }

Property Value

ToolTipDisplayMode

TreeMapElement

Gets the core tree map element that handles the visualization and data processing.

Declaration

cs-api-definition
[Browsable(false)]
public RadTreeMapElement TreeMapElement { get; }

Property Value

RadTreeMapElement

ValueMember

Gets or sets the name of the property from the data source that provides the quantitative value for each item.

Declaration

cs-api-definition
[Browsable(true)]
public string ValueMember { get; set; }

Property Value

string

WrapItemText

Gets or sets a value indicating whether text within tree map items should wrap to multiple lines when it exceeds the item's width.

Declaration

cs-api-definition
public bool WrapItemText { get; set; }

Property Value

bool

Methods

ColorizeItems()

Applies the configured colorizer to all tree map items to set their background and foreground colors.

Declaration

cs-api-definition
public virtual void ColorizeItems()

CreateChildItems(RadElement)

Creates the child items for the parent element.

Declaration

cs-api-definition
protected override void CreateChildItems(RadElement parent)

Parameters

parent

RadElement

The parent element that will contain the child items.

Overrides RadControl.CreateChildItems(RadElement)

CreateTreeMapElement()

Creates the core tree map element that provides the visualization functionality.

Declaration

cs-api-definition
protected virtual RadTreeMapElement CreateTreeMapElement()

Returns

RadTreeMapElement

A new instance of RadTreeMapElement.

EvaluateAlgorithm()

Recalculates the layout algorithm to determine the size and position of all tree map items based on their values.

Declaration

cs-api-definition
public void EvaluateAlgorithm()

Events

AlgorithmEvaluated

Occurs after the layout algorithm has been evaluated and all tree map items have been assigned their final bounds.

Declaration

cs-api-definition
public event EventHandler AlgorithmEvaluated

Event Value

EventHandler

GroupPainted

Occurs after a tree map group and all its child items have been painted.

Declaration

cs-api-definition
public event TreeMapGroupPaintedEventHandler GroupPainted

Event Value

TreeMapGroupPaintedEventHandler

GroupPainting

Occurs before a tree map group is painted, allowing customization of its appearance.

Declaration

cs-api-definition
public event TreeMapGroupPaitingEventHandler GroupPainting

Event Value

TreeMapGroupPaitingEventHandler

HoveredGroupChanged

Occurs when the HoveredGroup property changes due to mouse movement.

Declaration

cs-api-definition
public event TreeMapGroupChangedEventHandler HoveredGroupChanged

Event Value

TreeMapGroupChangedEventHandler

HoveredItemChanged

Occurs when the HoveredItem property changes due to mouse movement.

Declaration

cs-api-definition
public event TreeMapItemChangedEventHandler HoveredItemChanged

Event Value

TreeMapItemChangedEventHandler

ItemCreating

Occurs when a TreeMapDataItem needs to be created during data binding operations.

Declaration

cs-api-definition
public event TreeMapItemCreatingEventHandler ItemCreating

Event Value

TreeMapItemCreatingEventHandler

ItemDataBound

Occurs after a data-bound item has been attached to a TreeMapDataItem during data binding.

Declaration

cs-api-definition
public event TreeMapItemEventHandler ItemDataBound

Event Value

TreeMapItemEventHandler

ItemPainted

Occurs after a tree map item has been painted.

Declaration

cs-api-definition
public event TreeMapItemPaitedEventHandler ItemPainted

Event Value

TreeMapItemPaitedEventHandler

ItemPainting

Occurs before a tree map item is painted, allowing customization of its appearance.

Declaration

cs-api-definition
public event TreeMapItemPaitingEventHandler ItemPainting

Event Value

TreeMapItemPaitingEventHandler

ScreenTipShowing

Occurs before a screen tip is displayed, allowing customization of the tip's content and appearance.

Declaration

cs-api-definition
public event TreeMapScreenTipEventHandler ScreenTipShowing

Event Value

TreeMapScreenTipEventHandler

SelectedGroupChanged

Occurs after the SelectedGroup property has changed.

Declaration

cs-api-definition
public event TreeMapGroupChangedEventHandler SelectedGroupChanged

Event Value

TreeMapGroupChangedEventHandler

SelectedGroupChanging

Occurs before the SelectedGroup property changes, allowing the operation to be cancelled.

Declaration

cs-api-definition
public event TreeMapGroupChangingEventHandler SelectedGroupChanging

Event Value

TreeMapGroupChangingEventHandler

SelectedItemChanged

Occurs after the SelectedItem property has changed.

Declaration

cs-api-definition
public event TreeMapItemChangedEventHandler SelectedItemChanged

Event Value

TreeMapItemChangedEventHandler

SelectedItemChanging

Occurs before the SelectedItem property changes, allowing the operation to be cancelled.

Declaration

cs-api-definition
public event TreeMapItemChangingEventHandler SelectedItemChanging

Event Value

TreeMapItemChangingEventHandler

ToolTipShowing

Occurs before a tooltip is displayed, allowing customization of the tooltip's content and appearance.

Declaration

cs-api-definition
public event TreeMapToolTipEventHandler ToolTipShowing

Event Value

TreeMapToolTipEventHandler