Пример #1
0
        /// <summary>
        /// Shows the user that neither the DisableTelemetryButton or the EnableTelemetryButton are checked.
        /// </summary>
        private void ShowTelemetryOptionRequired()
        {
            TelemetryPageStoryboard.Begin();

            var transform = TelemetryBorder.TransformToVisual((UIElement)TelemetryScrollView.Content);
            var position  = transform.TransformPoint(new Point(0, 0));

            LegalScrollView.ChangeView(null, position.Y, null, false);
        }
Пример #2
0
        /// <summary>
        /// Shows the user that the AgreeCheckbox isn't checked.
        /// </summary>
        private void ShowCheckboxRequired()
        {
            LegalPageStoryboard.Begin();

            var transform = AgreeBorder.TransformToVisual((UIElement)LegalScrollView.Content);
            var position  = transform.TransformPoint(new Point(0, 0));

            LegalScrollView.ChangeView(null, position.Y, null, false);
        }