【发布时间】:2011-03-15 05:38:16
【问题描述】:
我使用 MonoTouch.Dialog DialogViewController 来创建一个漂亮的视图。
private RootElement _createRoot(){
return new RootElement ("Buy a Property Report"){
new Section (""){
new StringElement ("View Sample", ()=>{ }),
new StringElement ("Enter Address", ()=>{ }),
new StringElement ("Locate This House", () => { }),
new StringElement ("My Reports", () => { })
}
};
}
在以下屏幕上,我需要一个不同于我在之前的“购买房产报告”到“主页”中指定的返回按钮
我这样做。
public override void ViewDidLoad ()
{
base.ViewDidLoad ();
this.NavigationController.NavigationBar.TopItem.Title = "Home";
}
有没有办法在 Monotouch.Dialog 中执行此操作?
【问题讨论】:
标签: iphone ipad xamarin.ios monotouch.dialog