Spread Windows Forms 7.0 Product Documentation
IsAnyCellInRowSelected Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : IsAnyCellInRowSelected Method


row
Row index

Glossary Item Box

Gets whether any cells in the specified row on this sheet are selected.

Syntax

Visual Basic (Declaration) 
Public Function IsAnyCellInRowSelected( _
   ByVal row As Integer _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim row As Integer
Dim value As Boolean
 
value = instance.IsAnyCellInRowSelected(row)
C# 
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.
C#Copy Code
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();
Visual BasicCopy Code
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()

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.