Пример #1
0
        public RevealFallbackPage()
        {
            this.InitializeComponent();

            if (ApiInformation.IsTypePresent("Windows.UI.Xaml.Media.XamlCompositionBrushBase"))
            {
                AutomationProperties.SetName(this, "RevealFallbackPage");
                AutomationProperties.SetAutomationId(this, "RevealFallbackPage");

                _revealTestApi      = new RevealTestApi();
                _revealBrushTestApi = new RevealBrushTestApi();
            }
        }
        const float c_hoverLight_OuterConeAngle_Expected = 0.469878F;         // Does not change for any state.

        public RevealStatesPage()
        {
            this.InitializeComponent();

            if (ApiInformation.IsTypePresent("Windows.UI.Xaml.Media.XamlCompositionBrushBase"))
            {
                AutomationProperties.SetName(this, "RevealStatesPage");
                AutomationProperties.SetAutomationId(this, "RevealStatesPage");

                _revealTestApi      = new RevealTestApi();
                _revealBrushTestApi = new RevealBrushTestApi();

                _compositionPropertyLogger = new CompositionPropertyLogger();

                MaterialHelperTestApi.IgnoreAreEffectsFast     = true;
                MaterialHelperTestApi.SimulateDisabledByPolicy = false;
            }
        }