GURUUMEDITATION

[responsive-menu menu="HamburgerMenu"]

Barcodes on MS Band

Yes, I know: Microsoft has (it seems) dropped the Band (sad!). But as the article was 95% ready, I didn’t want throw it 🙂 There is a way to display a bar code on the Band. To do this, simply add a control of type BarCode (Surprise!) in a layout. This layout accepts the barcode type 39 and Pdf417 The best way to show something is to make [...]

Dynamically change the language of a universal app

When writing a multi-language application, it is always nice to offer the user the choice of the language used. It’s even more fun when this is done on the fly, without having to restart the application, let’s see how. Change the language Not too complicated. Let’s just change the language of the application through the property PrimaryLanguageOverride [...]

Clipping XAML controls

For an application (RPG Dice) I had to make an animation where a text is “disapearing” when moving below a line. Like this : The problem is most of the control don’t clip their content. So, if we animate it, we got something like this : How do we clip, then? Well the solution is simple. FrameworkElement has a Clip property. It is a rectangle, [...]

Create a panel to give all GridView items the maximum width/height

I found myself still recently facing a standard problem using a GridView (note: it is just as valid for the ListView). The items of the list contained a text which can be small or long, giving something like this: Great. By default, GridView takes the size of the first item as the size for all items. To work around this, I’ll create my own class [...]