protected override void CreateDefaultAppBarButtons() { if (IsReloadButtonSupported) { AppBarItems.Add(new AppBarButton { Label = _locService["AppBarButton_Refresh_Text"], Icon = new FontIcon { Glyph = "\uE117", FontSize = 14 }, Command = ReloadContentCommand }); } AppBarItems.Add(new AppBarButton { Label = _locService["AppBarButton_Select_Text"], Icon = new FontIcon { Glyph = "\uE133", FontSize = 14 }, Command = ActivateSelectionMode }); base.CreateDefaultAppBarButtons(); }
protected override void CreateSelectionAppBarButtons() { AppBarItems.Add(new AppBarButton { Label = _locService["AppBarButton_SelectAll_Text"], Icon = new FontIcon { Glyph = "\uE0E7" }, Command = new DelegateCommand(() => SelectAll = !SelectAll) }); base.CreateSelectionAppBarButtons(); }
protected override void CreateSelectionAppBarButtons() { AppBarItems.Add(new AppBarButton { Label = _locService["AppBarButton_Download_Text"], Icon = new FontIcon { Glyph = "\uE118" }, Command = DownloadSelectedCommand }); base.CreateSelectionAppBarButtons(); }
protected override void CreateDefaultAppBarButtons() { AppBarItems.Add(new AppBarButton { Label = _locService["AppBarButton_Refresh_Text"], Icon = new FontIcon { Glyph = "\uE117", FontSize = 14 }, Command = ReloadCommand }); base.CreateDefaultAppBarButtons(); }
protected override void CreateDefaultAppBarButtons() { base.CreateDefaultAppBarButtons(); AppBarItems.Add(new AppBarButton { Label = _locService["AppBarButton_Filter_Text"], Icon = new FontIcon { Glyph = "\uE16E", FontSize = 14 }, Command = ShowFilterFlyoutCommand }); }
protected override void CreateDefaultAppBarButtons() { if (IsShuffleButtonSupported) { AppBarItems.Add(new AppBarButton { Label = _locService["AppBarButton_Shuffle_Text"], Icon = new FontIcon { Glyph = "\uE14B" }, Command = PlayShuffleCommand }); } base.CreateDefaultAppBarButtons(); }
protected override void CreateSelectionAppBarButtons() { if (IsPlayButtonSupported) { AppBarItems.Add(new AppBarButton { Label = _locService["AppBarButton_Play_Text"], Icon = new FontIcon { Glyph = "\uE102" }, Command = PlaySelectedCommand }); } base.CreateSelectionAppBarButtons(); }