Gets or sets the index of the selected view within the view stack.
public int ViewStackIndex {get; set;}
'Declaration
Public Property ViewStackIndex As Integer
'Usage
Dim instance As Zoombox
Dim value As Integer
instance.ViewStackIndex = value
value = instance.ViewStackIndex
Property Value
For a manual stack, a positive ViewStackIndex value does not necessarily indicate that the specified view is the current view. The user may have zoomed or panned away from the view represented by the ViewStackIndex property. The CurrentView property can be used to determine the actual current view. In this case, the CurrentViewIndex will be -1 but the ViewStackIndex will be a positive value. The Refocus command or the RefocusView() method can be used to refocus the selected view on the stack.
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2