PropertyAllowEventArgs.Owner Property
In This Article
Gets the control or UI element whose layout settings are being serialized or deserialized.
Namespace: DevExpress.Utils
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
#Property Value
Type | Description |
---|---|
Object | The control or UI element whose layout settings are being serialized or deserialized (for example |
#Remarks
The following example demonstrates how to avoid serializing certain settings of TreeList columns:
treeList.PropertySerializing += (s, e) => {
if(e.Owner is TreeListColumn && e.PropertyName == "Caption")
e.Allow = DefaultBoolean.False;
};
See Also