Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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