Spread Windows Forms 10.0 Product Documentation
ColumnIndex Property (CellErrorTextChangedEventArgs)
Example 


Gets the column index.
Syntax
'Declaration
 
Public ReadOnly Property ColumnIndex As Integer
'Usage
 
Dim instance As CellErrorTextChangedEventArgs
Dim value As Integer
 
value = instance.ColumnIndex
public int ColumnIndex {get;}
Example
This example gets the column index.
fpSpread1.ShowCellErrors = true;
fpSpread1.Sheets[0].Cells[1, 1].Locked = true;
fpSpread1.Sheets[0].SetCellErrorText(1, 1, "ErrorText");


private void fpSpread1_CellErrorTextChanged(object sender, FarPoint.Win.Spread.CellErrorTextChangedEventArgs e)
        {
            listBox1.Items.Add(e.ColumnIndex);
        }
FpSpread1.ShowCellErrors = True
FpSpread1.Sheets(0).Cells(1, 1).Locked = True
FpSpread1.Sheets(0).SetCellErrorText(1, 1, "ErrorText")


Private Sub FpSpread1_CellErrorTextChanged(sender As Object, e As FarPoint.Win.Spread.CellErrorTextChangedEventArgs) Handles FpSpread1.CellErrorTextChanged
        listBox1.Items.Add(e.ColumnIndex)
    End Sub
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

CellErrorTextChangedEventArgs Class
CellErrorTextChangedEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.