Xceed Toolkit Plus for WPF v4.6 Documentation
ViewStackIndex Property


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Zoombox Namespace > Zoombox Class : ViewStackIndex Property
Gets or sets the index of the selected view within the view stack.
Syntax
'Declaration
 
Public Property ViewStackIndex As Integer
'Usage
 
Dim instance As Zoombox
Dim value As Integer
 
instance.ViewStackIndex = value
 
value = instance.ViewStackIndex
public int ViewStackIndex {get; set;}

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.
Requirements

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

See Also

Reference

Zoombox Class
Zoombox Members