Class
RadTreeMapElement

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:

cs-api-definition
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

RadTreeMapElement()

Initializes a new instance of the RadTreeMapElement class.

Declaration

cs-api-definition
public RadTreeMapElement()

Fields

GroupBackColorProperty

Identifies the GroupBackColor dependency property.

Declaration

cs-api-definition
public static RadProperty GroupBackColorProperty

Field Value

RadProperty

GroupBorderColorProperty

Identifies the GroupBorderColor dependency property.

Declaration

cs-api-definition
public static RadProperty GroupBorderColorProperty

Field Value

RadProperty

GroupHeaderHeightProperty

Identifies the GroupHeaderHeight dependency property.

Declaration

cs-api-definition
public static RadProperty GroupHeaderHeightProperty

Field Value

RadProperty

HoveredItemBackColorProperty

Identifies the HoveredItemBackColor dependency property.

Declaration

cs-api-definition
public static RadProperty HoveredItemBackColorProperty

Field Value

RadProperty

HoveredItemBorderColorProperty

Identifies the HoveredItemBorderColor dependency property.

Declaration

cs-api-definition
public static RadProperty HoveredItemBorderColorProperty

Field Value

RadProperty

HoveredItemBorderWidthProperty

Identifies the HoveredItemBorderWidth dependency property.

Declaration

cs-api-definition
public static RadProperty HoveredItemBorderWidthProperty

Field Value

RadProperty

SelectedItemBackColorProperty

Identifies the SelectedItemBackColor dependency property.

Declaration

cs-api-definition
public static RadProperty SelectedItemBackColorProperty

Field Value

RadProperty

SelectedItemBorderColorProperty

Identifies the SelectedItemBorderColor dependency property.

Declaration

cs-api-definition
public static RadProperty SelectedItemBorderColorProperty

Field Value

RadProperty

SelectedItemBorderWidthProperty

Identifies the SelectedItemBorderWidth dependency property.

Declaration

cs-api-definition
public static RadProperty SelectedItemBorderWidthProperty

Field Value

RadProperty

Properties

Algorithm

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

Declaration

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

Property Value

TreeMapAlgorithm

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.

AllowHotTracking

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

Declaration

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

Property Value

bool

Remarks

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

AllowSelection

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

Declaration

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

Property Value

bool

Remarks

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

Colorizer

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

Declaration

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

Property Value

BaseColorizer

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.

DataSource

Gets or sets the data source for the treemap visualization.

Declaration

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

Property Value

object

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.

DataView

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

Declaration

cs-api-definition
[Browsable(false)]
public RadCollectionView<TreeMapDataItem> DataView { get; }

Property Value

RadCollectionView<TreeMapDataItem>

DisplayMember

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

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

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.

EnableGrouping

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

Declaration

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

Property Value

bool

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.

Font

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

Declaration

cs-api-definition
public override Font Font { get; set; }

Property Value

Font

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.

GroupBackColor

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

Declaration

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

Property Value

Color

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.

GroupBorderColor

Gets or sets the border color for group rectangles.

Declaration

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

Property Value

Color

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.

GroupDescriptors

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

Declaration

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

Property Value

GroupDescriptorCollection

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.

GroupHeaderHeight

Gets or sets the height of group headers in pixels.

Declaration

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

Property Value

int

Remarks

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

GroupTextAlignment

Gets or sets the text alignment for group headers.

Declaration

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

Property Value

ContentAlignment

Remarks

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

Groups

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

Declaration

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

Property Value

TreeMapDataItemGroupCollection

Remarks

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

HasGroups

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

Declaration

cs-api-definition
public bool HasGroups { get; }

Property Value

bool

Remarks

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

HoveredGroup

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

Declaration

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

Property Value

TreeMapDataItemGroup

Remarks

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

HoveredItem

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

Declaration

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

Property Value

TreeMapDataItem

Remarks

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

HoveredItemBackColor

Gets or sets the background color for hovered items.

Declaration

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

Property Value

Color

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.

HoveredItemBorderColor

Gets or sets the border color for hovered items.

Declaration

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

Property Value

Color

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.

HoveredItemBorderWidth

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

Declaration

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

Property Value

int

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.

ItemTextAlignment

Gets or sets the text alignment for individual treemap items.

Declaration

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

Property Value

ContentAlignment

Remarks

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

Items

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

Declaration

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

