'Declaration Public ReadOnly Property CurrentViewIndex As Integer
public int CurrentViewIndex {get;}
Property Value
If the current view is not a member of the view stack, the CurrentViewIndex property returns -1. This will happen if the Zoombox control has a manual view stack (see the ViewStackMode property) and the control has been zoomed or panned away from the selected view. In this case, the ViewStackIndex property can be used to get the index of the selected view. Also, the RefocusView() method can be used to zoom back to the selected view. If the view stack is disabled, the CurrentViewIndex property always returns -1.