Skip to main content

DataLayoutItem.IsActuallyReadOnly Property

Gets whether the layout item’s editor is actually read-only.

Namespace: DevExpress.Xpf.LayoutControl

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

NuGet Package: DevExpress.Wpf.LayoutControl

Declaration

public bool IsActuallyReadOnly { get; }

Property Value

Type Description
Boolean

true if the layout item’s editor is actually read-only; otherwise, false.

Remarks

The layout item’s editor is read-only in the following cases:

  • The DataLayoutItem.Binding property does not refer to a property.
  • The bound property does not have a public setter.
  • The bound property is not a simple object.
  • The DataLayoutControl.IsReadOnly property is set to true.
  • The DataLayoutItem.IsReadOnly property is set to true.
  • The EditableAttribute.AllowEdit attribute is set to false for the bound property.
  • The ReadOnlyAttribute.IsReadOnly attribute is set to true for the bound property or for the bound object’s class.
See Also