wpf-devexpress-dot-xpf-dot-core-dot-serialization-dot-allowpropertyeventargs.md
Gets or sets whether the property can be deserialized.
Namespace : DevExpress.Xpf.Core.Serialization
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public bool Allow { get; set; }
Public Property Allow As Boolean
| Type |
|---|
| Boolean |
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Allow property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
if (e.DependencyProperty == GridColumn.WidthProperty)
e.Allow = false;
}
Private Sub OnAllowProperty(ByVal sender As Object, ByVal e As AllowPropertyEventArgs)
If e.DependencyProperty Is BaseColumn.WidthProperty Then e.Allow = False
End Sub
See Also