Tag: UWP

Example; sweeping light source in UWP

I was asked on Twitter how I got this effect, here is the code I use. In this example, the target FrameworkElement is a TextBlock. Note: I feel really bad as I cannot take credit for writing this, but I cannot remember for the life of me where I found it! If you know, please…

Project Avocado Pt 1, I am not your Guru

Avocado

Welcome to Project Avocado. Yesterday I made the rash decision to make an app for Windows 10 and write about it in real time. From the very beginning of an idea right through to publishing in the Microsoft Store. (you know, provided it gets that far!) Having made a poll on Twitter, it looks like…

Windows Accent Colours

In a new app concept I’m prototyping, I wanted to allow the user to select a colour for each main item which would effect the heading background colour. Like this: (note; this is the end result) Having done similar years ago, I remember the accessibility/legibility concerns this gave me. Allowing your customers to pick any…

FlipView SelectedItem binding

For what ever reason, I’ve just lost some hours working around an issue with FlipView on Windows 10 ARM. In the hope of saving you some time, lets take a walk through it together. Consider this basic example: <FlipView   Name=”fv_Items”   DataContext=”{Binding MyDataCollection}”   ItemSource=”{Binding Items}”   SelectedItem=”{Binding Current, mode=TwoWay}”> </FlipView> Assuming you have…