New to Telerik UI for WinFormsStart a free 30-day trial

Represents the core element of the RadTreeMap control that provides data visualization capabilities for hierarchical data through nested rectangles.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class RadTreeMapElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IDataItemSource

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadTreeMapElement...

Implements: IBindableComponentIBorderElementIBoxElementIBoxStyleIComponentICustomTypeDescriptorIDataItemSourceIDisposableIDrawFillElementIFillElementIImageElementINotifyPropertyChangedIPrimitiveElementIShapedElementIShortcutProviderIStylableElementIStylableNodeISupportDragISupportDropISupportSystemSkinITextPrimitiveITextProvider...

Inherited Members LightVisualElement.BackgroundImagePropertyLightVisualElement.BackgroundImageLayoutPropertyLightVisualElement.BackColor2PropertyLightVisualElement.BackColor3PropertyLightVisualElement.BackColor4PropertyLightVisualElement.BorderBottomColorPropertyLightVisualElement.BorderBottomShadowColorPropertyLightVisualElement.BorderBottomWidthPropertyLightVisualElement.BorderBoxStylePropertyLightVisualElement.BorderColorPropertyLightVisualElement.BorderColor2PropertyLightVisualElement.BorderColor3PropertyLightVisualElement.BorderColor4PropertyLightVisualElement.BorderDashStylePropertyLightVisualElement.BorderDashPatternPropertyLightVisualElement.BorderDrawModePropertyLightVisualElement.BorderGradientAnglePropertyLightVisualElement.BorderGradientStylePropertyLightVisualElement.BorderInnerColorPropertyLightVisualElement.BorderInnerColor2PropertyLightVisualElement.BorderInnerColor3PropertyLightVisualElement.BorderInnerColor4PropertyLightVisualElement.BorderLeftColorPropertyLightVisualElement.BorderLeftShadowColorPropertyLightVisualElement.BorderLeftWidthPropertyLightVisualElement.BorderRightColorPropertyLightVisualElement.BorderRightShadowColorPropertyLightVisualElement.BorderRightWidthPropertyLightVisualElement.BorderTopColorPropertyLightVisualElement.BorderTopShadowColorPropertyLightVisualElement.BorderTopWidthPropertyLightVisualElement.BorderWidthPropertyLightVisualElement.ClipTextPropertyLightVisualElement.DisabledTextRenderingHintPropertyLightVisualElement.DrawBorderPropertyLightVisualElement.DrawFillPropertyLightVisualElement.DrawTextPropertyLightVisualElement.DrawBackgroundImagePropertyLightVisualElement.DrawImagePropertyLightVisualElement.EnableImageTransparencyPropertyLightVisualElement.GradientAnglePropertyLightVisualElement.GradientPercentagePropertyLightVisualElement.GradientPercentage2PropertyLightVisualElement.GradientStylePropertyLightVisualElement.HorizontalLineColorPropertyLightVisualElement.HorizontalLineWidthPropertyLightVisualElement.ImageAlignmentPropertyLightVisualElement.ImageIndexPropertyLightVisualElement.ImageKeyPropertyLightVisualElement.ImageLayoutPropertyLightVisualElement.ImageOpacityPropertyLightVisualElement.ImagePropertyLightVisualElement.ImageTransparentColorPropertyLightVisualElement.NumberOfColorsPropertyLightVisualElement.ShowHorizontalLinePropertyLightVisualElement.SvgImagePropertyLightVisualElement.TextAlignmentPropertyLightVisualElement.TextImageRelationPropertyLightVisualElement.TextWrapPropertyLightVisualElement.TextRenderingHintPropertyLightVisualElement.GetBorderThickness(LightVisualElement, bool)LightVisualElement.ShouldSerializeProperty(PropertyDescriptor)LightVisualElement.GetImageDrawTypeLocalValue()LightVisualElement.MapStyleProperty(RadProperty, string)LightVisualElement.GetStylablePropertiesFilter()LightVisualElement.GetPaintingBorderWidth()LightVisualElement.OnBitStateChanged(long, bool, bool)LightVisualElement.GetAsBitmapEx(Color, float, SizeF)LightVisualElement.GetClipRect()LightVisualElement.PaintElement(IGraphics, float, SizeF)LightVisualElement.PaintText(IGraphics)LightVisualElement.PaintTextCore(IGraphics)LightVisualElement.DrawHorizontalLineWithoutText(IGraphics)LightVisualElement.DrawHorizontalLine(IGraphics)LightVisualElement.PaintImage(IGraphics)LightVisualElement.PaintSvgImage(IGraphics)LightVisualElement.PaintBackgroundImage(IGraphics)LightVisualElement.AnimateImage(Image, bool)LightVisualElement.ClipImage(Image, Rectangle, Size)LightVisualElement.CalculateDesiredSize(SizeF, SizeF, SizeF)LightVisualElement.MeasureElements(SizeF, SizeF, Padding)LightVisualElement.ArrangeElement(RadElement, SizeF)LightVisualElement.GetClientOffset(bool)LightVisualElement.GetBorderThickness(bool)LightVisualElement.GetClientRectangle(bool, SizeF)LightVisualElement.GetClientRectangle(SizeF)LightVisualElement.GetTextAlignment(ContentAlignment)LightVisualElement.GetTextAlignment()LightVisualElement.OnTunnelEvent(RadElement, RoutedEventArgs)LightVisualElement.ToggleTextPrimitive(RadProperty)LightVisualElement.OnAnimatedImageFrameChanged()LightVisualElement.GetFaceRectangle()LightVisualElement.CreateTextParams()LightVisualElement.PaintPrimitive(IGraphics, float, SizeF, TextParams)LightVisualElement.PaintPrimitive(IGraphics, TextParams)LightVisualElement.MeasureOverride(SizeF, TextParams)LightVisualElement.OnMouseMove(object, MouseEventArgs)LightVisualElement.GetTextSize(SizeF, TextParams)LightVisualElement.GetTextSize(TextParams)LightVisualElement.TextRenderingHintLightVisualElement.DisabledTextRenderingHintLightVisualElement.ShouldPaintLightVisualElement.CanFocusLightVisualElement.DrawTextLightVisualElement.DrawFillLightVisualElement.DrawBorderLightVisualElement.DrawBackgroundImageLightVisualElement.DrawImageLightVisualElement.BorderBoxStyleLightVisualElement.BorderDrawModeLightVisualElement.BorderWidthLightVisualElement.BorderLeftWidthLightVisualElement.BorderTopWidthLightVisualElement.BorderRightWidthLightVisualElement.BorderBottomWidthLightVisualElement.BorderGradientAngleLightVisualElement.BorderGradientStyleLightVisualElement.BorderColorLightVisualElement.BorderColor2LightVisualElement.BorderColor3LightVisualElement.BorderColor4LightVisualElement.BorderInnerColorLightVisualElement.BorderInnerColor2LightVisualElement.BorderInnerColor3LightVisualElement.BorderInnerColor4LightVisualElement.BackColor2LightVisualElement.BackColor3LightVisualElement.BackColor4LightVisualElement.NumberOfColorsLightVisualElement.GradientStyleLightVisualElement.GradientAngleLightVisualElement.GradientPercentageLightVisualElement.GradientPercentage2LightVisualElement.BackgroundImageLightVisualElement.ImageLightVisualElement.ImageIndexLightVisualElement.ImageKeyLightVisualElement.ImageLayoutLightVisualElement.BackgroundImageLayoutLightVisualElement.ImageOpacityLightVisualElement.DisabledImageOpacityLightVisualElement.TextAlignmentLightVisualElement.ImageAlignmentLightVisualElement.TextImageRelationLightVisualElement.ShowHorizontalLineLightVisualElement.HorizontalLineColorLightVisualElement.HorizontalLineWidthLightVisualElement.DisableHTMLRenderingLightVisualElement.BorderLeftColorLightVisualElement.BorderTopColorLightVisualElement.BorderRightColorLightVisualElement.BorderBottomColorLightVisualElement.BorderLeftShadowColorLightVisualElement.BorderTopShadowColorLightVisualElement.BorderRightShadowColorLightVisualElement.BorderBottomShadowColorLightVisualElement.ClipTextLightVisualElement.LayoutLightVisualElement.ImageTransparentColorLightVisualElement.BorderDashStyleLightVisualElement.BorderDashPatternLightVisualElement.EnableImageTransparencyLightVisualElement.SvgImageLightVisualElement.ImageDrawTypeLightVisualElement.AutoEllipsisLightVisualElement.UseMnemonicLightVisualElement.TextWrapLightVisualElement.ShowKeyboardCuesLightVisualElement.MeasureTrailingSpacesLightVisualElement.TextParamsUIItemBase.PaintFill(IGraphics, float, SizeF)UIItemBase.GetFillPaintRect(float, SizeF)UIItemBase.PaintFill(IGraphics, float, SizeF, RectangleF)UIItemBase.PaintBorder(IGraphics, float, SizeF)UIItemBase.PaintBorder(IGraphics, float, SizeF, RectangleF)UIItemBase.GetBorderPaintRect(float, SizeF)UIItemBase.ShouldUsePaintBuffer()RadItem.KeyDownEventRadItem.KeyPressEventRadItem.KeyUpEventRadItem.FocusCommandRadItem.ActionCommandRadItem.UseDefaultDisabledPaintPropertyRadItem.TextPropertyRadItem.TextOrientationPropertyRadItem.FlipTextPropertyRadItem.IsAddNewItemPropertyRadItem.ToolTipTextPropertyRadItem.EnableElementShadowPropertyRadItem.ShadowDepthPropertyRadItem.ShadowColorPropertyRadItem.IsPaintingRippleRadItem.EnableRippleAnimationPropertyRadItem.RippleAnimationColorPropertyRadItem.EnableFocusBorderPropertyRadItem.FocusBorderColorPropertyRadItem.FocusBorderWidthPropertyRadItem.EnableFocusBorderAnimationPropertyRadItem.EnableHighlightPropertyRadItem.HighlightColorPropertyRadItem.EnableBorderHighlightPropertyRadItem.BorderHighlightColorPropertyRadItem.BorderHighlightThicknessPropertyRadItem.VisualStatePropertyRadItem.SetOwnerCollection(RadItemOwnerCollection)RadItem.Select()RadItem.OnSelect()RadItem.Deselect()RadItem.OnDeselect()RadItem.DoKeyDown(KeyEventArgs)RadItem.DoKeyPress(KeyPressEventArgs)RadItem.DoKeyUp(KeyEventArgs)RadItem.OnKeyDown(KeyEventArgs)RadItem.OnKeyPress(KeyPressEventArgs)RadItem.OnKeyUp(KeyEventArgs)RadItem.RaiseBubbleEvent(RadElement, RoutedEventArgs)RadItem.OnPropertyChanging(RadPropertyChangingEventArgs)RadItem.OnEnabledChanged(RadPropertyChangedEventArgs)RadItem.OnTextChanging(TextChangingEventArgs)RadItem.OnTextChanged(EventArgs)RadItem.OnTextOrientationChanged(EventArgs)RadItem.OnFlipTextChanged(EventArgs)RadItem.PaintOverride(IGraphics, Rectangle, float, SizeF, bool)RadItem.OnMouseUp(MouseEventArgs)RadItem.StartRippleAnimation(MouseEventArgs)RadItem.UpdateFocusBorder(bool)RadItem.ContainsText()RadItem.ProcessDialogKey(Keys)RadItem.ProcessCmdKey(ref Message, Keys)RadItem.RaiseKeyDown(KeyEventArgs)RadItem.RaiseKeyPress(KeyPressEventArgs)RadItem.RaiseKeyUp(KeyEventArgs)RadItem.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadItem.CallOnGesture(GestureEventArgs)RadItem.OnGesture(GestureEventArgs)RadItem.OnTwoFingerTapGesture(GestureEventArgs)RadItem.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadItem.OnPanGesture(PanGestureEventArgs)RadItem.OnRotateGesture(RotateGestureEventArgs)RadItem.OnZoomGesture(ZoomGestureEventArgs)RadItem.CanDragCore(Point)RadItem.GetDragContextCore()RadItem.GetDragHintCore()RadItem.ProcessDragDrop(Point, ISupportDrag)RadItem.ProcessDragOver(Point, ISupportDrag)RadItem.ProcessDragEnter(Point, ISupportDrag)RadItem.ProcessDragLeave(Point, ISupportDrag)RadItem.UpdateOnShortcutsChanged()RadItem.CanHandleShortcut(ShortcutEventArgs)RadItem.IsOnActiveForm(Control, bool)RadItem.SetThemeValueOverride(RadProperty, object, string)RadItem.SetThemeValueOverride(RadProperty, object, string, string)RadItem.SetThemeValueOverride(RadProperty, object, string, Type)RadItem.ResetThemeValueOverride(RadProperty)RadItem.ResetThemeValueOverride(RadProperty, string)RadItem.ResetThemeValueOverrides()RadItem.GetAvailableVisualStates()RadItem.ShouldFallbackToDefaultTheme()RadItem.UseDefaultDisabledPaintRadItem.TextOrientationRadItem.FlipTextRadItem.CanHaveOwnStyleRadItem.TextRadItem.SelectableRadItem.DefaultAutoToolTipRadItem.ShouldHandleMouseInputRadItem.KeyTipRadItem.ParentItemRadItem.ShortcutsHandlerRadItem.EnableElementShadowRadItem.ShadowDepthRadItem.ShadowColorRadItem.EnableRippleAnimationRadItem.RippleAnimationColorRadItem.EnableFocusBorderRadItem.FocusBorderColorRadItem.FocusBorderWidthRadItem.EnableFocusBorderAnimationRadItem.EnableHighlightRadItem.HighlightColorRadItem.EnableBorderHighlightRadItem.BorderHighlightColorRadItem.BorderHighlightThicknessRadItem.MnemonicTextRadItem.ToolTipTextRadItem.ThemeRoleRadItem.VisualStateRadItem.StateManagerRadItem.AllowDragRadItem.AllowDropRadItem.ShortcutsRadItem.AccessibleDescriptionRadItem.AccessibleNameRadItem.AccessibleRoleRadItem.TextChangingRadItem.TextChangedRadItem.TextOrientationChangedRadItem.FlipTextChangedRadItem.QueryAccessibilityHelpRadItem.KeyDownRadItem.KeyPressRadItem.KeyUpRadItem.ZoomGestureRadItem.RotateGestureRadItem.PanGestureRadItem.TwoFingerTapGestureRadItem.PressAndTapGestureRadComponentElement.ToString()RadComponentElement.GetService(Type)RadComponentElement.CanRaiseEventsRadComponentElement.ContainerRadComponentElement.DesignModeRadComponentElement.SiteRadComponentElement.DataBindingsVisualElement.DefaultSizePropertyVisualElement.ForeColorPropertyVisualElement.BackColorPropertyVisualElement.FontPropertyVisualElement.SmoothingModePropertyVisualElement.OpacityPropertyVisualElement.CustomFontPropertyVisualElement.CustomFontSizePropertyVisualElement.CustomFontStylePropertyVisualElement.OnFontChanged(EventArgs)VisualElement.PaintChildren(IGraphics, Rectangle, float, SizeF, bool)VisualElement.PrePaintElement(IGraphics)VisualElement.PostPaintElement(IGraphics)VisualElement.GetScaledFont(float)VisualElement.GetScaledFont(float, Font)VisualElement.DefaultSizeVisualElement.ForeColorVisualElement.BackColorVisualElement.CustomFontVisualElement.CustomFontSizeVisualElement.CustomFontStyleVisualElement.SmoothingModeVisualElement.OpacityVisualElement.FontChangedRadElement.BoundsPropertyRadElement.BorderThicknessPropertyRadElement.PaddingPropertyRadElement.MarginPropertyRadElement.AlignmentPropertyRadElement.AutoSizeModePropertyRadElement.FitToSizeModePropertyRadElement.MinSizePropertyRadElement.EnabledPropertyRadElement.CanFocusPropertyRadElement.IsItemFocusedPropertyRadElement.IsFocusedPropertyRadElement.IsMouseOverPropertyRadElement.IsMouseOverElementPropertyRadElement.IsMouseDownPropertyRadElement.ShouldPaintPropertyRadElement.VisibilityPropertyRadElement.NamePropertyRadElement.ClassPropertyRadElement.ClipDrawingPropertyRadElement.ShapePropertyRadElement.MouseClickedEventRadElement.MouseDoubleClickedEventRadElement.MouseDownEventRadElement.MouseUpEventRadElement.MouseWheelEventRadElement.ChildElementAddedEventRadElement.ParentChangedEventRadElement.BoundsChangedEventRadElement.VisibilityChangingEventRadElement.EnabledChangedEventRadElement.ControlChangedEventRadElement.BackgroundShapePropertyRadElement.BackgroundShapePaintModePropertyRadElement.ContainsFocusPropertyRadElement.ContainsMousePropertyRadElement.MaxSizePropertyRadElement.RightToLeftPropertyRadElement.AutoSizePropertyRadElement.ZIndexPropertyRadElement.AngleTransformPropertyRadElement.ScaleTransformPropertyRadElement.PositionOffsetPropertyRadElement.TagPropertyRadElement.StretchHorizontallyPropertyRadElement.StretchVerticallyPropertyRadElement.UseCompatibleTextRenderingPropertyRadElement.ClickModePropertyRadElement.styleVersionRadElement.paintSystemSkinRadElement.SetPropertyValueCommandRadElement.GetPropertyValueCommandRadElement.StylePropertyRadElement.CallCreateChildElements()RadElement.SuspendReferenceUpdate()RadElement.ResumeReferenceUpdate()RadElement.OnLoad(bool)RadElement.LoadCore()RadElement.OnUnload(ComponentThemableElementTree, bool)RadElement.UnloadCore(ComponentThemableElementTree)RadElement.OnUnloaded(ComponentThemableElementTree)RadElement.OnElementTreeChanged(ComponentThemableElementTree)RadElement.OnBeginDispose()RadElement.SetParent(RadElement)RadElement.OnParentChanged(RadElement)RadElement.UpdateReferences(ComponentThemableElementTree, bool, bool)RadElement.ResetLayout(bool)RadElement.HasInvisibleAncestor()RadElement.ResetLayoutCore()RadElement.InvalidateArrange()RadElement.InvalidateArrange(bool)RadElement.InvalidateMeasure()RadElement.InvalidateMeasure(bool)RadElement.UpdateLayout()RadElement.SuspendLayout()RadElement.SuspendLayout(bool)RadElement.ResumeLayout(bool)RadElement.ResumeLayout(bool, bool)RadElement.Arrange(RectangleF)RadElement.Measure(SizeF)RadElement.SetBounds(Rectangle)RadElement.SetBounds(int, int, int, int)RadElement.GetBoundingRectangle(Size)RadElement.GetBoundingRectangle(Rectangle)RadElement.GetDesiredSize(bool)RadElement.PointToScreen(Point)RadElement.PointFromScreen(Point)RadElement.PointToControl(Point)RadElement.PointFromControl(Point)RadElement.LocationToControl()RadElement.RectangleToScreen(Rectangle)RadElement.HitTest(Point)RadElement.OnRenderSizeChanged(SizeChangedInfo)RadElement.OnChildDesiredSizeChanged(RadElement)RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)RadElement.ArrangeCore(RectangleF)RadElement.MeasureCore(SizeF)RadElement.MeasureChildren(SizeF)RadElement.GetArrangeRect(RectangleF)RadElement.CanExecuteLayoutOperation()RadElement.CalcLayoutOffset(PointF)RadElement.LockBounds()RadElement.UnlockBounds()RadElement.SetBoundsCore(Rectangle)RadElement.IsInValidState(bool)RadElement.Invalidate()RadElement.Invalidate(bool)RadElement.GetInvalidateBounds()RadElement.NotifyInvalidate(RadElement)RadElement.OnTransformationInvalidated()RadElement.PerformLayoutTransformation(ref RadMatrix)RadElement.PerformPaintTransformation(ref RadMatrix)RadElement.IsInGetAsBitmap()RadElement.PaintElementSkin(IGraphics)RadElement.PaintBackgroundShape(IGraphics)RadElement.PostPaintChildren(IGraphics, Rectangle, float, SizeF)RadElement.PaintChild(RadElement, IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintShadow(RadElement, IGraphics)RadElement.PaintShadowCore(Graphics, Rectangle, RadItem)RadElement.GetShadowRect(ref Rectangle, int)RadElement.PaintFocusCues(IGraphics, Rectangle)RadElement.GetAsBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Rectangle, Brush, float, SizeF)RadElement.GetAsBitmapEx(Brush, float, SizeF)RadElement.GetAsBitmap(Brush, float, SizeF)RadElement.IsInVisibleClipBounds(Rectangle)RadElement.SetClipping(Graphics)RadElement.ShouldPaintChild(RadElement)RadElement.GetFocusRect()RadElement.GetCurrentShape()RadElement.GetPaintRectangle(float, float, SizeF)RadElement.GetPatchedRect(RectangleF, float, SizeF)RadElement.GetXPVisualStyle()RadElement.GetVistaVisualStyle()RadElement.InitializeSystemSkinPaint()RadElement.UnitializeSystemSkinPaint()RadElement.GetSystemSkinPaintBounds()RadElement.OnUseSystemSkinChanged(EventArgs)RadElement.ShouldPaintSystemSkin()RadElement.ComposeShouldPaintSystemSkin()RadElement.ResetStyleSettings(bool)RadElement.ResetStyleSettings(bool, RadProperty)RadElement.ProcessBehaviors(RadPropertyChangedEventArgs)RadElement.AddBehavior(PropertyChangeBehavior)RadElement.GetBehaviors()RadElement.RemoveBehavior(PropertyChangeBehavior)RadElement.ClearBehaviors()RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection)RadElement.SetThemeApplied(bool)RadElement.OnStyleChanged(RadPropertyChangedEventArgs)RadElement.UnapplyStyle()RadElement.RemoveRangeBehaviors(PropertyChangeBehaviorCollection)RadElement.RemoveBehaviors(PropertyChangeBehavior)RadElement.RemoveRangeRoutedEventBehaviors(RoutedEventBehaviorCollection)RadElement.GetThemeEffectiveType()RadElement.GetChildrenByType(Type)RadElement.GetChildrenByBaseType(Type)RadElement.FindAncestorByThemeEffectiveType(Type)RadElement.FindAncestor<T>()RadElement.IsAncestorOf(RadElement)RadElement.FindDescendant<T>()RadElement.FindDescendant(Predicate<RadElement>)RadElement.FindDescendant(Type)RadElement.EnumDescendants(TreeTraversalMode)RadElement.EnumDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.EnumDescendants(Filter, TreeTraversalMode)RadElement.GetDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.GetDescendants(Filter, TreeTraversalMode)RadElement.GetAncestors(Filter)RadElement.GetAncestors(Predicate<RadElement>)RadElement.RaiseRoutedEvent(RadElement, RoutedEventArgs)RadElement.RaiseTunnelEvent(RadElement, RoutedEventArgs)RadElement.OnBubbleEvent(RadElement, RoutedEventArgs)RadElement.IsEventInProcess(RaisedRoutedEvent)RadElement.RegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, string)RadElement.GetRegisterRoutedEvent(string)RadElement.OnChildrenChanged(RadElement, ItemsChangeOperation)RadElement.GetChildren(ChildrenListOptions)RadElement.SendToBack()RadElement.BringToFront()RadElement.IsChildOf(RadElement)RadElement.Focus()RadElement.Focus(bool)RadElement.SetFocusPropertySafe(bool)RadElement.KillFocus()RadElement.OnCLREventsRise(RoutedEventArgs)RadElement.OnMouseHover(EventArgs)RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnLostMouseCapture(MouseEventArgs)RadElement.OnClick(EventArgs)RadElement.OnDoubleClick(EventArgs)RadElement.OnMouseEnter(EventArgs)RadElement.PerformClick()RadElement.OnMouseWheel(MouseEventArgs)RadElement.DoMouseWheel(MouseEventArgs)RadElement.DoClick(EventArgs)RadElement.DoDoubleClick(EventArgs)RadElement.IsInputKey(InputKeyEventArgs)RadElement.MouseEventArgsFromControl(MouseEventArgs)RadElement.DoMouseDown(MouseEventArgs)RadElement.DoMouseUp(MouseEventArgs)RadElement.DoMouseMove(MouseEventArgs)RadElement.ShowScreenTip(ScreenTipNeededEventArgs)RadElement.HideScreenTip()RadElement.DoMouseHover(EventArgs)RadElement.RaiseClick(EventArgs)RadElement.RaiseDoubleClick(EventArgs)RadElement.RaiseMouseWheel(MouseEventArgs)RadElement.UpdateContainsFocus(bool)RadElement.DoMouseEnter(EventArgs)RadElement.DoMouseLeave(EventArgs)RadElement.GetValue(RadProperty)RadElement.SetValueCore(RadPropertyValue, object, object, ValueSource)RadElement.NotifyChildren(RadPropertyChangedEventArgs)RadElement.OnLocationChanged(RadPropertyChangedEventArgs)RadElement.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)RadElement.CanRaisePropertyChangeNotifications(RadPropertyValue)RadElement.IsPropertyCancelable(RadPropertyMetadata)RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs)RadElement.PerformDispose(bool)RadElement.DisposeChildren()RadElement.GetStylableChildrenHierarchy()RadElement.GetStylableChildren()RadElement.GetBorderThickness(BorderPrimitive)RadElement.DpiScaleChanged(SizeF)RadElement.ElementStateRadElement.DesiredSizeRadElement.IsLayoutSuspendedRadElement.BoundingRectangleRadElement.ControlBoundingRectangleRadElement.BypassLayoutPoliciesRadElement.IsArrangeValidRadElement.IsMeasureValidRadElement.TreeLevelRadElement.TransformRadElement.TotalTransformRadElement.ShouldPaintUsingParentShapeRadElement.UseSystemSkinRadElement.PropagateStyleToChildrenRadElement.ThemeEffectiveTypeRadElement.ElementTreeRadElement.ChildrenRadElement.ChildrenHierarchyRadElement.ParentRadElement.RoutedEventBehaviorsRadElement.LayoutableChildrenCountRadElement.ContainsFocusRadElement.NotifyParentOnMouseInputRadElement.IsAbleToRespondToMouseEventsRadElement.AutoSizeRadElement.BoundsRadElement.LocationRadElement.SizeRadElement.BorderThicknessRadElement.PaddingRadElement.MarginRadElement.AlignmentRadElement.AutoSizeModeRadElement.FitToSizeModeRadElement.EnabledRadElement.IsFocusedRadElement.IsMouseOverRadElement.IsMouseOverElementRadElement.IsMouseDownRadElement.InvalidateChildrenOnChildChangedRadElement.VisibilityRadElement.IsElementVisibleRadElement.NameRadElement.ClassRadElement.ClipDrawingRadElement.ShapeRadElement.MinSizeRadElement.MaxSizeRadElement.ZIndexRadElement.RightToLeftRadElement.UseCompatibleTextRenderingRadElement.BackgroundShapeRadElement.BackgroundShapePaintModeRadElement.ContainsMouseRadElement.CaptureRadElement.ScaleTransformRadElement.AngleTransformRadElement.PositionOffsetRadElement.SerializePropertiesRadElement.SerializeElementRadElement.SerializeChildrenRadElement.RenderingMaxFramerateRadElement.IsThemeAppliedRadElement.ShouldApplyThemeRadElement.UseCenteredAngleTransformRadElement.TagRadElement.StretchHorizontallyRadElement.StretchVerticallyRadElement.ClickModeRadElement.DoubleClickEnabledRadElement.CaptureOnMouseDownRadElement.IsItemHoveredRadElement.StyleRadElement.AutoToolTipRadElement.ScreenTipRadElement.AutoNumberKeyTipRadElement.DpiScaleFactorRadElement.LayoutUpdatedRadElement.MouseHoverRadElement.MouseMoveRadElement.MouseDownRadElement.MouseUpRadElement.ClickRadElement.DoubleClickRadElement.MouseEnterRadElement.MouseWheelRadElement.EnabledChangedRadElement.MouseLeaveRadElement.ChildrenChangedRadElement.LostMouseCaptureRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing...

