Пример #1
0
        /*private static TestServices Services => TestServices.MockThreadingInterface.With(
         *  standardCursorFactory: Mock.Of<IStandardCursorFactory>(),
         *  windowingPlatform: new MockWindowingPlatform());*/

        private AutoCompleteBox CreateControl()
        {
            var datePicker =
                new AutoCompleteBox
            {
                Template = CreateTemplate()
            };

            datePicker.ApplyTemplate();
            return(datePicker);
        }