Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Windows Phone: Building UI in XAML

Download

Right click “Save as…”

+ My Schedule- My Schedule
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:

Follow the Discussion

  • Reza AbReza 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.

  • VipulVipul Vipul

    Where are the slides?

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

  • Slides please! Smiley

  • 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;
            }
        }

     

  • KyleKyle

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

    Thanks

Remove this comment

Remove this thread

close

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.