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


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

Property Value

Type Description

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


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