Skip to main content

DiagramControl.SelectedStencils Property

Specifies the selected shape groups. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v23.2.dll

NuGet Package: DevExpress.Wpf.Diagram


public StencilCollection SelectedStencils { get; set; }

Property Value

Type Description

A DevExpress.Diagram.Core.StencilCollection object.


The Shapes Panel displays available shape groups within the dropdown menu that is invoked by selecting the More Shapes item. End-users can select groups from the menu to display them within the Shapes panel. The selected groups are stored in the SelectedStencils collection.


The following code snippets (auto-collected from DevExpress Examples) contain references to the SelectedStencils property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also