70 references to CommandId
PresentationCore (70)
System\Windows\Input\Command\NavigationCommands.cs (70)
29
get { return _EnsureCommand(
CommandId
.BrowseBack); }
37
get { return _EnsureCommand(
CommandId
.BrowseForward); }
45
get { return _EnsureCommand(
CommandId
.BrowseHome); }
53
get { return _EnsureCommand(
CommandId
.BrowseStop); }
61
get { return _EnsureCommand(
CommandId
.Refresh); }
69
get { return _EnsureCommand(
CommandId
.Favorites); }
77
get { return _EnsureCommand(
CommandId
.Search); }
86
get { return _EnsureCommand(
CommandId
.IncreaseZoom); }
94
get { return _EnsureCommand(
CommandId
.DecreaseZoom); }
102
get { return _EnsureCommand(
CommandId
.Zoom); }
110
get {return _EnsureCommand(
CommandId
.NextPage);}
118
get {return _EnsureCommand(
CommandId
.PreviousPage);}
126
get {return _EnsureCommand(
CommandId
.FirstPage);}
134
get {return _EnsureCommand(
CommandId
.LastPage);}
142
get {return _EnsureCommand(
CommandId
.GoToPage);}
150
get { return _EnsureCommand(
CommandId
.NavigateJournal); }
163
private static string GetPropertyName(
CommandId
commandId)
169
case
CommandId
.BrowseBack: propertyName = "BrowseBack"; break;
170
case
CommandId
.BrowseForward: propertyName = "BrowseForward"; break;
171
case
CommandId
.BrowseHome: propertyName = "BrowseHome"; break;
172
case
CommandId
.BrowseStop: propertyName = "BrowseStop"; break;
173
case
CommandId
.Refresh: propertyName = "Refresh"; break;
174
case
CommandId
.Favorites: propertyName = "Favorites"; break;
175
case
CommandId
.Search: propertyName = "Search"; break;
176
case
CommandId
.IncreaseZoom: propertyName = "IncreaseZoom"; break;
177
case
CommandId
.DecreaseZoom: propertyName = "DecreaseZoom"; break;
178
case
CommandId
.Zoom: propertyName = "Zoom"; break;
179
case
CommandId
.NextPage: propertyName = "NextPage"; break;
180
case
CommandId
.PreviousPage: propertyName = "PreviousPage"; break;
181
case
CommandId
.FirstPage: propertyName = "FirstPage"; break;
182
case
CommandId
.LastPage: propertyName = "LastPage"; break;
183
case
CommandId
.GoToPage: propertyName = "GoToPage"; break;
184
case
CommandId
.NavigateJournal: propertyName = "NavigateJournal"; break;
193
switch ((
CommandId
)commandId)
195
case
CommandId
.BrowseBack: uiText = SR.BrowseBackText; break;
196
case
CommandId
.BrowseForward: uiText = SR.BrowseForwardText; break;
197
case
CommandId
.BrowseHome: uiText = SR.BrowseHomeText; break;
198
case
CommandId
.BrowseStop: uiText = SR.BrowseStopText; break;
199
case
CommandId
.Refresh: uiText = SR.RefreshText; break;
200
case
CommandId
.Favorites: uiText = SR.FavoritesText; break;
201
case
CommandId
.Search: uiText = SR.SearchText; break;
202
case
CommandId
.IncreaseZoom: uiText = SR.IncreaseZoomText; break;
203
case
CommandId
.DecreaseZoom: uiText = SR.DecreaseZoomText; break;
204
case
CommandId
.Zoom: uiText = SR.ZoomText; break;
205
case
CommandId
.NextPage: uiText = SR.NextPageText; break;
206
case
CommandId
.PreviousPage: uiText = SR.PreviousPageText; break;
207
case
CommandId
.FirstPage: uiText = SR.FirstPageText; break;
208
case
CommandId
.LastPage: uiText = SR.LastPageText; break;
209
case
CommandId
.GoToPage: uiText = SR.GoToPageText; break;
210
case
CommandId
.NavigateJournal: uiText = SR.NavigateJournalText; break;
220
switch ((
CommandId
)commandId)
222
case
CommandId
.BrowseBack:
228
case
CommandId
.BrowseForward:
234
case
CommandId
.BrowseHome:
240
case
CommandId
.BrowseStop:
246
case
CommandId
.Refresh:
252
case
CommandId
.Favorites:
258
case
CommandId
.Search:
264
case
CommandId
.IncreaseZoom:
270
case
CommandId
.DecreaseZoom:
276
case
CommandId
.Zoom:
282
case
CommandId
.NextPage:
288
case
CommandId
.PreviousPage:
294
case
CommandId
.FirstPage:
300
case
CommandId
.LastPage:
306
case
CommandId
.GoToPage:
312
case
CommandId
.NavigateJournal:
322
private static RoutedUICommand _EnsureCommand(
CommandId
idCommand)
324
if (idCommand >= 0 && idCommand <
CommandId
.Last)
373
private static RoutedUICommand[] _internalCommands = new RoutedUICommand[(int)
CommandId
.Last];