Tag: value

Default Value of Row and Column attached properties in XAML

In the Windows Phone XAML page , when you place a control inside the grid column or row , you would have noticed that the sometimes the row and column value are not specified . This means that the row and column attached properties of the grid defaults to the value zero and hence its not mandatory to specify Grid.Column or Grid.Row to 0 when…

How to Get the Maximum value from a List of String using LINQ in C# ?

In one of the previous article , we explained how to get the maximum value from a list of integer using LINQ query in C# . What happens when the column is a string instead of integer ?. Below are 2 possibilities on how to get the maximum value from a list of string. How to Get the Maximum value from a List of String…

WP8 Error – Cannot clear the icon while in a list Parameter name: value

When using the ApplicationBar in the Windows Phone Application and dynamically setting the IconButtons from code behind , I encounter this error . Cannot clear the icon while in a list Parameter name: value The cause of the error and the fix is pretty straight forward . I was setting the IconUri of the ApplicationBarIcon button programmatically and the value of the IconUri was not…