Gets whether the specified cell on this sheet is selected.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim value As Boolean
value = instance.IsSelected(row, column) |
Parameters
- row
- Row index
- column
- Column index
Return Value
Boolean:
true if the cell is selected;
false otherwise
Remarks
Example
This example illustrates the use of this member by returning if the specified cell is selected.
C# | Copy Code |
---|
bool b;
fpSpread1.ActiveSheet.AddSelection(0, 0, 4, 4);
b = fpSpread1.ActiveSheet.IsSelected(3, 3);
label1.Text = "Is cell 3, 3 selected = " + b.ToString(); |
Visual Basic | Copy Code |
---|
Dim b As Boolean
FpSpread1.ActiveSheet.AddSelection(0, 0, 4, 4)
b = FpSpread1.ActiveSheet.IsSelected(3, 3)
Label1.Text = "Is cell 3, 3 selected = " & b.ToString() |
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