You create a form by using Windows Presentation Foundation and Microsoft .NET Framework 3.5. The form contains a status bar.
You plan to add a ProgressBar control to the status bar. You need to ensure that the ProgressBar control displays the progress of a task for which you cannot predict the completion time.
Which code segment should you use?
A.
progbar.IsIndeterminate = true
B.
progbar.IsIndeterminate = false
C.
progbar.HasAnimatedProperties = true
D.
progbar.HasAnimatedProperties = false