SpreadsheetGear The Performance Spreadsheet Component Company 
ShapeSelectionChanging Event
See Also 
SpreadsheetGear.Windows.Forms Namespace > WorkbookView Class : ShapeSelectionChanging Event
Occurs when the user is attempting to change the shape selection and provides the ability to cancel the change.

Syntax

C# 
[DescriptionAttribute("Occurs when the shape selection is about to change.")]
[CategoryAttribute("Action")]
public event ShapeSelectionChangingEventHandler ShapeSelectionChanging()

Event Data

The event handler receives an argument of type ShapeSelectionChangingEventArgs containing data related to this event. The following ShapeSelectionChangingEventArgs properties provide information specific to this event.

PropertyDescription
Cancel Gets or sets the value which specifies whether the event will be canceled.
ShapeSelection Returns the new shape selection.

Remarks

The ShapeSelectionChanging event is always invoked on the thread which created the workbook view control, and a lock is always acquired on the workbook set associated with the workbook view control before ShapeSelectionChanging is invoked.

Requirements

Platforms: Windows Vista, Windows XP, Windows Server 2008, Windows Server 2003, Windows 2000, Windows Me and Windows 98, including 32 bit and 64 bit editions where applicable. SpreadsheetGear for .NET 1.x requires the Microsoft .NET Framework 1.1 or .NET 2.0 (works with .NET 3.x). SpreadsheetGear for .NET 2007 requires the Microsoft .NET Framework 2.0 (works with .NET 3.x).

See Also