Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / PagerInfo Class / Mode Property
Example


In This Topic
    Mode Property
    In This Topic
    Gets or sets which page navigation aids are displayed in the Spread component.
    Syntax
    'Declaration
     
    
    Public Property Mode As PagerMode
    'Usage
     
    
    Dim instance As PagerInfo
    Dim value As PagerMode
     
    instance.Mode = value
     
    value = instance.Mode
    public PagerMode Mode {get; set;}

    Property Value

    PagerMode setting
    Exceptions
    ExceptionDescription
    Property must be PagerMode.NextPrev when position is Command Bar.
    Remarks

    A sheet can display next and previous arrows (NextPrev), numbers (Number), or both (Both).

    Note: The only page navigation aids that the component displays on the command bar are the next (>>) and previous (<<) arrows regardless of the Mode property setting. The page numbers, if displayed, are displayed in a separate area depending on the setting of the Position property.

    Example
    See Also