我使用 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 中做到这一点?