忘了从哪里找到的图了
保存一下 方便查看,若有冒犯,及时删除,谢谢
手动添加binding
BindingOperation.ClearBinding(UIElementName,VisibilityProperty);
UIElementName.SetBinding(VisibilityProperty,new Binding("Test")
{
Source = otherControlName,
Converter =ConverterName
});
忘了从哪里找到的图了
保存一下 方便查看,若有冒犯,及时删除,谢谢
手动添加binding
BindingOperation.ClearBinding(UIElementName,VisibilityProperty);
UIElementName.SetBinding(VisibilityProperty,new Binding("Test")
{
Source = otherControlName,
Converter =ConverterName
});