70 references to CommandId
PresentationCore (70)
System\Windows\Input\Command\NavigationCommands.cs (70)
30get { return _EnsureCommand(CommandId.BrowseBack); } 38get { return _EnsureCommand(CommandId.BrowseForward); } 46get { return _EnsureCommand(CommandId.BrowseHome); } 54get { return _EnsureCommand(CommandId.BrowseStop); } 62get { return _EnsureCommand(CommandId.Refresh); } 70get { return _EnsureCommand(CommandId.Favorites); } 78get { return _EnsureCommand(CommandId.Search); } 87get { return _EnsureCommand(CommandId.IncreaseZoom); } 95get { return _EnsureCommand(CommandId.DecreaseZoom); } 103get { return _EnsureCommand(CommandId.Zoom); } 111get {return _EnsureCommand(CommandId.NextPage);} 119get {return _EnsureCommand(CommandId.PreviousPage);} 127get {return _EnsureCommand(CommandId.FirstPage);} 135get {return _EnsureCommand(CommandId.LastPage);} 143get {return _EnsureCommand(CommandId.GoToPage);} 151get { return _EnsureCommand(CommandId.NavigateJournal); } 164private static string GetPropertyName(CommandId commandId) 170case CommandId.BrowseBack: propertyName = "BrowseBack"; break; 171case CommandId.BrowseForward: propertyName = "BrowseForward"; break; 172case CommandId.BrowseHome: propertyName = "BrowseHome"; break; 173case CommandId.BrowseStop: propertyName = "BrowseStop"; break; 174case CommandId.Refresh: propertyName = "Refresh"; break; 175case CommandId.Favorites: propertyName = "Favorites"; break; 176case CommandId.Search: propertyName = "Search"; break; 177case CommandId.IncreaseZoom: propertyName = "IncreaseZoom"; break; 178case CommandId.DecreaseZoom: propertyName = "DecreaseZoom"; break; 179case CommandId.Zoom: propertyName = "Zoom"; break; 180case CommandId.NextPage: propertyName = "NextPage"; break; 181case CommandId.PreviousPage: propertyName = "PreviousPage"; break; 182case CommandId.FirstPage: propertyName = "FirstPage"; break; 183case CommandId.LastPage: propertyName = "LastPage"; break; 184case CommandId.GoToPage: propertyName = "GoToPage"; break; 185case CommandId.NavigateJournal: propertyName = "NavigateJournal"; break; 194switch ((CommandId)commandId) 196case CommandId.BrowseBack: uiText = SR.BrowseBackText; break; 197case CommandId.BrowseForward: uiText = SR.BrowseForwardText; break; 198case CommandId.BrowseHome: uiText = SR.BrowseHomeText; break; 199case CommandId.BrowseStop: uiText = SR.BrowseStopText; break; 200case CommandId.Refresh: uiText = SR.RefreshText; break; 201case CommandId.Favorites: uiText = SR.FavoritesText; break; 202case CommandId.Search: uiText = SR.SearchText; break; 203case CommandId.IncreaseZoom: uiText = SR.IncreaseZoomText; break; 204case CommandId.DecreaseZoom: uiText = SR.DecreaseZoomText; break; 205case CommandId.Zoom: uiText = SR.ZoomText; break; 206case CommandId.NextPage: uiText = SR.NextPageText; break; 207case CommandId.PreviousPage: uiText = SR.PreviousPageText; break; 208case CommandId.FirstPage: uiText = SR.FirstPageText; break; 209case CommandId.LastPage: uiText = SR.LastPageText; break; 210case CommandId.GoToPage: uiText = SR.GoToPageText; break; 211case CommandId.NavigateJournal: uiText = SR.NavigateJournalText; break; 221switch ((CommandId)commandId) 223case CommandId.BrowseBack: 229case CommandId.BrowseForward: 235case CommandId.BrowseHome: 241case CommandId.BrowseStop: 247case CommandId.Refresh: 253case CommandId.Favorites: 259case CommandId.Search: 265case CommandId.IncreaseZoom: 271case CommandId.DecreaseZoom: 277case CommandId.Zoom: 283case CommandId.NextPage: 289case CommandId.PreviousPage: 295case CommandId.FirstPage: 301case CommandId.LastPage: 307case CommandId.GoToPage: 313case CommandId.NavigateJournal: 323private static RoutedUICommand _EnsureCommand(CommandId idCommand) 325if (idCommand >= 0 && idCommand < CommandId.Last) 374private static RoutedUICommand[] _internalCommands = new RoutedUICommand[(int)CommandId.Last];