Support & Learning
Application Development and Deployment
Data Connectivity and Integration
Web Content Management
Get A Free Trial
close mobile menu
Testing & ALM
WPF: The Static Nature of Dependency Properties
With dependency properties being so heavily used across the WPF platform, there is a good chance that sooner or later you will get bitten by this issue my colleague Hristo Deshev and I were debugging not long ago. Some heads-up can't really hurt anybody so here it is;). We will declare a simple class Foo with a single collection dependency property (note that this is a reference type). We will also supply our brand new property with a default value through the convenient DependecyProperty.Register(...) method: Let us put our class to the test by creating two Foo instances and adding a single item...
July 25, 2008
RadControls for Silverlight and WPF
My colleague Hristo Deshev just announced the availability of Telerik RadControls for WPF Beta2. This is a very important release not only because it brings so many new features and controls for WPF, but because this is our first release that includes the Silverlight and WPF controls under a single distributable. For this first release we ported just a few Silverlight controls for WPF (namely TreeView, PanelBar, Calendar, DatePicker, Slider, ProgressBar and NumericUpDown), but in the long run almost all Silverlight controls that are applicable in a desktop scenario will be included in the WPF suite. What does this mean to you as a developer? Why is this...
July 03, 2008
Tip of the Day: Clear your ClickOnce application store
ClickOnce is a great technology that blurs the line between web and client(windows) applications. You can use it to easily deploy windows forms and WPF (through XBAP) app's. However there is common problem with it. The application store (the place where all ClickOnce applications get stored) has the ability to corrupt it self ending in an appropriate version mix of your application. You can end up in situation where "it works on my machine", but in reality the application did not work correctly. To avoid such situation it is a good practice to clear your application store before testing the...
June 24, 2008
WPF Data Binding: Unraveling data templates
Data binding in WPF in general and particularly working with data templates tends to be quite tricky some times. Here I'll present you some more advanced tips for dealing with data templates. To start with, I want to refer to an article I read a while ago. It is about the basics of data templates and I want to use it as a starting point and a foundation to build on. If you are just starting to work with WPF or you have never met with data templates, please read it first to get acquainted with the idea. I'll use ItemsControl for...
June 17, 2008
WPF Line Drawing and the Device-Pixel-(In)dependence
As you are probably aware resolution and device independence is one of the fundamental design goals of WPF. In order to achieve the desired effect the framework does not work directly with physical (device-dependent) pixels but abstracts this notion into device-independent measuring units like inches. There are two main benefits that you get from this: Automatic DPI-aware scaling Sub-pixel positioning -- WPF coordinates use floating point numbers that theoretically give you the ability to draw with higher precision than the one provided by the ordinary pixel grid. However, there is one nasty side-effect related to the fact that WPF graphics are anti-aliased by default...
June 16, 2008
Testing & ALM
Latest updates in your inbox
React and Vue Support Coming to Kendo UI
August 29, 2017
FiddlerCore for .NET Standard and Fiddler Orchestra—the Future of Fiddler
August 24, 2017
UI Controls for UWP: Building Windows Apps with Adaptive UI
August 31, 2017