wpf-tab

Loaded event of a WPF user control fire two times

Hi, To implement tab based environment in WPF we need to convert our WPF form to user control to accomplish tab based environment, however when doing this, loaded event of user control is called two times. While searching on the internet other people also pointed this issue. How can we ensure that loaded event is called only one time,...

Tab order and index in WPF usign the MVVM pattern

I'm having an issue with tabbing through the controls on a WPF application using the MVVM pattern. I have the following XAML which defines a tree structure <Grid Background="Transparent" Margin="10"> <TreeView ItemsSource="{Binding FirstLevelNavigableViewModels}" Background="Transparent" HorizontalContentAlignment="St...