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


Column index
Gets whether any cells in the specified column on this sheet are selected.
Syntax
'Declaration
 
Public Function IsAnyCellInColumnSelected( _
   ByVal column As Integer _
) As Boolean
'Usage
 
Dim instance As SheetView
Dim column As Integer
Dim value As Boolean
 
value = instance.IsAnyCellInColumnSelected(column)
public bool IsAnyCellInColumnSelected( 
   int column
)

Parameters

column
Column index

Return Value

Boolean: true if any cells in the specified column are selected; false otherwise
Example
This example illustrates the use of this member by returning whether any cells in the specified column are selected.
bool b;
fpSpread1.ActiveSheet.AddSelection(0, 0, 4, 4);
b = fpSpread1.ActiveSheet.IsAnyCellInColumnSelected(2);
label1.Text = "Are there any cells in column 2 selected = " + b.ToString();
Dim b As Boolean
FpSpread1.ActiveSheet.AddSelection(0, 0, 4, 4)
b = FpSpread1.ActiveSheet.IsAnyCellInColumnSelected(2)
Label1.Text = "Are there any cells in column 2 selected = " & b.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
IsAnyCellInRowSelected Method

User-Task Documentation

Working with Selections

 

 


Copyright © GrapeCity, inc. All rights reserved.