SpreadsheetGear 2010
ShapeAction Event
See Also  Send Feedback
SpreadsheetGear.Windows.Forms Namespace > WorkbookView Class : ShapeAction Event

Occurs when a shape action happens.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Action")>
<DescriptionAttribute("Occurs when a shape action happens.")>
Public Event ShapeAction As ShapeActionEventHandler
C# 
[CategoryAttribute("Action")]
[DescriptionAttribute("Occurs when a shape action happens.")]
public event ShapeActionEventHandler ShapeAction

Event Data

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

PropertyDescription
Control Returns the control responsible for the action or null if the shape is not a form control, textbox editor, or comment editor.
Shape Returns the shape responsible for the action.
ShapeActionType Returns the shape action type.

Remarks

The ShapeAction 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 ShapeAction is invoked.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2003-2010 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.