【发布时间】:2013-08-26 23:25:57
【问题描述】:
我正在尝试绑定 MVVMCross 对话框部分的 Visible 属性。
var refillSection = new Section() {
new StringElement("Refill").Bind(this, "SelectedCommand OpenExternal")
}.Bind(this, "Visible IsExternal,Converter=Visibility");
root.Add(refillSection);
我也试过直接绑定 Visible 的元素,但也不管用。
var refillSection = new Section() {
new StringElement("Refill").Bind(this, "SelectedCommand OpenExternal;Visible IsExternal,Converter=Visibility")
};
root.Add(refillSection);
我做错了吗?我已经安装了可见性插件。
【问题讨论】:
标签: mvvmcross monotouch.dialog