70 references to CommandId
PresentationCore (70)
Core\CSharp\System\Windows\Input\Command\NavigationCommands.cs (70)
50get { return _EnsureCommand(CommandId.BrowseBack); } 58get { return _EnsureCommand(CommandId.BrowseForward); } 66get { return _EnsureCommand(CommandId.BrowseHome); } 74get { return _EnsureCommand(CommandId.BrowseStop); } 82get { return _EnsureCommand(CommandId.Refresh); } 90get { return _EnsureCommand(CommandId.Favorites); } 98get { return _EnsureCommand(CommandId.Search); } 107get { return _EnsureCommand(CommandId.IncreaseZoom); } 115get { return _EnsureCommand(CommandId.DecreaseZoom); } 123get { return _EnsureCommand(CommandId.Zoom); } 131get {return _EnsureCommand(CommandId.NextPage);} 139get {return _EnsureCommand(CommandId.PreviousPage);} 147get {return _EnsureCommand(CommandId.FirstPage);} 155get {return _EnsureCommand(CommandId.LastPage);} 163get {return _EnsureCommand(CommandId.GoToPage);} 171get { return _EnsureCommand(CommandId.NavigateJournal); } 184private static string GetPropertyName(CommandId commandId) 190case CommandId.BrowseBack: propertyName = "BrowseBack"; break; 191case CommandId.BrowseForward: propertyName = "BrowseForward"; break; 192case CommandId.BrowseHome: propertyName = "BrowseHome"; break; 193case CommandId.BrowseStop: propertyName = "BrowseStop"; break; 194case CommandId.Refresh: propertyName = "Refresh"; break; 195case CommandId.Favorites: propertyName = "Favorites"; break; 196case CommandId.Search: propertyName = "Search"; break; 197case CommandId.IncreaseZoom: propertyName = "IncreaseZoom"; break; 198case CommandId.DecreaseZoom: propertyName = "DecreaseZoom"; break; 199case CommandId.Zoom: propertyName = "Zoom"; break; 200case CommandId.NextPage: propertyName = "NextPage"; break; 201case CommandId.PreviousPage: propertyName = "PreviousPage"; break; 202case CommandId.FirstPage: propertyName = "FirstPage"; break; 203case CommandId.LastPage: propertyName = "LastPage"; break; 204case CommandId.GoToPage: propertyName = "GoToPage"; break; 205case CommandId.NavigateJournal: propertyName = "NavigateJournal"; break; 214switch ((CommandId)commandId) 216case CommandId.BrowseBack: uiText = SR.Get(SRID.BrowseBackText); break; 217case CommandId.BrowseForward: uiText = SR.Get(SRID.BrowseForwardText); break; 218case CommandId.BrowseHome: uiText = SR.Get(SRID.BrowseHomeText); break; 219case CommandId.BrowseStop: uiText = SR.Get(SRID.BrowseStopText); break; 220case CommandId.Refresh: uiText = SR.Get(SRID.RefreshText); break; 221case CommandId.Favorites: uiText = SR.Get(SRID.FavoritesText); break; 222case CommandId.Search: uiText = SR.Get(SRID.SearchText); break; 223case CommandId.IncreaseZoom: uiText = SR.Get(SRID.IncreaseZoomText); break; 224case CommandId.DecreaseZoom: uiText = SR.Get(SRID.DecreaseZoomText); break; 225case CommandId.Zoom: uiText = SR.Get(SRID.ZoomText); break; 226case CommandId.NextPage: uiText = SR.Get(SRID.NextPageText); break; 227case CommandId.PreviousPage: uiText = SR.Get(SRID.PreviousPageText); break; 228case CommandId.FirstPage: uiText = SR.Get(SRID.FirstPageText); break; 229case CommandId.LastPage: uiText = SR.Get(SRID.LastPageText); break; 230case CommandId.GoToPage: uiText = SR.Get(SRID.GoToPageText); break; 231case CommandId.NavigateJournal: uiText = SR.Get(SRID.NavigateJournalText); break; 241switch ((CommandId)commandId) 243case CommandId.BrowseBack: 249case CommandId.BrowseForward: 255case CommandId.BrowseHome: 261case CommandId.BrowseStop: 267case CommandId.Refresh: 273case CommandId.Favorites: 279case CommandId.Search: 285case CommandId.IncreaseZoom: 291case CommandId.DecreaseZoom: 297case CommandId.Zoom: 303case CommandId.NextPage: 309case CommandId.PreviousPage: 315case CommandId.FirstPage: 321case CommandId.LastPage: 327case CommandId.GoToPage: 333case CommandId.NavigateJournal: 343private static RoutedUICommand _EnsureCommand(CommandId idCommand) 345if (idCommand >= 0 && idCommand < CommandId.Last) 395private static RoutedUICommand[] _internalCommands = new RoutedUICommand[(int)CommandId.Last];