Constructors

Initializes a new instance of the RadTreeMapElement class.

C#
public RadTreeMapElement()

Fields

Identifies the GroupBackColor dependency property.

C#
public static RadProperty GroupBackColorProperty

Identifies the GroupBorderColor dependency property.

C#
public static RadProperty GroupBorderColorProperty

Identifies the GroupHeaderHeight dependency property.

C#
public static RadProperty GroupHeaderHeightProperty

Identifies the HoveredItemBackColor dependency property.

C#
public static RadProperty HoveredItemBackColorProperty

Identifies the HoveredItemBorderColor dependency property.

C#
public static RadProperty HoveredItemBorderColorProperty

Identifies the HoveredItemBorderWidth dependency property.

C#
public static RadProperty HoveredItemBorderWidthProperty

Identifies the SelectedItemBackColor dependency property.

C#
public static RadProperty SelectedItemBackColorProperty

Identifies the SelectedItemBorderColor dependency property.

C#
public static RadProperty SelectedItemBorderColorProperty

Identifies the SelectedItemBorderWidth dependency property.

C#
public static RadProperty SelectedItemBorderWidthProperty

Properties

Gets or sets the algorithm used for calculating the layout and positioning of rectangles in the treemap.

C#
[Browsable(false)]
public TreeMapAlgorithm Algorithm { get; set; }
Remarks:

