Skip to content

feature(controls): Make Durations customizable#1679

Open
dkuaf wants to merge 3 commits intolepoco:mainfrom
dkuaf:feature/transitions
Open

feature(controls): Make Durations customizable#1679
dkuaf wants to merge 3 commits intolepoco:mainfrom
dkuaf:feature/transitions

Conversation

@dkuaf
Copy link
Copy Markdown
Contributor

@dkuaf dkuaf commented Apr 2, 2026

Durations on Animations are freezable, this pull request provides a way to make Durations customizable.

Pull request type

Please check the type of change your PR introduces:

  • Update
  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes

What is the current behavior?

Durations on Animation has hard coded values for all controls

Issue Number: #1586
fixes #1586

What is the new behavior?

Durations can be of three types: SlowDuration, NormalDuration and FastDuration. These can all be set when merging ControlsDictionary. Defaults to previous hardcoded values (no breaking change)

<ui:ControlsDictionary SlowDuration="0:0:0.0" NormalDuration="0:0:0.0" FastDuration="0:0:0.0" />

Other information

@dkuaf dkuaf requested a review from pomianowski as a code owner April 2, 2026 11:51
@github-actions github-actions bot added controls Changes to the appearance or logic of custom controls. styles Topic is related to styles PR Pull request navigation Changes to navigation related controls. dotnet release labels Apr 2, 2026
@dkuaf dkuaf changed the title Make Durations customizable feature(controls): Make Durations customizable Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

controls Changes to the appearance or logic of custom controls. dotnet navigation Changes to navigation related controls. PR Pull request release styles Topic is related to styles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a new ResourceDictionary for Variables

1 participant