Skip to content

Update StorageRing.xaml - Replace Storyboard with VisualState Setters#18532

Open
mdtauk wants to merge 1 commit into
files-community:mainfrom
mdtauk:mdta-CQ-StorageRing
Open

Update StorageRing.xaml - Replace Storyboard with VisualState Setters#18532
mdtauk wants to merge 1 commit into
files-community:mainfrom
mdtauk:mdta-CQ-StorageRing

Conversation

@mdtauk
Copy link
Copy Markdown
Contributor

@mdtauk mdtauk commented May 30, 2026

Screen.Recording.2026-05-30.164526.mp4

Based on what we are seeing with the WinUI Perf2026 changes, I thought I would start by updating our StorageRing to use VisualStateSetters, instead of Storyboards.

This does not close or resolve any existing issues

Steps used to test these changes
I ran the UITests app and the control behaves the same as it did before.

If possible, @0x5bfa could make some kind of test to ensure there is nothing that has been overlooked. It should just be 1:1 behaviour though, and I suppose if Microsoft felt moving from storyboards offered a performance improvement, there may be some gains from this change.

Based on what we are seeing with the WinUI Perf2026 changes, I thought I would start by updating our StorageRing to use VisualStateSetters, instead of Storyboards.

I ran the UITests app and the control behaves the same as it did before.

If possible, @0x5bfa could make some kind of test to ensure there is nothing that has been overlooked. It should just be 1:1 behaviour though, and I suppose if Microsoft felt moving from storyboards offered a performance improvement, there may be some gains from this change.
Copy link
Copy Markdown
Member

@0x5bfa 0x5bfa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants