Spread Windows Forms 11.0 Product Documentation
ResetNoteIndicatorPosition Method (AlternatingRow)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > AlternatingRow Class : ResetNoteIndicatorPosition Method
Resets the position of the note indicator for cells in this row to the default value.
Syntax
'Declaration
 
Public Sub ResetNoteIndicatorPosition() 
'Usage
 
Dim instance As AlternatingRow
 
instance.ResetNoteIndicatorPosition()
public void ResetNoteIndicatorPosition()
Example
This example uses the ResetNoteIndicatorPosition method.
fpSpread1.TextTipPolicy = FarPoint.Win.Spread.TextTipPolicy.Floating;
fpSpread1.ActiveSheet.SetNote(0, 1, "Currently out-of-stock");
fpSpread1.ActiveSheet.AlternatingRows[0].NoteIndicatorColor = Color.Green;
fpSpread1.ActiveSheet.AlternatingRows[0].NoteIndicatorPosition = FarPoint.Win.Spread.NoteIndicatorPosition.BottomRight;

fpSpread1.ActiveSheet.AlternatingRows[0].ResetNoteIndicatorPosition();
FpSpread1.TextTipPolicy = FarPoint.Win.Spread.TextTipPolicy.Floating
FpSpread1.ActiveSheet.SetNote(0, 1, "Currently out-of-stock")
FpSpread1.ActiveSheet.AlternatingRows(0).NoteIndicatorColor = Color.Green
FpSpread1.ActiveSheet.AlternatingRows(0).NoteIndicatorPosition = FarPoint.Win.Spread.NoteIndicatorPosition.BottomRight

FpSpread1.ActiveSheet.AlternatingRows(0).ResetNoteIndicatorPosition()
See Also

Reference

AlternatingRow Class
AlternatingRow Members