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 NoteCollection

Represents a collection of notes.

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 instance of the NoteCollection class.

Declaration
public NoteCollection(Worksheet worksheet)
Parameters
Worksheet worksheet

The worksheet.

Properties

ShapeType

Gets the type of the shape.

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 new note to the collection with a default topLeftCellIndex.

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 new note to the collection.

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 notes in the collection to SpreadsheetComment.

Declaration
public void ConvertToComments()

Hide(SpreadsheetNote)

Hides the specified note from the collection.

Declaration
public void Hide(SpreadsheetNote note)
Parameters
SpreadsheetNote note

The note.

HideAll()

Hides all notes in the collection.

Declaration
public void HideAll()

OnNotesVisibilityChanged()

Called when [changed].

Declaration
protected virtual void OnNotesVisibilityChanged()

Show(SpreadsheetNote)

Shows the specified note from the collection.

Declaration
public void Show(SpreadsheetNote note)
Parameters
SpreadsheetNote note

The note.

ShowAll()

Shows all notes in the collection.

Declaration
public void ShowAll()

Events

NotesVisibilityChanged

Occurs when the visibility of all notes has been changed in the same time.

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.