Jump to: navigation, search

Changes


Icon Font

86 bytes added, 08:48, 3 October 2019
The two below examples show how one might use both methods to create a User symbol.
{{Attention|Notice that both of the examples make use of the <codeI>ctrls</I> namespace, and will not work unless the following namespace is declared in the XAML; <br>xmlns:controls="clr-namespace:UBIK.CPL.Controls;assembly=UBIK.CPL"</code> namespace, and will not work unless this namespace is declared in the XAML.}}
<br>
====In-AppName Usage:====
In the below example, <code>Glyph="{x:Static resources:UBIKIcons.User}"</code> is used to call the <I>User</I> symbol.
<syntaxhighlight lang="xml">
<ctrlscontrols:GlyphLabel Glyph="{x:Static resources:UBIKIcons.User}" PrimaryColor HorizontalOptions="{DynamicResource UBIKLightThemeColor}Center" SecondaryColor PrimaryColor="{DynamicResource UBIKDarkThemeColorUBIKLightTextColor}" Style="{DynamicResource UBIKSymbolLabelHeaderSymbolStyle}" VerticalOptions="Center" />
</syntaxhighlight>
<syntaxhighlight lang="xml">
<ctrlscontrols:GlyphLabel Glyph="&#x22;" PrimaryColorHorizontalOptions="{DynamicResource UBIKLightThemeColor}Center" />
</syntaxhighlight>
487
edits