Spread Windows Forms 6.0 Product Documentation
NameChanging Event
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > INameSupport2 Interface : NameChanging Event


Glossary Item Box

Occurs when the name of the data model is changing.

Syntax

Visual Basic (Declaration) 
Event NameChanging As PropertyChangingEventHandler
Visual Basic (Usage)Copy Code
Dim instance As INameSupport2
Dim handler As PropertyChangingEventHandler
 
AddHandler instance.NameChanging, handler
C# 
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 Get or set if cancel changing value of property
NewValue Get the new value which is intended to set to property
PropertyName The name of the property whose value is changing.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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