Silverlight – Dynamic Page load
Silverlight에서 네비게이션(메뉴에 따른 페이지 호출?)을 작성하기 위해 넘겨온 값에 따라 시작되는 비주얼을 지정하면 된다. 그를 위해 다음과 같은 코드가 필요하다. Private void Application_Startup(object sender, StartupEventArgs e) { String machineid = e.InitParams["machineid"]; this.RootVisual = new Page(machineid); }
- Programming/Silverlight
- · 2009. 5. 10.