/**
             * Constructor
             */
            public ActivityIndicator()
            {
                mActivityIndicator = new Microsoft.Phone.Controls.PerformanceProgressBar();
                mActivityIndicator.IsIndeterminate = false;
                mActivityIndicator.Visibility = Visibility.Collapsed;

                mView = mActivityIndicator;
            }
            /**
             * Constructor
             */
            public ActivityIndicator()
            {
                mActivityIndicator = new Microsoft.Phone.Controls.PerformanceProgressBar();
                mActivityIndicator.IsIndeterminate = false;
                mActivityIndicator.Visibility = Visibility.Collapsed;

                View = mActivityIndicator;

                setHorizontalSizePolicyFlags(true, false);
                setVerticalSizePolicyFlags(false, true);
            }