Skip to content

Need a BoolTransition #16935

Closed
Closed
@dbriard

Description

@dbriard

Is your feature request related to a problem? Please describe.

There is currently no BoolTransition in Avalonia.
I would need BoolTransition to animate the conten's IsVisible property for an Expander.
When the Expander is collapsing, I need to set IsVisible to True for the duration of the animation, then set it to False.

Describe the solution you'd like

I would like a BoolTransition class. It should be easy to implement as BoolAnimator already exist, but I cannot do it in my code as code is internal.

It is a step animation that ignore Easing (of course).

Describe alternatives you've considered

No response

Additional context

See more details in my discussion here #16923 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions