ShapeChangedEventArgs(String, Int32, String, ShapeType) Constructor
Initializes a new instance of the ShapeChangedEventArgs class with the specified settings.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
public ShapeChangedEventArgs(
string sheetName,
int shapeId,
string shapeName,
ShapeType shapeType
)
Parameters
Name | Type | Description |
---|---|---|
sheetName | String | A string specifying the name of the worksheet to/from which the drawing object has been inserted or removed. |
shapeId | Int32 | An integer specifying the ID of the drawing object that has been inserted or removed. |
shapeName | String | A string specifying the name of the drawing object that has been inserted or removed. |
shapeType | ShapeType | A ShapeType enumeration member specifying the type of the drawing object for which the event has been raised. |
Remarks
The ShapeChangedEventArgs is created automatically and passed to the handlers of the SpreadsheetControl.ShapeInserted and SpreadsheetControl.ShapeRemoved events.