Skip to main content
Row

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.v23.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

IList<CustomCellInplaceEditor> GetCustomCellInplaceEditors(
    CellRange range,
    CustomCellInplaceEditorType editorType
)

Parameters

Name Type Description
range CellRange

A CellRange object that specifies a cell range 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.

Returns

Type Description
IList<CustomCellInplaceEditor>

A IList<T><CustomCellInplaceEditor,> collection of the custom cell in-place editors of the specified type residing in the specified cell range.

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.
See Also