Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法通过 ID 而不是索引在 MultiView 中设置活动视图?
像这样的东西?
multiviewProgress.Views["step3"].SetToActiveView();
我相信你可以这样做:
myMultiView.SetActiveView(nameOfView);
其中 nameOfView 是设计时给出的 ID。这个例子向你展示了如何去做。