SelectedIndex
整数型,返回或者设置导航栏选定页面的位置。
示例
选定第一个页面:
Dim Bar As WinForm.NavBarBar = e.Form.Controls("NavBar1")Bar.SelectedIndex = 0