Example #1
0
        public void TestApplyModeSetAndGet()
        {
            Panel stackPanel = new StackPanel();

            ImplicitStyleManager.SetApplyMode(stackPanel, ImplicitStylesApplyMode.Auto);
            Assert.AreEqual(ImplicitStyleManager.GetApplyMode(stackPanel), ImplicitStylesApplyMode.Auto);
        }
Example #2
0
 public void TestApplyModeGetOnNullElementThrowsException()
 {
     ImplicitStyleManager.GetApplyMode((FrameworkElement)null);
 }