WPF Business Application Series Part 2 – Form Notification Control That Binds To IDataErrorInfo.Error Property

Form Notification Control

I have posted the second article in the WPF Business Application Series.  You can read Part 2 on Code Project here: Form Notification Control That Binds To IDataErrorInfo.Error Property

This article covers in great detail the Form Notification control that binds to the IDataErrorInfo.Error property.  Binding to a business entity object that implements the IDataErrorInfo interface is also covered.

Article Special Features

  • Shows how the Form Notification popup is rendered in the Adorner Layer.
  • Explains how to extend the data binding system to utilize logical operations in trigger conditions.
  • Explains how to get around the ToolBar Button and TextBox IDataErrorInfo data binding gotcha. 
    • Problem is the TextBox source is not updated when a ToolBar Button is clicked.  A solution is provided.
  • Shows how to persist validation error cues in the Adorner layer when switching between TabItems.
  • Explains how to use the Dispatcher object to permit the System.Timers.Timer thread to update the UI.
  • Shows a creative use of skin ControlTempates to provide rounded corners on TextBoxes in one of the skins.

Metallic Skin

I hope you can learn about using WPF for writing business applications from this series.

Have a great day!

Just a grain of sand on the worlds beaches.

5 Responses to “WPF Business Application Series Part 2 – Form Notification Control That Binds To IDataErrorInfo.Error Property”

  1. mwhitedeveloper Says:

    Great series so far, I’m eager to see your take on Declarative Programming, any idea when the next articles on that subject will be coming out?

  2. Karl Shifflett Says:

    I”m slaving away on it and hope to post it by Friday. I have two developer events this week, so I’m loosing time on both those nights.

    Trust me, it will be worth the wait!!

  3. thamaluk Says:

    Karl

    I like to convert the FormNotification to C#, do you know if someone has already done that ?

    If so would they be willing to share the code ?

  4. Karl Shifflett Says:

    This has not yet been done, but will be over the next few weeks. In fact the entire library will be translated and post in Code Project.

    For now, I would suggest, just reference the DLL for now, and use it.

    Have a great day!

    Karl

  5. Gold Coast : WPF for Line of Business applications Says:

    [...] WPF Business Application Series Part 2 – Form Notification Control That Binds To IDataErrorInfo.Erro… [...]

Leave a Reply

You must be logged in to post a comment.