Back to Devexpress

PGridOptionsView.AllowRowHeaderReadOnlyAppearance Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-pgridoptionsview-3344b6dc.md

latest4.1 KB
Original Source

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

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

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public DefaultBoolean AllowRowHeaderReadOnlyAppearance { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Property AllowRowHeaderReadOnlyAppearance As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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

ReadOnly

ReadOnlyRow

Appearances

PGridOptionsView Class

PGridOptionsView Members

DevExpress.XtraVerticalGrid Namespace