Back to Devexpress

PropertyDefinition.AllowInstanceInitializer Property

wpf-devexpress-dot-xpf-dot-propertygrid-dot-propertydefinition-f12a2ae8.md

latest1.6 KB
Original Source

PropertyDefinition.AllowInstanceInitializer Property

Gets or sets whether to enable the instance initializer for the property definition. 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

If the AllowInstanceInitializer property is set to null , the property grid’s PropertyGridControl.AllowInstanceInitializer property specifies whether to enable the instance initializer for the property definition.

See Also

PropertyDefinition Class

PropertyDefinition Members

DevExpress.Xpf.PropertyGrid Namespace