Spread for ASP.NET 13 Product Documentation
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / RetainSelectionBlock Property
Example


In This Topic
    RetainSelectionBlock Property
    In This Topic
    Gets or sets whether the selected range of cells remains highlighted when the component loses the focus.
    Syntax
    'Declaration
     
    Public Property RetainSelectionBlock As Boolean
    'Usage
     
    Dim instance As FpSpread
    Dim value As Boolean
     
    instance.RetainSelectionBlock = value
     
    value = instance.RetainSelectionBlock
    public bool RetainSelectionBlock {get; set;}
    Example
    This example sets the RetainSelectionBlock property.
    FpSpread1.RetainSelectionBlock = true;
    FpSpread1.RetainSelectionBlock = True
    See Also