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

ShapeChangingEventArgs.ShapeType Property

Gets the type of the drawing object being 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.ShapeRemoving event and use the ShapeType property to obtain the type of the drawing object that is going to be removed from a worksheet.

See Also