Spread Windows Forms 6.0 Product Documentation
IsBlockSelected Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : IsBlockSelected Property


Glossary Item Box

Gets whether a block of cells on this sheet is currently selected.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property IsBlockSelected As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As Boolean
 
value = instance.IsBlockSelected
C# 
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.
C#Copy Code
bool b;
fpSpread1.ActiveSheet.AddSelection(0, 0, 3, 3);
b = fpSpread1.ActiveSheet.IsBlockSelected;
label1.Text = "IsBlockSelected for the sheet = " + b.ToString();
Visual BasicCopy Code
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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