Property Value

TreeMapDataItemCollection

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.

LegendElement

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

Declaration

cs-api-definition
public TreeMapLegendElement LegendElement { get; }

Property Value

TreeMapLegendElement

LegendOrientation

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

Declaration

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

Property Value

Orientation

LegendPosition

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

Declaration

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

Property Value

RadPosition

Remarks

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

LegendStack

Gets the stack layout element that contains the legend area.

Declaration

cs-api-definition
public StackLayoutElement LegendStack { get; }

Property Value

StackLayoutElement

LegendTitle

Gets or sets the title text displayed in the legend.

Declaration

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

Property Value

string

ListSource

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

Declaration

cs-api-definition
[Browsable(false)]
public TreeMapListSource ListSource { get; }

Property Value

TreeMapListSource

ScreenTipElement

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

Declaration

cs-api-definition
public virtual RadOffice2007ScreenTipElement ScreenTipElement { get; set; }

Property Value

RadOffice2007ScreenTipElement

Remarks

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

SelectedGroup

Gets or sets the currently selected group in the treemap.

Declaration

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

Property Value

TreeMapDataItemGroup

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.

SelectedItem

Gets or sets the currently selected item in the treemap.

Declaration

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

Property Value

TreeMapDataItem

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.

SelectedItemBackColor

Gets or sets the background color for selected items.

Declaration

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

Property Value

Color

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.

SelectedItemBorderColor

Gets or sets the border color for selected items.

Declaration

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

Property Value

Color

Remarks

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

SelectedItemBorderWidth

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

Declaration

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

Property Value

int

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.

ShowLegend

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

Declaration

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

Property Value

bool

Remarks

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

Title

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

Declaration

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

Property Value

string

TitleElement

Gets the title element that displays the treemap title.

Declaration

cs-api-definition
public TreeMapTitleElement TitleElement { get; }

Property Value

TreeMapTitleElement

TitleStack

Gets the stack layout element that contains the title area.

Declaration

cs-api-definition
public StackLayoutElement TitleStack { get; }

Property Value

StackLayoutElement

ToolTip

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

Declaration

cs-api-definition
public RadToolTip ToolTip { get; set; }

Property Value

RadToolTip

Remarks

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

ToolTipDisplayMode

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

Declaration

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

Property Value

ToolTipDisplayMode

Remarks

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

ValueMember

Gets or sets the value member.

Declaration

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

Property Value

string

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.

WrapItemText

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

Declaration

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

Property Value

bool

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

AddStylePropertySetting(IPropertySetting)

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

Declaration

cs-api-definition
protected override ValueUpdateResult AddStylePropertySetting(IPropertySetting setting)

Parameters

setting

IPropertySetting

The property setting to add.

Returns

ValueUpdateResult

The result of the value update operation.

Overrides RadElement.AddStylePropertySetting(IPropertySetting)

ArrangeOverride(SizeF)

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

Declaration

cs-api-definition
protected override SizeF ArrangeOverride(SizeF finalSize)

Parameters

finalSize

SizeF

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.

ColorizeItems()

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

Declaration

cs-api-definition
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.

CreateBindingContext()

Creates the binding context used for data binding operations.

Declaration

cs-api-definition
protected virtual BindingContext CreateBindingContext()

Returns

BindingContext

A new BindingContext instance.

CreateChildElements()

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

Declaration

cs-api-definition
protected override void CreateChildElements()

Overrides RadElement.CreateChildElements()

CreateDefaultAlgorithm()

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

Declaration

cs-api-definition
protected virtual TreeMapAlgorithm CreateDefaultAlgorithm()

Returns

TreeMapAlgorithm

A new SquarifiedAlgorithm instance as the default algorithm.

CreateDefaultColorizer()

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

Declaration

cs-api-definition
protected virtual BaseColorizer CreateDefaultColorizer()

Returns

BaseColorizer

A new PaletteColorizer instance as the default colorizer.

CreateLegendElement()

Creates a new TreeMapLegendElement for displaying the treemap legend.

Declaration

cs-api-definition
protected virtual TreeMapLegendElement CreateLegendElement()

Returns

TreeMapLegendElement

A new TreeMapLegendElement instance associated with this treemap element.

CreateLegendStack()

Creates a new StackLayoutElement for organizing the legend area.

Declaration

cs-api-definition
protected virtual StackLayoutElement CreateLegendStack()

