How to Change Disabled Button Background, Focused TextBox Border etc in Windows Phone

In the properties tab or attributes of XAML, the level of control you can have over Silverlight controls is rather limited. You can’t change their behaviours in different states. To actually control it, you need to create a ControlTemplate. Sounds innocent enough but it’s basically forcing the user to redefine a user control and recreate the button or the textbox manually from their constituents (border, grid etc) which is extremely labour intensive if all you want to do is just change say the colour of the border when it is selected.

Instead of recreating the control from scratch, you can let Microsoft Expression Blend do some part of that job for you. Style your control to your liking as much as you can in Blend and then right-click to select Edit Template -> Edit a Copy. Then you get to define a key. Think of it like a CSS class and name it as you wish. Define it in the Application (App.xaml) so you can use it everywhere in your application. This will then generate a ControlTemplate for you based on the instance of control you selected Edit Template on. Read More…

Garmin Nüvi 250W – Review/Criticism

Nüvi 250W home screenThis is a criticism of the Garmin GPS product Nüvi and most importantly its software.

While in the fields of physical design and graphical interface, Garmin has outperformed TomTom, it seems that Garmin hasn’t bothered to pay any attention to the human-computer interaction aspects of its product. As consequence, that simple but powerful omission made the Nüvi overall THE worst commercial electronic gadget I have ever used. Read More…

 Scroll to top