Click here to Skip to main content
15,508,644 members
Articles / Desktop Programming / WPF
Article
Posted 26 Jan 2008

Stats

51.3K views
824 downloads
39 bookmarked

WPF ProcessingContentControl

Rate me:
Please Sign up or sign in to vote.
3.42/5 (8 votes)
5 Feb 2008CPOL
A ContentControl that displays continuously progressing view when its content is being processed.
ProcessingContentControl_demo

Introduction

Sometimes you want to provide feedback to the user while the data displayed inside a certain control is loaded / processed, updated, etc. An obvious example is media player. ProcessingContentControl lets you achieve this goal.

Using the Code

Host any element inside ProcessingContentControl. Set IsContentProcessing property to toggle processing mode. When the property is set to true, an overlay layer will appear, blocking interaction with the hosted element. The overlay layer displays animated progress view, as shown in the picture above.

Usage Example

XML
<process:ProcessingContentControl IsContentProcessing="True" >
    <... your content here>
</process:ProcessingContentControl> 

History

  • 5th February, 2008: Bug fixes
  • 26th January, 2008: Initial release

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Israel Israel
Experienced in .Net, C#, WPF, user experience.

Read my blog: http://uxoriented.blogspot.com/

Comments and Discussions

 
GeneralCouple of issues Pin
Andrew Wood4-Feb-08 11:31
Andrew Wood4-Feb-08 11:31 
GeneralRe: Couple of issues Pin
Yaakov Davis5-Feb-08 8:11
Yaakov Davis5-Feb-08 8:11 
GeneralRe: Couple of issues Pin
Andrew Wood5-Feb-08 12:34
Andrew Wood5-Feb-08 12:34 
QuestionNice article! [modified] Pin
Andrew Wood28-Jan-08 12:27
Andrew Wood28-Jan-08 12:27 
GeneralRe: Nice article! Pin
yaakov`29-Jan-08 2:27
yaakov`29-Jan-08 2:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.