Returns

StackLayoutElement

A new StackLayoutElement instance.

CreateListSource()

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

Declaration

cs-api-definition
protected virtual TreeMapListSource CreateListSource()

Returns

TreeMapListSource

A new TreeMapListSource instance associated with this treemap element.

CreateScreenTipElement()

Creates a new RadOffice2007ScreenTipElement instance for displaying screen tips.

Declaration

cs-api-definition
protected virtual RadOffice2007ScreenTipElement CreateScreenTipElement()

Returns

RadOffice2007ScreenTipElement

A new RadOffice2007ScreenTipElement instance with empty text labels.

CreateTitleElement()

Creates a new TreeMapTitleElement for displaying the treemap title.

Declaration

cs-api-definition
protected virtual TreeMapTitleElement CreateTitleElement()

Returns

TreeMapTitleElement

A new TreeMapTitleElement instance.

CreateTitleStack()

Creates a new StackLayoutElement for organizing the title area.

Declaration

cs-api-definition
protected virtual StackLayoutElement CreateTitleStack()

Returns

StackLayoutElement

A new StackLayoutElement instance.

CreateToolTip()

Creates a new RadToolTip instance for displaying tooltips.

Declaration

cs-api-definition
protected virtual RadToolTip CreateToolTip()

Returns

RadToolTip

A new RadToolTip instance.

DisposeManagedResources()

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

Declaration

cs-api-definition
protected override void DisposeManagedResources()

Overrides LightVisualElement.DisposeManagedResources()

EvaluateAlgorithm()

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

Declaration

cs-api-definition
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.

FindGroup(Point)

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

Declaration

cs-api-definition
protected virtual TreeMapDataItemGroup FindGroup(Point location)

Parameters

location

Point

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.

FindGroup(Point, TreeMapDataItemGroup, IEnumerable<TreeMapDataItemGroup>)

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

Declaration

cs-api-definition
protected virtual TreeMapDataItemGroup FindGroup(Point location, TreeMapDataItemGroup parent, IEnumerable<TreeMapDataItemGroup> groups)

Parameters

location

Point

The point to search for groups.

parent

TreeMapDataItemGroup

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

groups

IEnumerable<TreeMapDataItemGroup>

The collection of groups to search within.

Returns

TreeMapDataItemGroup

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

GetAlgorithmRectangle()

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

Declaration

cs-api-definition
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.

GetItemAndGroup(Point, out TreeMapDataItem, out TreeMapDataItemGroup)

Determines the item and group at the specified location.

Declaration

cs-api-definition
protected virtual bool GetItemAndGroup(Point location, out TreeMapDataItem item, out TreeMapDataItemGroup group)

Parameters

location

Point

The point to perform hit testing.

item

TreeMapDataItem

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

group

TreeMapDataItemGroup

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.

InitializeFields()

Initializes the fields and default property values for the RadTreeMapElement.

Declaration

cs-api-definition
protected override void InitializeFields()

Overrides LightVisualElement.InitializeFields()

InitializeTreeMap()

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

Declaration

cs-api-definition
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.

ManageToolTip(Point, TreeMapDataItem, TreeMapDataItemGroup)

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

Declaration

cs-api-definition
protected virtual void ManageToolTip(Point location, TreeMapDataItem item, TreeMapDataItemGroup group)

Parameters

location

Point

The mouse location where the tooltip should be displayed.

item

TreeMapDataItem

The item to show tooltip for, or null.

group

TreeMapDataItemGroup

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.

MeasureOverride(SizeF)

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

Declaration

cs-api-definition
protected override SizeF MeasureOverride(SizeF availableSize)

Parameters

availableSize

SizeF

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.

NewItem()

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

Declaration

cs-api-definition
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.

OnAlgorithmEvaluated()

Raises the AlgorithmEvaluated event.

Declaration

cs-api-definition
protected virtual void OnAlgorithmEvaluated()

OnBoundsChanged(RadPropertyChangedEventArgs)

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

Declaration

cs-api-definition
protected override void OnBoundsChanged(RadPropertyChangedEventArgs e)

Parameters

e

RadPropertyChangedEventArgs

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.

OnDataItemCreating(TreeMapItemCreatingEventArgs)

Raises the ItemCreating event.

Declaration

cs-api-definition
protected virtual void OnDataItemCreating(TreeMapItemCreatingEventArgs args)

