Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / VerticalScrollBarPolicy Property
Example


In This Topic
    VerticalScrollBarPolicy Property
    In This Topic
    Gets or sets whether and how the Spread component displays the vertical scroll bar.
    Syntax
    'Declaration
     
    Public Property VerticalScrollBarPolicy As ScrollBarPolicy
    'Usage
     
    Dim instance As FpSpread
    Dim value As ScrollBarPolicy
     
    instance.VerticalScrollBarPolicy = value
     
    value = instance.VerticalScrollBarPolicy
    public ScrollBarPolicy VerticalScrollBarPolicy {get; set;}

    Property Value

    ScrollBarPolicy setting that determines the display of the scroll bars
    Remarks

    Specify the settings for the horizontal scroll bars by setting the HorizontalScrollBarPolicy property.

    Example
    This example creates a sheet with 3 columns and 50 rows. The scroll bar policy (both Horizontal and Veritcal) is set to As Needed, so the horizonal scroll bar is not visible, since it is not needed with only 3 columns. The vertical scroll bar is displayed because 50 rows is more than can be displayed.
    See Also