Skip to main content

DiagramContainer Properties

Represents a diagram container item.
Name Description
AccessibleObject Gets an object that contains accessibility information about the diagram item. Inherited from DiagramItem.
ActualConnectionPoints Returns the list of connection point locations. Inherited from DiagramItem.
ActualIsContainerCollapseButtonVisible Gets whether the container collapse button is currently visible.
ActualPadding Gets the actual padding for the diagram item. Inherited from DiagramItem.
ActualPaddingF Gets the actual padding for the diagram item. Inherited from DiagramItem.
AdjustBoundsBehavior Specifies the behavior when the end-user moves items close to the container boundaries. Inherited from DiagramContainerBase.
AffectedByLayoutAlgorithms Specifies whether the item can be realigned by the automatic layout algoritms. Inherited from DiagramItem.
Anchors Gets or sets the sides of the root item (page) to which the current DiagramItem object is anchored. Inherited from DiagramItem.
Angle This member is not supported by the DiagramContainerBase class. Inherited from DiagramContainerBase.
Appearance Provides access to the item’s appearance settings. Inherited from DiagramItem.
AreSubordinatesVisible Gets whether the current item’s subordinates are visible. Inherited from DiagramItem.
BackgroundId This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
Bindings Gets a collection of current diagram item’s bindings. Inherited from DiagramItem.
Bounds Gets or sets the item bounds. Inherited from DiagramItem.
CanAddItems Specifies whether end users can add items to the container.
CanAttachConnectorBeginPoint Specifies whether end-users can attach a connector’s beginning point to the item. Inherited from DiagramItem.
CanAttachConnectorEndPoint Specifies whether end-users can attach the end point of a connector to the item. Inherited from DiagramItem.
CanChangeParent Specifies whether to allow end-users to place the item into another container. Inherited from DiagramItem.
CanCollapse Specifies whether the container displays the expand/collapse button.
CanCopy Specifies whether to allow end-users to copy the item to the clipboard. Inherited from DiagramItem.
CanCopyWithoutParent Specifies whether to allow end-users to copy the item placed in a container. Inherited from DiagramItem.
CanDelete Specifies whether to allow end-users to delete the item. Inherited from DiagramItem.
CanDeleteWithoutParent Specifies whether to allow end-users to delete the item placed in a container. Inherited from DiagramItem.
CanEdit Specifies whether to allow end-users to edit the text displayed by the item. Inherited from DiagramItem.
CanHideSubordinates Gets or sets whether to display the expand-collapse button below the diagram item that allows an end-user to show/hide the item’s subordinates. Inherited from DiagramItem.
CanMove Specifies whether to allow end-users to move the item across the canvas. Inherited from DiagramItem.
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
CanResize Specifies whether to allow end-users to resize the item. Inherited from DiagramItem.
CanRotate This member is not supported by the DiagramContainerBase class. Inherited from DiagramContainerBase.
CanSelect Specifies whether to allow end-users to select the item. Inherited from DiagramItem.
CanSnapToOtherItems Specifies whether the item can snap to other items. Inherited from DiagramItem.
CanSnapToThisItem Specifies whether other items can snap to this item. Inherited from DiagramItem.
ClipItemsToBounds Specifies whether items that exceed the parent container are clipped.
CollapseButtonHorizontalAlignment Gets or sets the horizontal alignment of the collapse button’s border relative to its actual position. Inherited from DiagramItem.
CollapseButtonOffset Gets or sets the collapse button’s offset. Inherited from DiagramItem.
CollapseButtonPosition Gets or sets the position of the collapse button. Inherited from DiagramItem.
CollapseButtonVerticalAlignment Gets or sets the vertical alignment of the collapse button’s border relative to its actual position. Inherited from DiagramItem.
CollapseButtonVisibilityMode Gets or sets a value that indicates when the collapse button is displayed. Inherited from DiagramItem.
CollapseContainerButtonPadding
CollapseContainerButtonSize
ConnectionPoints Specifies the list of points on the perimeter of a shape at which connectors can terminate. Inherited from DiagramItem.
Container Gets the IContainer that contains the Component. Inherited from Component.
CustomStyleId This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
DataContext Gets or sets the data item bound to the diagram item. Inherited from DiagramItem.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
DragMode Specifies whether the container can be dragged by any point or only by header and bounds.
EditorBounds For internal use. Gets the header editor’s bounds.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
ForegroundId This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
Header Gets or sets the container header.
HeaderPadding Gets or sets the amount of space between the container header’s borders and its contents.
Height Gets or sets the item height. Inherited from DiagramItem.
IncomingConnectors Gets the collection of the current item’s incoming connectors. Inherited from DiagramItem.
IsCollapsed Specifies whether the container item is collapsed.
IsDisposed Gets whether the current diagram item is disposed. Inherited from DiagramItem.
IsSelected Gets whether the current item is selected. Inherited from DiagramItem.
IsSnapScope This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from DiagramContainerBase.
IsTextEditMode Gets whether the diagram item’s text is currently being edited. Inherited from DiagramItem.
IsVisible Gets whether the current diagram item is visible. Inherited from DiagramItem.
Items Provides access to the collection of diagram items placed within the container.
ItemsCanAttachConnectorBeginPoint Specifies whether end-users can attach a connector’s beginning point to the diagram items within the container.
ItemsCanAttachConnectorEndPoint Specifies whether end-users can attach a connector’s end point to the diagram items within the container.
ItemsCanChangeParent Specifies whether end-users can move the diagram items from this container to another.
ItemsCanCopyWithoutParent Specifies whether to allow end-users to copy items from the container.
ItemsCanDeleteWithoutParent Specifies whether to allow end-users to remove items from the container.
ItemsCanEdit Specifies whether to allow end-users to edit the text displayed by the items within the container.
ItemsCanMove Specifies whether the diagram items within the container can be moved by end-users.
ItemsCanResize Specifies whether to allow end-users to resize items within the container.
ItemsCanRotate Specifies whether to allow end-users to rotate items within the container.
ItemsCanSelect Specifies whether to allow end-users to select items within the container.
ItemsCanSnapToOtherItems Specifies whether an item within the container can snap to other items.
ItemsCanSnapToThisItem Specifies whether items can snap to an item within the container.
MinHeight Gets or sets the minimum item height. Inherited from DiagramItem.
MinSize Gets or sets the minimum item size. Inherited from DiagramItem.
MinWidth Gets or sets the minimum item width. Inherited from DiagramItem.
MoveWithSubordinates Gets or sets whether moving the current diagram item also moves its subordinates. Inherited from DiagramItem.
OutgoingConnectors Gets the collection of the current item’s outgoing connectors. Inherited from DiagramItem.
Owner Gets the owner of the current diagram item. Inherited from DiagramItem.
Padding Gets or sets the amount of space between the item’s borders and its contents. Inherited from DiagramItem.
ParentItem Returns the current item’s parent item. Inherited from DiagramItem.
Position Gets or sets the coordinates of the item’s upper left corner relative to the diagram canvas. Inherited from DiagramItem.
SelectionLayer This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
Shape Gets or sets the container shape kind.
ShapeGeometry Gets the object that identifies the geometry of the container.
ShowHeader Gets or sets whether to show the container header.
Site Gets or sets the ISite of the Component. Inherited from Component.
Size Gets or sets the size of the item. Inherited from DiagramItem.
StrokeId This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
TabStop Gets or sets whether the current item can be navigated to during item navigation using the TAB key. Inherited from DiagramItem.
Tag Gets or sets an arbitrary object value that can be used to store custom information about this element. Inherited from DiagramItem.
TemplateCondition Gets or sets a condition that is used to choose a template for the diagram item. Inherited from DiagramItem.
TemplateName Identifies the item as a template used by data binding controllers. Inherited from DiagramItem.
ThemeStyleId Gets or sets the identifier of a style applied to the diagram item. Inherited from DiagramItem.
Weight This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from DiagramItem.
Width Gets or sets the item width. Inherited from DiagramItem.
X For internal use. Inherited from DiagramItem.
Y For internal use. Inherited from DiagramItem.
See Also