Esempio n. 1
0
 static SettingsView()
 {
     NavLinks.Add(new NavLink("Settings_AppsHotkeys", typeof(AppsHotkeysPage)));
     NavLinks.Add(new NavLink("Settings_DeviceHotkeys", typeof(DeviceVolumeHotkeysPage)));
     NavLinks.Add(new NavLink("Settings_DefaultDeviceHotkey", typeof(DefaultDeviceHotkeysPage)));
     NavLinks.Add(new NavLink("Settings_OpenMixer", typeof(OpenMixerHotkeyPage)));
     NavLinks.Add(new NavLink("Notifications_Header", typeof(NotificationsPage)));
     NavLinks.Add(new NavLink("Settings_HeaderMisc", typeof(MiscPage)));
 }
Esempio n. 2
0
 public Schema()
     : base()
 {
     InstanceType = typeof(__NavPage__);
     ClassName    = "NavPage";
     Properties.ClearExposed();
     Html = Add <__TString__>("Html");
     Html.DefaultValue = "/KitchenSink/NavPage.html";
     Html.SetCustomAccessors((_p_) => { return(((__NavPage__)_p_).__bf__Html__); }, (_p_, _v_) => { ((__NavPage__)_p_).__bf__Html__ = (System.String)_v_; }, false);
     NavLinks = Add <__TArray__>("NavLinks");
     NavLinks.SetCustomGetElementType((arr) => { return(__NaNavLinks__.DefaultTemplate); });
     NavLinks.SetCustomAccessors((_p_) => { return(((__NavPage__)_p_).__bf__NavLinks__); }, (_p_, _v_) => { ((__NavPage__)_p_).__bf__NavLinks__ = (__Arr__)_v_; }, false);
     CurrentPage = Add <__TObject__>("CurrentPage");
     CurrentPage.SetCustomAccessors((_p_) => { return(((__NavPage__)_p_).__bf__CurrentPage__); }, (_p_, _v_) => { ((__NavPage__)_p_).__bf__CurrentPage__ = (__Json__)_v_; }, false);
 }