Skip to content

Conversation

@AndrewKeepCoding
Copy link
Contributor

Fixes #305

Adds a resource to override the BackgroundTransition to avoid conflicts with the VisualState changes when SegmentedItem doesn't use the default Background.

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

What is the new behavior?

PR Checklist

Please check if your PR fulfills the following requirements:

  • Created a feature/dev branch in your fork (vs. submitting directly from a commit on main)
  • Based off latest main branch of toolkit
  • Tested code with current supported SDKs
  • New component
    • Documentation has been added
    • Sample in sample app has been added
    • Analyzers are passing for documentation and samples
    • Icon has been created (if new sample) following the Thumbnail Style Guide and templates
  • Tests for the changes have been added (if applicable)
  • Header has been added to all new source files
  • Contains NO breaking changes

Other information

@niels9001
Copy link
Collaborator

Great catch! Do you have a small screencapture of the new effect?

@AndrewKeepCoding
Copy link
Contributor Author

Great catch! Do you have a small screencapture of the new effect?

<Page.Resources>
    <win:BrushTransition x:Key="SegmentedItemBackgroundBrushTransition" Duration="0:0:0.000" />
</Page.Resources>
Recording.2026-01-06.222436.mp4

@Arlodotexe Arlodotexe added the components::controls::segmented A common UI control to configure a view or setting. label Jan 7, 2026
@Arlodotexe Arlodotexe added the enhancement New feature or request label Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

components::controls::segmented A common UI control to configure a view or setting. enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Segmented Control Items Color Animation Issue

3 participants