Windows Phone: Building UI in XAML

Download this episode

Download Video

Description

In this session, Shawn reviews all of the key aspects of UI creation leveraging XAML for Windows Phone apps
For more information, check out these courses on Microsoft Virtual Academy:

Day:

1

Level:

200

Session Type:

Breakout

Code:

2-203

Room:

North Hall: 134

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      Reza Ab

      Hi, just wanted to know how or where can we get the code snippet ( demo script.txt ) that he uses in this video ? It is so essential. Tnx.

    • User profile image
      Vipul

      Where are the slides?

    • User profile image
      wadeb

      Any updates on the Slides or the Source Code from this session?

    • User profile image
      RaulHuertas

      Slides please! Smiley

    • User profile image
      michaeliant​osca

      Another way to hide empty-list text in an app is to use a converter that converts the collection count to a visibility value. Then you just bind the visibility property on the empty-list text block to the count property in the collection along with the converter defined below. Easy and very re-usable

       

          public class CountToInverseVisibilityConverter : IValueConverter
          {
              public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
              {
                  if ((int)value == 0)
                  {
                      return Visibility.Visible;
                  }
                  else
                  {
                      return Visibility.Collapsed;
                  }
              }
      
              public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
              {
                  return value;
              }
          }

       

    • User profile image
      Kyle

      Hey there guys,
      Is there any update regarding the slides and code?

      Thanks

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.