Category Archives: UWP

Getting rid of whitespaces between Runs in a TextBlock

The problem When we use Runs in a TextBlock in XAML, we can get these annoying whitespaces between the Runs in our application. For example, this XAML…

… produces this in our App…   You see these whitespaces in between? I know you do! If you look at the Visual Tree, you’ll see that… Read More »

UWP Simple PDF viewer

Some months ago, I blogged about how to display PDF files in your UWP app: Displaying PDF files in a UWP app When I look at the stats of my blog, I notice that that particular blogpost gets a lot of visitors. Also, I regularly get mails from people having questions about displaying PDF files in a UWP… Read More »

Displaying PDF files in a UWP app

In this short blogpost I want to show you how I’ve used the Windows.Data.Pdf.PdfDocument class in order to render a PDF file inside my UWP app. In order to open a PDF from a UWP app, you can ofcourse, always use Windows.System.Launcher.LaunchUriAsync like this:

This works great, but your file is being opened in… Read More »

Custom UWP Control: Step-Through ListView

Designers tend to come up ‘crazy’ (not standard!) ideas about the looks and the behavior of UI elements. Especially when you are building a UWP app and those designers have no experience in this platform (no offence). A short time ago we received a design that somewhat looked like this: After some discussions with the design… Read More »