Back to Devexpress

ColumnView.DefaultEdit Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-columnview-afbed7c4.md

latest2.3 KB
Original Source

ColumnView.DefaultEdit Property

OBSOLETE

Check documentation

The property is obsolete and you should not use it in your code.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Check documentation")]
public RepositoryItem DefaultEdit { get; set; }
vb
<Browsable(False)>
<Obsolete("Check documentation")>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Property DefaultEdit As RepositoryItem

Property Value

TypeDescription
RepositoryItem

null ( Nothing in Visual Basic) always.

|

Remarks

In the current version, you cannot set a default editor for column cells. To assign an editor to a column, you should create a repository item, add it to the grid’s EditorContainer.RepositoryItems or EditorContainer.ExternalRepository collection and then assign it to the desired column via the GridColumn.ColumnEdit property. For more information, refer to the Modify and Validate Cell Values document.

See Also

Edit Data. Create Cell Editors. Validate User Input

ColumnView Class

ColumnView Members

DevExpress.XtraGrid.Views.Base Namespace