CustomCellInplaceEditorCollection.GetCustomCellInplaceEditors(CellRange, CustomCellInplaceEditorType) Method
Returns a collection of the custom cell in-place editors of the specified type assigned to cells of the specified range.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
IList<CustomCellInplaceEditor> GetCustomCellInplaceEditors(
CellRange range,
CustomCellInplaceEditorType editorType
)
#Parameters
Name | Type | Description |
---|---|---|
range | Cell |
A Cell |
editor |
Custom |
A Custom |
#Returns
Type | Description |
---|---|
IList<Custom |
A IList |
#Remarks
Use the GetCustomCellInplaceEditors method to obtain a collection of custom cell in-place editors of a particular type residing within a specific cell range. 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 editor of the specified type.