Closed zeroyjk closed 5 years ago
<Controls:MetroAnimatedSingleRowTabControl x:Name="MainTabControl" Grid.Row="1"> <TabItem Header="buttons"> <exampleViews:ButtonsExample DataContext="{Binding}" /> </TabItem> <TabItem Header="text"> <exampleViews:TextExamples DataContext="{Binding}" /> </TabItem>
How it binding to
MahApps.Metro.Demo > folder (ExampleViews) > ButtonsExample.xaml
@zeroyjk The DataContext of the ButtonsExample binds to the DataContext of the main window -> DataContext="{Binding}"
DataContext="{Binding}"
I have google and bing it, but i dont understand it MVVM you using..
Here are some help about that
How it binding to
MahApps.Metro.Demo > folder (ExampleViews) > ButtonsExample.xaml