private void RefreshSpotlightViewfinderData(ViewfinderTypeSpotlight viewfinder)
        {
            this.textType.Text = this.Context.GetString(viewfinder.DisplayNameResourceId);
            this.textSpotlightBackgroundColor.Text   = this.Context.GetString(viewfinder.BackgroundColor.DisplayNameResourceId);
            this.textSpotlightEnabledColor.Text      = this.Context.GetString(viewfinder.EnabledColor.DisplayNameResourceId);
            this.textSpotlightDisabledColor.Text     = this.Context.GetString(viewfinder.DisabledColor.DisplayNameResourceId);
            this.textSpotlightSizeSpecification.Text = this.Context.GetString((int)viewfinder.SizeSpecification);

            this.RefreshHeight(viewfinder.Height);
            this.RefreshWidth(viewfinder.Width);
            this.RefreshHeightAspect(viewfinder.HeightAspect);
            this.RefreshWidthAspect(viewfinder.WidthAspect);
        }
        private void SetupForSpotlightViewfinder(ViewfinderTypeSpotlight viewfinder)
        {
            this.textType.Visibility                       = ViewStates.Visible;
            this.cardColor.Visibility                      = ViewStates.Gone;
            this.cardSpecifications.Visibility             = ViewStates.Gone;
            this.cardMeasures.Visibility                   = ViewStates.Gone;
            this.cardLaserline.Visibility                  = ViewStates.Gone;
            this.cardSpotlightColor.Visibility             = ViewStates.Visible;
            this.cardSpotlightSizeSpecification.Visibility = ViewStates.Visible;
            this.cardSpotlightMeasures.Visibility          = ViewStates.Visible;

            SizeSpecification spec = viewfinder.SizeSpecification;

            switch (spec)
            {
            case SizeSpecification.WidthAndHeight:
                this.containerSpotlightHeight.Visibility       = ViewStates.Visible;
                this.containerSpotlightWidth.Visibility        = ViewStates.Visible;
                this.containerSpotlightHeightAspect.Visibility = ViewStates.Gone;
                this.containerSpotlightWidthAspect.Visibility  = ViewStates.Gone;
                break;

            case SizeSpecification.HeightAndWidthAspect:
                this.containerSpotlightHeight.Visibility       = ViewStates.Visible;
                this.containerSpotlightWidth.Visibility        = ViewStates.Gone;
                this.containerSpotlightHeightAspect.Visibility = ViewStates.Gone;
                this.containerSpotlightWidthAspect.Visibility  = ViewStates.Visible;
                break;

            case SizeSpecification.WidthAndHeightAspect:
                this.containerSpotlightHeight.Visibility       = ViewStates.Gone;
                this.containerSpotlightWidth.Visibility        = ViewStates.Visible;
                this.containerSpotlightHeightAspect.Visibility = ViewStates.Visible;
                this.containerSpotlightWidthAspect.Visibility  = ViewStates.Gone;
                break;
            }

            this.RefreshSpotlightViewfinderData(viewfinder);
        }