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

PGridOptionsView.AllowRowHeaderReadOnlyAppearance Property

Gets or sets whether to paint read-only row headers according to the ReadOnlyRow appearance settings. Office view only.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.VerticalGrid

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public DefaultBoolean AllowRowHeaderReadOnlyAppearance { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

True to paint read-only rows according to the ReadOnlyRow appearance settings; otherwise, Default or False.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowRowHeaderReadOnlyAppearance
PropertyGridControl
.OptionsView .AllowRowHeaderReadOnlyAppearance

Remarks

A row’s ReadOnly property allows you to make the row non-editable. To customize read-only row appearance settings, use the following properties:

The default settings specify grayed-out appearance for read-only rows.

In the Vertical Grid, these appearance settings are only applied if the AllowReadOnlyRowAppearance option is enabled.

In the Property Grid’s Office view, the ReadOnlyRow settings are only in effect if the AllowRowHeaderReadOnlyAppearance option is enabled.

See the following topic for more information about appearance settings: Appearances.

See Also