File tree Expand file tree Collapse file tree
WinUIGallery/ControlPages Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9999
100100 <local : ControlExample x : Name =" Example3" HeaderText =" Placing an InfoBadge Inside Another Control" HorizontalContentAlignment =" Stretch" >
101101 <local : ControlExample .Example>
102- <Button Padding =" 0" Width =" 200" Height =" 60" HorizontalAlignment =" Center" HorizontalContentAlignment =" Stretch" VerticalContentAlignment =" Stretch" >
102+ <Button Padding =" 0" Width =" 200" Height =" 60" ToolTipService.ToolTip=" Refresh required"
103+ HorizontalAlignment =" Center" HorizontalContentAlignment =" Stretch" VerticalContentAlignment =" Stretch" >
103104 <Grid HorizontalAlignment =" Stretch" VerticalAlignment =" Stretch" Width =" Auto" Height =" Auto" >
104105 <SymbolIcon Symbol =" Sync" HorizontalAlignment =" Center" />
105106 <InfoBadge Background =" #C42B1C" HorizontalAlignment =" Right" VerticalAlignment =" Top" >
106107 <InfoBadge .IconSource>
107- <FontIconSource FontFamily =" {StaticResource SymbolThemeFontFamily}" Glyph ="  " />
108+ <FontIconSource FontFamily =" {StaticResource SymbolThemeFontFamily}" Glyph ="  " />
108109 </InfoBadge .IconSource>
109110 </InfoBadge >
110111 </Grid >
114115
115116 <local : ControlExample .Xaml>
116117 <x : String xml : space =" preserve" >
117- < Button Padding="0" Width="200" Height="60" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch">
118+ < Button Padding="0" Width="200" Height="60" ToolTipService.ToolTip="Refresh required"
119+ HorizontalAlignment="Center" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch">
118120 < Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto">
119121 < SymbolIcon Symbol="Sync" HorizontalAlignment="Center"/>
120122 < InfoBadge Background="#C42B1C" HorizontalAlignment="Right" VerticalAlignment="Top">
121123 < InfoBadge.IconSource>
122- < FontIconSource FontFamily={StaticResource SymbolThemeFontFamily} Glyph=" " />
124+ < FontIconSource FontFamily=" {StaticResource SymbolThemeFontFamily}" Glyph=" " />
123125 < /InfoBadge.IconSource>
124126 < /InfoBadge>
125127 < /Grid>
You can’t perform that action at this time.
0 commit comments