Skip to content

Commit 05584cc

Browse files
authored
Update IconElementPage.xaml revert change Wrong branch
1 parent 5e14b24 commit 05584cc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

source/iNKORE.UI.WPF.Modern.Gallery/Pages/Controls/Windows/IconElementPage.xaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,8 @@
9898
Style="{DynamicResource BodyTextBlockStyle}"
9999
Text="To use a SymbolIcon as the icon for a control, you specify the enum value for the glyph you would like to display. SymbolIcon's enum is based off of icons from the Segoe MDL2 font used by Windows 10." />
100100
<Button Name="AcceptButton">
101-
<StackPanel>
102-
<ui:SymbolIcon Symbol="Accept" />
103-
<TextBlock Text="Accept" />
104-
</StackPanel>
101+
<ui:IconAndText Content="Confirm"
102+
Icon="{x:Static ui:SegoeFluentIcons.Accept}"/>
105103
</Button>
106104
</StackPanel>
107105
</local:ControlExample.Example>

0 commit comments

Comments
 (0)