(Jonas Wrana) Validation and binding in WPF can be quite cumbersome and involves a lot of code. Imagine you have a web application page that involves say 20 input-fields that each should be validated in a particular way… You don’t want that code to be plotted down with too much construction just t
Tag: Development
WPF PasswordBox
(Mahesh Chand) WPF comes with a built-in PasswordBox control that allows you to handle and manage passwords in a WPF application. You can think a PasswordBox control as a TextBox control with masking feature enabled. The PasswordBox control allows you to hide the characters and limit the number of c
Sharing Event Handlers Across jQuery Event Bindings To A Single Element
(Ben Nadel) This really just isn’t my week when it comes to jQuery event management. Yesterday, I found out that I had a complete misassumption as to how jQuery passed around Event objects; now, this morning, I discovered that I have another misassumption at to how jQuery manages event bindings to a
Grid in WPF
(Mahesh Chand) Grid Panel is the most complicated but versatile panel among all panels. A Grid panel can be used to design complicated user interfaces where we need to place multiple elements in a tabular for of rows and columns layout.
WPF Application Wrapper with Single Instance Support
(ShiverCube) This post describes a class that can be used to reduce the amount of redundant code needed to write a standard WPF desktop application. The class adds single instance support, easier unhandled exception handling, and can handle missing assemblies. The class is an extension of the App.xa
Canvas in WPF
(Mahesh Chand) A Canvas panel is used to position child elements by using coordinates that are relative to the canvas area. Here are some of the properties of Canvas panels.
My Fundamental Misunderstanding Of The jQuery Event Object
(Ben Nadel) Typically, when I deal with event binding in jQuery, I use it in a very one-off kind of way. Meaning, I rarely have multiple event handlers bound to the same element and I rarely use event bubbling in which an event is utilized at more than one level of the DOM tree. As such, I never nee
.Net Batch Job Template
(Andrew Fenster) Over the years I’ve had to write enough batch jobs that I’ve come up with a template. Most batch jobs have a number of common elements. When the job runs, you want it to record in a log the time when it ran, what tasks it performed and the time when it finished. If the batch job run
Getting Started with the Data Services Update for .NET 3.5 SP1 – Part 1
(Alex James) Yesterday we released the Data Services Update for .NET 3.5 SP1 that basically brings the functionality available in .NET 4.0 to .NET 3.5 too.
Content Alignment in WPF
(Mahesh Chand) The HorizontalContentAlignment and VerticalContentAlignment. These properties are defined in the System.Windows.Controls.Control class that is parent class of all controls in WPF.
