private void BindFavorites()
{
try
{
Cursor = Cursors.Wait;
favoritesTree.ItemsSource = null;
favoritesTree.Items.Clear();
favoritesTree.ItemsSource = Model.FavoritesDictionary.Keys;
}
catch (Exception ex)
{
TraceLog.Exception(new StackFrame().GetMethod().Name, ex);
throw;
}
finally
{
Cursor = Cursors.Arrow;
}
}