Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / NoteIndicatorPosition Enumeration
Example Example

In This Topic
    NoteIndicatorPosition Enumeration
    In This Topic
    Specifies the position of the cell note indicator.
    Public Enum NoteIndicatorPosition 
       Inherits System.Enum
    Dim instance As NoteIndicatorPosition
    public enum NoteIndicatorPosition : System.Enum 
    BottomLeft Displays the note indicator on the bottom and left of a cell.
    BottomRight Displays the note indicator on the bottom and right of a cell.
    TopLeft Displays the note indicator on the top and left of a cell.
    TopRight Displays the note indicator on the top and right of a cell.
    This example uses the NoteIndicatorPosition enumeration.
    FarPoint.Win.Spread.StyleInfo info = new FarPoint.Win.Spread.StyleInfo();
    bool b;
    info.BackColor = Color.LightBlue;
    info.NoteIndicatorPosition = FarPoint.Win.Spread.NoteIndicatorPosition.BottomRight;   
    fpSpread1.ActiveSheet.DefaultStyle = info;
    b = info.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.NoteIndicatorPosition);
    Dim info As New FarPoint.Win.Spread.StyleInfo()
    Dim b As Boolean
    info.BackColor = Color.LightBlue
    info.NoteIndicatorPosition = FarPoint.Win.Spread.NoteIndicatorPosition.BottomRight
    fpSpread1.ActiveSheet.DefaultStyle = info
    b = info.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.NoteIndicatorPosition)
    Inheritance Hierarchy


    See Also