Back to Devexpress

VGridControlBase.PropertyDeserializing Event

windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridcontrolbase-b98c59fd.md

latest2.8 KB
Original Source

VGridControlBase.PropertyDeserializing Event

Allows you to restore certain settings previously saved in the layout.

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

csharp
public event EventHandler<PropertyAllowEventArgs> PropertyDeserializing
vb
Public Event PropertyDeserializing As EventHandler(Of PropertyAllowEventArgs)

Event Data

The PropertyDeserializing event's data class is PropertyAllowEventArgs. The following properties provide information specific to this event:

PropertyDescription
AllowGets or sets whether to allow property serialization or deserialization.
OptionsLayoutGets layout settings of the control whose layout is being serialized or deserialized.
OwnerGets the control or UI element whose layout settings are being serialized or deserialized.
PropertyNameGets the property name currently being processed.

Remarks

Handle the PropertySerializing and PropertyDeserializing events for fine-grained control over layout saving/restoring. The e.PropertyName parameter specifies which property/setting is currently being processed. Use the e.Allow property to allow or disallow property deserialization.

You can also use the OptionsLayout property to specify layout-related settings.

Read the following topic for information and examples: Save and Restore Layouts of DevExpress Controls.

See Also

VGridControlBase Class

VGridControlBase Members

DevExpress.XtraVerticalGrid Namespace