CustomCellInplaceEditorCollection.GetCustomCellInplaceEditors(CellRange, CustomCellInplaceEditorType, ValueObject) Method
Returns a collection of the custom cell in-place editors with the specified properties assigned to cells of the specified range.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
IList<CustomCellInplaceEditor> GetCustomCellInplaceEditors(
CellRange range,
CustomCellInplaceEditorType editorType,
ValueObject value
)
Parameters
Name | Type | Description |
---|---|---|
range | CellRange | A CellRange object containing the custom cell in-place editors to be returned. |
editorType | CustomCellInplaceEditorType | A CustomCellInplaceEditorType enumeration value specifying the required type of the custom cell in-place editors. |
value | ValueObject | A ValueObject object associated with the custom cell in-place editors to be returned. |
Returns
Type | Description |
---|---|
IList<CustomCellInplaceEditor> | A IList<T><CustomCellInplaceEditor,> collection of the custom cell in-place editors. |
Remarks
Use the GetCustomCellInplaceEditors method to obtain a collection of the custom cell in-place editors of the specified type residing within a specific cell range and associated with a specific value. The GetCustomCellInplaceEditors method returns an empty list in the following cases:
- If the range parameter of the method is null.
- If the CellRange object specified by the range parameter doesn’t belong to the worksheet owning the current CustomCellInplaceEditorCollection collection that calls this method.
- If the specified range doesn’t contain any custom cell in-place editors with the specified properties.