Back to Devexpress

DiagramControl.Toolbox Property

windowsforms-devexpress-dot-xtradiagram-dot-diagramcontrol-2f80d1dd.md

latest1.7 KB
Original Source

DiagramControl.Toolbox Property

Gets or sets a Toolbox Control linked to the DiagramControl and populated with diagram shapes.

Namespace : DevExpress.XtraDiagram

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Behavior")]
public IToolboxControl Toolbox { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(Nothing)>
Public Property Toolbox As IToolboxControl

Property Value

TypeDefaultDescription
DevExpress.XtraToolbox.IToolboxControlnull

A Toolbox Control.

|

Remarks

You can add a ToolboxControl onto the form and link it to the DiagramControl with the Toolbox property. This Toolbox Control will be automatically populated with diagram shapes. It will also provide shape drag-and-drop functionality onto the diagram canvas.

See Also

Shapes Panel

DiagramControl Class

DiagramControl Members

DevExpress.XtraDiagram Namespace