开发者

Freezable.IsFrozen and DependencyObject.IsSealed

开发者 https://www.devze.com 2023-04-09 14:21 出处:网络
What is the difference betwe开发者_Go百科en those two? Aren\'t they semantically equivalent?No. Freezable.IsFrozen can be toggled (one time) from outside the class by calling the Freeze() method, Depe

What is the difference betwe开发者_Go百科en those two? Aren't they semantically equivalent?


No. Freezable.IsFrozen can be toggled (one time) from outside the class by calling the Freeze() method, DependencyObject.IsSealed is read-only and its value can only be set internally by the class itself.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号