IContainerShape
Defines a shape which acts as an items container for other shapes.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public interface IContainerShape : IShape, IDiagramItem, ISerializable, ISupportMouseOver, IPropertyChanged, IGroupable, ISupportManipulation, ISupportVirtualization, IContainerChild, ICollapsible, ISupportRotation, IDragDropAware
Derived Classes:
Inherited Members
Properties
ChildrenItems
IEnumerable<IDiagramItem>
Gets the children.
IEnumerable<IDiagramItem> ChildrenItems { get; }
Gets or sets the content bounds.
Rect ContentBounds { get; set; }
Gets or sets a value indicating whether this container is collapsible.
bool IsCollapsible { get; set; }
True if this instance is collapsible; otherwise, false.
Gets the items contained in this visual container.
DiagramItemCollection Items { get; }
Gets or sets the items source for this container.
IEnumerable ItemsSource { get; set; }
Methods
Adds items to the Items collection.
Fits the size of the container to its children bounding box.
void FitToChildren()
Called when the items in the containers have been deserialized and added to the Items collection.
void OnContainerItemsDeserialized()
Refreshes the container bounds after a manipulation.
void RefreshBounds()
Removes item from the Items collection.
Removes items from the Items collection.