MakeMainMenuItems();
InitStatus();
InitCommands();
- SetDefaultAppList();
MakeSettingsButtons();
UpdateAppList(null, null);
}
/// <summary>
- /// Gets default AppList for displaying items and updates the list to Apps SubPanel
- /// </summary>
- private void SetDefaultAppList()
- {
- AppList = TVHomeImpl.GetInstance.AppShortcutControllerInstance.GetDefaultShortcuts();
- OnPropertyChanged("AppList");
- }
-
- /// <summary>
/// Gets the AppList for displaying items and updates the list to Apps SubPanel
/// </summary>
/// <param name="sender">The source of event</param>
}
}
+ /// <summary>
+ /// A method is called when apps subpanel is changed to move mode and change item's IsEnabled property.
+ /// </summary>
+ /// <param name="selectedBtn">A selected button view to move</param>
private void ChangeIsEnabledProperty(View selectedBtn)
{
foreach (var item in PanelButtonStack.Children)
await this.FadeTo(0.99, 300);
}
+ /// <summary>
+ /// A method is called when back button is pressed in move mode
+ /// </summary>
public void ChangeToDefaultMode()
{
if (isMoveMode)
OnMoveCommand.Execute(isMoveMode);
ChangeLayoutButtons(isMoveMode);
+
+ ButtonViewList.Clear();
+ foreach (var stackItem in PanelButtonStack.Children)
+ {
+ ButtonViewList.Add(stackItem);
+ }
}
}