StickyHeaderBehavior Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs an animation on a ListView or GridView Header to make it sticky using composition.
public class StickyHeaderBehavior : Microsoft.Toolkit.Uwp.UI.Behaviors.BehaviorBase<Windows.UI.Xaml.FrameworkElement>
type StickyHeaderBehavior = class
inherit BehaviorBase<FrameworkElement>
Public Class StickyHeaderBehavior
Inherits BehaviorBase(Of FrameworkElement)
- Inheritance
-
Microsoft.Xaml.Interactivity.Behavior<T>BehaviorBase<Windows.UI.Xaml.FrameworkElement>StickyHeaderBehavior
Constructors
StickyHeaderBehavior() |
Fields
HeaderElementProperty |
The UIElement that will be faded. |
Properties
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
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. |