Class ScrollToHomeBehavior
Provides scrolling to home on getting focus for ScrollViewer.
Behavior<ScrollViewer>.AssociatedObject
Behavior.CreateInstanceCore()
Behavior.Detach()
Behavior.AssociatedType
Namespace: Sartorius.SAF.Presentation.Controls.Behaviors
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class ScrollToHomeBehavior : Behavior<ScrollViewer>, IAnimatable, IAttachedObject
Methods
View SourceOnAttached()
Called after the behavior is attached to an AssociatedObject.
Declaration
protected override void OnAttached()
Overrides
Microsoft.Xaml.Behaviors.Behavior.OnAttached()
Remarks
Override this to hook up functionality to the AssociatedObject.
OnDetaching()
Called when the behavior is being detached from its AssociatedObject, but before it has actually occurred.
Declaration
protected override void OnDetaching()
Overrides
Microsoft.Xaml.Behaviors.Behavior.OnDetaching()
Remarks
Override this to unhook functionality from the AssociatedObject.
Implements
Microsoft.Xaml.Behaviors.IAttachedObject