Back to Devexpress

RangeExtensions Methods

officefileapi-devexpress-dot-spreadsheet-dot-rangeextensions-dot-underscore-methods.md

latest9.4 KB
Original Source

RangeExtensions Methods

Defines extension methods for the CellRange interface.

NameDescription
AutoFitColumns(CellRange) staticAdjusts the width of columns that comprise the cell range to accommodate the cell content of this range.
AutoFitRows(CellRange) staticAdjusts the height of rows that comprise the cell range to accommodate the cell content of this range.
Average(CellRange, Boolean, Boolean) staticReturns the average of numerical values in the current cell range.
Clear(CellRange) staticRemoves cell content, formatting, hyperlinks and comments.
ClearComments(CellRange) staticRemoves cell comments.
ClearContents(CellRange) staticRemoves cell content.
ClearFormats(CellRange) staticRemoves cell formatting.
ClearHyperlinks(CellRange) staticRemoves cell hyperlinks.
ClearOutline(CellRange, Boolean, Boolean) staticClears the outline for the specified range of cells.
Count(CellRange, Boolean, Boolean) staticReturns the number of cells in the current cell range that contain data.
Delete(CellRange, DeleteMode) staticDeletes the cell range from the worksheet.
Delete(CellRange) staticDeletes the cell range from the worksheet, shifting other cells in the same row to the left.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
GroupColumns(CellRange, Boolean) staticGroups columns that comprise the cell range.
GroupRows(CellRange, Boolean) staticGroups rows that comprise the cell range.
Insert(CellRange, InsertCellsMode) staticInserts the cell range in the worksheet.
Insert(CellRange) staticInserts the cell range in the worksheet, shifting other cells in the same column down.
Max(CellRange, Boolean, Boolean) staticReturns the maximum numerical value in the current cell range.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
Merge(CellRange, MergeCellsMode) staticMerge cells in the specified mode.
Merge(CellRange) staticMerges cells.
Min(CellRange, Boolean, Boolean) staticReturns the minimum numerical value in the current cell range.
NumericalCount(CellRange, Boolean, Boolean) staticReturns the number of cells in the current cell range that contain numerical data.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
RemoveSubtotal(CellRange) staticRemoves subtotals for the specified cell range.
Select(CellRange, Boolean) staticSelects the cell range and specifies whether to expand cell selection to include merged cells.
Select(CellRange) staticSelects the cell range.
Subtotal(CellRange, Int32, List<Int32>, Int32, String) staticCreates subtotals for the specified range of cells.
Sum(CellRange, Boolean, Boolean) staticReturns the sum of numerical values in the current cell range.
ToString()Returns a string that represents the current object. Inherited from Object.
UnGroupColumns(CellRange, Boolean) staticUngroups the grouped columns that comprise the cell range.
UnGroupRows(CellRange, Boolean) staticUngroups the grouped rows that comprise the cell range.
UnMerge(CellRange) staticUnmerges cells that have been merged.

See Also

RangeExtensions Class

RangeExtensions Members

DevExpress.Spreadsheet Namespace