Parameters

args

TreeMapItemCreatingEventArgs

The event arguments containing the item being created.

OnGroupPainted(TreeMapGroupPaintedEventArgs)

Raises the GroupPainted event.

Declaration

cs-api-definition
protected virtual void OnGroupPainted(TreeMapGroupPaintedEventArgs args)

Parameters

args

TreeMapGroupPaintedEventArgs

The event arguments containing information about the painted group.

OnGroupPainting(TreeMapGroupPaintingEventArgs)

Raises the GroupPainting event.

Declaration

cs-api-definition
protected virtual void OnGroupPainting(TreeMapGroupPaintingEventArgs args)

Parameters

args

TreeMapGroupPaintingEventArgs

The event arguments containing painting information for the group.

OnHoveredGroupChanged(TreeMapGroupChangedEventArgs)

Raises the HoveredGroupChanged event.

Declaration

cs-api-definition
protected virtual void OnHoveredGroupChanged(TreeMapGroupChangedEventArgs args)

Parameters

args

TreeMapGroupChangedEventArgs

The event arguments containing the old and new hovered groups.

OnHoveredItemChanged(TreeMapItemChangedEventArgs)

Raises the HoveredItemChanged event.

Declaration

cs-api-definition
protected virtual void OnHoveredItemChanged(TreeMapItemChangedEventArgs args)

Parameters

args

TreeMapItemChangedEventArgs

The event arguments containing the old and new hovered items.

OnItemDataBound(TreeMapItemEventArgs)

Raises the ItemDataBound event.

Declaration

cs-api-definition
protected virtual void OnItemDataBound(TreeMapItemEventArgs args)

Parameters

args

TreeMapItemEventArgs

The event arguments containing the bound item.

OnItemPainted(TreeMapItemPaintedEventArgs)

Raises the ItemPainted event.

Declaration

cs-api-definition
protected virtual void OnItemPainted(TreeMapItemPaintedEventArgs args)

Parameters

args

TreeMapItemPaintedEventArgs

The event arguments containing information about the painted item.

OnItemPainting(TreeMapItemPaintingEventArgs)

Raises the ItemPainting event.

Declaration

cs-api-definition
protected virtual void OnItemPainting(TreeMapItemPaintingEventArgs args)

Parameters

args

TreeMapItemPaintingEventArgs

The event arguments containing painting information for the item.

OnLoaded()

Handles the Loaded event by updating the legend display.

Declaration

cs-api-definition
protected override void OnLoaded()

Overrides LightVisualElement.OnLoaded()

Remarks

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

OnMouseDown(MouseEventArgs)

Handles the mouse down event for item and group selection.

Declaration

cs-api-definition
protected override void OnMouseDown(MouseEventArgs e)

Parameters

e

MouseEventArgs

The mouse event arguments.

Overrides RadItem.OnMouseDown(MouseEventArgs)

OnMouseLeave(EventArgs)

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

Declaration

cs-api-definition
protected override void OnMouseLeave(EventArgs e)

Parameters

e

EventArgs

The event arguments.

Overrides RadItem.OnMouseLeave(EventArgs)

OnMouseMove(MouseEventArgs)

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

Declaration

cs-api-definition
protected override void OnMouseMove(MouseEventArgs e)

Parameters

e

MouseEventArgs

The mouse event arguments.

Overrides LightVisualElement.OnMouseMove(MouseEventArgs)

OnPropertyChanged(RadPropertyChangedEventArgs)

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

Declaration

cs-api-definition
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)

Parameters

e

RadPropertyChangedEventArgs

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.

OnScreenTipShowing(TreeMapScreenTipEventArgs)

Raises the ScreenTipShowing event.

Declaration

cs-api-definition
protected virtual void OnScreenTipShowing(TreeMapScreenTipEventArgs args)

Parameters

args

TreeMapScreenTipEventArgs

The event arguments containing screen tip information and cancellation capability.

OnSelectedGroupChanged(TreeMapGroupChangedEventArgs)

Raises the SelectedGroupChanged event.

Declaration

cs-api-definition
protected virtual void OnSelectedGroupChanged(TreeMapGroupChangedEventArgs args)

Parameters

args

TreeMapGroupChangedEventArgs

The event arguments containing the old and new selected groups.

OnSelectedGroupChanging(TreeMapGroupChangingEventArgs)

