我使用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来代替吗?
发布于 2011-03-15 10:45:01
我不确定我是否理解你的问题,但试着在对话框控制器上使用这个:
this.NavigationItem.BackBarButtonItem.Title = "Home";https://stackoverflow.com/questions/5307917
复制相似问题