I have a ModernTab control, to which I'm dynamically adding a Link:
var link = new FirstFloor.ModernUI.Presentation.Link { DisplayName = "Otra Ventana", Source = new Uri("/pages/operations/confirm.xaml", UriKind.RelativeOrAbsolute) };
mtabs.Links.Add(link);
i want to programmatically go to or select this last TabPage , i tried this code :
// var frame = FirstFloor.ModernUI.Windows.Navigation.NavigationHelper.FindFrame(null, this);
// if (frame != null)
// frame.Source = new Uri("/pages/operations/confirm.xaml", UriKind.Relative);
but its only navigate to the page without moderntab !!
pleaze any help guys ?
要选择一个链接,请使用ModernTab
类中现有的SelectedSouce
属性:
mtabs.SelectedSource = new Uri("pages/operations/confirm.xaml", UriKind.Relative);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.