New to Telerik UI for WinFormsStart a free 30-day trial

Note attached to a worksheet cell with text content, author, visibility, and positioning behavior for cell operations.

Definition

Properties

Alternate text description for accessibility; setting a new value pushes the change to the undo stack.

C#
public string AlternateText { get; set; }
Property Value:

The alternate text value.

Name of the note's author; setting a new value pushes the change to the undo stack.

C#
public string Author { get; set; }
Property Value:

The author.

Implements: IFloatingComment.Author

Returns FloatingShapeType.Note to identify this shape as a note.

C#
public override FloatingShapeType FloatingShapeType { get; }

Overrides: FloatingShapeBase.FloatingShapeType

Indicates whether this note is a fallback representation of a threaded comment for compatibility with older Excel versions.

C#
public bool IsFallback { get; }
Property Value:

true if visible; otherwise, false.

Controls whether the note is displayed on the worksheet; setting a new value pushes the change to the undo stack.

C#
public bool IsVisible { get; set; }
Property Value:

true if visible; otherwise, false.

Controls whether the note relocates when its underlying cells are inserted or deleted; setting a new value pushes the change to the undo stack.

C#
public bool MoveWithCells { get; set; }
Property Value:

true if move with cells; otherwise, false.

Cell index to which this note is attached; setting a new value pushes the change to the undo stack.

C#
public CellIndex RelatedCellIndex { get; set; }
Property Value:

The cell index.

Implements: IFloatingCommentMutable.RelatedCellIndexIFloatingComment.RelatedCellIndex

Controls whether the note resizes when its underlying cells are resized; setting a new value pushes the change to the undo stack.

C#
public bool SizeWithCells { get; set; }
Property Value:

true if resize with cells; otherwise, false.

Text content of the note; setting a new value pushes the change to the undo stack.

C#
public string Text { get; set; }
Property Value:

The text value.

Implements: IFloatingComment.Text

Methods

Determines whether the specified object is equal to this note by comparing base properties, author, and alternate text.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with the current object.

Returns:

bool

True if the specified object is equal to the current object; otherwise, false.

Overrides: object.Equals(object)

Computes a hash code combining base properties, author name, and alternate text.

C#
public override int GetHashCode()
Returns:

int

A hash code for the current object.

Overrides: object.GetHashCode()