This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<ContentPage > | |
<VerticalStackLayout> | |
<Label Text="Medium Bold Label" StyleClass="Small, Bold"/> | |
<Label Text="Medium Normal Label" StyleClass="Medium, Normal"/> | |
<Label Text="Small Bold Label" StyleClass="Small, Bold"/> | |
<Label Text="Small Normal Label" StyleClass="Small, Normal"/> | |
</VerticalStackLayout> | |
</ContentPage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ResourceDictionary xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"> | |
<Style TargetType="Label" Class="Small"> | |
<Setter Property="FontSize" Value="14" /> | |
</Style> | |
<Style TargetType="Label" Class="Medium"> | |
<Setter Property="FontSize" Value="16" /> | |
</Style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ResourceDictionary xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"> | |
<Style TargetType="Label" Class="Small"> | |
<Setter Property="FontSize" Value="14" /> | |
</Style> | |
<Style TargetType="Label" Class="Medium"> | |
<Setter Property="FontSize" Value="16" /> | |
</Style> | |
</ResourceDictionary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<ContentPage> | |
<VerticalStackLayout> | |
<Label Text="Medium Bold Label" Style="{StaticResource MediumBoldLabel}"/> | |
<Label Text="Medium Normal Label" Style="{StaticResource MediumNormalLabel}"/> | |
<Label Text="Small Bold Label" Style="{StaticResource SmallBoldLabel}"/> | |
<Label Text="Small Normal Label" Style="{StaticResource SmallNormalLabel}"/> | |
</VerticalStackLayout> | |
</ContentPage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ResourceDictionary xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"> | |
<Style TargetType="Label" x:Key="SmallLabel"> | |
<Setter Property="FontSize" Value="14" /> | |
</Style> | |
<Style TargetType="Label" x:Key="MediumLabel"> | |
<Setter Property="FontSize" Value="16" /> | |
</Style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ResourceDictionary xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"> | |
<Style TargetType="Label" x:Key="SmallLabel"> | |
<Setter Property="FontSize" Value="14" /> | |
</Style> | |
<Style TargetType="Label" x:Key="MediumLabel"> | |
<Setter Property="FontSize" Value="16" /> | |
</Style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Runtime.CompilerServices; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Xaml; | |
namespace SalesHub.Framework.Localization | |
{ | |
[ContentProperty("Text")] | |
public class LocalizerTranslateExtension : BindableObject, IMarkupExtension<BindingBase> | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ContentProperty("Text")] | |
public class TranslateExtension : IMarkupExtension<bindingbase> | |
{ | |
public string Text { get; set; } | |
object IMarkupExtension.ProvideValue(IServiceProvider serviceProvider, ILocalizer localizer) | |
{ | |
return ProvideValue(serviceProvider, localizer); | |
} | |
public BindingBase ProvideValue(IServiceProvider serviceProvider, ILocalizer localizer) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<view:BaseProductEntryCardView xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
x:Class="SalesHub.Framework.Components.Products.ProductEntryTruckLoadForecastCardView" | |
xmlns:view="clr-namespace:SalesHub.Framework.Components.Products" | |
VerticalOptions="Start" | |
xmlns:forms="clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms"> | |
<ContentView.ControlTemplate> | |
<ControlTemplate x:Key="Page"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<local:BaseQuickTourPage | |
xmlns:local="clr-namespace:QuickTourXFSample.Views.QuickTourSteps" | |
xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:Controls="clr-namespace:QuickTourXFSample.Controls" | |
x:Class="QuickTourXFSample.Views.QuickTourSteps.QuickTourStep3PopUp" > | |
<StackLayout Padding="10,130,10,0"> | |
<Controls:AnimatedView> | |
<Frame HorizontalOptions="FillAndExpand" |
NewerOlder