Language
Edit

QuickReturnHeaderBehavior Class

Definition

Performs an animation on a ListView or GridView Header to make it quick return using composition.

public class QuickReturnHeaderBehavior : Microsoft.Toolkit.Uwp.UI.Behaviors.BehaviorBase<Windows.UI.Xaml.FrameworkElement>
type QuickReturnHeaderBehavior = class
    inherit BehaviorBase<FrameworkElement>
Public Class QuickReturnHeaderBehavior
Inherits BehaviorBase(Of FrameworkElement)
Inheritance
Microsoft.Xaml.Interactivity.Behavior<T>
BehaviorBase<Windows.UI.Xaml.FrameworkElement>
QuickReturnHeaderBehavior

Constructors

Name Description
QuickReturnHeaderBehavior()

Fields

Name Description
HeaderElementProperty

The UIElement that will be faded.

Properties

Name Description
HeaderElement

Gets or sets the target element for the ScrollHeader behavior.

IsAttached

Gets a value indicating whether this behavior is attached.

(Inherited from BehaviorBase<T>)

Methods

Name Description
Initialize()

Attaches the behavior to the associated object.

OnAssociatedObjectLoaded()

Called when the associated object has been loaded.

(Inherited from BehaviorBase<T>)
OnAssociatedObjectUnloaded()

Called when the associated object has been unloaded.

(Inherited from BehaviorBase<T>)
OnAttached()

Called after the behavior is attached to the Microsoft.Xaml.Interactivity.Behavior.AssociatedObject.

(Inherited from BehaviorBase<T>)
OnDetaching()

Called when the behavior is being detached from its Microsoft.Xaml.Interactivity.Behavior.AssociatedObject.

(Inherited from BehaviorBase<T>)
Show()

Show the header

Uninitialize()

Detaches the behavior from the associated object.

Applies to