

'DeclarationPublic Class CellRange Inherits Xceed.Workbooks.NET.StyledRange(Of Cell) Implements Xceed.Workbooks.NET.IRangeBase(Of Cell)
'UsageDim instance As CellRange
public class CellRange : Xceed.Workbooks.NET.StyledRange<Cell>, Xceed.Workbooks.NET.IRangeBase<Cell>
using( var doc = Workbook.Load( "test.xlsx") ) { var worksheet = doc.Worksheets[ 0 ]; var firstTableCellRange = worksheet.Tables[ 0 ].CellRange; var cellRangeStartCell = firstTableCellRange.StartingElement; var cellRangeEndCell = firstTableCellRange.EndingElement; }
System.Object
Xceed.Workbooks.NET.WorkbookElement
Xceed.Workbooks.NET.WorksheetElement
Xceed.Workbooks.NET.StyledWorksheetElement
Xceed.Workbooks.NET.StyledRange<T>
Xceed.Workbooks.NET.CellRange
| Name | Description | |
|---|---|---|
![]() | Count | Overridden. Gets the number of Cells within the CellRange. |
![]() | DataValidation | Gets or sets the CellRange's DataValidation. |
![]() | Elements | Gets the items in the range. (Inherited from Xceed.Workbooks.NET.StyledRange<Cell>) |
![]() | EndingElement | Gets or sets the last item in the range. (Inherited from Xceed.Workbooks.NET.StyledRange<Cell>) |
![]() | StartingElement | Gets or sets the first item in the range. (Inherited from Xceed.Workbooks.NET.StyledRange<Cell>) |
![]() | Style | Gets the Style used by the Worksheet element. (Inherited from Xceed.Workbooks.NET.StyledWorksheetElement) |
| Name | Description | |
|---|---|---|
![]() | AddConditionalFormatting | Adds ConditionalFormatting to the CellRange. |
![]() | Clear | Overridden. Clears specific elements in the CellRange. |
![]() | ClearConditionalFormattings | Removes all ConditionalFormattings from the CellRange. |
![]() | CopyAndPasteTo | Overloaded. Copies a CellRange & pastes it to another location. |
![]() | CutAndPasteTo | Overloaded. Cuts a CellRange & pastes it to another location. |
![]() | Equals | |
![]() | GetConditionalFormattings | Gets the CellRange's ConditionalFormattings. |
![]() | GetHashCode | |
![]() | GetValidationResults | Gets a list of Cells that have failed the DataValidation process. |
![]() | GetWorksheet | Returns the Worksheet associated with the CellRange. |
![]() | MergeCells | Adds the CellRange in the MergedCellCollection. |
![]() | RemoveConditionalFormatting | |
![]() | ReplaceContent | Overridden. Searches into the content of the CellRange and replaces all occurences of a specific value with a new value. |
![]() | ReplaceContents<TSearch,TNew> | Overridden. Searches into the content of the CellRange and replaces all instances of the SearchValues with their corresponding NewValues. |
![]() | ToString | Returns the addresses of the StartingElement and EndingElement in the following format: ( "SE : EE " ). |
![]() | UnmergeCells | Removes all the element in the CellRange from the MergedCellCollection. |
| Name | Description | |
|---|---|---|
![]() | GetElements | Overridden. |
![]() | GetNewStyle | (Inherited from Xceed.Workbooks.NET.StyledWorksheetElement) |
![]() | GetWorksheetElement | Overridden. |
![]() | IsBoundElement | (Inherited from Xceed.Workbooks.NET.StyledRange<Cell>) |
![]() | IsElementInRange | Overridden. |
![]() | IsEndingBoundElement | Overridden. |
![]() | IsStartingBoundElement | Overridden. |
![]() | OnPropertyChanged | |
![]() | ReadStyle | (Inherited from Xceed.Workbooks.NET.StyledWorksheetElement) |
![]() | Reset | (Inherited from Xceed.Workbooks.NET.StyledWorksheetElement) |
![]() | SetElements | Overridden. |
![]() | UpdateChildrenStyleProperty | Overridden. |
![]() | UpdateStyleBorders | (Inherited from Xceed.Workbooks.NET.StyledWorksheetElement) |
![]() | WriteStyle | (Inherited from Xceed.Workbooks.NET.StyledWorksheetElement) |
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.