Version

SavePropertyPersistence Event

Occurs before a property is saved.
Syntax
'Declaration
 
Public Event SavePropertyPersistence As EventHandler(Of SavePropertyPersistenceEventArgs)
public event EventHandler<SavePropertyPersistenceEventArgs> SavePropertyPersistence
Event Data

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

PropertyDescription
Cancel Get/sets whether the property shouldn't be stored.
Identifier Gets/sets an identifier that can be used to identify an property being loaded.
PropertyInfo (Inherited from Infragistics.Persistence.PropertyPersistenceEventArgs)Gets the PropertyInfo of an object being saved or loaded.
PropertyPath (Inherited from Infragistics.Persistence.PropertyPersistenceEventArgs)Gets the full property path of an object being saved or loaded.
RootOwner (Inherited from Infragistics.Persistence.PropertyPersistenceEventArgs)Gets the root object that is actually being saved or loaded.
SaveValue Gets/sets a string representation of the Value that will be used to store the property.
Value Gets/sets the actual value of the property being stored.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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