/// <summary>
        /// Initializes a new instance of the <c>LoadingIndicatorView</c> class.
        /// </summary>
        public LoadingIndicatorView()
        {
            _activityIndicator = new ActivityIndicator
            {
                IsRunning = true,
            };

            _ExtendedLabel = new ExtendedLabel
            {
                VerticalTextAlignment = TextAlignment.Center,
                Text = "Loading..."
            };

            HorizontalOptions = LayoutOptions.Center;
            VerticalOptions   = LayoutOptions.Center;

#if __IOS__
            var layout = new StackLayout
            {
                Orientation     = StackOrientation.Horizontal,
                VerticalOptions = LayoutOptions.CenterAndExpand,
                Spacing         = 10,
                Children        = { _activityIndicator, _ExtendedLabel }
            };

            Children.Add(layout);
#elif __ANDROID__
            Children.Add(_activityIndicator);
            Children.Add(_ExtendedLabel);
#endif
        }
        /// <summary>
        /// Initializes a new instance of the <c>ValidationErrorsView</c> class.
        /// </summary>
        public ValidationErrorsView()
        {
            this.ItemTemplate = new DataTemplate(() =>
            {
                var validationMessage = new ExtendedLabel
                {
                    TextColor  = this.ValidationMessageTextColor,
                    CustomFont = this.ValidationMessageFont
                };

                validationMessage.SetBinding(Label.TextProperty, ".");

                return(validationMessage);
            });
        }