ColumnView.SetFocusedValue(Object) Method
Assigns a value to the focused cell.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
value | Object | An object representing the value to be assigned. |
#Remarks
The SetFocusedValue method does nothing if a group row is focused.
The currently focused cell is determined by the focused column identified by the ColumnView.FocusedColumn property and the focused row referred to by the ColumnView.FocusedRowHandle property.
To assign a value to any cell within the focused row the ColumnView.SetFocusedRowCellValue method can be used. The ColumnView.SetRowCellValue method can be used to set the value of a cell within any row.
Note
Detail pattern Views do not contain data and they are never displayed within Xtra
- Grid
Control. - returns the top most View in a grid;Main View - Grid
Control. - returns the focused View;Focused View - Grid
Control. - returns the currently maximized View;Default View - the sender parameter of View specific events;
- Grid
View. - returns a detail clone View for a specific master row.Get Detail View
SetFocusedValue(Object)