windowsforms-devexpress-dot-xtratreelist-dot-virtualtreesetcellvalueinfo-52b2d701.md
Gets the new cell value (when VirtualTreeSetCellValueInfo.IsCheckState is false ) or the node’s new check state (when VirtualTreeSetCellValueInfo.IsCheckState is true ).
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
public object NewCellData { get; }
Public ReadOnly Property NewCellData As Object
| Type | Description |
|---|---|
| Object |
An object that represents the new cell value/node’s new check state.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the NewCellData 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.
zip-compression-and-archive-api-examples/CS/CompressionLibraryExamples/MyTreeData.cs#L37
void TreeList.IVirtualTreeListData.VirtualTreeSetCellValue(VirtualTreeSetCellValueInfo info) {
cellsCore[info.Column.AbsoluteIndex] = info.NewCellData;
}
excel-export-api-examples/CS/XLExportExamples/BusinessObjects.cs#L58
case "Name":
obj.Name = (string)info.NewCellData;
break;
case "Name":
obj.Name = (string)info.NewCellData;
break;
case "Name":
obj.Name = (string)info.NewCellData;
break;
winforms-spreadsheetcontrol-api-part1/CS/SpreadsheetControl/BusinessObjects.cs#L67
case "Name":
obj.Name = (string)info.NewCellData;
break;
zip-compression-and-archive-api-examples/VB/CompressionLibraryExamples/MyTreeData.vb#L37
Private Sub VirtualTreeSetCellValue(ByVal info As VirtualTreeSetCellValueInfo) Implements TreeList.IVirtualTreeListData.VirtualTreeSetCellValue
cellsCore(info.Column.AbsoluteIndex) = info.NewCellData
End Sub
excel-export-api-examples/VB/XLExportExamples/BusinessObjects.vb#L79
Case "Name"
obj.Name = CStr(info.NewCellData)
End Select
Case "Name"
obj.Name = CStr(info.NewCellData)
End Select
Case "Name"
obj.Name = CStr(info.NewCellData)
End Select
winforms-spreadsheetcontrol-api-part1/VB/SpreadsheetControl/BusinessObjects.vb#L76
Case "Name"
obj.Name = DirectCast(info.NewCellData, String)
End Select
See Also
VirtualTreeSetCellValueInfo Class