Kent is correct that the Source is not a string but if you do have a sting property to check against you can use the static String.Empty value:Value="{x:Static sys:String.Empty}"和 sys 命名空间声明为and the sys namespace declared asxmlns:sys="clr-namespace:System;assembly=mscorlib" 这篇关于空字符串签入触发器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-29 23:13