A newer version of this page is available. Switch to the current version.

WorkspaceManager.PropertyDeserializing Event

Occurs whenever a property is about to be restored from a workspace.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.1.dll

Declaration

[DXCategory("Behavior")]
public event PropertyCancelEventHandler PropertyDeserializing
<DXCategory("Behavior")>
Public Event PropertyDeserializing As PropertyCancelEventHandler

Event Data

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

Remarks

Arguments for the PropertyDeserializing event provide the Component and PropertyName properties to identify what settings are being restored and what controls they belong to. The Cancel property allows you to skip restoring the desired property. By doing so, you can selectively deserialize properties, applying only those that are needed.

See Also