Пример #1
0
        public void ApplyToDerivedTypes()
        {
            var   style      = new Style <Label>();
            Style?formsStyle = style;

            Assert.IsFalse(formsStyle?.ApplyToDerivedTypes);
            style.ApplyToDerivedTypes(true);
            Assert.IsTrue(formsStyle?.ApplyToDerivedTypes);
        }