Raises the SelectedGroupChanging event.

Declaration

cs-api-definition
protected virtual void OnSelectedGroupChanging(TreeMapGroupChangingEventArgs args)

Parameters

args

TreeMapGroupChangingEventArgs

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

OnSelectedItemChanged(TreeMapItemChangedEventArgs)

Raises the SelectedItemChanged event.

Declaration

cs-api-definition
protected virtual void OnSelectedItemChanged(TreeMapItemChangedEventArgs args)

Parameters

args

TreeMapItemChangedEventArgs

The event arguments containing the old and new selected items.

OnSelectedItemChanging(TreeMapItemChangingEventArgs)

Raises the SelectedItemChanging event.

Declaration

cs-api-definition
protected virtual void OnSelectedItemChanging(TreeMapItemChangingEventArgs args)

Parameters

args

TreeMapItemChangingEventArgs

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

OnShowScreenTip(ComponentInputBehavior)

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

Declaration

cs-api-definition
protected override bool OnShowScreenTip(ComponentInputBehavior inputBehavior)

Parameters

inputBehavior

ComponentInputBehavior

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.

OnToolTipShowing(TreeMapToolTipEventArgs)

Raises the ToolTipShowing event.

Declaration

cs-api-definition
protected virtual void OnToolTipShowing(TreeMapToolTipEventArgs args)

Parameters

args

TreeMapToolTipEventArgs

The event arguments containing tooltip information and cancellation capability.

PaintContent(IGraphics)

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

Declaration

cs-api-definition
protected override void PaintContent(IGraphics graphics)

Parameters

graphics

IGraphics

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.

PaintGroup(IGraphics, TreeMapDataItemGroup)

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

Declaration

cs-api-definition
public virtual void PaintGroup(IGraphics graphics, TreeMapDataItemGroup group)

Parameters

graphics

IGraphics

The graphics object used for rendering.

group

TreeMapDataItemGroup

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.

PaintGroupBorder(TreeMapDataItemGroup, IGraphics, RectangleF, RectangleF, Color)

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

Declaration

cs-api-definition
protected virtual void PaintGroupBorder(TreeMapDataItemGroup group, IGraphics graphics, RectangleF rectangle, RectangleF headerRect, Color borderColor)

Parameters

group

TreeMapDataItemGroup

The group whose border is being painted.

graphics

IGraphics

The graphics object used for rendering.

rectangle

RectangleF

The overall rectangle of the group.

headerRect

RectangleF

The rectangle area of the header.

borderColor

Color

The border color to use.

PaintGroupContent(TreeMapDataItemGroup, IGraphics)

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

Declaration

cs-api-definition
protected virtual void PaintGroupContent(TreeMapDataItemGroup group, IGraphics graphics)

Parameters

group

TreeMapDataItemGroup

The group whose content is being painted.

graphics

IGraphics

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.

PaintGroupHeaderBackground(TreeMapDataItemGroup, IGraphics, RectangleF, Color)

Renders the background of a group header.

Declaration

cs-api-definition
protected virtual void PaintGroupHeaderBackground(TreeMapDataItemGroup group, IGraphics graphics, RectangleF headerRect, Color backColor)

Parameters

group

TreeMapDataItemGroup

The group whose header background is being painted.

graphics

IGraphics

The graphics object used for rendering.

headerRect

RectangleF

The rectangle area of the header.

backColor

Color

The background color to use.

PaintGroupHeaderText(TreeMapDataItemGroup, IGraphics, RectangleF, string, Color, Font, ContentAlignment)

Renders the text content of a group header.

Declaration

cs-api-definition
protected virtual void PaintGroupHeaderText(TreeMapDataItemGroup group, IGraphics graphics, RectangleF headerRect, string groupText, Color foreColor, Font font, ContentAlignment textAlignment)

Parameters

group

TreeMapDataItemGroup

The group whose header text is being painted.

graphics

IGraphics

The graphics object used for rendering.

headerRect

RectangleF

The rectangle area of the header.

groupText

string

The text to display.

foreColor

Color

The text color to use.

font

Font

The font to use for text rendering.

textAlignment

ContentAlignment

The alignment of the text within the header rectangle.

PaintGroups(IGraphics, IEnumerable<TreeMapDataItemGroup>)

Renders a collection of treemap groups.

Declaration

