Show / Hide Table of Contents

Interface ITabBarCanvasControllerItemProvider

Use an ITabBarCanvasControllerItemProvider to manually instantiate a tab bar controller's items from script. Set the itemProvider to your implementation and the tab bar will ask your provider for a new tab bar item when it is loaded.

Namespace: Pelican7.UIGraph
Assembly: UI Graph API Documentation Project.dll
Syntax
public interface ITabBarCanvasControllerItemProvider

Methods

TabBarItemForViewControllerAtIndex(CanvasTabBar, CanvasController, Int32)

Instantiate a new tab bar item for the viewController at index. You are responsible for instantiating the tab bar item and configuring any custom components. The tab bar will perform the additional configuration required to place the item in the tabBarItemsContainer, set the item's index, and bind its click to the tab bar.

Declaration
CanvasTabBarItem TabBarItemForViewControllerAtIndex(CanvasTabBar tabBar, CanvasController viewController, int index)
Parameters
Type Name Description
CanvasTabBar tabBar
CanvasController viewController
System.Int32 index
Returns
Type Description
CanvasTabBarItem

A newly instantiated CanvasTabBarItem

Back to top © 2019 Pelican 7 LTD. All rights reserved.