gpt4 book ai didi

wpf - DependencyProperty.OverrideMetadata 覆盖 PropertyChangedCallback

转载 作者:行者123 更新时间:2023-12-02 05:36:04 26 4
gpt4 key购买 nike

DependencyProperty.OverrideMetadata() 是否也覆盖了 PropertyChangedCallback?

最佳答案

取自此处:http://msdn.microsoft.com/en-us/library/ms597491.aspx

The supplied metadata is merged with the property metadata for the dependency property as it exists on the base owner. Any characteristics that were specified in the original base metadata will persist; only those characteristics that were specifically changed in the new metadata will override the characteristics of the base metadata. Some characteristics such as DefaultValue are replaced if specified in the new metadata. Others, such as PropertyChangedCallback, are combined.

关于wpf - DependencyProperty.OverrideMetadata 覆盖 PropertyChangedCallback,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11683528/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com