cs-api-definition
public virtual void PaintGroups(IGraphics graphics, IEnumerable<TreeMapDataItemGroup> groups)

Parameters

graphics

IGraphics

The graphics object used for rendering.

groups

IEnumerable<TreeMapDataItemGroup>

The collection of groups to paint.

Remarks

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

PaintItem(IGraphics, TreeMapDataItem)

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

Declaration

cs-api-definition
public virtual void PaintItem(IGraphics graphics, TreeMapDataItem dataItem)

Parameters

graphics

IGraphics

The graphics object used for rendering.

dataItem

TreeMapDataItem

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.

PaintItemBackground(TreeMapDataItem, IGraphics, RectangleF, Color)

Renders the background of a treemap item.

Declaration

cs-api-definition
protected virtual void PaintItemBackground(TreeMapDataItem dataItem, IGraphics graphics, RectangleF rectangle, Color backColor)

Parameters

dataItem

TreeMapDataItem

The item whose background is being painted.

graphics

IGraphics

The graphics object used for rendering.

rectangle

RectangleF

The rectangle area to fill.

backColor

Color

The background color to use.

PaintItemBorder(TreeMapDataItem, IGraphics, RectangleF, Color, int)

Renders the border around a treemap item.

Declaration

cs-api-definition
protected virtual void PaintItemBorder(TreeMapDataItem dataItem, IGraphics graphics, RectangleF rectangle, Color borderColor, int borderWidth)

Parameters

dataItem

TreeMapDataItem

The item whose border is being painted.

graphics

IGraphics

The graphics object used for rendering.

rectangle

RectangleF

The rectangle area for the border.

borderColor

Color

The border color to use.

borderWidth

int

The width of the border in pixels.

PaintItemText(TreeMapDataItem, IGraphics, RectangleF, string, Color, Font, ContentAlignment)

Renders the text content of a treemap item.

Declaration

cs-api-definition
protected virtual void PaintItemText(TreeMapDataItem dataItem, IGraphics graphics, RectangleF rectangle, string text, Color foreColor, Font font, ContentAlignment textAlignment)

Parameters

dataItem

TreeMapDataItem

The item whose text is being painted.

graphics

IGraphics

The graphics object used for rendering.

rectangle

RectangleF

The rectangle area for text placement.

text

string

The text to display.

foreColor

Color

The text color to use.

font

Font

The font to use for text rendering.

textAlignment

ContentAlignment

The alignment of the text within the rectangle.

PaintItems(IGraphics, IEnumerable<TreeMapDataItem>)

Renders a collection of treemap items.

Declaration

cs-api-definition
public virtual void PaintItems(IGraphics graphics, IEnumerable<TreeMapDataItem> items)

Parameters

graphics

IGraphics

The graphics object used for rendering.

items

IEnumerable<TreeMapDataItem>

The collection of items to paint.

Remarks

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

ShouldArrangeChild(RadElement)

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

Declaration

cs-api-definition
protected override bool ShouldArrangeChild(RadElement child)

Parameters

child

RadElement

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.

ShouldMeasureChild(RadElement)

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

Declaration

cs-api-definition
protected override bool ShouldMeasureChild(RadElement child)

Parameters

child

RadElement

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.

UpdateLegend()

Updates the legend visibility and content based on current settings.

Declaration

cs-api-definition
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.

UpdateLegendVisibility()

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

Declaration

cs-api-definition
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

AlgorithmEvaluated

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

Declaration

cs-api-definition
public event EventHandler AlgorithmEvaluated

Event Value

EventHandler

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.

GroupPainted

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

Declaration

cs-api-definition
public event TreeMapGroupPaintedEventHandler GroupPainted

Event Value

TreeMapGroupPaintedEventHandler

Remarks

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

GroupPainting

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

Declaration

cs-api-definition
public event TreeMapGroupPaitingEventHandler GroupPainting

Event Value

TreeMapGroupPaitingEventHandler

Remarks

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

HoveredGroupChanged

Occurs when the hovered group changes due to mouse movement.

Declaration

cs-api-definition
public event TreeMapGroupChangedEventHandler HoveredGroupChanged

Event Value

TreeMapGroupChangedEventHandler

Remarks

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

HoveredItemChanged

Occurs when the hovered item changes due to mouse movement.

Declaration

cs-api-definition
public event TreeMapItemChangedEventHandler HoveredItemChanged

