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.v21.2.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