Dynamic Binding of Controls to NavigationPane

Navigation for WPF Forum

Posted 14 years ago by Doraiswamy
Version: 9.2.0515
Avatar
Hi,

I could bind NavigationPane to NavigationBar at code behind file.Kindly let me know how to bind for ex DataGridControl under NavigationPane at runtime in code behind file.

ex:

for (int i=1;i <=5;i++)
{

_objNavPane = new NavigationPane();
_objNavPane.Title = "B1" + i;
_objNavPane.Name = "B1" + i;
navigationBar1.Items.Add(_objNavPane);


}
This binds 5 NavigationPane to navigationBar1.

Thanks,
Doraiswamy

Comments (1)

Posted 14 years ago by Doraiswamy
Avatar
Hi,

found.
navigationpane.Content property.

Regards,
G.Doraiswamy
The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.