开发者

Freezable.IsFrozen and DependencyObject.IsSealed

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