SpreadsheetGear
ShapeSelectionChanging Event
See Also  Send Feedback
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

Visual Basic (Declaration) 
<CategoryAttribute("Action")>
<DescriptionAttribute("Occurs when the shape selection is about to change.")>
Public Event ShapeSelectionChanging() As ShapeSelectionChangingEventHandler
C# 
[CategoryAttribute("Action")]
[DescriptionAttribute("Occurs when the shape selection is about to change.")]
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: x86 and x64 versions of Windows 2000, Windows XP, Windows Vista, Windows 7, Windows Server 2003 (including R2) and Windows Server 2008 (including R2). SpreadsheetGear 2009 requires the Microsoft .NET Framework 2.0 and supports .NET 3.0 and .NET 3.5.

See Also

Copyright © 2003-2009 SpreadsheetGear LLC. All Rights Reserved.Help Powered by Innovasys   
SpreadsheetGear is a registered trademark of SpreadsheetGear LLC.
Microsoft, Microsoft Excel and Visual Studio are trademarks or registered trademarks of Microsoft Corporation.