AppStore.Templates.StartPage.Init C# (CSharp) Method

Init() private method

The method which initializes the appbar button in the application bar, whether the app is pinned or not.
private Init ( ) : void
return void
        void Init()
        {
            ToggleAppBarButton(!SecondaryTile.Exists(AppInstance.app.Name));
            this.PinUnPinCommandButton.Click += this.pinToAppBar_Click;
        }