Browse by Tags

Tagged Content List
  • Wiki Page: Custom Styling the Alternate Rows inside ListView/GridView

    To style the items inside ListView/GridView based on item index we will use StyleSelector to define custom styling for each item. To implement this, we will define the class derived from StyleSelector as shown below. Inside this class we are just returning the style which will apply...
  • Wiki Page: Nesting, ListView inside ListView DataTemplate (Or TreeView representation)

    This article builds a data model to represent the nesting relationship which can be displayed in a tree like structure inside nested ListViews. This tries to solve this MSDN problem and create a structure as shown below Data Model class Menu { public ObservableCollection<...
  • Wiki Page: Display Images in GridView/ListView using DataBinding

    This article shows how easy it is to display images in ItemsControl element using simple DataBinding. Answer posted to these MSDN questions ( 1 , 2 ) Let's take a look at this sample code for the implementation details: < GridView x:Name = "gridView" ItemsSource...
  • Wiki Page: WebView - Dynamic Html Page with Images (MVVM)

    This article provides support for WebView in Windows 8 to display local html file or html page created dynamically. Oftentimes developers are looking to display local html file but due to the WebView restrictions (for security reasons) are not able to achieve it. This also caters to following Code...
Page 1 of 1 (4 items)
Can't find it? Write it!