Windows Phone: Building UI in XAML

Sign in to queue

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

Download

Download this episode

For more information, check out these courses on Microsoft Virtual Academy:

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

Add Your 2 Cents