Skip to main content
A newer version of this page is available. .

DataLayoutControl.IsReadOnly Property

Gets or sets whether layout items’ editors are in read-only mode. This is a dependency property.

Namespace: DevExpress.Xpf.LayoutControl

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.LayoutControl, DevExpress.Wpf.Layout

Declaration

public bool IsReadOnly { get; set; }

Property Value

Type Description
Boolean

true if layout items’ editors are in read-only mode; otherwise, false.

Remarks

If the IsReadOnly property is set to true, all editors within layout items will be read-only. You can make a specific editor read-only via the DataLayoutItem.IsReadOnly property.

To learn about other cases when the linked editor is read-only, see DataLayoutItem.IsActuallyReadOnly.

The following code snippets (auto-collected from DevExpress Examples) contain references to the IsReadOnly 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