Spread Windows Forms 10.0 Product Documentation
GetRowErrorText Method (SheetView)
Example 


Row index
Gets the row error text.
Syntax
'Declaration
 
Public Function GetRowErrorText( _
   ByVal rowIndex As Integer _
) As String
'Usage
 
Dim instance As SheetView
Dim rowIndex As Integer
Dim value As String
 
value = instance.GetRowErrorText(rowIndex)
public string GetRowErrorText( 
   int rowIndex
)

Parameters

rowIndex
Row index

Return Value

Error text of row (string.Empty if there is no error text)
Example
This example uses the GetRowErrorText method.
FarPoint.Win.Spread.SpreadView sv = fpSpread1.GetRootWorkbook();
sv.ShowRowErrors = true;
sv.Sheets[0].Rows[0].ErrorText = "RowError";
sv.Sheets[0].Rows[0].Locked = true;

string text;
text = fpSpread1.ActiveSheet.GetRowErrorText(0);
listBox1.Items.Add(text.ToString());
Dim sv As FarPoint.Win.Spread.SpreadView
sv = FpSpread1.GetRootWorkbook()
sv.ShowRowErrors = True
sv.Sheets(0).Rows(0).ErrorText = "RowError"
sv.Sheets(0).Rows(0).Locked = True

Dim text As String
text = FpSpread1.ActiveSheet.GetRowErrorText(0)
ListBox1.Items.Add(Text.ToString())
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

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.