Wednesday 27 May 2015

Hub Control using xaml (windows phone + store)


In old days we use pivot controls and panorama for representation of data in windows phone (silver light). But now a days these controls are replaced by Hub controls. Here is short code snippet that shows how to use Hub controls in windows phone + store apps.

The code is quite easy to understand and self explanatory.


<Hub Header="Virtual University of Pakistan">
<HubSection Width="400" Header="Student"></HubSection>
<HubSection Header="Roll No"></HubSection>
<HubSection Header="Courses"></HubSection>
</Hub>

No comments:

Post a Comment