Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

WPF ProcessingContentControl

0.00/5 (No votes)
5 Feb 2008 1  
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

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

History

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

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here