XAML


Canvas inside a ScrollViewer

I came across an interesting problem at work recently when I had a canvas inside a ScrollViewer. I was developing a windows 8 application and I had a control that was essentially a canvas that handled drawing, and this was situated inside of a ScrollViewer. The control worked fine with the mouse, allowing me to […]

Finding if StorageFile is in StorageFolder in Windows 8 Apps

When developing Windows 8 Apps, it is likely you will come across issues when dealing with files. This is because Windows 8 Apps are in a sandboxed environment, and access to files on the system are particularly limited. One oversight I believe has been made in all this is when dealing with paths of a […]

DataTemplateSelector in XAML – Versatile XAML Controls

At work this week I had a need for a versatile control that would display differently based on the contents of my ViewModel for a Windows Store app. The idea was I could have several slightly different objects, that combined would form a page that would display all the objects in the best format. My […]