【发布时间】:2018-11-27 10:03:23
【问题描述】:
最近,XF 中增加了 TargetNullValue 支持,但描述与 WPF 中的描述不同。这只是描述中的一个错误,但它们的工作方式相同吗?
WPF
Gets or sets the value that is used in the target when the value of the source is null.
Xamarin.Forms
Gets or sets the value to supply for a bound property when the target of the binding is null.
如果它们的工作方式相同,那么WPF中对操作的描述更准确,更能体现操作感,而XF中的描述则容易混淆。
【问题讨论】:
-
Xamarin.Forms 描述似乎没有多大意义。试一试会发生什么?
-
在@Clemens 建议之后,您可以前往 Microsoft Docs 存储库并自行更改;)
-
但我不问在哪里更改它,在哪里报告它。我问他们的行为是否相同。
-
“我问他们的行为是否相同” - 究竟是什么阻止你尝试?
标签: wpf xamarin.forms targetnullvalue