編輯

共用方式為


_OlkListBox.TopIndex Property

Definition

Returns or sets an Integer (int in C#) value that represents the index of the item at the top of the displayed portion of the list. Read/write.

public:
 property int TopIndex { int get(); void set(int value); };
public int TopIndex { get; set; }
Public Property TopIndex As Integer

Property Value

Remarks

As the list scrolls, the item at the top of the list will change, and the value of this property will change to reflect the item currently displayed at the top of the list.

The index value is zero-based. The default value is -1, indicating that no special ordering should be applied.

Applies to