Spread Windows Forms 9.0 Product Documentation
IsBlockSelected Property
Example 


Gets whether a block of cells on this sheet is currently selected.
Syntax
'Declaration
 
Public ReadOnly Property IsBlockSelected As Boolean
'Usage
 
Dim instance As SheetView
Dim value As Boolean
 
value = instance.IsBlockSelected
public bool IsBlockSelected {get;}

Property Value

Boolean: true if range of cells is selected; false otherwise
Remarks

This property is available at run time only.

Example
This example illustrates the use of this member by returning whether there is a range of cells currently selected.
bool b;
fpSpread1.ActiveSheet.AddSelection(0, 0, 3, 3);
b = fpSpread1.ActiveSheet.IsBlockSelected;
label1.Text = "IsBlockSelected for the sheet = " + b.ToString();
Dim b As Boolean
FpSpread1.ActiveSheet.AddSelection(0, 0, 3, 3)
b = FpSpread1.ActiveSheet.IsBlockSelected
Label1.Text = "IsBlockSelected for the sheet = " & 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

User-Task Documentation

Working with Selections

 

 


Copyright © GrapeCity, inc. All rights reserved.