Implements ProgressIndicatorBehavior.