7 references to ScrollToTopCommand
PresentationFramework (7)
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (3)
519
else if (args.Command == ScrollBar.
ScrollToTopCommand
)
711
CommandHelpers.RegisterCommandHandler(typeof(ScrollBar), ScrollBar.
ScrollToTopCommand
, onScrollCommand, onQueryScrollCommand, new KeyGesture(Key.Home, ModifierKeys.Control));
851
verticalContextMenu.Items.Add(CreateMenuItem(SRID.ScrollBar_ContextMenu_Top, "Top", ScrollBar.
ScrollToTopCommand
));
src\Framework\System\Windows\Controls\ScrollViewer.cs (2)
2599
else if (args.Command == ScrollBar.
ScrollToTopCommand
)
2688
CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.
ScrollToTopCommand
, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
src\Framework\System\Windows\Navigation\NavigationService.cs (2)
419
if (ScrollBar.
ScrollToTopCommand
.CanExecute(null, elem))
421
ScrollBar.
ScrollToTopCommand
.Execute(null, elem);