Click or drag to resize

ZoomPanelZoomPanelHistoryItemsCollectionCurrentIndex Property

Gets the index of the current item.

Namespace:  Ab2d.Controls
Assembly:  Ab2d.Controls.ZoomPanel (in Ab2d.Controls.ZoomPanel.dll) Version: 5.2.6631.1040
Syntax
C#
public int CurrentIndex { get; }

Property Value

Type: Int32
Remarks

The index of the current history item in all the saved history items.

When the index is 0, we are at the top of the history and cannot go to next item. When the index is more than 0, we can go back and to the next item. The maximum index value is MaxItems - 1.

When MoveNext method is called the index is decreased by 1. When MoveBack method is called the index is increased by 1.

See Also