Click or drag to resize

ZoomPanelZoomPanelHistoryItemsCollection Class

ZoomPanelHistoryItemsCollection class contains data about history items and methods to navigate the history.
Inheritance Hierarchy
SystemObject
  Ab2d.ControlsZoomPanelZoomPanelHistoryItemsCollection

Namespace:  Ab2d.Controls
Assembly:  Ab2d.Controls.ZoomPanel (in Ab2d.Controls.ZoomPanel.dll) Version: 5.2.6631.1040
Syntax
C#
public class ZoomPanelHistoryItemsCollection : INotifyPropertyChanged

The ZoomPanelZoomPanelHistoryItemsCollection type exposes the following members.

Properties
  NameDescription
Public propertyCurrentIndex
Gets the index of the current item.
Public propertyCurrentItem
Gets the current history item that contains the Viewbox and RotationAngle.
Public propertyIsBackAvailable
Gets a boolean that specifies if we can move to the previous (older) history item.
Public propertyIsNextAvailable
Gets a boolean that specifies if we can move the next (newer) history item.
Public propertyIsSuspended
Gets a boolean that specifies if adding new items is currently suspended.
Public propertyItemsCount
Gets the number of saved items currently in the history.
Public propertyMaxItems
Gets or sets the maximum number of saved history items. Special values: 0 = history is disabled, -1 = unlimited
Top
Methods
  NameDescription
Public methodAddItem
Adds a new ZoomPanelHistoryItem to the history items collection.
Public methodClear
Clears all the saved history items.
Public methodGetItem
Returns a ZoomPanelHistoryItem with the specified itemIndex (0: the latest (newest) item, (ItemsCount - 1): the last (oldest) item)
Public methodMoveBack
Goes to the previous (older) history item.
Public methodMoveNext
Goes to the next (newer) history item.
Public methodResume
Resumes saving and navigating history items. Call Suspend method to resume saving and navigating history items.
Public methodSuspend
Suspends saving and navigating history items. Call Resume method to resume saving and navigating history items.
Top
Events
  NameDescription
Public eventCurrentHistoryItemChanged
Event that is fired when the current history item is changed.
Public eventPropertyChanged
PropertyChanged
Top
Fields
  NameDescription
Public fieldGetCurrentItemCallback
GetCurrentItemCallback is used to get the ZoomPanelHistoryItem with the current Viewbox and RotationAngle.
Top
See Also