Visually Located

XAML and GIS

Migrating from the Windows Phone Toolkit DatePicker to the new Runtime DatePicker

Moving from Windows Phone Toolkit DatePicker and displaying DatePicker in a Windows Phone Runtime app [More]

Migrating from the Windows Phone Toolkit to the new Runtime XAML controls

With the introduction of the new Windows Phone XAML Apps, Microsoft released new controls that previously only existed in the Windows Phone Toolkit. For any years these controls existed in open source format, but did not allow for contributions. These controls would get some bug fixes, or new functionality/controls every now and then. Ownership of the toolkit changed hands many times and the toolkit was mostly forgotten. There was often complaints from the community that Microsoft would put “must have controls” in a toolkit. I personally liked that these controls were in a toolkit in which I could see the source. It allowed me to learn from  the people that know the core code the best. Sidebar: Take advantage of open source software. Contribute or not, it is a great learning tool. A nice thing about it being open was that you could fix bugs that you found. While the source was open, contributions were closed, so you could not submit bug fixes are add features to the tool... [More]

Making the Windows Phone Toolkit ListPicker ItemsPanel display a WrapPanel

There are many things that should be part of the Windows Phone SDK and the ListPicker is one of them. There are so many aspects of the phone that use a control that the ListPicker was based on. One of these is the accent color picker. In Phone 7 the phone would display a vertical list of colors with the name of the colors next to it. In Phone 8 they changed this experience and went with a WrapPanel. If you want to to get this same experience, you’ll want to use the ListPicker from the Windows Phone Toolkit. The ListPicker will first display what appears to be a ComboBox, yet when you tap this ‘ComboBox’ it opens up and takes over the entire phone. This is all pretty standard and the ListPicker covers this perfectly. Where it fails us is when we want to change how the ListPicker stacks it’s items. This is generally done by changing the ItemsPanel of an ItemsControl. Unfortunately the ListPicker does not allow you to change the ItemsPanel. If you download or br... [More]