Class ScrollViewerScrollToCommandBase
- Namespace
- H.Extensions.Command.ScrollViewers
- Assembly
- H.Extensions.Command.dll
public abstract class ScrollViewerScrollToCommandBase : DisplayMarkupCommandBase, ICommand, INotifyPropertyChanged, IIconable, INameable, IDescriptionable
- Inheritance
-
ScrollViewerScrollToCommandBase
- Implements
- Derived
- Inherited Members
- Extension Methods
Methods
CanExecute(object)
Defines the method that determines whether the command can execute in its current state.
public override bool CanExecute(object parameter)
Parameters
parameter
objectData used by the command. If the command does not require data to be passed, this object can be set to null.
Returns
CanInvoke(ScrollViewer)
protected abstract bool CanInvoke(ScrollViewer scrollViewer)
Parameters
scrollViewer
ScrollViewer
Returns
Execute(object)
Defines the method to be called when the command is invoked.
public override void Execute(object parameter)
Parameters
parameter
objectData used by the command. If the command does not require data to be passed, this object can be set to null.
GetScrollViewer(object)
protected ScrollViewer GetScrollViewer(object parameter)
Parameters
parameter
object
Returns
Invoke(ScrollViewer)
protected abstract void Invoke(ScrollViewer scrollViewer)
Parameters
scrollViewer
ScrollViewer