The algorithm determines how the available space is divided among the data items based on their values. If no algorithm is explicitly set, a default SquarifiedAlgorithm instance is created.

Gets or sets a value indicating whether hot tracking (hover effects) is enabled for treemap items.

C#
public bool AllowHotTracking { get; set; }
Remarks:

When hot tracking is disabled, the HoveredItem and HoveredGroup properties are set to null.

Gets or sets a value indicating whether selection of treemap items is enabled.

C#
public bool AllowSelection { get; set; }
Remarks:

When selection is disabled, the SelectedItem and SelectedGroup properties are set to null.

Gets or sets the colorizer used for applying colors to treemap items and groups.

C#
[Browsable(false)]
public BaseColorizer Colorizer { get; set; }
Remarks:

The colorizer determines the background and foreground colors for items and groups in the treemap. If no colorizer is explicitly set, a default PaletteColorizer instance is created.

Gets or sets the data source for the treemap visualization.

C#
[Browsable(true)]
public object DataSource { get; set; }
Remarks:

The DataSource can be any object that implements IList, IListSource, IBindingList, or IEnumerable. When set to null, both DisplayMember and ValueMember are reset to empty strings.

Gets the collection view that provides filtering, sorting, and grouping capabilities over the data source.

C#
[Browsable(false)]
public RadCollectionView<TreeMapDataItem> DataView { get; }

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

