Back to Devexpress

DiagramContainer.Shape Property

windowsforms-devexpress-dot-xtradiagram-dot-diagramcontainer-af2b210d.md

latest1.5 KB
Original Source

DiagramContainer.Shape Property

Gets or sets the container shape kind.

Namespace : DevExpress.XtraDiagram

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[DiagramCategory(DiagramCategory.Appearance)]
public virtual ContainerShapeDescription Shape { get; set; }
vb
<DiagramCategory(DiagramCategory.Appearance)>
Public Overridable Property Shape As ContainerShapeDescription

Property Value

TypeDescription
DevExpress.Diagram.Core.ContainerShapeDescription

An object that specifies the container shape kind.

|

Remarks

The DevExpress.Diagram.Core.StandardContainers static class stores the standard container styles. The example below illustrates how to set the container style in code.

csharp
container.Shape = StandardContainers.Corners;
vb
container.Shape = StandardContainers.Corners

See Also

DiagramContainer Class

DiagramContainer Members

DevExpress.XtraDiagram Namespace