How to determine which link I clicked

Jul 26, 2014 at 8:18 PM
I got a markup here:
<UserControl x:Class="NeoClinic.MAS.ConfigurationsList"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:mui="http://firstfloorsoftware.com/ModernUI"
             mc:Ignorable="d" 
             x:Name="ConfigControl">
    <Grid Style="{StaticResource ContentRoot}">
        <!-- TODO: set @SelectedSource -->
        <mui:ModernTab x:Name="ModTab" Layout="List"  PreviewMouseLeftButtonUp="ModTab_PreviewMouseLeftButtonUp"> 
            <mui:ModernTab.Links >
                <!-- TODO: set @Source -->
                <mui:Link x:Name="BreedLink" DisplayName="Breeds" Source="/Pages/BreedListV2.xaml" />
                <mui:Link x:Name="SpecieLink" DisplayName="Species" Source="/Pages/SpeciesList.xaml" />
            </mui:ModernTab.Links>
            
        </mui:ModernTab>
    </Grid>
</UserControl>

then the event:
private void ModTab_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            
        }
so how do I determine which link I clicked so that I could load different user controls in a single link?
Jul 28, 2014 at 5:46 PM
Bind the SelectedSource to a property in your viewmodel.
Aug 21, 2014 at 8:49 AM
how?