Back to Devexpress

DiagramShape Members

windowsforms-devexpress-dot-xtradiagram-dot-diagramshape-dot-underscore-members.md

latest27.4 KB
Original Source

DiagramShape Members

Displays a shape on the diagram canvas.

Constructors

NameDescription
DiagramShape()Initializes a new instance of the DiagramShape class.
DiagramShape(ShapeDescription, RectangleF, String)Initializes a new instance of the DiagramShape class with the specified settings.
DiagramShape(ShapeDescription, RectangleF)Initializes a new instance of the DiagramShape class with the specified settings.
DiagramShape(ShapeDescription, Single, Single, Single, Single, String)Initializes a new instance of the DiagramShape class with the specified settings.
DiagramShape(ShapeDescription, Single, Single, Single, Single)Initializes a new instance of the DiagramShape class with the specified settings.
DiagramShape(ShapeDescription)Initializes a new instance of the DiagramShape class with the specified settings.

Properties

NameDescription
AccessibleObjectGets an object that contains accessibility information about the diagram item. Inherited from DiagramItem.
ActualConnectionPointsReturns the list of connection point locations. Inherited from DiagramItem.
ActualPaddingGets the actual padding for the diagram item. Inherited from DiagramItem.
ActualPaddingFGets the actual padding for the diagram item. Inherited from DiagramItem.
AffectedByLayoutAlgorithmsSpecifies whether the item can be realigned by the automatic layout algoritms. Inherited from DiagramItem.
AnchorsGets or sets the sides of the root item (page) to which the current DiagramItem object is anchored. Inherited from DiagramItem.
AngleSpecifies the angle by which the diagram item is rotated counterclockwise around its anchor point. Inherited from DiagramItem.
AppearanceProvides access to the item’s appearance settings. Inherited from DiagramItem.
AreSubordinatesVisibleGets whether the current item’s subordinates are visible. Inherited from DiagramItem.
BackgroundIdThis member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
BindingsGets a collection of current diagram item’s bindings. Inherited from DiagramItem.
BoundsGets or sets the item bounds. Inherited from DiagramItem.
CanAttachConnectorBeginPointSpecifies whether end-users can attach a connector’s beginning point to the item. Inherited from DiagramItem.
CanAttachConnectorEndPointSpecifies whether end-users can attach the end point of a connector to the item. Inherited from DiagramItem.
CanChangeParameterSpecifies whether end-users can transform the shape.
CanChangeParentSpecifies whether to allow end-users to place the item into another container. Inherited from DiagramItem.
CanCopySpecifies whether to allow end-users to copy the item to the clipboard. Inherited from DiagramItem.
CanCopyWithoutParentSpecifies whether to allow end-users to copy the item placed in a container. Inherited from DiagramItem.
CanDeleteSpecifies whether to allow end-users to delete the item. Inherited from DiagramItem.
CanDeleteWithoutParentSpecifies whether to allow end-users to delete the item placed in a container. Inherited from DiagramItem.
CanEditSpecifies whether to allow end-users to edit the text displayed by the item. Inherited from DiagramItem.
CanHideSubordinatesGets 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.
CanMoveSpecifies whether to allow end-users to move the item across the canvas. Inherited from DiagramItem.
CanRaiseEvents protectedGets a value indicating whether the component can raise an event. Inherited from Component.
CanResizeSpecifies whether to allow end-users to resize the item. Inherited from DiagramItem.
CanRotateSpecifies whether to allow end-users to rotate the item. Inherited from DiagramItem.
CanSelectSpecifies whether to allow end-users to select the item. Inherited from DiagramItem.
CanSnapToOtherItemsSpecifies whether the item can snap to other items. Inherited from DiagramItem.
CanSnapToThisItemSpecifies whether other items can snap to this item. Inherited from DiagramItem.
CollapseButtonHorizontalAlignmentGets or sets the horizontal alignment of the collapse button’s border relative to its actual position. Inherited from DiagramItem.
CollapseButtonOffsetGets or sets the collapse button’s offset. Inherited from DiagramItem.
CollapseButtonPositionGets or sets the position of the collapse button. Inherited from DiagramItem.
CollapseButtonVerticalAlignmentGets or sets the vertical alignment of the collapse button’s border relative to its actual position. Inherited from DiagramItem.
CollapseButtonVisibilityModeGets or sets a value that indicates when the collapse button is displayed. Inherited from DiagramItem.
ConnectionPointsSpecifies the list of points on the perimeter of a shape at which connectors can terminate. Inherited from DiagramItem.
ContainerGets the IContainer that contains the Component. Inherited from Component.
ContentGets or sets the text displayed by the shape.
CustomStyleIdThis member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
DataContextGets or sets the data item bound to the diagram item. Inherited from DiagramItem.
DesignMode protectedGets a value that indicates whether the Component is currently in design mode. Inherited from Component.
EditorBoundsFor internal use. Gets the text editor’s bounds.
Events protectedGets the list of event handlers that are attached to this Component. Inherited from Component.
ForegroundIdThis member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
HeightGets or sets the item height. Inherited from DiagramItem.
IncomingConnectorsGets the collection of the current item’s incoming connectors. Inherited from DiagramItem.
IsDisposedGets whether the current diagram item is disposed. Inherited from DiagramItem.
IsSelectedGets whether the current item is selected. Inherited from DiagramItem.
IsTextEditModeGets whether the diagram item’s text is currently being edited. Inherited from DiagramItem.
IsVisibleGets whether the current diagram item is visible. Inherited from DiagramItem.
MinHeightGets or sets the minimum item height. Inherited from DiagramItem.
MinSizeGets or sets the minimum item size. Inherited from DiagramItem.
MinWidthGets or sets the minimum item width. Inherited from DiagramItem.
MoveWithSubordinatesGets or sets whether moving the current diagram item also moves its subordinates. Inherited from DiagramItem.
OutgoingConnectorsGets the collection of the current item’s outgoing connectors. Inherited from DiagramItem.
OwnerGets the owner of the current diagram item. Inherited from DiagramItem.
PaddingGets or sets the amount of space between the item’s borders and its contents. Inherited from DiagramItem.
ParametersSpecifies shape parameters.
ParentItemReturns the current item’s parent item. Inherited from DiagramItem.
PositionGets or sets the coordinates of the item’s upper left corner relative to the diagram canvas. Inherited from DiagramItem.
SelectionLayerThis member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
ShapeGets or sets the shape kind.
ShapeGeometryGets an object that identifies the geometry of the shape.
SiteGets or sets the ISite of the Component. Inherited from Component.
SizeGets or sets the size of the item. Inherited from DiagramItem.
StrokeIdThis member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
TabStopGets or sets whether the current item can be navigated to during item navigation using the TAB key. Inherited from DiagramItem.
TagGets or sets an arbitrary object value that can be used to store custom information about this element. Inherited from DiagramItem.
TemplateConditionGets or sets a condition that is used to choose a template for the diagram item. Inherited from DiagramItem.
TemplateNameIdentifies the item as a template used by data binding controllers. Inherited from DiagramItem.
ThemeStyleIdGets or sets the identifier of a style applied to the diagram item. Inherited from DiagramItem.
WeightThis member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from DiagramItem.
WidthGets or sets the item width. Inherited from DiagramItem.
XFor internal use. Inherited from DiagramItem.
YFor internal use. Inherited from DiagramItem.

