skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class CellRangeInsertedOrRemovedAwareCollectionBase

Represents base for the CellRangeInsertedOrRemovedAwareCollection class.

Inheritance
System.Object
CellRangeInsertedOrRemovedAwareCollectionBase
CellRangeInsertedOrRemovedAwareCollection
CellRangeInsertedOrRemovedAwareCollection<T>
CellRangeInsertedOrRemovedAwareOrderedCollection
PrintTitles
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll

Syntax

public abstract class CellRangeInsertedOrRemovedAwareCollectionBase

Properties

CellRanges

Gets the cell ranges.

Declaration
protected abstract ICollection<CellRange> CellRanges { get; }
Property Value
System.Collections.Generic.ICollection<CellRange>

The cell ranges.

Cells

Gets or sets the cells.

Declaration
protected Cells Cells { get; set; }
Property Value
Cells

The cells.

Methods

CanInsertOrRemove(ShiftType, CellRange, CellRange)

Determines whether this instance can insert or remove the selected range depending on some existing range and a given shift type.

Declaration
protected virtual bool CanInsertOrRemove(ShiftType shiftType, CellRange range, CellRange selectedRange)
Parameters
ShiftType shiftType

Type of the shift.

CellRange range

The range.

CellRange selectedRange

The selected range.

Returns
System.Boolean

True if the selected range can be inserted or removed.

OnAfterTranslation(Dictionary<CellRange, CellRange>, CellRange, ShiftType)

Called after translation.

Declaration
protected virtual void OnAfterTranslation(Dictionary<CellRange, CellRange> oldAndNewTranslatedRangesPositions, CellRange rangeToInsertOrRemove, ShiftType shiftType)
Parameters
System.Collections.Generic.Dictionary<CellRange, CellRange> oldAndNewTranslatedRangesPositions

The old and new translated ranges positions.

CellRange rangeToInsertOrRemove

The range to insert or remove.

ShiftType shiftType

Type of the shift.

OnBeforeTranslation(Dictionary<CellRange, CellRange>, CellRange, ShiftType)

Called before translation.

Declaration
protected virtual void OnBeforeTranslation(Dictionary<CellRange, CellRange> oldAndNewTranslatedRangesPositions, CellRange rangeToInsertOrRemove, ShiftType shiftType)
Parameters
System.Collections.Generic.Dictionary<CellRange, CellRange> oldAndNewTranslatedRangesPositions

The old and new translated ranges positions.

CellRange rangeToInsertOrRemove

The range to insert or remove.

ShiftType shiftType

Type of the shift.

ShouldTranslateLeftRight(RangeType)

Checks if should translate left or right.

Declaration
protected virtual bool ShouldTranslateLeftRight(RangeType rangeType)
Parameters
RangeType rangeType

Type of the range.

Returns
System.Boolean

A value indicating whether should translate left or right.

ShouldTranslateUpDown(RangeType)

Checks if should translate up or down.

Declaration
protected virtual bool ShouldTranslateUpDown(RangeType rangeType)
Parameters
RangeType rangeType

Type of the range.

Returns
System.Boolean

A value indicating whether should translate up or down.

TranslateRange(CellRange, CellRange)

Translates the range.

Declaration
protected abstract void TranslateRange(CellRange oldRange, CellRange newRange)
Parameters
CellRange oldRange

The old range.

CellRange newRange

The new range.

TranslateRanges(Dictionary<CellRange, CellRange>)

Translates the ranges.

Declaration
protected virtual void TranslateRanges(Dictionary<CellRange, CellRange> oldAndNewTranslatedRangesPositions)
Parameters
System.Collections.Generic.Dictionary<CellRange, CellRange> oldAndNewTranslatedRangesPositions

The old and new translated ranges positions.

Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.