ComponentOne List for WinForms
C1.Win.C1List.ListBase Namespace / C1ListBase Class / Bookmark Property

In This Topic
    Bookmark Property (C1ListBase)
    In This Topic
    Returns or sets the bookmark identifying the current row in the list.
    Syntax
    'Declaration
     
    
    Public Property Bookmark As Integer
    public int Bookmark {get; set;}
    Remarks

    Use the value returned by the Bookmark property to save a reference to the current row that remains valid even after another row becomes current.

    When you set the Bookmark property to a valid value in code, the row associated with that value becomes the current row, and the list adjusts its display to bring the new current row into view if necessary.

    See Also