Skip to content

Commit 5f0d875

Browse files
committed
Show palette color in a ToolTip
1 parent 21aea6f commit 5f0d875

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Microsoft.Toolkit.Uwp.UI.Controls/ColorPicker/ColorPicker.xaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@
165165
<DataTemplate>
166166
<Border HorizontalAlignment="Stretch"
167167
VerticalAlignment="Stretch"
168-
AutomationProperties.Name="{Binding Converter={StaticResource ColorToDisplayNameConverter}}">
168+
AutomationProperties.Name="{Binding Converter={StaticResource ColorToDisplayNameConverter}}"
169+
ToolTipService.ToolTip="{Binding Converter={StaticResource ColorToDisplayNameConverter}}">
169170
<Border.Background>
170171
<SolidColorBrush Color="{Binding}" />
171172
</Border.Background>

0 commit comments

Comments
 (0)