Spread Windows Forms 11.0 Product Documentation
IsAnyCellInRowSelected Method (SheetView)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : IsAnyCellInRowSelected Method
Row index
Gets whether any cells in the specified row on this sheet are selected.
Syntax
'Declaration
 
Public Function IsAnyCellInRowSelected( _
   ByVal row As Integer _
) As Boolean
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim value As Boolean
 
value = instance.IsAnyCellInRowSelected(row)
public bool IsAnyCellInRowSelected( 
   int row
)

Parameters

row
Row index

Return Value

Boolean: true if any cells in the specified row are selected; false otherwise
Example
This example illustrates the use of this member by returning whether any cells in the specified row are selected.
bool b;
fpSpread1.ActiveSheet.AddSelection(0, 0, 4, 4);
b = fpSpread1.ActiveSheet.IsAnyCellInRowSelected(2);
label1.Text = "Are there any cells in row 2 selected = " + b.ToString();
Dim b As Boolean
FpSpread1.ActiveSheet.AddSelection(0, 0, 4, 4)
b = FpSpread1.ActiveSheet.IsAnyCellInRowSelected(2)
Label1.Text = "Are there any cells in row 2 selected = " & b.ToString()
See Also

Reference

SheetView Class
SheetView Members
IsAnyCellInColumnSelected Method

User-Task Documentation

Working with Selections