Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ShapeChangedEventArgs.ShapeType Property

Gets the type of the drawing object that has been inserted or removed.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

public ShapeType ShapeType { get; }

#Property Value

Type Description
ShapeType

A ShapeType enumeration member.

Available values:

Name Description
Picture

A picture.

Chart

A chart.

Shape

A shape.

Connector

A connector used to connect two shapes.

Group

A group of shapes.

FormControl

A form control.

#Remarks

Handle the SpreadsheetControl.ShapeInserted or SpreadsheetControl.ShapeRemoved event and use the ShapeType property to obtain the type of the drawing object that has been added to or removed from a worksheet.

See Also