Back to Devexpress

PropertyGridControl.AllowInstanceInitializer Property

wpf-devexpress-dot-xpf-dot-propertygrid-dot-propertygridcontrol-cb0c22d4.md

latest1.7 KB
Original Source

PropertyGridControl.AllowInstanceInitializer Property

Gets or sets whether to enable the instance initializer for the property grid. This is a dependency property.

Namespace : DevExpress.Xpf.PropertyGrid

Assembly : DevExpress.Xpf.PropertyGrid.v25.2.dll

NuGet Package : DevExpress.Wpf.PropertyGrid

Declaration

csharp
public bool? AllowInstanceInitializer { get; set; }
vb
Public Property AllowInstanceInitializer As Boolean?

Property Value

TypeDescription
Nullable<Boolean>

true, to enable the instance initializer; otherwise, false.

|

Remarks

To enable or disable the instance initializer for individual property definitions, set its PropertyDefinition.AllowInstanceInitializer property to true or false correspondingly. It will override the AllowInstanceInitializer property.

See Also

InstanceInitializer

PropertyGridControl Class

PropertyGridControl Members

DevExpress.Xpf.PropertyGrid Namespace