CustomCellInplaceEditor.Value Property
Gets or sets a value associated with the custom cell in-place editor.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
Property Value
Type | Description |
---|---|
ValueObject | A ValueObject object. |
Remarks
Use the Value property to set or obtain the value associated and stored with the custom cell in-place editor. This value can be used in the following ways:
- If you use a custom cell in-place editor of the CustomCellInplaceEditorType.ComboBox type, the ValueObject allows you to supply items for the editor’s drop-down list. You can directly pass a string of comma-separated items to the CustomCellInplaceEditorCollection.Add method or use the ValueObject.FromRange method to obtain the required items from a cell range in a worksheet. Using types of values other than a text string or cell range is not allowed (otherwise, a System.ArgumentException will be raised).
- The ValueObject can be analyzed within the SpreadsheetControl.CustomCellEdit event handler to identify the custom cell in-place editor associated with this value and adjust the editor’s properties.
See Also