C#
[Browsable(true)]
[TypeConverter("System.Windows.Forms.Design.DataMemberFieldConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public string DisplayMember { get; set; }
Remarks:

The DisplayMember property specifies which property of the bound data objects contains the text that will be displayed on each rectangle in the treemap visualization.

Gets or sets a value indicating whether grouping functionality is enabled for the treemap.

C#
public bool EnableGrouping { get; set; }
Remarks:

When grouping is disabled, all items are displayed as individual rectangles without hierarchical organization. When enabled, items can be organized into groups based on the configured GroupDescriptors.

Gets or sets the font used for rendering text in the treemap elements.

C#
public override Font Font { get; set; }

Overrides: VisualElement.Font

Remarks:

The font property defines the typeface, size, and style attributes for text displayed on treemap items and groups. This property is inheritable through the element tree and cached for performance optimization.

Gets or sets the background color for group headers and areas.

C#
public Color GroupBackColor { get; set; }
Remarks:

This color is used to fill the background of group rectangles in the treemap visualization. The value is cached for performance during rendering operations.

Gets or sets the border color for group rectangles.

C#
public Color GroupBorderColor { get; set; }
Remarks:

This color is used to draw the borders around group rectangles in the treemap visualization. The value is cached for performance during rendering operations.

Gets a collection of GroupDescriptor objects that define grouping rules for the treemap data items.

C#
[Browsable(true)]
public GroupDescriptorCollection GroupDescriptors { get; }
Remarks:

Group descriptors are used to organize data items into hierarchical groups, which are then visualized as nested rectangles in the treemap. Each group can contain child groups and individual items.

Gets or sets the height of group headers in pixels.

C#
public int GroupHeaderHeight { get; set; }
Remarks:

This property determines the vertical space allocated for displaying group titles. The value is cached for performance during rendering operations.

Gets a collection of TreeMapDataItemGroup objects that represent groups in the treemap hierarchy.

C#
[Browsable(true)]
public TreeMapDataItemGroupCollection Groups { get; }
Remarks:

Groups are used to organize related data items and are visualized as larger rectangles containing nested rectangles for their child items or subgroups.

Gets or sets the text alignment for group headers.

C#
public ContentAlignment GroupTextAlignment { get; set; }
Remarks:

This property determines how group titles are positioned within group header areas.

Gets a value indicating whether the treemap has groups and grouping is enabled.

C#
public bool HasGroups { get; }
Remarks:

This property returns true only when both EnableGrouping is true and there are groups in the Groups collection.

Gets the currently hovered group, or null if no group is being hovered.

C#
[Browsable(false)]
public TreeMapDataItemGroup HoveredGroup { get; protected set; }
Remarks:

This property is automatically updated when the mouse moves over treemap groups, provided that AllowHotTracking is enabled.

Gets the currently hovered data item, or null if no item is being hovered.

C#
[Browsable(false)]
public TreeMapDataItem HoveredItem { get; protected set; }
Remarks:

This property is automatically updated when the mouse moves over treemap items, provided that AllowHotTracking is enabled.

Gets or sets the background color for hovered items.

C#
public Color HoveredItemBackColor { get; set; }
Remarks:

When an item is hovered and this color is not empty, it overrides the item's default background color. The value is cached for performance during rendering operations.

Gets or sets the border color for hovered items.

C#
public Color HoveredItemBorderColor { get; set; }
Remarks:

This color is used to draw the border around items when they are being hovered by the mouse. The value is cached for performance during rendering operations.

Gets or sets the border width in pixels for hovered items.

C#
public int HoveredItemBorderWidth { get; set; }
Remarks:

This value determines the thickness of the border drawn around items when they are being hovered. The value is cached for performance during rendering operations.

Gets a collection of TreeMapDataItem objects that represent individual items in the treemap.

C#
[Browsable(true)]
public TreeMapDataItemCollection Items { get; }
Remarks:

This collection contains all the data items that will be visualized as rectangles in the treemap. Each item has properties for value, text, style, and calculated bounds.

Gets or sets the text alignment for individual treemap items.

C#
public ContentAlignment ItemTextAlignment { get; set; }
Remarks:

This property determines how text is positioned within each item's rectangle, such as top-left, center, bottom-right, etc.

Gets the legend element that displays color mappings and group information.

C#
public TreeMapLegendElement LegendElement { get; }

Gets or sets the orientation of the legend items (horizontal or vertical layout).

C#
public Orientation LegendOrientation { get; set; }

Gets or sets the position of the legend relative to the treemap visualization area.

C#
public RadPosition LegendPosition { get; set; }
Remarks:

The legend can be positioned at the top, bottom, left, right, or hidden by setting to None.

Gets the stack layout element that contains the legend area.

C#
public StackLayoutElement LegendStack { get; }

Gets or sets the title text displayed in the legend.

C#
public string LegendTitle { get; set; }

Gets the source object that manages data binding and collection operations.

C#
[Browsable(false)]
public TreeMapListSource ListSource { get; }

Gets or sets the screen tip element used for displaying Office-style screen tips.

C#
public virtual RadOffice2007ScreenTipElement ScreenTipElement { get; set; }
Remarks:

If no screen tip element is explicitly set, a default RadOffice2007ScreenTipElement instance is created when first accessed.

Gets or sets the currently selected group in the treemap.

C#
[Browsable(false)]
public TreeMapDataItemGroup SelectedGroup { get; set; }
Remarks:

Setting this property triggers the SelectedGroupChanging event, which can be cancelled. If not cancelled, the selection is changed and the SelectedGroupChanged event is raised.

Gets or sets the currently selected item in the treemap.

C#
[Browsable(false)]
public TreeMapDataItem SelectedItem { get; set; }
Remarks:

Setting this property triggers the SelectedItemChanging event, which can be cancelled. If not cancelled, the selection is changed and the SelectedItemChanged event is raised.

Gets or sets the background color for selected items.

C#
public Color SelectedItemBackColor { get; set; }
Remarks:

When an item is selected and this color is not empty, it overrides the item's default background color. The value is cached for performance during rendering operations.

Gets or sets the border color for selected items.

C#
public Color SelectedItemBorderColor { get; set; }
Remarks:

This color is used to draw the border around items when they are selected. The value is cached for performance during rendering operations.

Gets or sets the border width in pixels for selected items.

C#
public int SelectedItemBorderWidth { get; set; }
Remarks:

This value determines the thickness of the border drawn around items when they are selected. The value is cached for performance during rendering operations.

Gets or sets a value indicating whether the legend is displayed for the treemap.

C#
public bool ShowLegend { get; set; }
Remarks:

The legend shows color mappings for different groups or categories in the treemap visualization.

Gets or sets the title text displayed at the top of the treemap.

C#
public string Title { get; set; }

Gets the title element that displays the treemap title.

C#
public TreeMapTitleElement TitleElement { get; }

Gets the stack layout element that contains the title area.

C#
public StackLayoutElement TitleStack { get; }

Gets or sets the tooltip control used for displaying standard tooltips.

C#
public RadToolTip ToolTip { get; set; }
Remarks:

If no tooltip is explicitly set, a default RadToolTip instance is created when first accessed.

Gets or sets the mode for displaying tooltips when hovering over treemap elements.

C#
public ToolTipDisplayMode ToolTipDisplayMode { get; set; }
Remarks:

Options include None (no tooltips), ToolTip (standard tooltips), or ScreenTip (Office-style screen tips).

Gets or sets the value member.

C#
[Browsable(true)]
public string ValueMember { get; set; }
Remarks:

The ValueMember property specifies which property of the bound data objects contains the numeric values that determine the size of each rectangle in the treemap visualization.

Gets or sets a value indicating whether text in treemap items should wrap to multiple lines.

C#
public bool WrapItemText { get; set; }
Remarks:

When enabled, long text that doesn't fit within an item's rectangle will wrap to the next line. When disabled, text is displayed on a single line and may be truncated with ellipsis.

Methods

Adds a style property setting and clears the cached values to ensure they are refreshed.

C#
protected override ValueUpdateResult AddStylePropertySetting(IPropertySetting setting)
Parameters:settingIPropertySetting

The property setting to add.

Returns:

ValueUpdateResult

The result of the value update operation.

Overrides: RadElement.AddStylePropertySetting(IPropertySetting)

Arranges the treemap element and positions the title and legend stacks according to the legend position.

C#
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters:finalSizeSizeF

The final size allocated for the element.

Returns:

SizeF

The actual size used by the element.

Overrides: LightVisualElement.ArrangeOverride(SizeF)

Remarks:

This method positions the legend and title stacks to avoid overlapping with the main treemap content area. The legend has priority in positioning, and the title area is adjusted accordingly.

Applies colors to all treemap items and groups using the configured Colorizer.

C#
public virtual void ColorizeItems()
Remarks:

This method delegates to the colorizer to set background and foreground colors for items or groups, depending on whether grouping is enabled. It also synchronizes the legend display.

Creates the binding context used for data binding operations.

C#
protected virtual BindingContext CreateBindingContext()
Returns:

BindingContext

A new BindingContext instance.

Creates the child elements including title stack, title element, legend stack, and legend element.

C#
protected override void CreateChildElements()

Overrides: RadElement.CreateChildElements()

Creates the default tree map algorithm used for calculating rectangle layouts.

C#
protected virtual TreeMapAlgorithm CreateDefaultAlgorithm()
Returns:

TreeMapAlgorithm

A new SquarifiedAlgorithm instance as the default algorithm.

Creates the default colorizer used for applying colors to treemap items and groups.

C#
protected virtual BaseColorizer CreateDefaultColorizer()
Returns:

BaseColorizer

A new PaletteColorizer instance as the default colorizer.

Creates a new TreeMapLegendElement for displaying the treemap legend.

C#
protected virtual TreeMapLegendElement CreateLegendElement()
Returns:

TreeMapLegendElement

A new TreeMapLegendElement instance associated with this treemap element.

Creates a new StackLayoutElement for organizing the legend area.

C#
protected virtual StackLayoutElement CreateLegendStack()
Returns:

StackLayoutElement

A new StackLayoutElement instance.

Creates the list source that manages the data binding and collection view.

C#
protected virtual TreeMapListSource CreateListSource()
Returns:

TreeMapListSource

A new TreeMapListSource instance associated with this treemap element.

Creates a new RadOffice2007ScreenTipElement instance for displaying screen tips.

C#
protected virtual RadOffice2007ScreenTipElement CreateScreenTipElement()
Returns:

RadOffice2007ScreenTipElement

A new RadOffice2007ScreenTipElement instance with empty text labels.

Creates a new TreeMapTitleElement for displaying the treemap title.

C#
protected virtual TreeMapTitleElement CreateTitleElement()
Returns:

TreeMapTitleElement

A new TreeMapTitleElement instance.

Creates a new StackLayoutElement for organizing the title area.

C#
protected virtual StackLayoutElement CreateTitleStack()
Returns:

StackLayoutElement

A new StackLayoutElement instance.

Creates a new RadToolTip instance for displaying tooltips.

C#
protected virtual RadToolTip CreateToolTip()
Returns:

RadToolTip

A new RadToolTip instance.

Releases the unmanaged resources used by the RadTreeMapElement and optionally releases the managed resources.

C#
protected override void DisposeManagedResources()

Overrides: LightVisualElement.DisposeManagedResources()

Evaluates the treemap layout algorithm and updates the bounds of all items and groups.

C#
public virtual void EvaluateAlgorithm()
Remarks:

This method calculates the size and position of each rectangle in the treemap based on the item values and the configured algorithm. It handles both grouped and ungrouped scenarios and applies colorization after layout calculation.

Recursively searches for groups at the specified location within a collection of groups.

C#
protected virtual TreeMapDataItemGroup FindGroup(Point location, TreeMapDataItemGroup parent, IEnumerable<TreeMapDataItemGroup> groups)
Parameters:locationPoint

The point to search for groups.

parentTreeMapDataItemGroup

The parent group being searched (can be null for root level).

groupsIEnumerable<TreeMapDataItemGroup>

The collection of groups to search within.

Returns:

TreeMapDataItemGroup

The most specific TreeMapDataItemGroup at the location, or null if none found.

Finds the topmost group at the specified location within the treemap.

C#
protected virtual TreeMapDataItemGroup FindGroup(Point location)
Parameters:locationPoint

The point to search for groups.

Returns:

TreeMapDataItemGroup

The TreeMapDataItemGroup at the specified location, or null if no group is found.

Remarks:

This method performs hierarchical hit testing to find the most specific group at the given location. If groups are nested, it returns the innermost group that contains the point.

Calculates the rectangle area available for the treemap algorithm, excluding title, legend, borders, and padding.

C#
protected virtual Rectangle GetAlgorithmRectangle()
Returns:

Rectangle

A Rectangle representing the area where treemap items should be positioned.

Remarks:

This method accounts for the title height, legend position and size, element borders, and padding to determine the actual space available for rendering treemap rectangles.

Determines the item and group at the specified location.

C#
protected virtual bool GetItemAndGroup(Point location, out TreeMapDataItem item, out TreeMapDataItemGroup group)
Parameters:locationPoint

The point to perform hit testing.

itemTreeMapDataItem

When this method returns, contains the item at the location or null.

groupTreeMapDataItemGroup

When this method returns, contains the group at the location or null.

Returns:

bool

True if an item or group was found at the location; otherwise, false.

Remarks:

This method first searches for groups, then searches for items within the found group or at the root level. It provides the foundation for hover detection, selection, and tooltip functionality.

Initializes the fields and default property values for the RadTreeMapElement.

C#
protected override void InitializeFields()

Overrides: LightVisualElement.InitializeFields()

Initializes the treemap by evaluating the layout algorithm and applying colors.

C#
public virtual void InitializeTreeMap()
Remarks:

This method should be called after setting up data sources, algorithms, or other configuration to ensure the treemap is properly rendered.

Manages tooltip display for the specified item or group at the given location.

C#
protected virtual void ManageToolTip(Point location, TreeMapDataItem item, TreeMapDataItemGroup group)
Parameters:locationPoint

The mouse location where the tooltip should be displayed.

itemTreeMapDataItem

The item to show tooltip for, or null.

groupTreeMapDataItemGroup

The group to show tooltip for, or null.

Remarks:

This method handles both screen tip and standard tooltip modes, showing appropriate content based on the hovered item or group and the configured ToolTipDisplayMode.

Measures the treemap element and its child elements to determine the desired size.

C#
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters:availableSizeSizeF

The maximum size available for the element.

Returns:

SizeF

The desired size of the element, which is the full available size.

Overrides: LightVisualElement.MeasureOverride(SizeF)

Remarks:

This method measures the legend stack first, then calculates the remaining space for the title stack. The legend position affects how the available space is divided between title and legend areas.

Creates a new data item instance for use in the treemap.

C#
public IDataItem NewItem()
Returns:

IDataItem

A new TreeMapDataItem instance associated with this treemap element.

Implements: IDataItemSource.NewItem()

Remarks:

This method creates a new item and raises the ItemCreating event to allow customization of the item creation process.

Raises the AlgorithmEvaluated event.

C#
protected virtual void OnAlgorithmEvaluated()

Handles bounds changes by reevaluating the algorithm and invalidating the display.

C#
protected override void OnBoundsChanged(RadPropertyChangedEventArgs e)
Parameters:eRadPropertyChangedEventArgs

The bounds change event arguments.

Overrides: UIItemBase.OnBoundsChanged(RadPropertyChangedEventArgs)

Remarks:

When the element size changes, the treemap layout needs to be recalculated to fit the new dimensions.

Raises the ItemCreating event.

C#
protected virtual void OnDataItemCreating(TreeMapItemCreatingEventArgs args)
Parameters:argsTreeMapItemCreatingEventArgs

The event arguments containing the item being created.

Raises the GroupPainted event.

C#
protected virtual void OnGroupPainted(TreeMapGroupPaintedEventArgs args)
Parameters:argsTreeMapGroupPaintedEventArgs

The event arguments containing information about the painted group.

Raises the GroupPainting event.

C#
protected virtual void OnGroupPainting(TreeMapGroupPaintingEventArgs args)
Parameters:argsTreeMapGroupPaintingEventArgs

The event arguments containing painting information for the group.

Raises the HoveredGroupChanged event.

C#
protected virtual void OnHoveredGroupChanged(TreeMapGroupChangedEventArgs args)
Parameters:argsTreeMapGroupChangedEventArgs

The event arguments containing the old and new hovered groups.

Raises the HoveredItemChanged event.

C#
protected virtual void OnHoveredItemChanged(TreeMapItemChangedEventArgs args)
Parameters:argsTreeMapItemChangedEventArgs

The event arguments containing the old and new hovered items.

Raises the ItemDataBound event.

C#
protected virtual void OnItemDataBound(TreeMapItemEventArgs args)
Parameters:argsTreeMapItemEventArgs

The event arguments containing the bound item.

Raises the ItemPainted event.

C#
protected virtual void OnItemPainted(TreeMapItemPaintedEventArgs args)
Parameters:argsTreeMapItemPaintedEventArgs

The event arguments containing information about the painted item.

Raises the ItemPainting event.

C#
protected virtual void OnItemPainting(TreeMapItemPaintingEventArgs args)
Parameters:argsTreeMapItemPaintingEventArgs

The event arguments containing painting information for the item.

Handles the Loaded event by updating the legend display.

C#
protected override void OnLoaded()

Overrides: LightVisualElement.OnLoaded()

Remarks:

This method ensures that the legend is properly initialized and displayed when the element is loaded.

Handles the mouse down event for item and group selection.

C#
protected override void OnMouseDown(MouseEventArgs e)
Parameters:eMouseEventArgs

The mouse event arguments.

Overrides: RadItem.OnMouseDown(MouseEventArgs)

Handles the mouse leave event by clearing hover states and hiding tooltips.

C#
protected override void OnMouseLeave(EventArgs e)
Parameters:eEventArgs

The event arguments.

Overrides: RadItem.OnMouseLeave(EventArgs)

Handles the mouse move event for hover tracking and tooltip management.

C#
protected override void OnMouseMove(MouseEventArgs e)
Parameters:eMouseEventArgs

The mouse event arguments.

Overrides: LightVisualElement.OnMouseMove(MouseEventArgs)

Handles property change notifications and clears cached values when relevant properties change.

C#
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters:eRadPropertyChangedEventArgs

The property change event arguments.

Overrides: LightVisualElement.OnPropertyChanged(RadPropertyChangedEventArgs)

Remarks:

This method clears specific cached values when their corresponding properties change, ensuring that the cached values are refreshed on the next access.

Raises the ScreenTipShowing event.

C#
protected virtual void OnScreenTipShowing(TreeMapScreenTipEventArgs args)
Parameters:argsTreeMapScreenTipEventArgs

The event arguments containing screen tip information and cancellation capability.

Raises the SelectedGroupChanged event.

C#
protected virtual void OnSelectedGroupChanged(TreeMapGroupChangedEventArgs args)
Parameters:argsTreeMapGroupChangedEventArgs

The event arguments containing the old and new selected groups.

Raises the SelectedGroupChanging event.

C#
protected virtual void OnSelectedGroupChanging(TreeMapGroupChangingEventArgs args)
Parameters:argsTreeMapGroupChangingEventArgs

The event arguments containing the old and new selected groups and cancellation capability.

Raises the SelectedItemChanged event.

C#
protected virtual void OnSelectedItemChanged(TreeMapItemChangedEventArgs args)
Parameters:argsTreeMapItemChangedEventArgs

The event arguments containing the old and new selected items.

Raises the SelectedItemChanging event.

C#
protected virtual void OnSelectedItemChanging(TreeMapItemChangingEventArgs args)
Parameters:argsTreeMapItemChangingEventArgs

The event arguments containing the old and new selected items and cancellation capability.

Overrides the default screen tip behavior to prevent automatic screen tip display.

C#
protected override bool OnShowScreenTip(ComponentInputBehavior inputBehavior)
Parameters:inputBehaviorComponentInputBehavior

The input behavior requesting the screen tip.

Returns:

bool

False to prevent the default screen tip behavior.

Overrides: RadElement.OnShowScreenTip(ComponentInputBehavior)

Remarks:

This method is used internally to control screen tip display through the ManageToolTip(Point, TreeMapDataItem, TreeMapDataItemGroup) method instead.

Raises the ToolTipShowing event.

C#
protected virtual void OnToolTipShowing(TreeMapToolTipEventArgs args)
Parameters:argsTreeMapToolTipEventArgs

The event arguments containing tooltip information and cancellation capability.

Renders the visual content of the treemap by painting groups or individual items.

C#
protected override void PaintContent(IGraphics graphics)
Parameters:graphicsIGraphics

The graphics object used for rendering.

Overrides: LightVisualElement.PaintContent(IGraphics)

Remarks:

This method serves as the main entry point for treemap rendering. It delegates to either group painting or item painting based on whether grouping is enabled and groups exist.

Renders a single treemap group including its header, background, border, and contents.

C#
public virtual void PaintGroup(IGraphics graphics, TreeMapDataItemGroup group)
Parameters:graphicsIGraphics

The graphics object used for rendering.

groupTreeMapDataItemGroup

The group to paint.

Remarks:

This method handles the complete rendering of a group, including raising the GroupPainting event for customization, painting the header background and text, drawing borders, and rendering child content.

Renders the border around a group and the separator line below the header.

C#
protected virtual void PaintGroupBorder(TreeMapDataItemGroup group, IGraphics graphics, RectangleF rectangle, RectangleF headerRect, Color borderColor)
Parameters:groupTreeMapDataItemGroup

The group whose border is being painted.

graphicsIGraphics

The graphics object used for rendering.

rectangleRectangleF

The overall rectangle of the group.

headerRectRectangleF

The rectangle area of the header.

borderColorColor

The border color to use.

Renders the content area of a group, including child groups or items.

C#
protected virtual void PaintGroupContent(TreeMapDataItemGroup group, IGraphics graphics)
Parameters:groupTreeMapDataItemGroup

The group whose content is being painted.

graphicsIGraphics

The graphics object used for rendering.

Remarks:

This method recursively paints child groups if they exist, otherwise it paints the individual items within the group.

Renders the background of a group header.

C#
protected virtual void PaintGroupHeaderBackground(TreeMapDataItemGroup group, IGraphics graphics, RectangleF headerRect, Color backColor)
Parameters:groupTreeMapDataItemGroup

The group whose header background is being painted.

graphicsIGraphics

The graphics object used for rendering.

headerRectRectangleF

The rectangle area of the header.

backColorColor

The background color to use.

Renders the text content of a group header.

C#
protected virtual void PaintGroupHeaderText(TreeMapDataItemGroup group, IGraphics graphics, RectangleF headerRect, string groupText, Color foreColor, Font font, ContentAlignment textAlignment)
Parameters:groupTreeMapDataItemGroup

The group whose header text is being painted.

graphicsIGraphics

The graphics object used for rendering.

headerRectRectangleF

The rectangle area of the header.

groupTextstring

The text to display.

foreColorColor

The text color to use.

fontFont

The font to use for text rendering.

textAlignmentContentAlignment

The alignment of the text within the header rectangle.

Renders a collection of treemap groups.

C#
public virtual void PaintGroups(IGraphics graphics, IEnumerable<TreeMapDataItemGroup> groups)
Parameters:graphicsIGraphics

The graphics object used for rendering.

groupsIEnumerable<TreeMapDataItemGroup>

The collection of groups to paint.

Remarks:

This method iterates through all groups and calls PaintGroup(IGraphics, TreeMapDataItemGroup) for each one.

Renders a single treemap item including its background, text, and border.

C#
public virtual void PaintItem(IGraphics graphics, TreeMapDataItem dataItem)
Parameters:graphicsIGraphics

The graphics object used for rendering.

dataItemTreeMapDataItem

The item to paint.

Remarks:

This method handles the complete rendering of an item, including applying selection and hover effects, raising the ItemPainting event for customization, and painting the background, text, and border.

Renders the background of a treemap item.

C#
protected virtual void PaintItemBackground(TreeMapDataItem dataItem, IGraphics graphics, RectangleF rectangle, Color backColor)
Parameters:dataItemTreeMapDataItem

The item whose background is being painted.

graphicsIGraphics

The graphics object used for rendering.

rectangleRectangleF

The rectangle area to fill.

backColorColor

The background color to use.

Renders the border around a treemap item.

C#
protected virtual void PaintItemBorder(TreeMapDataItem dataItem, IGraphics graphics, RectangleF rectangle, Color borderColor, int borderWidth)
Parameters:dataItemTreeMapDataItem

The item whose border is being painted.

graphicsIGraphics

The graphics object used for rendering.

rectangleRectangleF

The rectangle area for the border.

borderColorColor

The border color to use.

borderWidthint

The width of the border in pixels.

Renders a collection of treemap items.

C#
public virtual void PaintItems(IGraphics graphics, IEnumerable<TreeMapDataItem> items)
Parameters:graphicsIGraphics

The graphics object used for rendering.

itemsIEnumerable<TreeMapDataItem>

The collection of items to paint.

Remarks:

This method iterates through all items and calls PaintItem(IGraphics, TreeMapDataItem) for each one.

Renders the text content of a treemap item.

C#
protected virtual void PaintItemText(TreeMapDataItem dataItem, IGraphics graphics, RectangleF rectangle, string text, Color foreColor, Font font, ContentAlignment textAlignment)
Parameters:dataItemTreeMapDataItem

The item whose text is being painted.

graphicsIGraphics

The graphics object used for rendering.

rectangleRectangleF

The rectangle area for text placement.

textstring

The text to display.

foreColorColor

The text color to use.

fontFont

The font to use for text rendering.

textAlignmentContentAlignment

The alignment of the text within the rectangle.

Determines whether a child element should be arranged during the layout process.

C#
protected override bool ShouldArrangeChild(RadElement child)
Parameters:childRadElement

The child element to evaluate.

Returns:

bool

False if the child is the title stack or legend stack; otherwise, the base implementation result.

Overrides: RadElement.ShouldArrangeChild(RadElement)

Remarks:

The title and legend stacks are handled separately in the layout process and do not participate in the normal child arrangement cycle.

Determines whether a child element should be measured during the layout process.

C#
protected override bool ShouldMeasureChild(RadElement child)
Parameters:childRadElement

The child element to evaluate.

Returns:

bool

False if the child is the title stack or legend stack; otherwise, the base implementation result.

Overrides: RadElement.ShouldMeasureChild(RadElement)

Remarks:

The title and legend stacks are handled separately in the layout process and do not participate in the normal child measurement cycle.

Updates the legend visibility and content based on current settings.

C#
protected virtual void UpdateLegend()
Remarks:

This method refreshes the legend visual items if the legend is enabled, then updates the legend visibility based on grouping state and legend display settings.

Updates the visibility state of the legend element based on current conditions.

C#
protected virtual void UpdateLegendVisibility()
Remarks:

The legend is visible only when there are groups, ShowLegend is true, and LegendPosition is not None. Changes in visibility trigger layout updates.

Events

Occurs when the treemap layout Algorithm has been evaluated and all items have valid bounds.

C#
public event EventHandler AlgorithmEvaluated
Remarks:

This event is raised after the algorithm calculates the size and position of all rectangles in the treemap, providing an opportunity to perform custom operations on the calculated layout.

Occurs after a group and its items have been painted, providing an opportunity for post-rendering operations.

C#
public event TreeMapGroupPaintedEventHandler GroupPainted
Remarks:

This event is raised after the complete group rendering is finished, including all child content, allowing for additional custom drawing or overlay effects.

Occurs before a group is painted, allowing custom rendering or modification of paint parameters.

C#
public event TreeMapGroupPaitingEventHandler GroupPainting
Remarks:

This event provides access to the graphics object and paint parameters, enabling custom rendering logic for group headers, backgrounds, and borders.

Occurs when the hovered group changes due to mouse movement.

C#
public event TreeMapGroupChangedEventHandler HoveredGroupChanged
Remarks:

This event is raised when the mouse moves over different groups in the treemap, provided that AllowHotTracking is enabled.

Occurs when the hovered item changes due to mouse movement.

C#
public event TreeMapItemChangedEventHandler HoveredItemChanged
Remarks:

This event is raised when the mouse moves over different items in the treemap, provided that AllowHotTracking is enabled.

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

C#
public event TreeMapItemCreatingEventHandler ItemCreating
Remarks:

This event allows customization of the item creation process, enabling the use of custom item types or initialization of item properties during data binding.

Occurs when a data-bound item is being attached to a TreeMapDataItem instance.

C#
public event TreeMapItemEventHandler ItemDataBound
Remarks:

This event is raised after an item has been created and bound to its data source object, allowing for custom initialization or property mapping.

Occurs after an item has been painted, providing an opportunity for post-rendering operations.

C#
public event TreeMapItemPaitedEventHandler ItemPainted
Remarks:

This event is raised after the standard item rendering is complete, allowing for additional custom drawing or overlay effects.

Occurs before an item is painted, allowing custom rendering or modification of paint parameters.

C#
public event TreeMapItemPaitingEventHandler ItemPainting
Remarks:

This event provides access to the graphics object and paint parameters, enabling custom rendering logic or modification of colors, fonts, and other visual properties.

Occurs before a screen tip is displayed, allowing customization or cancellation.

C#
public event TreeMapScreenTipEventHandler ScreenTipShowing
Remarks:

This event provides access to the screen tip element and allows modification of its content or cancellation of its display by setting the Cancel property to true.

Occurs after the selected group has changed.

C#
public event TreeMapGroupChangedEventHandler SelectedGroupChanged
Remarks:

This event is raised after a successful selection change, providing information about the previous and current selected groups.

Occurs before the selected group changes, providing an opportunity to cancel the selection.

C#
public event TreeMapGroupChangingEventHandler SelectedGroupChanging
Remarks:

This event can be cancelled by setting the Cancel property of the event arguments to true, which will prevent the selection change from occurring.

Occurs after the selected item has changed.

C#
public event TreeMapItemChangedEventHandler SelectedItemChanged
Remarks:

This event is raised after a successful selection change, providing information about the previous and current selected items.

Occurs before the selected item changes, providing an opportunity to cancel the selection.

C#
public event TreeMapItemChangingEventHandler SelectedItemChanging
Remarks:

This event can be cancelled by setting the Cancel property of the event arguments to true, which will prevent the selection change from occurring.

Occurs before a tooltip is displayed, allowing customization or cancellation.

C#
public event TreeMapToolTipEventHandler ToolTipShowing
Remarks:

This event provides access to the tooltip parameters and allows modification of the text, location, duration, or cancellation of the tooltip display.

In this article
DefinitionConstructorsRadTreeMapElement()FieldsGroupBackColorPropertyGroupBorderColorPropertyGroupHeaderHeightPropertyHoveredItemBackColorPropertyHoveredItemBorderColorPropertyHoveredItemBorderWidthPropertySelectedItemBackColorPropertySelectedItemBorderColorPropertySelectedItemBorderWidthPropertyPropertiesAlgorithmAllowHotTrackingAllowSelectionColorizerDataSourceDataViewDisplayMemberEnableGroupingFontGroupBackColorGroupBorderColorGroupDescriptorsGroupHeaderHeightGroupsGroupTextAlignmentHasGroupsHoveredGroupHoveredItemHoveredItemBackColorHoveredItemBorderColorHoveredItemBorderWidthItemsItemTextAlignmentLegendElementLegendOrientationLegendPositionLegendStackLegendTitleListSourceScreenTipElementSelectedGroupSelectedItemSelectedItemBackColorSelectedItemBorderColorSelectedItemBorderWidthShowLegendTitleTitleElementTitleStackToolTipToolTipDisplayModeValueMemberWrapItemTextMethodsAddStylePropertySetting(IPropertySetting)ArrangeOverride(SizeF)ColorizeItems()CreateBindingContext()CreateChildElements()CreateDefaultAlgorithm()CreateDefaultColorizer()CreateLegendElement()CreateLegendStack()CreateListSource()CreateScreenTipElement()CreateTitleElement()CreateTitleStack()CreateToolTip()DisposeManagedResources()EvaluateAlgorithm()FindGroup(Point, TreeMapDataItemGroup, IEnumerable<TreeMapDataItemGroup>)FindGroup(Point)GetAlgorithmRectangle()GetItemAndGroup(Point, out TreeMapDataItem, out TreeMapDataItemGroup)InitializeFields()InitializeTreeMap()ManageToolTip(Point, TreeMapDataItem, TreeMapDataItemGroup)MeasureOverride(SizeF)NewItem()OnAlgorithmEvaluated()OnBoundsChanged(RadPropertyChangedEventArgs)OnDataItemCreating(TreeMapItemCreatingEventArgs)OnGroupPainted(TreeMapGroupPaintedEventArgs)OnGroupPainting(TreeMapGroupPaintingEventArgs)OnHoveredGroupChanged(TreeMapGroupChangedEventArgs)OnHoveredItemChanged(TreeMapItemChangedEventArgs)OnItemDataBound(TreeMapItemEventArgs)OnItemPainted(TreeMapItemPaintedEventArgs)OnItemPainting(TreeMapItemPaintingEventArgs)OnLoaded()OnMouseDown(MouseEventArgs)OnMouseLeave(EventArgs)OnMouseMove(MouseEventArgs)OnPropertyChanged(RadPropertyChangedEventArgs)OnScreenTipShowing(TreeMapScreenTipEventArgs)OnSelectedGroupChanged(TreeMapGroupChangedEventArgs)OnSelectedGroupChanging(TreeMapGroupChangingEventArgs)OnSelectedItemChanged(TreeMapItemChangedEventArgs)OnSelectedItemChanging(TreeMapItemChangingEventArgs)OnShowScreenTip(ComponentInputBehavior)OnToolTipShowing(TreeMapToolTipEventArgs)PaintContent(IGraphics)PaintGroup(IGraphics, TreeMapDataItemGroup)PaintGroupBorder(TreeMapDataItemGroup, IGraphics, RectangleF, RectangleF, Color)PaintGroupContent(TreeMapDataItemGroup, IGraphics)PaintGroupHeaderBackground(TreeMapDataItemGroup, IGraphics, RectangleF, Color)PaintGroupHeaderText(TreeMapDataItemGroup, IGraphics, RectangleF, string, Color, Font, ContentAlignment)PaintGroups(IGraphics, IEnumerable<TreeMapDataItemGroup>)PaintItem(IGraphics, TreeMapDataItem)PaintItemBackground(TreeMapDataItem, IGraphics, RectangleF, Color)PaintItemBorder(TreeMapDataItem, IGraphics, RectangleF, Color, int)PaintItems(IGraphics, IEnumerable<TreeMapDataItem>)PaintItemText(TreeMapDataItem, IGraphics, RectangleF, string, Color, Font, ContentAlignment)ShouldArrangeChild(RadElement)ShouldMeasureChild(RadElement)UpdateLegend()UpdateLegendVisibility()EventsAlgorithmEvaluatedGroupPaintedGroupPaintingHoveredGroupChangedHoveredItemChangedItemCreatingItemDataBoundItemPaintedItemPaintingScreenTipShowingSelectedGroupChangedSelectedGroupChangingSelectedItemChangedSelectedItemChangingToolTipShowing
Not finding the help you need?
Contact Support