Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 2.37 KB

listviewbase_headertransitions.md

File metadata and controls

44 lines (33 loc) · 2.37 KB
-api-id -api-type
P:Microsoft.UI.Xaml.Controls.ListViewBase.HeaderTransitions
winrt property

Microsoft.UI.Xaml.Controls.ListViewBase.HeaderTransitions

-description

Gets or sets the collection of Transition style elements that apply to the view header.

-xaml-syntax

<listViewBase>
  <listViewBase.HeaderTransitions>
    <TransitionCollection>
      oneOrMoreTransitions
    </TransitionCollection>
  </listViewBase.HeaderTransitions>
</listViewBase>

-xaml-values

oneOrMoreTransitions
oneOrMoreTransitionsOne or more object elements instantiating types that are derived from the Transition base type. Typically there is only one of each type of transition included in the collection.
## -property-value The collection of [Transition](../microsoft.ui.xaml.media.animation/transition.md) style elements that apply to the list header.

-remarks

Note

Prior to Windows 10, version 1809 (SDK 17763), the XAML syntax for properties that have a TransitionCollection value requires that you declare an explicit TransitionCollection object element as the value, and then provide object elements as child elements of TransitionCollection for each of the transition animations you want to use. In Windows 10, version 1809 (SDK 17763) or later, TransitionCollection supports the implicit collection usage, so you can omit the collection object element. For more info on implicit collections and XAML, see XAML syntax guide.

Transition animations play a particular role in the UI design of your app. The basic idea is that when there is a change or transition, the animation draws the attention of the user to the change.

-examples

-see-also

Header, HeaderTemplate, TransitionCollection