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

LayoutAppearanceCollection.ControlReadOnly Property

Gets the appearance settings used to paint the contents of the editors owned by the LayoutControl when they are in the read-only state. This option is only in effect for DevExpress controls that support the StyleController mechanism.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public AppearanceObject ControlReadOnly { get; }

#Property Value

Type Description
AppearanceObject

A AppearanceObject object which provides the corresponding appearance settings.

#Remarks

Individual editors provide their own appearance settings that can override the settings provided by the ControlReadOnly property. These settings can be accessed via the RepositoryItem.AppearanceReadOnly property.

You can specify that a control is read-only via the RepositoryItem.ReadOnly property.

See Also