Skip to main content
A newer version of this page is available. .

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.v19.1.dll

Declaration

public bool? AllowInstanceInitializer { get; set; }

Property Value

Type Description
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