skip navigation
  • Product Bundles

    DevCraft

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

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact 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 Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • Roadmap
    • Release History
  • 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 NoteCollection

Collection of notes attached to worksheet cells, supporting visibility control and conversion to threaded comments.

Inheritance
System.Object
FilteredShapeCollection<SpreadsheetNote>
NoteCollection
Inherited Members
FilteredShapeCollection<SpreadsheetNote>.Remove(SpreadsheetNote)
FilteredShapeCollection<SpreadsheetNote>.Contains(SpreadsheetNote)
FilteredShapeCollection<SpreadsheetNote>.IndexOf(SpreadsheetNote)
FilteredShapeCollection<SpreadsheetNote>.Clear()
FilteredShapeCollection<SpreadsheetNote>.GetEnumerator()
FilteredShapeCollection<SpreadsheetNote>.GetZIndex(SpreadsheetNote)
FilteredShapeCollection<SpreadsheetNote>.IEnumerable.GetEnumerator()
FilteredShapeCollection<SpreadsheetNote>.Add(SpreadsheetNote)
FilteredShapeCollection<SpreadsheetNote>.OnItemAdding(SpreadsheetNote, ShapeCollectionChangingEventArgs<SpreadsheetNote>)
FilteredShapeCollection<SpreadsheetNote>.OnItemRemoving(SpreadsheetNote, ShapeCollectionChangingEventArgs<SpreadsheetNote>)
FilteredShapeCollection<SpreadsheetNote>.OnChanging(ShapeCollectionChangingEventArgs<SpreadsheetNote>)
FilteredShapeCollection<SpreadsheetNote>.OnChanged(ShapeCollectionChangedEventArgs<SpreadsheetNote>)
FilteredShapeCollection<SpreadsheetNote>.Count
FilteredShapeCollection<SpreadsheetNote>.Item[Int32]
FilteredShapeCollection<SpreadsheetNote>.Worksheet
FilteredShapeCollection<SpreadsheetNote>.Changing
FilteredShapeCollection<SpreadsheetNote>.Changed
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 class NoteCollection : FilteredShapeCollection<SpreadsheetNote>, IEnumerable<SpreadsheetNote>, IEnumerable

Constructors

NoteCollection(Worksheet)

Initializes a new note collection for the specified worksheet.

Declaration
public NoteCollection(Worksheet worksheet)
Parameters
Worksheet worksheet

The worksheet.

Properties

ShapeType

Returns FloatingShapeType.Note to identify notes within the shape collection.

Declaration
public override FloatingShapeType ShapeType { get; }
Property Value
FloatingShapeType

Overrides
Telerik.Windows.Documents.Spreadsheet.Model.FilteredShapeCollection<Telerik.Windows.Documents.Spreadsheet.Model.Comments.SpreadsheetNote>.ShapeType

Methods

Add(CellIndex, String, String)

Adds a note to the specified cell with default positioning and returns the created note.

Declaration
public SpreadsheetNote Add(CellIndex relatedCellIndex, string author, string text)
Parameters
CellIndex relatedCellIndex

Index of the cell assigned to the note.

System.String author

The author.

System.String text

The text.

Returns
SpreadsheetNote

The new note.

Add(CellIndex, CellIndex, String, String)

Adds a note to the specified cell with custom positioning and returns the created note.

Declaration
public SpreadsheetNote Add(CellIndex relatedCellIndex, CellIndex cellIndex, string author, string text)
Parameters
CellIndex relatedCellIndex

Index of the cell assigned to the note.

CellIndex cellIndex

Index of the cell where the top left corner of the note is visualized.

System.String author

The author.

System.String text

The text.

Returns
SpreadsheetNote

The new note.

ConvertToComments()

Converts all non-fallback notes to threaded SpreadsheetComment instances.

Declaration
public void ConvertToComments()

Hide(SpreadsheetNote)

Hides the specified note from view without removing it from the collection.

Declaration
public void Hide(SpreadsheetNote note)
Parameters
SpreadsheetNote note

The note.

HideAll()

Hides all notes in the collection from view as a single operation.

Declaration
public void HideAll()

OnNotesVisibilityChanged()

Raises the NotesVisibilityChanged event when all notes' visibility changes.

Declaration
protected virtual void OnNotesVisibilityChanged()

Show(SpreadsheetNote)

Makes the specified note visible in the worksheet.

Declaration
public void Show(SpreadsheetNote note)
Parameters
SpreadsheetNote note

The note.

ShowAll()

Makes all notes in the collection visible as a single operation.

Declaration
public void ShowAll()

Events

NotesVisibilityChanged

Raised when the visibility of all notes is changed together via ShowAll or HideAll.

Declaration
public event EventHandler NotesVisibilityChanged
Event Type
System.EventHandler

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.