WPF Markup and Code-Behind

The Windows Presentation Foundation charts brings programming enhancements for development of Windows client application. One of these enhancements that`s considered important is the possibility to develop an application by using markup and code-behind together, something that the developers using ASP.NET should already be familiar with.

The implementation of an appearance is usually done by using Extensible Application Markup Language, better known as XAML by using managed programming languages or code-behind for behaviour implementation.
Several benefits are brought up by separating the appearance from the behaviour, benefits that come remarkably handy. For instance the development is much more efficient due to the ability to implement the appearance and behaviour of an application at the same time, thus reducing development and maintenance costs.
Also multiple design tools can be used to share and implement markup of XAML for targeting the application development contributor requirements. WPF applications in general are greatly simplified by improving globalization and localization. These types of combinations and using both markup and code-behind can be hard to master but one company that succeeded to do this beautifully is SciChart. They are a company specialized in creating high performance WPF charts and they have their own software product with fifteen thousand lines of code that can be purchased to improve any developers chart creating skills in WPF, be them 2D or 3D WPF charts and regardless of the amount of data the chart is based on.

For a better understanding see the brief introduction below to Windows Presentation Foundation code-behind and markup.


Extensible Application Markup Language or XAML is a markup language based on XML used to implement the appearance of an application. It is generally used to create dialog boxes, user controls, windows, pages and fill them with different graphics, shapes and controls.


In Windows Presentation Foundation the behaviour of implementing user functionalities such as interactions and events handling like clicking a menu or button, tool bar, is implemented in the code with which the markup is associated. This procedure is commonly known as code-behind.