Occurs whenever a property is about to be written into a workspace.
[DXCategory("Behavior")] public event PropertyCancelEventHandler PropertySerializing
<DXCategory("Behavior")> Public Event PropertySerializing As PropertyCancelEventHandler
The PropertySerializing event's data class is DevExpress.Utils.PropertyCancelEventArgs.
Arguments for the PropertySerializing event provide the Component and PropertyName properties to identify what settings are being saved and what controls they belong to. The Cancel property allows you to skip saving the desired property. By doing so, you can selectively serialize properties, keeping only those that are needed.