Skip to main content
A newer version of this page is available. .

WorkspaceManager.PropertySerializing Event

Occurs whenever a property is about to be written into a workspace.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v20.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[DXCategory("Behavior")]
public event PropertyCancelEventHandler PropertySerializing

Event Data

The PropertySerializing event's data class is DevExpress.Utils.PropertyCancelEventArgs.

Remarks

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.

See Also