- Mastering Windows Presentation Foundation
- Sheridan Yuen
- 199字
- 2021-06-24 16:49:03
Debugging WPF Applications
When our WPF programs don't work as expected, we need to debug them, as we would with any other language. However, at first it can seem to be a daunting task, as WPF is very different from other languages. For example, when declaring a Dependency Property, we normally add a CLR property wrapper for convenience. However, the WPF Framework won't call it when the property value is changing, so we'd wait a long time for a break point in that setter to be hit
When we're testing our newly developed code, we need to be able to check the values of our data bound properties, and there are a number of ways to do that, although some are far from obvious. In this chapter, we'll investigate a number of important sources of information to help us to locate the mistakes in our code.
We'll discover a variety of tactics to help us when debugging the data bound values and find out how to track down the actual cause of a problem when faced with the dreaded XamlParseException. We'll cover all of these topics in detail shortly, but for now, let's first start with the absolute basics.
- Spring 5.0 By Example
- MySQL 8從入門到精通(視頻教學版)
- Raspberry Pi for Secret Agents(Third Edition)
- Learning ELK Stack
- PHP+MySQL網站開發項目式教程
- HTML5+CSS3網頁設計
- 運用后端技術處理業務邏輯(藍橋杯軟件大賽培訓教材-Java方向)
- 微信小程序開發與實戰(微課版)
- OpenCV Android Programming By Example
- Python+Office:輕松實現Python辦公自動化
- Android智能手機APP界面設計實戰教程
- Android技術內幕(系統卷)
- 跟小樓老師學用Axure RP 9:玩轉產品原型設計
- PHP程序設計高級教程
- Visual C++ 開發從入門到精通