Пример #1
0
        public void When_TimeSpan_Intra_Dictionary()
        {
            var app = UnitTestsApp.App.EnsureApplication();

            var radioButton = new RadioButton();

            radioButton.Style = app.Resources["ExplicitRadioButtonStyle2"] as Style;
            radioButton.ApplyTemplate();

            var ctrl = radioButton.FindFirstChild <MyControl>();

            Assert.AreEqual(TimeSpan.FromMilliseconds(400), ctrl.MyInterval);
        }