Skip to content

Commit 5e14b24

Browse files
authored
Update IconElementPage.xaml Example6 to more inline With WInUI3 Gallery Change
1 parent 6c0ef1b commit 5e14b24

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<ui:Page
1+
<ui:Page
22
x:Class="iNKORE.UI.WPF.Modern.Gallery.Pages.Controls.Windows.IconElementPage"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -98,8 +98,10 @@
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-
<ui:IconAndText Content="Confirm"
102-
Icon="{x:Static ui:SegoeFluentIcons.Accept}"/>
101+
<StackPanel>
102+
<ui:SymbolIcon Symbol="Accept" />
103+
<TextBlock Text="Accept" />
104+
</StackPanel>
103105
</Button>
104106
</StackPanel>
105107
</local:ControlExample.Example>

0 commit comments

Comments
 (0)