locked
Hub Control section navigation by event

    Question

  • Dear All,

    I am new to windows app development. I am using Hub control having 2 major section ie. "Clients List" section and "Client Detail" section.

    Requirement is by clicking client item from "Clients List" section, I want to navigate to "Client Detail" section.

    I have done by using code like

    HubControl. ScrollToSection[Section];

    This works, But all this happened suddenly, which is not best practices. So can anyone provide proper navigation (As done in page navigation). I think VisualStateManger can do this, but I don't know how??

    Thanks in Advance

    Tuesday, October 21, 2014 6:06 AM

All replies

  • Hey Kamran,

    Am not getting what exactly you're trying here, let me ask you something;

    1. Do you mean Hub Control and the Hub App Template? configure and layout Hub Sections, Headers, Hero Image etc? rudimentary Feed Reader using the built in Syndication APIs? bound the Hub Control Sections to show up Feed Data? WebView control to render the final Link in the Feed? or am I going off-topic?

      Let me know so I can suggest you better.

    Tuesday, October 21, 2014 7:04 AM
  • Hello,

    Exactly  I am using Hub Control in Windows 8.1 app Xaml. actually I have all done. and added some sections also. This hub contain clients related information in difference sections, like overview, list of registered clients, section for registering client, fiscal data and much more.

    Actually i want to relate sections with one another by some events. Like by clicking on client item (Gridview item) [which is actually GridView item, in registered clients section], it will navigate to client detail section. similarly by clicking (taping) on Add New button, it must navigate to register client section.

    Now I do All these by ScrollToSection() method, This bring required section into view, but there is no such animation, which can provide better look and feel.

    I need such navigation with beautiful (as microsoft practice when navigation between pages ).

    Tuesday, October 21, 2014 9:30 AM