Rabu, 09 Maret 2011

WPF – Using Data Triggers

Data triggers are a great feature of WPF. They allow you to change the style properties of a control depending on the data of the bound items of that control. In this tutorial, I am going to bind a set of data to a ListBox, and use Data Triggers to let me know when something is wrong.So first, I am going to create a Person class. This class will have three public properties: Name, Age, and

Tidak ada komentar:

Posting Komentar