Skip to main content

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.v24.2.dll

NuGet Package: DevExpress.Wpf.LayoutControl

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 snippet (auto-collected from DevExpress Examples) contains a reference 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