/// <summary>
        /// Creates the busy indicator, which will be automatically centered if needed.
        /// </summary>
        /// <returns>FrameworkElement.</returns>
        protected virtual FrameworkElement CreateBusyIndicator()
        {
            var busyIndicator = new BusyIndicator();

            busyIndicator.SetBinding(System.Windows.Controls.BusyIndicator.BusyContentProperty, new Binding("Status"));
            busyIndicator.SetBinding(System.Windows.Controls.BusyIndicator.IsBusyProperty, new Binding("IsBusy"));

            return(busyIndicator);
        }