Skip to main content
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.v24.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public bool IsSmart { get; set; }

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the IsSmart property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also