我有这个;
<AppBarToggleButton Label="" >
<AppBarToggleButton.Icon>
<FontIcon FontFamily="Segoe MDL2 Assets" Glyph="" />
</AppBarToggleButton.Icon>
</AppBarToggleButton>
它工作得很好,但我需要添加另一个重叠的glyp。<FontIcon FontFamily="Segoe MDL2 Assets" Glyph="" />
我试图添加2个Glipps,但出现了一个错误。
<AppBarToggleButton Label="" >
<AppBarToggleButton.Icon>
<FontIcon FontFamily="Segoe MDL2 Assets" Glyph="" />
<FontIcon FontFamily="Segoe MDL2 Assets" Glyph="" />
</AppBarToggleButton.Icon>
</AppBarToggleButton>
有办法做到吗?
是的,有:
<AppBarToggleButton Label="" >
<AppBarToggleButton.Content>
<Grid>
<FontIcon FontFamily="Segoe MDL2 Assets" Glyph="" />
<FontIcon FontFamily="Segoe MDL2 Assets" Glyph="" />
</Grid>
</AppBarToggleButton.Content>
</AppBarToggleButton>