This project is read-only.

Two ModernTab help

Jun 11, 2013 at 5:34 PM
how can i use two ModernTab to show Data in 2 Modus , Display Modus and EditModus?

For example:
ModernTab1.( here the first tab show me the Person Data) and his Content has the seconde ModernTab with Tabitem( Display and Edit);

i want to switch into Display and Edit without changing person data!

any idea??
Jun 11, 2013 at 6:57 PM
Assuming you are talking about nested tabs, you can set your viewmodel to the DataContext of ModernTab1. When ModernTab2 is displayed as a tab in ModernTab1 it automatically derives the DataContext from its parent. In your view model you can reference the current person data.