Click or drag to resize
IContainerShape Interface
Defines a shape which acts as an items container for other shapes.

Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core (in Telerik.Windows.Diagrams.Core.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public interface IContainerShape : IShape, 
	IDiagramItem, ISerializable, ISupportMouseOver, IPropertyChanged, IGroupable, 
	ISupportManipulation, ISupportVirtualization, IContainerChild, ISupportRotation, IDragDropAware, 
	ICollapsible

The IContainerShape type exposes the following members.

Methods
  NameDescription
Public methodAddItem
Adds item to the Items collection.
Public methodAddItems
Adds items to the Items collection.
Public methodDeserialize
Deserializes the specified info.
(Inherited from ISerializable.)
Public methodFitToChildren
Fits the size of the container to its children bounding box.
Public methodInitialize
Initializes the specified service locator and parent graph.
(Inherited from IDiagramItem.)
Public methodOnContainerItemsDeserialized
Called when the items in the containers have been deserialized and added to the Items collection.
Public methodOnDragEnter
Called on drag enter.
(Inherited from IDragDropAware.)
Public methodOnDragLeave
Called on drag leave.
(Inherited from IDragDropAware.)
Public methodOnDrop
Called on drop.
(Inherited from IDragDropAware.)
Public methodRefreshBounds
Refreshes the container bounds after a manipulation.
Public methodRemoveItem
Removes item from the Items collection.
Public methodRemoveItems
Removes items from the Items collection.
Public methodSerialize
Serializes this instance.
(Inherited from ISerializable.)
Top
Extension Methods
  NameDescription
Public Extension MethodContains
Returns whether the container contains in its hierarchy the given item.
(Defined by CommonExtensions.)
Public Extension MethodGetActualBounds
Gets the ActualBounds if the given item is an IShape, otherwise the IDiagramItem's Bounds will be returned.
(Defined by CommonExtensions.)
Public Extension MethodGetChildrenBounds
Gets the enclosing bounds of the floating children of a container - shapes and floating connections.
(Defined by ContainerService.)
Public Extension MethodGetFloatingChildren
Gets the floating children of a container - shapes and floating connections.
(Defined by ContainerService.)
Public Extension MethodGetItemsRecursively
Returns the full hierarchy of items contained in the container.
(Defined by CommonExtensions.)
Public Extension MethodGetSerializationInfoOverloaded.
Gets the serializationInfo.
(Defined by SerializationExtensions.)
Public Extension MethodGetSerializationInfoOverloaded.
Gets the SerializationInfo of the IDiagramItem.
(Defined by SerializationExtensions.)
Public Extension MethodGetSupremumContainer
Gets the first (lowest in the hierarchy) group which groups both given shapes.
(Defined by CommonExtensions.)
Public Extension MethodGetSupremumGroup
Gets the first (lowest in the hierarchy) group which groups both given shapes.
(Defined by GroupExtensions.)
Public Extension MethodHasSelectedChild
Determines whether a container has a selected child.
(Defined by CommonExtensions.)
Public Extension MethodSetFromSerializationInfo(SerializationInfo)Overloaded.
Sets from serialization info.
(Defined by SerializationExtensions.)
Public Extension MethodSetFromSerializationInfo(SerializationInfo)Overloaded.
Sets from serialization info.
(Defined by SerializationExtensions.)
Top
Properties
  NameDescription
Public propertyActualBounds
Gets the actual bounds.
(Inherited from ISupportRotation.)
Public propertyAllowCopy
Gets or sets a value indicating whether copying is allowed.
(Inherited from ISupportManipulation.)
Public propertyAllowCut
Gets or sets a value indicating whether cutting is allowed.
(Inherited from ISupportManipulation.)
Public propertyAllowDelete
Gets or sets a value indicating whether deleting is allowed.
(Inherited from ISupportManipulation.)
Public propertyAllowPaste
Gets or sets a value indicating whether pasting is allowed.
(Inherited from ISupportManipulation.)
Public propertyBounds
Gets the bounds.
(Inherited from IDiagramItem.)
Public propertyChildren
Gets the children.
Public propertyConnectors
Gets the connectors of this shape.
(Inherited from IShape.)
Public propertyContent
Gets or sets the content.
(Inherited from IDiagramItem.)
Public propertyContentBounds
Gets or sets the content bounds.
Public propertyHeight
Gets or sets the height of the shape.
(Inherited from IShape.)
Public propertyId
Gets the unique identifier of this entity.
(Inherited from IDiagramItem.)
Public propertyIncomingLinks
Gets the incoming links (connections).
(Inherited from IShape.)
Public propertyIsCollapsed
Gets or sets a value indicating whether this item is collapsed.
(Inherited from ICollapsible.)
Public propertyIsCollapsible
Gets or sets a value indicating whether this container is collapsible.
Public propertyIsConnectorsAdornerVisible
Gets or sets a value indicating whether the connector adorner is visible.
(Inherited from IShape.)
Public propertyIsConnectorsManipulationEnabled
Gets or sets a value indicating whether manipulation on the connectors is enabled.
(Inherited from ISupportManipulation.)
Public propertyIsDraggingEnabled
Gets or sets a value indicating whether dragging is enabled.
(Inherited from ISupportManipulation.)
Public propertyIsDropPossible
Gets or sets whether drag-drop items in this container is possible.
(Inherited from IDragDropAware.)
Public propertyIsDynamic
Gets or sets whether this item is dynamically generated.
(Inherited from IDiagramItem.)
Public propertyIsEditable
Gets or sets a value indicating whether editing is enabled on this item.
(Inherited from IDiagramItem.)
Public propertyIsEnabled
Gets or sets whether the diagram entity is enabled.
(Inherited from IDiagramItem.)
Public propertyIsInEditMode
Gets or sets whether the instance in is edit mode.
(Inherited from IDiagramItem.)
Public propertyIsManipulationAdornerVisible
Gets or sets a value indicating whether the manipulation adorner is visible.
(Inherited from ISupportManipulation.)
Public propertyIsMouseOver
Gets a value indicating whether this instance is mouse over.
(Inherited from ISupportMouseOver.)
Public propertyIsResizingEnabled
Gets or sets a value indicating whether this instance is resizing enabled.
(Inherited from ISupportManipulation.)
Public propertyIsRotationEnabled
Gets or sets a value indicating whether this instance is rotation enabled.
(Inherited from ISupportManipulation.)
Public propertyIsSelected
Gets or sets whether the diagram entity is selected.
(Inherited from IDiagramItem.)
Public propertyItems
Gets the items contained in this visual container.
Public propertyItemsSource
Gets or sets the items source for this container.
Public propertyMaxHeight
Gets or sets the maximum height of the shape.
(Inherited from IShape.)
Public propertyMaxWidth
Gets or sets the maximum width of the shape.
(Inherited from IShape.)
Public propertyMinBounds
Gets the min bounds.
Public propertyMinHeight
Gets or sets the minimum height of the shape.
(Inherited from IShape.)
Public propertyMinWidth
Gets or sets the minimum width of the shape.
(Inherited from IShape.)
Public propertyName
Gets or sets the unique name of this entity.
(Inherited from IDiagramItem.)
Public propertyOutgoingLinks
Gets the outgoing links (connections).
(Inherited from IShape.)
Public propertyParentContainer
Gets the parent container shape.
(Inherited from IContainerChild.)
Public propertyParentGroup
Gets or sets the (unique) parent of this item.
(Inherited from IGroupable.)
Public propertyPosition
Gets or sets the position.
(Inherited from IDiagramItem.)
Public propertyRenderTransformOrigin
Gets or sets the center point of any possible render transform declared by System.Windows.UIElement.RenderTransform, relative to the bounds of the element.
(Inherited from IDiagramItem.)
Public propertyRotationAngle
Gets or sets the rotation angle.
(Inherited from ISupportRotation.)
Public propertyVirtualizationState
Get a value indicating item state regarding virtualization.
(Inherited from ISupportVirtualization.)
Public propertyVisibility
Gets or sets a value indicating whether this instance is visible.
(Inherited from IDiagramItem.)
Public propertyWidth
Gets or sets the width of the shape.
(Inherited from IShape.)
Public propertyZIndex
Gets or sets the ZIndex of this instance.
(Inherited from IDiagramItem.)
Top
Events
  NameDescription
Public eventParentGroupChanged
Occurs when the group to which this item belongs has changed.
(Inherited from IGroupable.)
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from IPropertyChanged.)
Top
See Also