Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / PSObject Class / Selectable Property
Example


In This Topic
    Selectable Property (PSObject)
    In This Topic
    Gets or sets whether can select.
    Syntax
    'Declaration
     
    Public Overrides Property Selectable As Boolean
    'Usage
     
    Dim instance As PSObject
    Dim value As Boolean
     
    instance.Selectable = value
     
    value = instance.Selectable
    public override bool Selectable {get; set;}
    Example
    This example uses the Selectable property.
    fpSpread1.Sheets[0].Cells[0, 0].Text = "test";
    FarPoint.Win.Spread.DrawingSpace.SpreadCameraShape test = new FarPoint.Win.Spread.DrawingSpace.SpreadCameraShape();
    test.Formula = "A1:A5";
    fpSpread1.Sheets[0].AddShape(test, 2, 1);
    test.Selectable = true;
    fpSpread1.Sheets(0).Cells(0, 0).Text = "test"
    Dim test As New FarPoint.Win.Spread.DrawingSpace.SpreadCameraShape()
    test.Formula = "A1:A5"
    fpSpread1.Sheets(0).AddShape(test, 2, 1)
    test.Selectable = True
    See Also