Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/291.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# UINavigationBar教程,带UITable,使用didSelectRow/RowSelected推送细节视图?_C#_Uitableview_Uinavigationcontroller_Monodevelop_Pushviewcontroller - Fatal编程技术网

C# UINavigationBar教程,带UITable,使用didSelectRow/RowSelected推送细节视图?

C# UINavigationBar教程,带UITable,使用didSelectRow/RowSelected推送细节视图?,c#,uitableview,uinavigationcontroller,monodevelop,pushviewcontroller,C#,Uitableview,Uinavigationcontroller,Monodevelop,Pushviewcontroller,我的UITable运行良好,当我选择一行时试图进入另一个页面,但在C.中找不到该行的toturial。如果有人知道一个好的教程,或者能解释怎么做,那就太糟糕了 想了解一下如何,为了写代码只是没有帮助 MyTableViewSource.cs public override Void RowSelected (UITableView tableView, NSIndexPath indexPath) { if ((indexPath.Section == 0)&&(indexPat

我的
UITable
运行良好,当我选择一行时试图进入另一个页面,但在
C.
中找不到该行的toturial。如果有人知道一个好的教程,或者能解释怎么做,那就太糟糕了

想了解一下如何,为了写代码只是没有帮助

MyTableViewSource.cs

public override Void RowSelected (UITableView tableView, NSIndexPath indexPath)
{
if ((indexPath.Section == 0)&&(indexPath.Row == 0))

}
我想进入的页面是HelloController,一个
UIviewController


提前感谢

将uitableviewcontroller的导航控制器传递到uitableview源中,然后实例化并将新的视图控制器推送到选定的行中。如果尝试使用导航控制器时出现空异常,请等待实例化uitableviewsource,直到ViewDidDisplay/ViewWillDisplay出现。

假设您在UIViewController中使用UITable,然后使用该viewcontroller的NavigationController(这都是假设您有一个uinavigation控制器,用于在不同的ViewController中导航)