ComponentOne List for WinForms
C1.Win.List Namespace / C1List Class / WillChangeToIndex Property

In This Topic
    WillChangeToIndex Property (C1List)
    In This Topic
    Returns the bookmark identifying the will-be selected item in a control.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property WillChangeToIndex As Integer
    public int WillChangeToIndex {get;}
    Remarks
    This property is used in the C1.Win.List.ListBase.C1ListBase.SelChange event. When you handle these events, the C1.Win.List.ListBase.C1ListBase.SelectedIndex will be the old selected index, and the WillChangeToIndex will be the new selected index.
    See Also