Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何判断样式的值是默认值、内联值还是继承值?
例如,如果我有一个 Label 并且我调用 getStyle("color") 并且它报告“#000000”我如何判断这是它继承的值还是在运行时内联设置的值?