Skip to main content

Posts

Showing posts with the label UWP Font

UWP - Segoe MDL2 Assets programmatically

MainPage.xaml <Page x:Class="UniversalAppTutorials.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:UniversalAppTutorials" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" > <StackPanel Orientation="Vertical" Background="AliceBlue" Padding="50"> <TextBlock x:Name="TextBlock1" /> <TextBlock x:Name="TextBlock2" /> <TextBlock x:Name="TextBlock3" /> </StackPanel> </Page> MainPage.xaml.cs using Windows.UI.Xaml.Controls; using Windows.UI.Xaml; using Windows.UI.Xaml.Media; using...

UWP - Segoe MDL2 Assets font example

MainPage.xaml <Page x:Class="UniversalAppTutorials.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:UniversalAppTutorials" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" > <StackPanel Orientation="Vertical" Background="AliceBlue" Padding="50"> <TextBlock FontFamily="Segoe MDL2 Assets" Text="&#xE133;" AutomationProperties.Name="CheckList" Margin="25" /> <TextBlock FontFamily="Segoe MDL2 Assets" Text="&#xE707;" AutomationProperties.Name="Mappi...