예제 #1
0
        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();
        }
예제 #2
0
        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();
        }
예제 #3
0
        protected override void CreateSelectionAppBarButtons()
        {
            AppBarItems.Add(new AppBarButton
            {
                Label = _locService["AppBarButton_Download_Text"],
                Icon  = new FontIcon {
                    Glyph = "\uE118"
                },
                Command = DownloadSelectedCommand
            });

            base.CreateSelectionAppBarButtons();
        }
예제 #4
0
        protected override void CreateDefaultAppBarButtons()
        {
            AppBarItems.Add(new AppBarButton
            {
                Label = _locService["AppBarButton_Refresh_Text"],
                Icon  = new FontIcon {
                    Glyph = "\uE117", FontSize = 14
                },
                Command = ReloadCommand
            });

            base.CreateDefaultAppBarButtons();
        }
예제 #5
0
        protected override void CreateDefaultAppBarButtons()
        {
            base.CreateDefaultAppBarButtons();

            AppBarItems.Add(new AppBarButton
            {
                Label = _locService["AppBarButton_Filter_Text"],
                Icon  = new FontIcon {
                    Glyph = "\uE16E", FontSize = 14
                },
                Command = ShowFilterFlyoutCommand
            });
        }
예제 #6
0
        protected override void CreateDefaultAppBarButtons()
        {
            if (IsShuffleButtonSupported)
            {
                AppBarItems.Add(new AppBarButton
                {
                    Label = _locService["AppBarButton_Shuffle_Text"],
                    Icon  = new FontIcon {
                        Glyph = "\uE14B"
                    },
                    Command = PlayShuffleCommand
                });
            }

            base.CreateDefaultAppBarButtons();
        }
예제 #7
0
        protected override void CreateSelectionAppBarButtons()
        {
            if (IsPlayButtonSupported)
            {
                AppBarItems.Add(new AppBarButton
                {
                    Label = _locService["AppBarButton_Play_Text"],
                    Icon  = new FontIcon {
                        Glyph = "\uE102"
                    },
                    Command = PlaySelectedCommand
                });
            }

            base.CreateSelectionAppBarButtons();
        }