Language
Edit

FadeHeaderBehavior Class

Definition

Performs an fade animation on a ListView or GridView Header using composition.

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

Constructors

Name Description
FadeHeaderBehavior()

Fields

Name Description
HeaderElementProperty

The UIElement that will be faded.

Properties

Name Description
HeaderElement

Gets or sets the target element for the Fading 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>)
Uninitialize()

Detaches the behavior from the associated object.

Applies to