Back to Devexpress

ShapeChangedEventArgs.ShapeType Property

officefileapi-devexpress-dot-spreadsheet-dot-shapechangedeventargs.md

latest2.1 KB
Original Source

ShapeChangedEventArgs.ShapeType Property

Gets the type of the drawing object that has been inserted or 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.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

ShapeChangedEventArgs Class

ShapeChangedEventArgs Members

DevExpress.Spreadsheet Namespace