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


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()
Requirements

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

See Also

Reference

AlternatingRow Class
AlternatingRow Members

 

 


Copyright © GrapeCity, inc. All rights reserved.