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

PropertyDefinitionBase.IsReadOnly Property

Gets or sets whether the property’s value can be changed by end-users. This is a dependency property.

Namespace: DevExpress.Xpf.PropertyGrid

Assembly: DevExpress.Xpf.PropertyGrid.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.PropertyGrid, DevExpress.Wpf.PropertyGrid

Declaration

public bool? IsReadOnly { get; set; }

Property Value

Type Description
Nullable<Boolean>

true, if an end-user cannot modify the property’s value; otherwise, false.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsReadOnly property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also