好吧,这是一个惊喜(写了几次之后),发现已经有一个BooleanToVisibilityConverter在System.Windows.Controls命名空间. 可能还有更多这样隐藏的节省时间的人. 有人有吗?
wpf converters
converters ×1
wpf ×1