MindFusion.Wpf Pack Programmer's Guide
CellAnnotation Members
Properties Methods Events
 


Represents the interactive object containing a comment for a cell within a worksheet.

The following tables list the members exposed by the CellAnnotation type.

 Public Properties

  Name Description

Anchor

InteractiveObject.Anchor override.

AnchorPosition

Gets or sets the anchor position of this object. (Inherited from InteractiveObject.)

BackBrush

Gets or sets the background color of the object.

Description

Gets or sets the object description. (Inherited from InteractiveObject.)

FontBold

Gets or sets a value indicating whether the comment text is bold.

FontItalic

Gets or sets a value indicating whether the comment text is italic.

FontName

Gets or sets the name of the font to use in the comment.

FontSize

Gets or sets the size of the font to use in the comment.

FontStrikeout

Gets or sets a value indicating whether the comment text is with a line through the middle.

FontUnderline

Gets or sets a value indicating whether the comment text is underlined.

FromColumn

Gets or sets the zero-based index of the column of the cell to which the object is anchored. (Inherited from InteractiveObject.)

FromRow

Gets or sets the zero-based index of the row of the cell to which the object is anchored. (Inherited from InteractiveObject.)

Height

Gets or sets the desired height, or null, to calculate the height automatically. (Inherited from InteractiveObject.)

HorizontalAlignment

Gets or sets the horizontal alignment of the text used in the comment.

HorizontalOffset

Gets or sets the horizontal offset of the object from its anchor. (Inherited from InteractiveObject.)

IndicatorBrush

Gets or sets the brush of the cell indicator.

IsLockedToCell

InteractiveObject.IsLockedToCell override.

LineBrush

Gets or sets the outline color of this object. (Inherited from InteractiveObject.)

LineSize

Gets or sets the thickness of the object's outline. (Inherited from InteractiveObject.)

LineStyle

Gets or sets the style of the object's outline. (Inherited from InteractiveObject.)

Locked

Gets or sets a value indicating whether this object can be interacted with. (Inherited from InteractiveObject.)

Margin

Gets or sets the text margins.

Parent

Gets the parent Annotation object of this instance.

ShowAlways

Gets or sets a value indicating whether the annotation is always visible.

Text

Gets or sets the comment text of the annotation.

TextBrush

Gets or sets the background color of the object.

Title

Gets or sets the object title. (Inherited from InteractiveObject.)

VerticalAlignment

Gets or sets the vertical alignment of the text used in the comment.

VerticalOffset

Gets or sets the vertical offset of the object from its origin. (Inherited from InteractiveObject.)

Width

Gets or sets the desired width, or null, to calculate width automatically. (Inherited from InteractiveObject.)

 Protected Properties

  Name Description

ExtendsOutsideBounds

InteractiveObject.ExtendsOutsideBounds override.

RegardsMergedCells

InteractiveObject.RegardsMergedCells override.

 Public Methods

  Name Description

BringForward

Moves this object one step up in the z-order. (Inherited from InteractiveObject.)

BringToFront

Brings this object to the top of the z-order. (Inherited from InteractiveObject.)

Dispose

Overloaded. Disposes this object. (Inherited from InteractiveObject.)

SendBackward

Moves this object one step down in the z-order. (Inherited from InteractiveObject.)

SendToBack

Sends this object to the bottom of the z-order. (Inherited from InteractiveObject.)

 Protected Methods

  Name Description

OnPropertyValueChanged

Raises the PropertyValueChanged event. (Inherited from InteractiveObject.)

OnResized

This method is called when the object's size is changed. (Inherited from InteractiveObject.)

 Public Events

  Name Description

PropertyValueChanged

INotifyPropertyValueChanged.PropertyValueChanged implementation. (Inherited from InteractiveObject.)

 See Also

CellAnnotation Class
MindFusion.Spreadsheet.Wpf Namespace