Describe the bug
If the SegmentedItems have a background set. When the cursor goes from one item to another, they flash different gradients. I'm assuming there is a PointerExit/Enter and a hidden border that's causing it.
Steps to reproduce
Example XAML
<controls:Segmented
Margin="0,40,0,0" HorizontalAlignment="Center" VerticalAlignment="Top"
Style="{StaticResource ButtonSegmentedStyle}"
BorderThickness="0" BorderBrush="{ThemeResource CardStrokeColorDefault}"
SelectedIndex="0" SelectionMode="Single" >
<controls:SegmentedItem Content="Button1" Width="120" Height="32" Padding="16,2,16,4" IsTabStop="False" Background="{ThemeResource SystemFillColorSuccessBackground}" Margin="0,0,4,0" />
<controls:SegmentedItem Content="Button2" Width="120" Height="32" Padding="16,2,16,4" IsTabStop="False" Background="{ThemeResource SystemFillColorSuccessBackground}" Margin="0,0,4,0" />
<controls:SegmentedItem Content="Button3" Width="120" Height="32" Padding="16,2,16,4" IsTabStop="False" Background="{ThemeResource SystemFillColorSuccessBackground}" Margin="0,0,4,0" />
</controls:Segmented>
Expected behavior
The controls should behave the same regardless of any background they have.
Screenshots
The "flashing" is not possible to capture in a screenshot
Code Platform
Windows Build Number
Other Windows Build number
No response
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
Preview
Visual Studio Build Number
Version 17.9.0 Preview 2.0
Device form factor
Desktop
Additional context
No response
Help us help you
No, I'm unable to contribute a solution.
Describe the bug
If the SegmentedItems have a background set. When the cursor goes from one item to another, they flash different gradients. I'm assuming there is a PointerExit/Enter and a hidden border that's causing it.
Steps to reproduce
Expected behavior
The controls should behave the same regardless of any background they have.
Screenshots
The "flashing" is not possible to capture in a screenshot
Code Platform
Windows Build Number
Other Windows Build number
No response
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
Preview
Visual Studio Build Number
Version 17.9.0 Preview 2.0
Device form factor
Desktop
Additional context
No response
Help us help you
No, I'm unable to contribute a solution.