When expanding or collapsing categories or properties, the animation is very slowly.How can I change?
When expanding or collapsing categories or properties, the animation is very slowly.How can I change?
Hello,
It runs at a decent speed when we run it. This is part of what is in the template for PropertyGridDataAccessorItem:
<shared:AnimatedExpanderDecorator x:Name="expander" IsExpanded="{TemplateBinding IsExpanded}"
CollapseDuration="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(themes:ExpanderThemeProperties.CollapseDuration)}"
ExpandDuration="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(themes:ExpanderThemeProperties.ExpandDuration)}">
<ItemsPresenter />
</shared:AnimatedExpanderDecorator>
I believe you could probably make an implicit style in your app.Resources that targets PropertyGridDataAccessorItem and sets the attached properties for CollapseDuration and ExpandDuration to something small. That should affect duration.
Please log in to a validated account to post comments.