#pragma warning restore 108 private void Initialize() { this.NativeStackNavigationFrame(); this.NavigationService = new NavigationService(this); this.visualRoot = AppercodeVisualRoot.Instance; this.backStack = new Stack <AppercodePage>(); this.LoadApplicationResourcesFromAssembly(Assembly.GetCallingAssembly()); if (this.styler != null) { this.styler.StyleNavBar(this); } }
public TabsNavigationFrame(IFrameStyler styler = null) { this.styler = styler; #if __ANDROID__ || WINDOWS_PHONE this.navigationService = new NavigationService(this); this.backStack = new Stack<AppercodePage>(); #else this.navigationStacks = new List<StackNavigationFrame>(); #endif this.visualRoot = AppercodeVisualRoot.Instance; this.NativeTabsNavigationFrame(); this.Tabs = new TabBarTabsCollection(); this.Tabs.CollectionChanged += Tabs_CollectionChanged; this.LoadApplicationResourcesFromAssembly(Assembly.GetCallingAssembly()); if (this.styler != null) { this.styler.StyleTabBar(this); } }
/// <summary> /// Creates an instance of <see cref="TabsNavigationFrame" /> class using an implementation of <see cref="IFrameStyler" />. /// </summary> public TabsNavigationFrame(IFrameStyler styler) { this.styler = styler; #if __ANDROID__ || WINDOWS_PHONE this.navigationService = new NavigationService(this); this.backStack = new Stack <AppercodePage>(); #else this.navigationStacks = new List <StackNavigationFrame>(); #endif this.visualRoot = AppercodeVisualRoot.Instance; this.NativeTabsNavigationFrame(); this.Tabs = new TabBarTabsCollection(); this.Tabs.CollectionChanged += Tabs_CollectionChanged; this.LoadApplicationResourcesFromAssembly(Assembly.GetCallingAssembly()); if (this.styler != null) { this.styler.StyleTabBar(this); } }
#pragma warning restore 108 private void Initialize() { this.NativeStackNavigationFrame(); this.NavigationService = new NavigationService(this); this.visualRoot = AppercodeVisualRoot.Instance; this.backStack = new Stack<AppercodePage>(); this.LoadApplicationResourcesFromAssembly(Assembly.GetCallingAssembly()); if (this.styler != null) { this.styler.StyleNavBar(this); } }