Skip to main content

DiagramItem Properties

The base class for diagram items.
Name Description
AccessibleObject Gets an object that contains accessibility information about the diagram item.
ActualConnectionPoints Returns the list of connection point locations.
ActualPadding Gets the actual padding for the diagram item.
ActualPaddingF Gets the actual padding for the diagram item.
AffectedByLayoutAlgorithms Specifies whether the item can be realigned by the automatic layout algoritms.
Anchors Gets or sets the sides of the root item (page) to which the current DiagramItem object is anchored.
Angle Specifies the angle by which the diagram item is rotated counterclockwise around its anchor point.
Appearance Provides access to the item’s appearance settings.
AreSubordinatesVisible Gets whether the current item’s subordinates are visible.
BackgroundId This member supports the internal infrastructure, and is not intended to be used directly from your code.
Bindings Gets a collection of current diagram item’s bindings.
Bounds Gets or sets the item bounds.
CanAttachConnectorBeginPoint Specifies whether end-users can attach a connector’s beginning point to the item.
CanAttachConnectorEndPoint Specifies whether end-users can attach the end point of a connector to the item.
CanChangeParent Specifies whether to allow end-users to place the item into another container.
CanCopy Specifies whether to allow end-users to copy the item to the clipboard.
CanCopyWithoutParent Specifies whether to allow end-users to copy the item placed in a container.
CanDelete Specifies whether to allow end-users to delete the item.
CanDeleteWithoutParent Specifies whether to allow end-users to delete the item placed in a container.
CanEdit Specifies whether to allow end-users to edit the text displayed by the item.
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.
CanMove Specifies whether to allow end-users to move the item across the canvas.
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.
CanRotate Specifies whether to allow end-users to rotate the item.
CanSelect Specifies whether to allow end-users to select the item.
CanSnapToOtherItems Specifies whether the item can snap to other items.
CanSnapToThisItem Specifies whether other items can snap to this item.
CollapseButtonHorizontalAlignment Gets or sets the horizontal alignment of the collapse button’s border relative to its actual position.
CollapseButtonOffset Gets or sets the collapse button’s offset.
CollapseButtonPosition Gets or sets the position of the collapse button.
CollapseButtonVerticalAlignment Gets or sets the vertical alignment of the collapse button’s border relative to its actual position.
CollapseButtonVisibilityMode Gets or sets a value that indicates when the collapse button is displayed.
ConnectionPoints Specifies the list of points on the perimeter of a shape at which connectors can terminate.
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.
DataContext Gets or sets the data item bound to the diagram item.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
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.
Height Gets or sets the item height.
IncomingConnectors Gets the collection of the current item’s incoming connectors.
IsDisposed Gets whether the current diagram item is disposed.
IsSelected Gets whether the current item is selected.
IsTextEditMode Gets whether the diagram item’s text is currently being edited.
IsVisible Gets whether the current diagram item is visible.
MinHeight Gets or sets the minimum item height.
MinSize Gets or sets the minimum item size.
MinWidth Gets or sets the minimum item width.
MoveWithSubordinates Gets or sets whether moving the current diagram item also moves its subordinates.
OutgoingConnectors Gets the collection of the current item’s outgoing connectors.
Owner Gets the owner of the current diagram item.
Padding Gets or sets the amount of space between the item’s borders and its contents.
ParentItem Returns the current item’s parent item.
Position Gets or sets the coordinates of the item’s upper left corner relative to the diagram canvas.
SelectionLayer This member supports the internal infrastructure, and is not intended to be used directly from your code.
Site Gets or sets the ISite of the Component. Inherited from Component.
Size Gets or sets the size of the item.
StrokeId This member supports the internal infrastructure, and is not intended to be used directly from your code.
TabStop Gets or sets whether the current item can be navigated to during item navigation using the TAB key.
Tag Gets or sets an arbitrary object value that can be used to store custom information about this element.
TemplateCondition Gets or sets a condition that is used to choose a template for the diagram item.
TemplateName Identifies the item as a template used by data binding controllers.
ThemeStyleId Gets or sets the identifier of a style applied to the diagram item.
Weight This member supports the internal infrastructure and is not intended to be used directly from your code.
Width Gets or sets the item width.
X For internal use.
Y For internal use.
See Also