Event Value

TreeMapItemChangedEventHandler

Remarks

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

ItemCreating

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

Declaration

cs-api-definition
public event TreeMapItemCreatingEventHandler ItemCreating

Event Value

TreeMapItemCreatingEventHandler

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.

ItemDataBound

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

Declaration

cs-api-definition
public event TreeMapItemEventHandler ItemDataBound

Event Value

TreeMapItemEventHandler

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.

ItemPainted

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

Declaration

cs-api-definition
public event TreeMapItemPaitedEventHandler ItemPainted

Event Value

TreeMapItemPaitedEventHandler

Remarks

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

ItemPainting

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

Declaration

cs-api-definition
public event TreeMapItemPaitingEventHandler ItemPainting

Event Value

TreeMapItemPaitingEventHandler

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.

ScreenTipShowing

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

Declaration

cs-api-definition
public event TreeMapScreenTipEventHandler ScreenTipShowing

Event Value

TreeMapScreenTipEventHandler

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.

SelectedGroupChanged

Occurs after the selected group has changed.

Declaration

cs-api-definition
public event TreeMapGroupChangedEventHandler SelectedGroupChanged

Event Value

TreeMapGroupChangedEventHandler

Remarks

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

SelectedGroupChanging

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

Declaration

cs-api-definition
public event TreeMapGroupChangingEventHandler SelectedGroupChanging

Event Value

TreeMapGroupChangingEventHandler

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.

SelectedItemChanged

Occurs after the selected item has changed.

Declaration

cs-api-definition
public event TreeMapItemChangedEventHandler SelectedItemChanged

Event Value

TreeMapItemChangedEventHandler

Remarks

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

SelectedItemChanging

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

Declaration

cs-api-definition
public event TreeMapItemChangingEventHandler SelectedItemChanging

Event Value

TreeMapItemChangingEventHandler

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.

ToolTipShowing

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

Declaration

cs-api-definition
public event TreeMapToolTipEventHandler ToolTipShowing

Event Value

TreeMapToolTipEventHandler

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()FieldsGroupBackColorPropertyGroupBorderColorPropertyGroupHeaderHeightPropertyHoveredItemBackColorPropertyHoveredItemBorderColorPropertyHoveredItemBorderWidthPropertySelectedItemBackColorPropertySelectedItemBorderColorPropertySelectedItemBorderWidthPropertyPropertiesAlgorithmAllowHotTrackingAllowSelectionColorizerDataSourceDataViewDisplayMemberEnableGroupingFontGroupBackColorGroupBorderColorGroupDescriptorsGroupHeaderHeightGroupTextAlignmentGroupsHasGroupsHoveredGroupHoveredItemHoveredItemBackColorHoveredItemBorderColorHoveredItemBorderWidthItemTextAlignmentItemsLegendElementLegendOrientationLegendPositionLegendStackLegendTitleListSourceScreenTipElementSelectedGroupSelectedItemSelectedItemBackColorSelectedItemBorderColorSelectedItemBorderWidthShowLegendTitleTitleElementTitleStackToolTipToolTipDisplayModeValueMemberWrapItemTextMethodsAddStylePropertySetting(IPropertySetting)ArrangeOverride(SizeF)ColorizeItems()CreateBindingContext()CreateChildElements()CreateDefaultAlgorithm()CreateDefaultColorizer()CreateLegendElement()CreateLegendStack()CreateListSource()CreateScreenTipElement()CreateTitleElement()CreateTitleStack()CreateToolTip()DisposeManagedResources()EvaluateAlgorithm()FindGroup(Point)FindGroup(Point, TreeMapDataItemGroup, IEnumerable<TreeMapDataItemGroup>)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)PaintItemText(TreeMapDataItem, IGraphics, RectangleF, string, Color, Font, ContentAlignment)PaintItems(IGraphics, IEnumerable<TreeMapDataItem>)ShouldArrangeChild(RadElement)ShouldMeasureChild(RadElement)UpdateLegend()UpdateLegendVisibility()EventsAlgorithmEvaluatedGroupPaintedGroupPaintingHoveredGroupChangedHoveredItemChangedItemCreatingItemDataBoundItemPaintedItemPaintingScreenTipShowingSelectedGroupChangedSelectedGroupChangingSelectedItemChangedSelectedItemChangingToolTipShowing
Not finding the help you need?
Contact Support