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.
    Syntax
    'Declaration
     
    Public Enum NoteIndicatorPosition 
       Inherits System.Enum
    'Usage
     
    Dim instance As NoteIndicatorPosition
    public enum NoteIndicatorPosition : System.Enum 
    Members
    MemberDescription
    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.
    Example
    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);
    listBox1.Items.Add(b.ToString());
    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)
    ListBox1.Items.Add(b.ToString())
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             FarPoint.Win.Spread.NoteIndicatorPosition

    See Also