Beispiel #1
0
        public async Task ExcludedWithChildren(bool result)
        {
            var button = new Button();

            AutomationProperties.SetExcludedWithChildren(button, result);
            var excluded = await GetValueAsync <bool, ButtonHandler>(button, handler => GetExcludedWithChildren(handler));

            Assert.Equal(result, excluded);
        }