Spread Windows Forms 9.0 Product Documentation
NoteIndicatorPosition Enumeration
Example Example 


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
BottomLeftDisplays the note indicator on the bottom and left of a cell.
BottomRightDisplays the note indicator on the bottom and right of a cell.
TopLeftDisplays the note indicator on the top and left of a cell.
TopRightDisplays 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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

FarPoint.Win.Spread Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.