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