65.9K
CodeProject is changing. Read more.
Home

WPF ProcessingContentControl

starIconstarIconstarIcon
emptyStarIcon
starIcon
emptyStarIcon

3.42/5 (8 votes)

Jan 26, 2008

CPOL
viewsIcon

53121

downloadIcon

834

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