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

ColumnBase.AllowFocus Property

Gets or sets whether the column can be focused. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.2.Core.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

public bool AllowFocus { get; set; }

Property Value

Type Description
Boolean

true to allow the column to be focused; otherwise, false.

Remarks

If the column’s AllowFocus property is set to false, its values cannot be edited.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowFocus 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