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...