Skip to main content

DataLayoutControl.AutoGenerateItems Property

Gets or sets whether the DataLayoutControl should generate layout items automatically. This is a dependency property.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v24.2.dll

NuGet Package: DevExpress.Wpf.LayoutControl

Declaration

public bool AutoGenerateItems { get; set; }

Property Value

Type Description
Boolean

true, if the DataLayoutControl should generate layout items automatically; otherwise, false.

Remarks

The DataLayoutControl can generate items automatically. If the AutoGenerateItems property is true, DataLayoutControl gets an object from the DataLayoutControl.CurrentItem property and generates a layout. Otherwise, if this property is false, DataLayoutItems for the current DataLayoutControl won’t be generated automatically and they should be created manually.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AutoGenerateItems 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