GrapeCity MultiRow Windows Forms Documentation
CellNote Class
Members 


Represents a Cell note, and the note's appearance can be customized.
Object Model
CellNote ClassCellNoteStyle Class
Syntax
<TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>
Public Class CellNote 
Dim instance As CellNote
[TypeConverter("System.ComponentModel.ExpandableObjectConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
public class CellNote 
Remarks

The CellNote provides the capability to display a note for the Cell.

Assign a CellNote instance to the Cell.Note property and the CellNote associated with the cell will appear automatically. If DisplayMode is CellNoteDisplayMode.AlwaysShown, the CellNote is always shown. If DisplayMode is CellNoteDisplayMode.HoverShown, the CellNote is shown when the mouse is over the Cell. If DisplayMode is CellNoteDisplayMode.NotShown, the CellNote is always hidden.

The CellNote's appearance can be customized. You can specify the CellNote's style, location, size, and the display text. In addition, you can drag and move the CellNote in the section, or change the CellNote's size. You cannot resize the CellNote out of the section area, and you cannot drag and move the CellNote out of the section area.

When assigning a CellNote instance to the Cell.Note property, one TriangleSymbol is drawn in the Cell's top-right corner. The TriangleSymbol's color is specified by the CellNoteStyle.TriangleSymbolColor property. The TriangleSymbol only can be displayed when not in edit mode.

When the CellNote is shown, a connecting line also appears between the cell and the CellNote's content. The line's arrowhead goes from the Cell's top-right corner to the CellNote's top-left corner. The ConnectingLine's color is the same as the border line color.

The CellNote's text can be edited when the CellNote's ReadOnly property is false. The CellNote's border is specified by the CellNoteStyle.LineStyle, CellNoteStyle.LineColor, and CellNoteStyle.LineWidth property. The CellNote's border has a shadow, and you can decide whether to render the shadow by setting the CellNoteStyle.ShowShadow property.

When selecting the CellNote, the note's mark is around the CellNote's border. The CellNote's mark is different between edit mode and non-edit mode.

Inheritance Hierarchy

System.Object
   GrapeCity.Win.MultiRow.CellNote

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CellNote Members
GrapeCity.Win.MultiRow Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.