User Tools

Site Tools


notes:uwp:buttons

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
notes:uwp:buttons [2017/01/10]
admin [ToggleSwitch]
notes:uwp:buttons [2019/01/05]
leszek [RadioButton]
Line 91: Line 91:
 </​code>​ </​code>​
  
 +Example: //​RadioButtons//​ with content:
 +
 +{{uwp_RadioButton1.png}}
 +
 +<code xml>
 +<​StackPanel>​
 +    <​RadioButton GroupName="​Group1">​
 +        <​StackPanel Orientation="​Horizontal">​
 +            <​SymbolIcon Symbol="​Mail"​ />
 +            <​TextBlock Text="​Mail"​ Margin="​8,​0,​0,​0"​ />
 +        </​StackPanel>​
 +    </​RadioButton>​
 +    <​RadioButton GroupName="​Group1">​
 +        <​StackPanel Orientation="​Horizontal">​
 +            <​SymbolIcon Symbol="​Clock"​ />
 +            <​TextBlock Text="​Clock"​ Margin="​8,​0,​0,​0"​ />
 +        </​StackPanel>​
 +    </​RadioButton>​
 +    <​RadioButton GroupName="​Group1">​
 +        <​StackPanel Orientation="​Horizontal">​
 +            <​SymbolIcon Symbol="​Emoji2"​ />
 +            <​TextBlock Text="​Emoji2"​ Margin="​8,​0,​0,​0"​ />
 +        </​StackPanel>​
 +    </​RadioButton>​
 +</​StackPanel>​
 +</​code>​
 +
 +Another types of icon elements:
 +
 +  * //​FontIcon//:​ The icon is based on a glyph from the specified font family. ​
 +  * //​BitmapIcon//:​ The icon is based on a bitmap image file with the specified URI.
 +  * //​PathIcon//:​ The icon is based on Path data.
 +  * //​SymbolIcon//:​ The icon is based on a glyph from the Segoe MDL2 Assets font as listed in the Symbol enumeration.
  
 ====ToggleSwitch==== ====ToggleSwitch====
notes/uwp/buttons.txt ยท Last modified: 2019/01/05 by leszek