nmetulev / comet

Universal Windows Platform (UWP) toolkit library. Contains controls for creating great user experiences for Universal Windows Applications
MIT License
59 stars 12 forks source link

Can not set ItemContainerTransitions #9

Closed h82258652 closed 8 years ago

h82258652 commented 8 years ago
<comet:PullToRefreshListView>
    <comet:PullToRefreshListView.ItemContainerTransitions>
        <EntranceThemeTransition IsStaggeringEnabled="True"
                                                    FromVerticalOffset="30"
                                                    FromHorizontalOffset="0"></EntranceThemeTransition>
    </comet:PullToRefreshListView.ItemContainerTransitions>
</comet:PullToRefreshListView>

I use this code, but the debugger break down. Sorry for my english, my mother language is not english.

nmetulev commented 8 years ago

Hey h82258652, it looks like this is a complication in xaml, according to this msdn forum post. Try wrapping EntranceThemeTransition in TransitionCollection.

h82258652 commented 8 years ago

Oh, thanks. It works now.^-^