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

A shape which holds other shapes much like an items container.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public class RadDiagramContainerShape : RadDiagramShapeBase, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop, IContainerShape, IShape, IDiagramItem, ISerializable, ISupportMouseOver, IPropertyChanged, IGroupable, ISupportManipulation, ISupportVirtualization, IContainerChild, ICollapsible, ISupportRotation, IDragDropAware

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElementFrameworkElementRadDiagramItemRadDiagramShapeBaseRadDiagramContainerShape...

Implements: ICollapsibleIContainerChildIContainerShapeICustomTypeDescriptorIDiagramItemIDisposableIDragDropAwareIGroupableINotifyPropertyChangedIPropertyChangedISerializableIShapeIStylableNodeISupportDropISupportManipulationISupportMouseOverISupportRotationISupportSystemSkinISupportVirtualization...

Inherited Members RadDiagramShapeBase.IsActiveConnectionInsidePropertyRadDiagramShapeBase.RotationAnglePropertyRadDiagramShapeBase.UseDefaultConnectorsPropertyRadDiagramShapeBase.UseGlidingConnectorPropertyRadDiagramShapeBase.GlidingStylePropertyRadDiagramShapeBase.ConnectorsPropertyRadDiagramShapeBase.GetXml()RadDiagramShapeBase.UpdateVisualStates()RadDiagramShapeBase.OnIsInEditModeChanged(bool, bool)RadDiagramShapeBase.OnRotationAngleChanged(double, double)RadDiagramShapeBase.ArrangeOverride(SizeF)RadDiagramShapeBase.RotationAngleRadDiagramShapeBase.WidthRadDiagramShapeBase.HeightRadDiagramShapeBase.ConnectorsRadDiagramShapeBase.ActualBoundsRadDiagramShapeBase.MinHeightRadDiagramShapeBase.MinWidthRadDiagramShapeBase.MaxHeightRadDiagramShapeBase.MaxWidthRadDiagramShapeBase.MinSizeRadDiagramShapeBase.MaxSizeRadDiagramShapeBase.IncomingLinksRadDiagramShapeBase.OutgoingLinksRadDiagramShapeBase.UseDefaultConnectorsRadDiagramShapeBase.UseGlidingConnectorRadDiagramShapeBase.GlidingStyleRadDiagramShapeBase.TransformRadDiagramItem.IsSelectedPropertyRadDiagramItem.PositionPropertyRadDiagramItem.IsInEditModePropertyRadDiagramItem.IsEditablePropertyRadDiagramItem.EditTemplatePropertyRadDiagramItem.StrokePropertyRadDiagramItem.StrokeThicknessPropertyRadDiagramItem.StrokeDashArrayPropertyRadDiagramItem.GroupPropertyRadDiagramItem.IsResizingEnabledPropertyRadDiagramItem.IsRotationEnabledPropertyRadDiagramItem.IsDraggingEnabledPropertyRadDiagramItem.IsConnectorsManipulationEnabledPropertyRadDiagramItem.IsManipulationAdornerVisiblePropertyRadDiagramItem.AllowDeletePropertyRadDiagramItem.AllowCutPropertyRadDiagramItem.AllowCopyPropertyRadDiagramItem.AllowPastePropertyRadDiagramItem.EndEditEventRadDiagramItem.editTextBoxRadDiagramItem.OnParentChanged(RadElement)RadDiagramItem.InitializeGlobalSettingsFromDiagram(RadDiagramElement)RadDiagramItem.RefreshIsSelectedInGroup()RadDiagramItem.OnIsEditableChanged(bool, bool)RadDiagramItem.CallEndEditEvent(object)RadDiagramItem.CallBeginEditEvent()RadDiagramItem.OnIsSelectedChanged(bool, bool)RadDiagramItem.OnGroupNameChanged()RadDiagramItem.OnStrokeThicknessChanged()RadDiagramItem.OnPositionCoerced(Point)RadDiagramItem.OnIsConnectorsManipulationEnabledChanged(bool, bool)RadDiagramItem.CustomizeTextBoxEditor()RadDiagramItem.IsSelectedRadDiagramItem.AngleTransformRadDiagramItem.ParentGroupRadDiagramItem.ParentContainerRadDiagramItem.RightToLeftRadDiagramItem.StretchHorizontallyRadDiagramItem.StretchVerticallyRadDiagramItem.IsInEditModeRadDiagramItem.IsEditableRadDiagramItem.ContentRadDiagramItem.ZIndexRadDiagramItem.PositionRadDiagramItem.XRadDiagramItem.YRadDiagramItem.BoundsRadDiagramItem.IsDynamicRadDiagramItem.IdRadDiagramItem.StrokeRadDiagramItem.AlignmentRadDiagramItem.StrokeThicknessRadDiagramItem.StrokeDashArrayRadDiagramItem.IsRotationEnabledRadDiagramItem.IsResizingEnabledRadDiagramItem.IsDraggingEnabledRadDiagramItem.IsConnectorsManipulationEnabledRadDiagramItem.IsManipulationAdornerVisibleRadDiagramItem.AllowDeleteRadDiagramItem.AllowCutRadDiagramItem.AllowCopyRadDiagramItem.AllowPasteRadDiagramItem.IsSelectedInGroupRadDiagramItem.DiagramRadDiagramItem.ServiceLocatorRadDiagramItem.ActualSizeRadDiagramItem.IsServiceManipulationRadDiagramItem.DataBoundItemRadDiagramItem.BeginEditRadDiagramItem.PropertyChangedRadDiagramItem.ParentGroupChangedRadDiagramItem.PreviewBeginEditRadDiagramItem.PreviewEndEditRadDiagramItem.EndEditFrameworkElement.RenderTransformPropertyFrameworkElement.RenderTransformOriginPropertyFrameworkElement.CursorPropertyFrameworkElement.ForegroundPropertyFrameworkElement.HeightPropertyFrameworkElement.WidthPropertyFrameworkElement.SizeChangedFrameworkElement.InitializeFields()FrameworkElement.IsInVisibleClipBounds(Rectangle)FrameworkElement.MeasureOverride(SizeF)FrameworkElement.GetClientRectangle(SizeF)FrameworkElement.PaintElement(IGraphics, float, SizeF)FrameworkElement.PostPaintChildren(IGraphics, Rectangle, float, SizeF)FrameworkElement.OnBoundsChanged(RadPropertyChangedEventArgs)FrameworkElement.DragDrop(Point, ISupportDrag)FrameworkElement.DragOver(Point, ISupportDrag)FrameworkElement.DragEnter(Point, ISupportDrag)FrameworkElement.DragLeave(Point, ISupportDrag)FrameworkElement.FlowDirectionFrameworkElement.ActualHeightFrameworkElement.ActualWidthFrameworkElement.CursorFrameworkElement.RenderTransformOriginFrameworkElement.MouseOverBorderThicknessFrameworkElement.AllowDropUIElement.TextPropertyUIElement.FlowDirectionPropertyUIElement.ClipPropertyUIElement.UpdateRenderTransform()UIElement.CaptureMouse()UIElement.ReleaseMouseCapture()UIElement.Paint(IPaintingContext)UIElement.CanPaint(IPaintingContext)UIElement.PaintCore(IPaintingContext)UIElement.ClearValue(RadProperty)UIElement.IsKeyboardFocusWithin()UIElement.OnMouseLeftButtonDown(MouseButtonEventArgs)UIElement.OnMouseLeftButtonUp(MouseButtonEventArgs)UIElement.OnMouseRightButtonDown(MouseButtonEventArgs)UIElement.OnMouseRightButtonUp(MouseButtonEventArgs)UIElement.OnMouseClick(MouseButtonEventArgs)UIElement.OnMouseDoubleClick(MouseButtonEventArgs)UIElement.HitTest(Point)UIElement.GetClipRect()UIElement.DoClick(EventArgs)UIElement.DoDoubleClick(EventArgs)UIElement.OnMouseDown(MouseEventArgs)UIElement.DoMouseWheel(MouseEventArgs)UIElement.DoMouseMove(MouseEventArgs)UIElement.OnMouseUp(MouseEventArgs)UIElement.OnBubbleEvent(RadElement, RoutedEventArgs)UIElement.OnClick(EventArgs)UIElement.OnDoubleClick(EventArgs)UIElement.OnLostFocus(EventArgs)UIElement.OnGotFocus(EventArgs)UIElement.IsFocusableUIElement.AutomationIDUIElement.RenderTransformUIElement.ClipUIElement.IsHitTestVisibleUIElement.HasReceivedFocusUIElement.MouseLeftButtonDownUIElement.MouseLeftButtonUpUIElement.MouseRightButtonDownUIElement.MouseRightButtonUpUIElement.MouseClickUIElement.MouseDoubleClickUIElement.GotFocusUIElement.LostFocusVisualElement.DefaultSizePropertyVisualElement.ForeColorPropertyVisualElement.BackColorPropertyVisualElement.FontPropertyVisualElement.SmoothingModePropertyVisualElement.OpacityPropertyVisualElement.CustomFontPropertyVisualElement.CustomFontSizePropertyVisualElement.CustomFontStylePropertyVisualElement.OnFontChanged(EventArgs)VisualElement.OnPropertyChanging(RadPropertyChangingEventArgs)VisualElement.PaintChildren(IGraphics, Rectangle, float, SizeF, bool)VisualElement.PrePaintElement(IGraphics)VisualElement.PostPaintElement(IGraphics)VisualElement.GetScaledFont(float)VisualElement.GetScaledFont(float, Font)VisualElement.DefaultSizeVisualElement.ForeColorVisualElement.FontVisualElement.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.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.OnRenderSizeChanged(SizeChangedInfo)RadElement.OnChildDesiredSizeChanged(RadElement)RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)RadElement.ArrangeCore(RectangleF)RadElement.MeasureCore(SizeF)RadElement.ShouldArrangeChild(RadElement)RadElement.ShouldMeasureChild(RadElement)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.PaintOverride(IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintBackgroundShape(IGraphics)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(Color, float, SizeF)RadElement.GetAsBitmapEx(Brush, float, SizeF)RadElement.GetAsBitmap(Brush, float, SizeF)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.GetStylablePropertiesFilter()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.RaiseBubbleEvent(RadElement, RoutedEventArgs)RadElement.OnTunnelEvent(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.OnMouseMove(MouseEventArgs)RadElement.OnMouseHover(EventArgs)RadElement.OnEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnLostMouseCapture(MouseEventArgs)RadElement.OnMouseEnter(EventArgs)RadElement.OnMouseLeave(EventArgs)RadElement.PerformClick()RadElement.OnMouseWheel(MouseEventArgs)RadElement.IsInputKey(InputKeyEventArgs)RadElement.MouseEventArgsFromControl(MouseEventArgs)RadElement.DoMouseDown(MouseEventArgs)RadElement.DoMouseUp(MouseEventArgs)RadElement.ShowScreenTip(ScreenTipNeededEventArgs)RadElement.HideScreenTip()RadElement.DoMouseHover(EventArgs)RadElement.OnShowScreenTip(ComponentInputBehavior)RadElement.RaiseClick(EventArgs)RadElement.RaiseDoubleClick(EventArgs)RadElement.RaiseMouseWheel(MouseEventArgs)RadElement.UpdateContainsFocus(bool)RadElement.DoMouseEnter(EventArgs)RadElement.DoMouseLeave(EventArgs)RadElement.GetValue(RadProperty)RadElement.AddStylePropertySetting(IPropertySetting)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.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadElement.ToString()RadElement.DisposeManagedResources()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.TotalTransformRadElement.ShouldPaintUsingParentShapeRadElement.UseSystemSkinRadElement.CanHaveOwnStyleRadElement.PropagateStyleToChildrenRadElement.ThemeEffectiveTypeRadElement.ElementTreeRadElement.ChildrenRadElement.ChildrenHierarchyRadElement.ParentRadElement.RoutedEventBehaviorsRadElement.LayoutableChildrenCountRadElement.ContainsFocusRadElement.ShouldHandleMouseInputRadElement.NotifyParentOnMouseInputRadElement.IsAbleToRespondToMouseEventsRadElement.AutoSizeRadElement.LocationRadElement.SizeRadElement.BorderThicknessRadElement.PaddingRadElement.MarginRadElement.AutoSizeModeRadElement.FitToSizeModeRadElement.EnabledRadElement.CanFocusRadElement.IsFocusedRadElement.IsMouseOverRadElement.IsMouseOverElementRadElement.IsMouseDownRadElement.InvalidateChildrenOnChildChangedRadElement.ShouldPaintRadElement.VisibilityRadElement.IsElementVisibleRadElement.NameRadElement.ClassRadElement.ClipDrawingRadElement.ShapeRadElement.UseCompatibleTextRenderingRadElement.BackgroundShapeRadElement.BackgroundShapePaintModeRadElement.ContainsMouseRadElement.CaptureRadElement.ScaleTransformRadElement.PositionOffsetRadElement.SerializePropertiesRadElement.SerializeElementRadElement.SerializeChildrenRadElement.RenderingMaxFramerateRadElement.IsThemeAppliedRadElement.ShouldApplyThemeRadElement.UseCenteredAngleTransformRadElement.TagRadElement.ClickModeRadElement.DoubleClickEnabledRadElement.CaptureOnMouseDownRadElement.IsItemHoveredRadElement.StyleRadElement.ToolTipTextRadElement.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.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing...

Constructors

Initializes a new instance of the RadDiagramContainerShape class.

C#
public RadDiagramContainerShape()

Fields

Identifies the CollapsedContentProperty dependency property.

C#
public static readonly RadProperty CollapsedContentProperty

Identifies the CollapsedContentTemplateProperty dependency property.

C#
public static readonly RadProperty CollapsedContentTemplateProperty

Identifies the IsCollapsedProperty dependency property.

C#
public static readonly RadProperty IsCollapsedProperty

Identifies the IsCollapsibleProperty dependency property.

C#
public static readonly RadProperty IsCollapsibleProperty

Identifies the IsDropEnabled dependency property.

C#
public static readonly RadProperty IsDropEnabledProperty
C#
protected bool isInternalUpdate

Identifies the Items dependency property.

C#
public static readonly RadProperty ItemsProperty

Identifies the ItemsSource dependency property.

C#
public static readonly RadProperty ItemsSourceProperty

Properties

BackColor

C#
public override Color BackColor { get; set; }

Overrides: VisualElement.BackColor

BorderBrush

C#
public override Brush BorderBrush { get; set; }

Overrides: FrameworkElement.BorderBrush

ChildrenItems

C#
public virtual IEnumerable<IDiagramItem> ChildrenItems { get; }

Implements: IContainerShape.ChildrenItems

Gets or sets the content of the collapsed state placeholder of the container.

C#
public object CollapsedContent { get; set; }
Property Value:

The content.

Gets or sets the content template of the collapsed state placeholder of the container.

C#
public DataTemplate CollapsedContentTemplate { get; set; }
Property Value:

The content.

ContentBounds

C#
public Rect ContentBounds { get; set; }

Implements: IContainerShape.ContentBounds

C#
public LightVisualElement ContentShapeElement { get; }

Gets or Sets value indicating whether the element should paint its border

C#
public virtual bool DrawBorder { get; set; }
C#
public LightVisualElement HeaderPresenter { get; }

Gets or sets a value indicating whether this item is collapsed.

C#
public bool IsCollapsed { get; set; }

Implements: ICollapsible.IsCollapsed

Gets or sets a value indicating whether this container is collapsible.

C#
public bool IsCollapsible { get; set; }
Property Value:

True if this instance is collapsible; otherwise, false.

Implements: IContainerShape.IsCollapsible

Gets or sets whether drag-drop new items or removing items is enabled.

C#
public bool IsDropEnabled { get; set; }

Gets a value indicating whether drop operation is possible.

C#
protected virtual bool IsDropPossible { get; }

IsEnabled

C#
public override bool IsEnabled { get; set; }

Overrides: RadDiagramItem.IsEnabled

Implements: IDiagramItem.IsEnabled

Gets the items contained in this visual container.

C#
public DiagramItemCollection Items { get; }

Implements: IContainerShape.Items

Gets or sets the items source for this container.

C#
public IEnumerable ItemsSource { get; set; }

Implements: IContainerShape.ItemsSource

C#
public RadLabelElement Label { get; }

Gets the min bounds.

C#
public Rect MinBounds { get; set; }
Property Value:

The min bounds.

Implements: IContainerShape.MinBounds

Text

C#
public override string Text { get; set; }

Overrides: UIElement.Text

ToggleCollapseButton

C#
public RadToggleButtonElement ToggleCollapseButton { get; }

VirtualizationState

C#
public ItemVisibility VirtualizationState { get; set; }

Implements: ISupportVirtualization.VirtualizationState

Methods

Adds item to the Items collection.

C#
protected void AddItem(object item, Point? position = null)
Parameters:itemobjectpositionPoint?

Adds items to the Items collection.

C#
protected void AddItems(IEnumerable<object> items, bool updateLayout = true)
Parameters:itemsIEnumerable<object>updateLayoutbool

Calculates the content bounds from the given shape bounds.

C#
protected virtual Rect CalculateContentBounds(Rect newShapeBounds)
Parameters:newShapeBoundsRectReturns:

Rect

Calculates the minimum shape bounds.

C#
protected virtual Rect CalculateMinShapeBounds()
Returns:

Rect

Calculates the shape bounds from the given content bounds.

C#
protected virtual Rect CalculateShapeBounds(Rect contentBounds)
Parameters:contentBoundsRectReturns:

Rect

CreateChildElements

C#
protected override void CreateChildElements()

Overrides: UIElement.CreateChildElements()

C#
protected virtual LightVisualElement CreateHeaderPresenter()
Returns:

LightVisualElement

Deserializes the serialization info in this diagram entity.

C#
public override void Deserialize(SerializationInfo info)
Parameters:infoSerializationInfo

A SerializationInfo instance.

Overrides: RadDiagramShapeBase.Deserialize(SerializationInfo)

Implements: ISerializable.Deserialize(SerializationInfo)

Fits the size of the container to its children bounding box.

C#
public void FitToChildren()

Implements: IContainerShape.FitToChildren()

Gets the parent container, if any.

C#
public static RadDiagramContainerShape GetParentContainer(RadObject obj)
Parameters:objRadObject

An object which sits possibly in a container.

Returns:

RadDiagramContainerShape

Initializes the specified service locator and parent graph.

C#
protected override void Initialize(IGraphServiceLocator serviceLocator, IGraphInternal graph)
Parameters:serviceLocatorIGraphServiceLocator

The service locator.

graphIGraphInternal

The diagram control.

Overrides: RadDiagramItem.Initialize(IGraphServiceLocator, IGraphInternal)

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

C#
public override void OnApplyTemplate()

Overrides: RadDiagramShapeBase.OnApplyTemplate()

Called when [child bounds changed].

C#
protected virtual void OnChildBoundsChanged(IDiagramItem diagramItem)
Parameters:diagramItemIDiagramItem

The diagram item.

Called when the items in the containers have been deserialized and added to the Items collection.

C#
protected virtual void OnContainerItemsDeserialized()

Called on drag enter.

C#
protected virtual void OnDragEnter(DragItemsEventArgs args)
Parameters:argsDragItemsEventArgs

Called on drag leave.

C#
protected virtual void OnDragLeave(DragItemsEventArgs args)
Parameters:argsDragItemsEventArgs

The DragItemsEventArgs instance containing the event data.

Called on drop.

C#
protected virtual void OnDrop(DragItemsEventArgs args)
Parameters:argsDragItemsEventArgs

Called on is collapsed changed.

C#
protected virtual void OnIsCollapsedChanged(bool newValue, bool oldValue)
Parameters:newValueboololdValuebool

Called when the IsDropEnabled property changed.

C#
protected virtual void OnIsDropEnabledPropertyChanged(bool oldValue, bool newValue)
Parameters:oldValuebool

The old value of the property.

newValuebool

The new value of the property.

Called when the items collection has been altered.

C#
protected virtual void OnItemsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters:senderobject

The sender.

eNotifyCollectionChangedEventArgs

The NotifyCollectionChangedEventArgs instance containing the event data.

Remarks:

Note that the items are not necessarily shapes, but can be arbitrary objects.

OnLoaded

C#
protected override void OnLoaded()

Overrides: RadElement.OnLoaded()

Called on drag drop manager drop.

C#
protected virtual void OnManagerDrop(object sender, DragEventArgs e)
Parameters:senderobject

The sender.

eDragEventArgs

The instance containing the event data.

Called when the position of this container changes.

C#
protected override void OnPositionChanged(Point oldPosition, Point newPosition)
Parameters:oldPositionPoint

The old position.

newPositionPoint

The new position.

Overrides: RadDiagramShapeBase.OnPositionChanged(Point, Point)

OnPropertyChanged

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

e

Overrides: UIElement.OnPropertyChanged(RadPropertyChangedEventArgs)

Called when a property value changed.

C#
protected override void OnPropertyChanged(string propertyName)
Parameters:propertyNamestring

Overrides: RadDiagramItem.OnPropertyChanged(string)

Called when the size changes.

C#
protected override void OnSizeChanged(Size newSize, Size oldSize)
Parameters:newSizeSize

The new size.

oldSizeSize

The old size.

Overrides: RadDiagramItem.OnSizeChanged(Size, Size)

Called when the ZIndex changes.

C#
protected override void OnZIndexChanged(int newValue, int oldValue)
Parameters:newValueint

The new value.

oldValueint

The old value.

Overrides: RadDiagramItem.OnZIndexChanged(int, int)

Removes item from the Items collection.

C#
protected void RemoveItem(object item)
Parameters:itemobject

Removes items from the Items collection.

C#
protected void RemoveItems(IEnumerable<object> items, bool updateLayout = true)
Parameters:itemsIEnumerable<object>updateLayoutbool

Serializes this instance.

C#
public override SerializationInfo Serialize()
Returns:

SerializationInfo

Overrides: RadDiagramShapeBase.Serialize()

Implements: ISerializable.Serialize()

C#
protected void toggleCollapseButton_ToggleStateChanged(object sender, StateChangedEventArgs args)
Parameters:senderobjectargsStateChangedEventArgs

Updates the children positions on container position change.

C#
protected virtual void UpdateChildrenPositions(Point oldPosition, Point newPosition)
Parameters:oldPositionPoint

The old position.

newPositionPoint

The new position.

C#
protected void UpdateContainerLayout()
C#
protected void UpdateContentBounds()

Events

Occurs when the container IsCollapsed property has changed.

C#
public event RoutedEventHandler IsCollapsedChanged
In this article
DefinitionConstructorsRadDiagramContainerShape()FieldsCollapsedContentPropertyCollapsedContentTemplatePropertyIsCollapsedPropertyIsCollapsiblePropertyIsDropEnabledPropertyisInternalUpdateItemsPropertyItemsSourcePropertyPropertiesBackColorBorderBrushChildrenItemsCollapsedContentCollapsedContentTemplateContentBoundsContentShapeElementDrawBorderHeaderPresenterIsCollapsedIsCollapsibleIsDropEnabledIsDropPossibleIsEnabledItemsItemsSourceLabelMinBoundsTextToggleCollapseButtonVirtualizationStateMethodsAddItem(object, Point?)AddItems(IEnumerable<object>, bool)CalculateContentBounds(Rect)CalculateMinShapeBounds()CalculateShapeBounds(Rect)CreateChildElements()CreateHeaderPresenter()Deserialize(SerializationInfo)FitToChildren()GetParentContainer(RadObject)Initialize(IGraphServiceLocator, IGraphInternal)OnApplyTemplate()OnChildBoundsChanged(IDiagramItem)OnContainerItemsDeserialized()OnDragEnter(DragItemsEventArgs)OnDragLeave(DragItemsEventArgs)OnDrop(DragItemsEventArgs)OnIsCollapsedChanged(bool, bool)OnIsDropEnabledPropertyChanged(bool, bool)OnItemsCollectionChanged(object, NotifyCollectionChangedEventArgs)OnLoaded()OnManagerDrop(object, DragEventArgs)OnPositionChanged(Point, Point)OnPropertyChanged(RadPropertyChangedEventArgs)OnPropertyChanged(string)OnSizeChanged(Size, Size)OnZIndexChanged(int, int)RemoveItem(object)RemoveItems(IEnumerable<object>, bool)Serialize()toggleCollapseButton_ToggleStateChanged(object, StateChangedEventArgs)UpdateChildrenPositions(Point, Point)UpdateContainerLayout()UpdateContentBounds()EventsIsCollapsedChanged
Not finding the help you need?
Contact Support