Click here to Skip to main content
Click here to Skip to main content

WPF ProcessingContentControl

By , 5 Feb 2008
 
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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Yaakov Davis
Software Developer
Israel Israel
Member
Experienced in .Net, C#, WPF, user experience.
 
Read my blog: http://uxoriented.blogspot.com/

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralCouple of issuesmemberAndrew Wood4 Feb '08 - 10:31 
GeneralRe: Couple of issuesmemberYaakov Davis5 Feb '08 - 7:11 
GeneralRe: Couple of issuesmemberAndrew Wood5 Feb '08 - 11:34 
QuestionNice article! [modified]memberAndrew Wood28 Jan '08 - 11:27 
GeneralRe: Nice article!memberyaakov`29 Jan '08 - 1:27 

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

Permalink | Advertise | Privacy | Mobile
Web03 | 2.6.130516.1 | Last Updated 5 Feb 2008
Article Copyright 2008 by Yaakov Davis
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid