Back to Devexpress

ShapeChangingEventArgs.ShapeType Property

officefileapi-devexpress-dot-spreadsheet-dot-shapechangingeventargs.md

latest2.0 KB
Original Source

ShapeChangingEventArgs.ShapeType Property

Gets the type of the drawing object being removed.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public ShapeType ShapeType { get; }
vb
Public ReadOnly Property ShapeType As ShapeType

Property Value

TypeDescription
ShapeType

A ShapeType enumeration member.

|

Available values:

NameDescription
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.

| | OleObject |

An OLE object.

|

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

ShapeChangingEventArgs Class

ShapeChangingEventArgs Members

DevExpress.Spreadsheet Namespace