70 references to CommandId
PresentationCore (70)
System\Windows\Input\Command\NavigationCommands.cs (70)
44
get { return _EnsureCommand(
CommandId
.BrowseBack); }
52
get { return _EnsureCommand(
CommandId
.BrowseForward); }
60
get { return _EnsureCommand(
CommandId
.BrowseHome); }
68
get { return _EnsureCommand(
CommandId
.BrowseStop); }
76
get { return _EnsureCommand(
CommandId
.Refresh); }
84
get { return _EnsureCommand(
CommandId
.Favorites); }
92
get { return _EnsureCommand(
CommandId
.Search); }
101
get { return _EnsureCommand(
CommandId
.IncreaseZoom); }
109
get { return _EnsureCommand(
CommandId
.DecreaseZoom); }
117
get { return _EnsureCommand(
CommandId
.Zoom); }
125
get {return _EnsureCommand(
CommandId
.NextPage);}
133
get {return _EnsureCommand(
CommandId
.PreviousPage);}
141
get {return _EnsureCommand(
CommandId
.FirstPage);}
149
get {return _EnsureCommand(
CommandId
.LastPage);}
157
get {return _EnsureCommand(
CommandId
.GoToPage);}
165
get { return _EnsureCommand(
CommandId
.NavigateJournal); }
178
private static string GetPropertyName(
CommandId
commandId)
184
case
CommandId
.BrowseBack: propertyName = "BrowseBack"; break;
185
case
CommandId
.BrowseForward: propertyName = "BrowseForward"; break;
186
case
CommandId
.BrowseHome: propertyName = "BrowseHome"; break;
187
case
CommandId
.BrowseStop: propertyName = "BrowseStop"; break;
188
case
CommandId
.Refresh: propertyName = "Refresh"; break;
189
case
CommandId
.Favorites: propertyName = "Favorites"; break;
190
case
CommandId
.Search: propertyName = "Search"; break;
191
case
CommandId
.IncreaseZoom: propertyName = "IncreaseZoom"; break;
192
case
CommandId
.DecreaseZoom: propertyName = "DecreaseZoom"; break;
193
case
CommandId
.Zoom: propertyName = "Zoom"; break;
194
case
CommandId
.NextPage: propertyName = "NextPage"; break;
195
case
CommandId
.PreviousPage: propertyName = "PreviousPage"; break;
196
case
CommandId
.FirstPage: propertyName = "FirstPage"; break;
197
case
CommandId
.LastPage: propertyName = "LastPage"; break;
198
case
CommandId
.GoToPage: propertyName = "GoToPage"; break;
199
case
CommandId
.NavigateJournal: propertyName = "NavigateJournal"; break;
208
switch ((
CommandId
)commandId)
210
case
CommandId
.BrowseBack: uiText = SR.BrowseBackText; break;
211
case
CommandId
.BrowseForward: uiText = SR.BrowseForwardText; break;
212
case
CommandId
.BrowseHome: uiText = SR.BrowseHomeText; break;
213
case
CommandId
.BrowseStop: uiText = SR.BrowseStopText; break;
214
case
CommandId
.Refresh: uiText = SR.RefreshText; break;
215
case
CommandId
.Favorites: uiText = SR.FavoritesText; break;
216
case
CommandId
.Search: uiText = SR.SearchText; break;
217
case
CommandId
.IncreaseZoom: uiText = SR.IncreaseZoomText; break;
218
case
CommandId
.DecreaseZoom: uiText = SR.DecreaseZoomText; break;
219
case
CommandId
.Zoom: uiText = SR.ZoomText; break;
220
case
CommandId
.NextPage: uiText = SR.NextPageText; break;
221
case
CommandId
.PreviousPage: uiText = SR.PreviousPageText; break;
222
case
CommandId
.FirstPage: uiText = SR.FirstPageText; break;
223
case
CommandId
.LastPage: uiText = SR.LastPageText; break;
224
case
CommandId
.GoToPage: uiText = SR.GoToPageText; break;
225
case
CommandId
.NavigateJournal: uiText = SR.NavigateJournalText; break;
235
switch ((
CommandId
)commandId)
237
case
CommandId
.BrowseBack:
243
case
CommandId
.BrowseForward:
249
case
CommandId
.BrowseHome:
255
case
CommandId
.BrowseStop:
261
case
CommandId
.Refresh:
267
case
CommandId
.Favorites:
273
case
CommandId
.Search:
279
case
CommandId
.IncreaseZoom:
285
case
CommandId
.DecreaseZoom:
291
case
CommandId
.Zoom:
297
case
CommandId
.NextPage:
303
case
CommandId
.PreviousPage:
309
case
CommandId
.FirstPage:
315
case
CommandId
.LastPage:
321
case
CommandId
.GoToPage:
327
case
CommandId
.NavigateJournal:
337
private static RoutedUICommand _EnsureCommand(
CommandId
idCommand)
339
if (idCommand >= 0 && idCommand <
CommandId
.Last)
388
private static RoutedUICommand[] _internalCommands = new RoutedUICommand[(int)
CommandId
.Last];