Tag

ColumnBase.IsSmart Property

Gets or sets whether to enable the smart columns generation feature for the column. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.Core.dll

Declaration

public bool IsSmart { get; set; }
Public Property IsSmart As Boolean

Property Value

Type Description
Boolean

true to enable the smart columns generation feature for the column; otherwise, false.

Remarks

If the IsSmart property is set to true, the grid automatically configures the column according to Data Annotations and the DevExpress Fluent API specified in the underlying data source. To learn more, see Applying Data Annotations.

NOTE

The smart column generation mechanism ignores column binding converters. When using column binding converters, set the IsSmart property to false.

See Also