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