(Dan Wahlin) Silverlight provides the ultimate in flexibility when it comes to styling controls. If you don’t like how something looks you can tweak the template in a tool like Expression Blend and quickly get something completely different. This article is geared for developers who may just be gett
Tag: Development
Bind an Enum to a ComboBox
(Mahesh Chand) The GetValues method of Enum returns an array of objects. We can use this method to convert an enum to an array and bind to a ComboBox in WPF using ItemsSource property.
LINQ and the .NET Compact Framework 3.5
(Paul Yao and David Durant) .NET 3.5 introduces LINQ, a mechanism for manipulating collections of objects. This chapter shows how you can use LINQ capabilities such as selecting, ordering, filtering, and aggregating to simplify the retrieval, display, modification, and persistence of data.
Fun with Func Delegates, Events and Async Operations
(Rick Strahl) Func<T> has been in .NET for a while, but with the arrival of LINQ it’s moved into the limelight as main performer that makes Lambda expressions work. Func<T> is basically a generic delegate that makes it extremely easy to create all sorts of custom delegate signatures without having t
Introduction to jQuery in ASP.Net and 10 Advantages to Choose jQuery
(Satheesh Babu) jQuery is a light weight javascript library which provides fast and easy way of HTML DOM traversing and manipulation, event handling, client side animations, etc. One of the greatest features of jQuery is, it supports an efficient way to implement AJAX applications because of its lig
Using Javascript’s IN Operator To Test For Object Property Existence
(Ben Nadel) A small, but powerful tip that I picked up while reading Cody Lindley’s jQuery Enlightenment book, was the use of Javascript’s IN operator to test for object property existence. Before that, I had only ever used the IN operator to iterate over an object’s keys, as in:
Sorting and Grouping Items in a WPF ListBox – Part 2
(Ged Mead) In the first part, I outlined the sample application and said that it: –will create a collection of Person objects and databind them to a ListBox. –will use very simple DataTemplates to format two properties of the Person class – FullName and Status. –will use a GroupStyle Head
Building Transparent Controls in WPF
(Mahesh Chand) All WPF controls are inherited from UIElement. The Opacity property of UIElement is used to set transparency of a control. The value of Opacity falls between 0.0 and 1.0 where 0.0 is fully transparent and 1.0 is fully opaque.
Profiling the .NET Garbage-Collected Heap
(S. Ramaswamy and V. Morrison) In the MSDN Magazine June 2009 article “Memory Usage Auditing for .NET Applications”, we discussed monitoring memory consumption using tools like Task Manager, PerfMon and VADump. These tools help in monitoring the overall memory consumption of your application. Typica
Property Grid – Dynamic List ComboBox, Validation, and More
(Dave Elliott) While working on a project, I was asked to include a PropertyGrid control to a screen to allow for configuration of equipment and to do validation. As I had not used a PropertyGrid control before, I started searching for examples, and was dismayed at what I was finding, or in the case
