Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / IsBlockSelected Property

In This Topic
    IsBlockSelected Property
    In This Topic
    Gets whether a block of cells on this sheet is currently selected.
    Public ReadOnly Property IsBlockSelected As Boolean
    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

    This property is available at run time only.

    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()
    See Also