Tag | XAML Posts

If ever there was a session that you felt like your head was going to explode, this one would do it. Tim Heuer proceeded to try to fit as many of the changes and additions to XAML as he could in one hour. There were a number of improvements that struck me. The first was the fact that we no longer need to put stack panels in the AppBar in order to add buttons. This has been changed to a CommandBar which at the very least makes the markup read more cleanly. Now if they would just bring this same improvement ...

Even the simplest of smart phone apps can be a challenge to give a compelling UI regardless of the platform. Windows Phone and XAML are no exception. That is what got my interest in this session by Shawn Oster. He took a checklist type approach to the subject is good considering that is about the only way that many us get things done. Shawn started out giving us a set of bad design/good design examples. They very effectively showed how good design gives a sense of professionalism to your app that ...

This one is going to be a little long because the keynote was jam-packed so bare with me. The keynote for the first day of BUILD 2013 was kicked off by Steve Balmer. He made it very clear that Microsoft’s focus is on accelerating its time to market with products and product updates. His quote was that “Rapid release” is the new norm. He continued by showing off several new Lumias that have been buzzing around the internet for a while and announce that Sprint will now be carrying the HTC 8XT and Samsung ...

I’m happy to be at BUILD this week, mainly because my flights finally got me here late on Tuesday. My biggest complaints so far are the flights and the hotel. It seems that almost every flight into San Francisco were delayed multiple hours. The Sequester so lovingly forced on America by congress means that the airport was short controllers. That, along with poor weather and airport construction meant most people were 2-3 hours late arriving. Add on top of that the fact that the hotel that I picked ...

Ran into a problem that needed solving that was kind of fun. I’m not a XAML guru, and I’m sure there are better solutions, but I thought I’d share mine. The problem was this: Our designer had, appropriately, designed the system for a 1920 x 1080 screen resolution. This is for a full screen, touch screen device (think Kiosk), which has that resolution, but we also wanted to demo the device on a tablet (currently using the AWESOME Samsung tablet given out at Microsoft Build). When you’d run it on that ...

Windows 8 is here (or at least very close) and that was the main feature of this morning’s key note. Antoine LeBlond started off by apologizing to the IT professionals since he planned on showing code. I’m not sure if IT Pros are that easily confused or why you would need such a disclaimer. Developers do real work, IT Pros just play with toys (just kidding). The highlights of the Windows 8 keynote for me started with some of the UI design elements that I had not seen when I was shown one of the Build ...

A new updated release of everybody favourite XAML to CPP conversion tool (at least because it’s the only one available!). New features: - support for resource dictionaries (app.xaml if you use Blend to generate your XAML) Bugfixes: - the parameters for the mouseleftbuttondown and up events were incorrect As usual you can download the new release here: http://cid-9b7b0aefe3514dc5... Technorati Tags: XAML,Silverlight for Windows Embedded ...

With in a span of last few weeks; more people have asked me the same question over and over again - Below is my rant on the same: what's the deal with dependency properties? I seriously think that dependency properties is one thing which didn’t get the respect and attention it deserved. I mean when i first discovered it; i was in awe!! Its such a strong concept that i was mesmerised by both its power and even based few of my “design” on its principle!! for a understanding on DPs consider my previous ...

Databinding in SL and WPF are interesting concepts and once mastered really solves many a issues with cleaner code. In XAML everything is dataaware. Elements can be bound to data from a variety of data sources in the form of common language runtime (CLR) objects and XML. In this post we will discuss about Simple CLR Object binding using code Simple CLR Binding using XAML only – Demo value converters Control Binding – Slider and textbox Implementing IValueConverter Validation Update Source Trigger ...

Dependency properties is one concept which i always marvel. As programmer / developer i always like the concept, as by just introducing DP, so many stuff now is so easy(Read Template programming in XAML). DP is called a BEAST (in Silverlight and WPF) for reasons of complexity involved in understanding them. Also, of course, because they are so powerful language paradigm. I sometimes do think DP did not actually got their due. I mean, so many efforts is gone into explaining Lambda expressions, LINQ, ...

In Visual Studio click on Debug –> Exceptions, and when the dialog box appears click “Add”. Fill it in as below: Be sure to check when “Thrown”. Now your code will break on the C# code where the error is thrown and you can find it more easily. Technorati Tags: WPF,XAML,Visual Studio ...

A lot of times, I need to show or hide a textbox based the value of a checkbox. In WinForms 2.0. This was easy: myTextBox.Visible = myCheckBox.Checked; With the new Visibility Enum in WPF, this becomes a bit trickier. To accomplish this, you need to implement a converter that will accept a boolean value and return a visibility value. The converter I used is here: using System; using System.Collections.Generic; using System.Text; using System.Windows.Data; using System.Windows; namespace ParaPlan.Converters ...