CustomCellInplaceEditorCollection.GetCustomCellInplaceEditors(Range, 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.v19.1.Core.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
range | Range | A Range 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 Range 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.