Methods

NameDescription
CreateObjRef(Type)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
Dispose()Releases all resources used by the Component. Inherited from Component.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetDiagram()Gets the diagram control that is the owner of the diagram item. Inherited from DiagramItem.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetLifetimeService()Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetService(Type) protectedReturns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType()Gets the Type of the current instance. Inherited from Object.
InitializeLifetimeService()Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protectedCreates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.

Events

NameDescription
AngleChangedFires each time the value of the DiagramItem.Angle property is changed. Inherited from DiagramItem.
BoundsChangedFires each time the value of the DiagramItem.Bounds property is changed. Inherited from DiagramItem.
CanHideSubordinatesChangedInherited from DiagramItem.
ContentChangedOccurs when the current diagram shape’s content changes.
DisposedOccurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
HeightChangedFires each time the value of the DiagramItem.Height property is changed. Inherited from DiagramItem.
PositionChangedFires each time the value of the DiagramItem.Position property is changed. Inherited from DiagramItem.
SizeChangedFires each time the value of either DiagramItem.Height or DiagramItem.Width property is changed. Inherited from DiagramItem.
WidthChangedFires each time the value of the DiagramItem.Width property is changed. Inherited from DiagramItem.
XChangedFires each time the value of the DiagramItem.X property is changed. Inherited from DiagramItem.
YChangedFires each time the value of the DiagramItem.Y property is changed. Inherited from DiagramItem.

See Also

DiagramShape Class

DevExpress.XtraDiagram Namespace