Forum General

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

How to connect a button and collectionview in tvos application?

SreeeeSreeee INMember ✭✭✭✭✭

I am trying to connect a Button and Collectionview in my tvos application (Xamarin - Visual Studio Mac). I need to show the collectionview when tap the button.

I am following this blog for the implementation of collectionview in my project. The 6th step on this blog tells how to connect the Button and collectionview , Control-drag from the Button to the Collection View Controller and select Push from the popup:

Screenshot

I tried a lot by dragging the Button to Collectionview, but there is no popup and they are not getting connected. I am a beginner on tv os application development. So anybody please explain this mechanism? If provide a gif file, it will be easy. :)

Best Answer

  • SreeeeSreeee INMember ✭✭✭✭✭
    Accepted Answer
    1. Focus on the button and click the Control on the keyboard at same time .
    2. Move the mouse from the button to the CollectionViewControl .
    3. Now the popup will display.

    enter image description here

Answers

  • SreeeeSreeee INMember ✭✭✭✭✭
    Accepted Answer
    1. Focus on the button and click the Control on the keyboard at same time .
    2. Move the mouse from the button to the CollectionViewControl .
    3. Now the popup will display.

    enter image description here

Sign In or Register to comment.