Spread for ASP.NET 7.0 Product Documentation
NameChanging Event
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > DefaultSheetDataModel Class : NameChanging Event


Glossary Item Box

Occurs when the name of the data model is changing.

Syntax

Visual Basic (Declaration) 
Public Event NameChanging As PropertyChangingEventHandler
Visual Basic (Usage)Copy Code
Dim instance As DefaultSheetDataModel
Dim handler As PropertyChangingEventHandler
 
AddHandler instance.NameChanging, handler
C# 
public event PropertyChangingEventHandler NameChanging

Event Data

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

PropertyDescription
Cancel Gets or sets whether to cancel changing the property value.
NewValue Gets the new value to be set by the property.
PropertyName The name of the property whose value is changing.

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.