New version of Progress Telerik UI for Xamarin SDK examples.

This commit is contained in:
GitTask 2021-05-12 17:38:33 +03:00
Родитель 8c01ff54ed
Коммит 1c1602a2af
65 изменённых файлов: 1855 добавлений и 16 удалений

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 265 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 202 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 230 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 222 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 256 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 259 B

Просмотреть файл

@ -443,6 +443,12 @@
<AndroidResource Include="Resources\drawable-hdpi\RichTextEditor.png" />
<AndroidResource Include="Resources\drawable-xhdpi\RichTextEditor.png" />
<AndroidResource Include="Resources\drawable-xxhdpi\RichTextEditor.png" />
<AndroidResource Include="Resources\drawable-hdpi\Shadow.png" />
<AndroidResource Include="Resources\drawable-xhdpi\Shadow.png" />
<AndroidResource Include="Resources\drawable-xxhdpi\Shadow.png" />
<AndroidResource Include="Resources\drawable-hdpi\Badge.png" />
<AndroidResource Include="Resources\drawable-xhdpi\Badge.png" />
<AndroidResource Include="Resources\drawable-xxhdpi\Badge.png" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable\image.png" />
@ -481,7 +487,7 @@
<PackageReference Include="Xamarin.AndroidX.RecyclerView">
<Version>1.1.0.1</Version>
</PackageReference>
<PackageReference Include="Xamarin.Forms" Version="4.8.0.1269" />
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2012" />
<PackageReference Include="Xamarin.Essentials" Version="1.5.3.2" />
<PackageReference Include="Xamarin.Google.Android.Material">
<Version>1.0.0.1</Version>

Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.UWP/Assets/Badge.scale-100.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 168 B

Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.UWP/Assets/Badge.scale-125.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 287 B

Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.UWP/Assets/Badge.scale-150.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 265 B

Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.UWP/Assets/Badge.scale-200.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 230 B

Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.UWP/Assets/Badge.scale-400.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 353 B

Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.UWP/Assets/Shadow.scale-125.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 202 B

Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.UWP/Assets/Shadow.scale-150.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 202 B

Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.UWP/Assets/Shadow.scale-200.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 222 B

Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.UWP/Assets/Shadow.scale-400.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 354 B

Просмотреть файл

@ -108,6 +108,11 @@
<Content Include="Assets\AutoCompleteView.scale-150.png" />
<Content Include="Assets\AutoCompleteView.scale-200.png" />
<Content Include="Assets\AutoCompleteView.scale-400.png" />
<Content Include="Assets\Badge.scale-100.png" />
<Content Include="Assets\Badge.scale-125.png" />
<Content Include="Assets\Badge.scale-150.png" />
<Content Include="Assets\Badge.scale-200.png" />
<Content Include="Assets\Badge.scale-400.png" />
<Content Include="Assets\Barcode.scale-100.png" />
<Content Include="Assets\Barcode.scale-150.png" />
<Content Include="Assets\Barcode.scale-200.png" />
@ -198,6 +203,10 @@
<Content Include="Assets\Fonts\seguisb.ttf" />
<Content Include="Assets\Fonts\seguisbi.ttf" />
<Content Include="Assets\Fonts\seguisli.ttf" />
<Content Include="Assets\Shadow.scale-125.png" />
<Content Include="Assets\Shadow.scale-150.png" />
<Content Include="Assets\Shadow.scale-200.png" />
<Content Include="Assets\Shadow.scale-400.png" />
<Content Include="Assets\TemplatedPicker.scale-100.png" />
<Content Include="Assets\TemplatedPicker.scale-125.png" />
<Content Include="Assets\TemplatedPicker.scale-150.png" />
@ -584,7 +593,7 @@
<Version>3.1.1</Version>
</PackageReference>
<PackageReference Include="Xamarin.Forms">
<Version>4.8.0.1269</Version>
<Version>5.0.0.2012</Version>
</PackageReference>
</ItemGroup>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">

Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.iOS/Resources/Badge.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 168 B

Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.iOS/Resources/Badge@1,5x.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 265 B

Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.iOS/Resources/Badge@2x.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 230 B

Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.iOS/Resources/Badge@3x.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 256 B

Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.iOS/Resources/Shadow.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 202 B

Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.iOS/Resources/Shadow@1,5x.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 202 B

Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.iOS/Resources/Shadow@2x.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 222 B

Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.iOS/Resources/Shadow@3x.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 259 B

Просмотреть файл

@ -636,10 +636,10 @@
<Version>1.5.3.2</Version>
</PackageReference>
<PackageReference Include="Xamarin.Forms">
<Version>4.8.0.1269</Version>
<Version>5.0.0.2012</Version>
</PackageReference>
<PackageReference Include="Xamarin.TestCloud.Agent">
<Version>0.21.9</Version>
<Version>0.22.2</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
@ -666,6 +666,30 @@
<ItemGroup>
<BundleResource Include="Resources\RichTextEditor%403x.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\Shadow%401,5x.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\Shadow%402x.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\Shadow%403x.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\Shadow.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\Badge.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\Badge%401,5x.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\Badge%402x.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\Badge%403x.png" />
</ItemGroup>
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>

Просмотреть файл

@ -42,7 +42,7 @@
<x:String x:Key="ExpandedIconText">&#xE80D;</x:String>
<x:String x:Key="CollapsedIconText">&#xE806;</x:String>
<x:String x:Key="HyperlinkIconText">&#xF08E;</x:String>
<x:String x:Key="CheckIconText">&#xE909;</x:String>
<x:String x:Key="CheckIconText">&#xE809;</x:String>
<x:String x:Key="CancelIconText">&#xE809A;</x:String>
<telerikCommon:InvertedBooleanConverter x:Key="InvertedBooleanConverter" />

Просмотреть файл

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
x:Class="SDKBrowser.Examples.BadgeViewControl.FeaturesCategory.BadgeAlignPositionExample.BadgeAlignPosition">
<StackLayout>
<!-- >> badgeview-align-position-offset -->
<telerikPrimitives:RadBadgeView BadgeText="Add"
BadgeFontSize="Medium"
BadgeHorizontalPosition="Start"
BadgeVerticalPosition="End"
BadgeHorizontalAlignment="Start"
BadgeVerticalAlignment="Start"
BadgeCornerRadius="0"
VerticalOptions="Center">
<telerikPrimitives:RadBadgeView.Content>
<telerikInput:RadButton HeightRequest="40"
WidthRequest="80"
Text="Shopping"
VerticalOptions="Center"
BackgroundColor="LightBlue"/>
</telerikPrimitives:RadBadgeView.Content>
</telerikPrimitives:RadBadgeView>
<!-- << badgeview-align-position-offset -->
</StackLayout>
</ContentView>

Просмотреть файл

@ -0,0 +1,14 @@
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.BadgeViewControl.FeaturesCategory.BadgeAlignPositionExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class BadgeAlignPosition : ContentView
{
public BadgeAlignPosition()
{
InitializeComponent();
}
}
}

Просмотреть файл

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
x:Class="SDKBrowser.Examples.BadgeViewControl.FeaturesCategory.BadgeAnimationExample.BadgeAnimation">
<StackLayout VerticalOptions="Center">
<!-- >> badgeview-animation -->
<telerikPrimitives:RadBadgeView BadgeAnimationDuration="900"
VerticalOptions="Center"
HorizontalOptions="Center"
BadgeAnimationEasing="BounceOut"
BadgeType="Available">
<telerikPrimitives:RadBadgeView.Content>
<Image WidthRequest="60"
HeightRequest="60"
VerticalOptions="Center"
HorizontalOptions="Center">
<Image.Source >
<OnPlatform x:TypeArguments="ImageSource" Default="sampleAvatar.png">
<On Platform="UWP">Assets\sampleAvatar.png</On>
</OnPlatform>
</Image.Source>
</Image>
</telerikPrimitives:RadBadgeView.Content>
</telerikPrimitives:RadBadgeView>
<!-- << badgeview-animation -->
</StackLayout>
</ContentView>

Просмотреть файл

@ -0,0 +1,14 @@
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.BadgeViewControl.FeaturesCategory.BadgeAnimationExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class BadgeAnimation : ContentView
{
public BadgeAnimation()
{
InitializeComponent();
}
}
}

Просмотреть файл

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
x:Class="SDKBrowser.Examples.BadgeViewControl.FeaturesCategory.BadgeTypesExample.BadgeTypes">
<!-- >> badgeview-badge-types -->
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<telerikInput:RadComboBox x:Name="selectBadgeType"
Margin="0,0,0,20"/>
<StackLayout VerticalOptions="Center"
Grid.Row="1"
HorizontalOptions="Center">
<telerikPrimitives:RadBadgeView x:Name="badge"
BadgeFontSize="14"
BadgeVerticalPosition="End"
BadgeOffsetX="-15"
BadgeOffsetY="-10"
HorizontalOptions="Center"
VerticalOptions="Center">
<telerikPrimitives:RadBadgeView.Content>
<Image WidthRequest="100"
HeightRequest="100">
<Image.Source >
<OnPlatform x:TypeArguments="ImageSource" Default="sampleAvatar.png">
<On Platform="UWP">Assets\sampleAvatar.png</On>
</OnPlatform>
</Image.Source>
</Image>
</telerikPrimitives:RadBadgeView.Content>
</telerikPrimitives:RadBadgeView>
</StackLayout>
</Grid>
<!-- << badgeview-badge-types -->
</ContentView>

Просмотреть файл

@ -0,0 +1,21 @@
using System;
using Telerik.XamarinForms.Primitives;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.BadgeViewControl.FeaturesCategory.BadgeTypesExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class BadgeTypes : ContentView
{
public BadgeTypes()
{
InitializeComponent();
// >> badgeview-badge-types-code-behind
this.selectBadgeType.ItemsSource = Enum.GetValues(typeof(BadgeType));
this.selectBadgeType.SelectedIndex = 0;
this.badge.SetBinding(RadBadgeView.BadgeTypeProperty, new Binding(nameof(this.selectBadgeType.SelectedItem), source: this.selectBadgeType));
// << badgeview-badge-types-code-behind
}
}
}

Просмотреть файл

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
x:Class="SDKBrowser.Examples.BadgeViewControl.FeaturesCategory.BadgeViewContentExample.BadgeViewContent">
<StackLayout>
<!-- >> badgeview-content -->
<telerikPrimitives:RadBadgeView BadgeText="0"
VerticalOptions="Center"
HorizontalOptions="Center"
x:Name="badgeView">
<telerikPrimitives:RadBadgeView.Content>
<Button Text="Click me!"
Clicked="Button_Clicked"
BorderColor="Gray"
BorderWidth="2"
Padding="3"
VerticalOptions="Center"
HorizontalOptions="Center"/>
</telerikPrimitives:RadBadgeView.Content>
</telerikPrimitives:RadBadgeView>
<!-- << badgeview-content -->
</StackLayout>
</ContentView>

Просмотреть файл

@ -0,0 +1,25 @@
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.BadgeViewControl.FeaturesCategory.BadgeViewContentExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
// >> badgeview-content-code-behind
public partial class BadgeViewContent : ContentView
{
private int badgeCounter = 0;
public BadgeViewContent()
{
InitializeComponent();
}
private void Button_Clicked(object sender, EventArgs e)
{
badgeCounter++;
badgeView.BadgeText = badgeCounter.ToString();
}
}
// << badgeview-content-code-behind
}

Просмотреть файл

@ -0,0 +1,146 @@
<?xml version="1.0" encoding="UTF-8"?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
xmlns:telerikDataControls="clr-namespace:Telerik.XamarinForms.DataControls;assembly=Telerik.XamarinForms.DataControls"
xmlns:telerikListView="clr-namespace:Telerik.XamarinForms.DataControls.ListView;assembly=Telerik.XamarinForms.DataControls"
x:Class="SDKBrowser.Examples.BadgeViewControl.FeaturesCategory.BadgeViewIntegrationExample.BadgeViewIntegration">
<ContentView.Resources>
<ResourceDictionary>
<Style TargetType="telerikPrimitives:RadBadgeView" x:Key="DefaultBadgeStyle">
<Setter Property="HorizontalOptions" Value="Center"/>
<Setter Property="VerticalOptions" Value="Center"/>
<Setter Property="BadgeHorizontalAlignment" Value="Start"/>
</Style>
</ResourceDictionary>
</ContentView.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition />
</Grid.RowDefinitions>
<StackLayout Orientation="Horizontal"
Spacing="10">
<!-- >> badge-integration-image -->
<telerikPrimitives:RadBadgeView BadgeType="Dot"
BadgeOffsetY="4"
BadgeHorizontalAlignment="End"
BadgeBackgroundColor="Blue">
<telerikPrimitives:RadBadgeView.Content>
<Image WidthRequest="32"
HeightRequest="32">
<Image.Source>
<OnPlatform x:TypeArguments="FileImageSource">
<On Platform="iOS,Android">HamburgerMenu.png</On>
<On Platform="UWP">Assets\HamburgerMenu.png</On>
</OnPlatform>
</Image.Source>
<Image.GestureRecognizers>
<TapGestureRecognizer Tapped="ImageTapped"/>
</Image.GestureRecognizers>
</Image>
</telerikPrimitives:RadBadgeView.Content>
</telerikPrimitives:RadBadgeView>
<!-- << badge-integration-image -->
<Label VerticalOptions="Center" Text="SideDrawer" />
</StackLayout>
<telerikPrimitives:RadSideDrawer x:Name="drawer"
Grid.Row="1"
DrawerLength="250">
<telerikPrimitives:RadSideDrawer.MainContent>
<!-- >> badge-integration-tabview -->
<telerikPrimitives:RadTabView x:Name="tabView"
HeaderPosition="Top">
<telerikPrimitives:RadTabView.Items>
<telerikPrimitives:TabViewItem>
<telerikPrimitives:TabViewItem.Header>
<telerikPrimitives:TabViewHeaderItem>
<telerikPrimitives:RadBadgeView BadgeText="99+"
BadgeBackgroundColor="#FF6F00"
Style="{StaticResource DefaultBadgeStyle}">
<telerikPrimitives:RadBadgeView.Content>
<Label Text="Daily Tasks"/>
</telerikPrimitives:RadBadgeView.Content>
</telerikPrimitives:RadBadgeView>
</telerikPrimitives:TabViewHeaderItem>
</telerikPrimitives:TabViewItem.Header>
<telerikPrimitives:TabViewItem.Content>
<Label Text="List with all published books:"/>
</telerikPrimitives:TabViewItem.Content>
</telerikPrimitives:TabViewItem>
<telerikPrimitives:TabViewItem>
<telerikPrimitives:TabViewItem.Header>
<telerikPrimitives:TabViewHeaderItem>
<telerikPrimitives:RadBadgeView BadgeText="21"
Style="{StaticResource DefaultBadgeStyle}">
<telerikPrimitives:RadBadgeView.Content>
<Label Text="Calls"/>
</telerikPrimitives:RadBadgeView.Content>
</telerikPrimitives:RadBadgeView>
</telerikPrimitives:TabViewHeaderItem>
</telerikPrimitives:TabViewItem.Header>
<telerikPrimitives:TabViewItem.Content>
<Label Text="Recent calls: "/>
</telerikPrimitives:TabViewItem.Content>
</telerikPrimitives:TabViewItem>
<telerikPrimitives:TabViewItem>
<telerikPrimitives:TabViewItem.Header>
<telerikPrimitives:TabViewHeaderItem>
<telerikPrimitives:RadBadgeView BadgeText="42"
BadgeBackgroundColor="#56AF51"
Style="{StaticResource DefaultBadgeStyle}">
<telerikPrimitives:RadBadgeView.Content>
<Label Text="Completed"/>
</telerikPrimitives:RadBadgeView.Content>
</telerikPrimitives:RadBadgeView>
</telerikPrimitives:TabViewHeaderItem>
</telerikPrimitives:TabViewItem.Header>
<telerikPrimitives:TabViewItem.Content>
<Label Text="All completed tasks for this week: "/>
</telerikPrimitives:TabViewItem.Content>
</telerikPrimitives:TabViewItem>
</telerikPrimitives:RadTabView.Items>
</telerikPrimitives:RadTabView>
<!-- << badge-integration-tabview -->
</telerikPrimitives:RadSideDrawer.MainContent>
<telerikPrimitives:RadSideDrawer.DrawerContent>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Label Text="Available books"/>
<!-- >> badge-integration-listview -->
<telerikDataControls:RadListView ItemsSource="{Binding Source}"
x:Name="listView"
Grid.Row="1">
<telerikDataControls:RadListView.ItemTemplate>
<DataTemplate>
<telerikListView:ListViewTemplateCell>
<telerikListView:ListViewTemplateCell.View>
<StackLayout Orientation="Horizontal" Margin="10, 10, 10, 0">
<telerikPrimitives:RadBadgeView BadgeText="{Binding Info}"
BadgeTextColor="Black"
Style="{StaticResource DefaultBadgeStyle}"
BadgeBackgroundColor="LightBlue">
<telerikPrimitives:RadBadgeView.Content>
<Label Text="{Binding Title}"
FontSize="16"
FontAttributes="Bold"
TextColor="Black"
VerticalOptions="Center" />
</telerikPrimitives:RadBadgeView.Content>
</telerikPrimitives:RadBadgeView>
</StackLayout>
</telerikListView:ListViewTemplateCell.View>
</telerikListView:ListViewTemplateCell>
</DataTemplate>
</telerikDataControls:RadListView.ItemTemplate>
</telerikDataControls:RadListView>
<!-- << badge-integration-listview -->
</Grid>
</telerikPrimitives:RadSideDrawer.DrawerContent>
</telerikPrimitives:RadSideDrawer>
</Grid>
</ContentView>

Просмотреть файл

@ -0,0 +1,22 @@
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.BadgeViewControl.FeaturesCategory.BadgeViewIntegrationExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class BadgeViewIntegration : ContentView
{
public BadgeViewIntegration()
{
InitializeComponent();
this.BindingContext = new ViewModel();
}
// >> badge-integration-open-drawer
private void ImageTapped(object sender, EventArgs e)
{
this.drawer.IsOpen = !this.drawer.IsOpen;
}
// << badge-integration-open-drawer
}
}

Просмотреть файл

@ -0,0 +1,31 @@
using System.Collections.Generic;
namespace SDKBrowser.Examples.BadgeViewControl.FeaturesCategory.BadgeViewIntegrationExample
{
// >> badge-integration-viewmodel
public class Book
{
public string Title { get; set; }
public string Info { get; set; }
}
public class ViewModel
{
public ViewModel()
{
this.Source = new List<Book>{
new Book{ Title = "The Fault in Our Stars ", Info = "10"},
new Book{ Title = "Divergent", Info = "15"},
new Book{ Title = "Gone Girl", Info = "12" },
new Book{ Title = "Clockwork Angel", Info = "22" },
new Book{ Title = "The Martian", Info = "16"},
new Book{ Title = "Ready Player One", Info = "18"},
new Book{ Title = "The Lost Hero", Info = "32",}
};
}
public List<Book> Source { get; set; }
}
// << badge-integration-viewmodel
}

Просмотреть файл

@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8"?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
x:Class="SDKBrowser.Examples.BadgeViewControl.FeaturesCategory.ControlTemplateExample.ControlTemplate">
<ContentView.Resources>
<ResourceDictionary>
<!-- >> badgeview-badge-custom-control-template -->
<Style TargetType="telerikPrimitives:Badge">
<Setter Property="ControlTemplate">
<Setter.Value>
<ControlTemplate>
<!-- you can change the control tempalte in order to customize the bage default look -->
<telerikPrimitives:RadBorder HeightRequest="30"
WidthRequest="60"
BackgroundColor="#0DA6FF"
CornerRadius="15">
<StackLayout Orientation="Horizontal"
VerticalOptions="Center"
HorizontalOptions="Center">
<Label Text="{StaticResource CheckIconText}"
TextColor="White"
VerticalOptions="Center"
FontFamily="{StaticResource IconsFontFamily}"/>
<Label Text="234"
TextColor="White"/>
</StackLayout>
</telerikPrimitives:RadBorder>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- << badgeview-badge-custom-control-template -->
</ResourceDictionary>
</ContentView.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<StackLayout>
<StackLayout.Resources>
<ResourceDictionary>
<!-- >> badgeview-badge-control-template -->
<Style TargetType="telerikPrimitives:Badge">
<Setter Property="ControlTemplate">
<Setter.Value>
<ControlTemplate>
<!-- you can change the control tempalte in order to customize the bage default look -->
<telerikPrimitives:RadBorder BorderThickness="{TemplateBinding BorderThickness}"
BorderColor="{TemplateBinding BorderColor}"
CornerRadius="{TemplateBinding CornerRadius}"
BackgroundColor="{TemplateBinding BackgroundColor}">
<Label x:Name="PART_BadgeContent"
Text="{TemplateBinding Text}"
TextColor="{TemplateBinding TextColor}"
Margin="{TemplateBinding TextMargin}"
FontSize="{TemplateBinding FontSize}"
FontFamily="{TemplateBinding FontFamily}"
FontAttributes="{TemplateBinding FontAttributes}"
HorizontalTextAlignment="Center"
VerticalTextAlignment="Center" />
</telerikPrimitives:RadBorder>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- << badgeview-badge-control-template -->
</ResourceDictionary>
</StackLayout.Resources>
<Label Text="Badge Default ControlTemplate"/>
<!-- >> badgeview-controltemplate -->
<telerikPrimitives:RadBadgeView VerticalOptions="Start"
HorizontalOptions="Start">
<telerikPrimitives:RadBadgeView.Content>
<BoxView BackgroundColor="LightGray"
VerticalOptions="Center"
WidthRequest="80"
HeightRequest="80"
HorizontalOptions="Center"/>
</telerikPrimitives:RadBadgeView.Content>
</telerikPrimitives:RadBadgeView>
<!-- << badgeview-controltemplate -->
</StackLayout>
<StackLayout Grid.Row="1">
<Label Text="Badge Custom ControlTemplate"/>
<!-- >> badgeview-custom-controltemplate -->
<telerikPrimitives:RadBadgeView VerticalOptions="Start"
HorizontalOptions="Start">
<telerikPrimitives:RadBadgeView.Content>
<BoxView BackgroundColor="LightGray"
VerticalOptions="Center"
HorizontalOptions="Center"
WidthRequest="80"
HeightRequest="80"/>
</telerikPrimitives:RadBadgeView.Content>
</telerikPrimitives:RadBadgeView>
<!-- << badgeview-custom-controltemplate -->
</StackLayout>
</Grid>
</ContentView>

Просмотреть файл

@ -0,0 +1,14 @@
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.BadgeViewControl.FeaturesCategory.ControlTemplateExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ControlTemplate : ContentView
{
public ControlTemplate()
{
InitializeComponent();
}
}
}

Просмотреть файл

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
x:Class="SDKBrowser.Examples.BadgeViewControl.FeaturesCategory.StylingExample.Styling">
<StackLayout>
<!-- >> badgeview-styling -->
<telerikPrimitives:RadBadgeView BadgeText="{StaticResource ExpandedIconText}"
BadgeFontFamily="{StaticResource IconsFontFamily}"
BadgeTextColor="White"
BadgeBorderThickness="2"
BadgeCornerRadius="3"
BadgeMinimumHeight="25"
BadgeMinimumWidth="25"
BadgeFontSize="18"
BadgeBorderColor="#0DA6FF"
HorizontalOptions="Center"
BadgeBackgroundColor="#FF6F00"
x:Name="badgeView">
<telerikPrimitives:RadBadgeView.Content>
<Image WidthRequest="100"
HeightRequest="100">
<Image.Source >
<OnPlatform x:TypeArguments="ImageSource" Default="custom_toolbar.png">
<On Platform="UWP">Assets\custom_toolbar.png</On>
</OnPlatform>
</Image.Source>
</Image>
</telerikPrimitives:RadBadgeView.Content>
</telerikPrimitives:RadBadgeView>
<!-- << badgeview-styling -->
</StackLayout>
</ContentView>

Просмотреть файл

@ -0,0 +1,14 @@
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.BadgeViewControl.FeaturesCategory.StylingExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class Styling : ContentView
{
public Styling()
{
InitializeComponent();
}
}
}

Просмотреть файл

@ -0,0 +1,35 @@
using Telerik.XamarinForms.Primitives;
using Xamarin.Forms;
namespace SDKBrowser.Examples.BadgeViewControl.GettingStartedCategory.GettingStartedExample
{
public class BadgeViewGettingStartedCSharp : ContentView
{
public BadgeViewGettingStartedCSharp()
{
// >> badgeview-getting-started-csharp
var badgeView = new RadBadgeView();
badgeView.BadgeText = "1";
badgeView.Content = new RadBorder
{
WidthRequest = 80,
HeightRequest = 80,
BorderThickness = 1,
BorderColor = Color.LightGray,
Content = new Label
{
Text = "Telerik Badge View for Xamarin",
FontSize = 14,
VerticalTextAlignment = TextAlignment.Center,
HorizontalTextAlignment = TextAlignment.Center,
},
};
// << badgeview-getting-started-csharp
var panel = new StackLayout();
panel.HorizontalOptions = LayoutOptions.Center;
panel.Children.Add(badgeView);
this.Content = panel;
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
x:Class="SDKBrowser.Examples.BadgeViewControl.GettingStartedCategory.GettingStartedExample.BadgeViewGettingStartedXaml">
<StackLayout HorizontalOptions="Center">
<!-- >> badgeview-getting-started-xaml -->
<telerikPrimitives:RadBadgeView BadgeText="1">
<telerikPrimitives:RadBadgeView.Content>
<telerikPrimitives:RadBorder WidthRequest="80"
HeightRequest="80"
BorderThickness="1"
BorderColor="LightGray">
<Label Text="Telerik Badge View for Xamarin"
FontSize="14"
VerticalTextAlignment="Center"
HorizontalTextAlignment="Center"/>
</telerikPrimitives:RadBorder>
</telerikPrimitives:RadBadgeView.Content>
</telerikPrimitives:RadBadgeView>
<!-- << badgeview-getting-started-xaml -->
</StackLayout>
</ContentView>

Просмотреть файл

@ -0,0 +1,14 @@
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.BadgeViewControl.GettingStartedCategory.GettingStartedExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class BadgeViewGettingStartedXaml : ContentView
{
public BadgeViewGettingStartedXaml()
{
InitializeComponent();
}
}
}

Просмотреть файл

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerikBarcode="clr-namespace:Telerik.XamarinForms.Barcode;assembly=Telerik.XamarinForms.Barcode"
x:Class="SDKBrowser.Examples.BarcodeControl.FeaturesCategory.PDF417Example.PDF417">
<Grid Margin="20">
<Grid.RowDefinitions>
<RowDefinition Height="3*" />
<RowDefinition Height="2*" />
</Grid.RowDefinitions>
<!-- >> pdf417-example-xaml -->
<telerikBarcode:RadBarcode x:Name="Barcode"
Value="Encoded data which will influence the rendered PDF417">
<telerikBarcode:RadBarcode.Symbology>
<telerikBarcode:PDF417 SizingMode="Stretch"
Rows="30"
ECLevel="5"/>
</telerikBarcode:RadBarcode.Symbology>
</telerikBarcode:RadBarcode>
<!-- << pdf417-example-xaml -->
</Grid>
</ContentView>

Просмотреть файл

@ -0,0 +1,14 @@
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.BarcodeControl.FeaturesCategory.PDF417Example
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class PDF417 : ContentView
{
public PDF417()
{
InitializeComponent();
}
}
}

Просмотреть файл

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerikBarcode="clr-namespace:Telerik.XamarinForms.Barcode;assembly=Telerik.XamarinForms.Barcode"
x:Class="SDKBrowser.Examples.BarcodeControl.FeaturesCategory.QRCodeExample.QRCode">
<Grid Margin="20">
<Grid.RowDefinitions>
<RowDefinition Height="3*" />
<RowDefinition Height="2*" />
</Grid.RowDefinitions>
<!-- >> qrcode-example-xaml -->
<telerikBarcode:RadBarcode x:Name="barcode"
Value="https://docs.telerik.com/devtools/xamarin/introduction">
<telerikBarcode:RadBarcode.Symbology>
<telerikBarcode:QRCode SizingMode="Stretch"
CodeMode="Byte"
ErrorCorrectionLevel="H"
ECIMode ="ISO8859_1"
FNC1Mode="SecondPosition"
ApplicationIndicator="00"/>
</telerikBarcode:RadBarcode.Symbology>
</telerikBarcode:RadBarcode>
<!-- << qrcode-example-xaml -->
</Grid>
</ContentView>

Просмотреть файл

@ -0,0 +1,14 @@
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.BarcodeControl.FeaturesCategory.QRCodeExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class QRCode : ContentView
{
public QRCode()
{
InitializeComponent();
}
}
}

Просмотреть файл

@ -0,0 +1,155 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerikBarcode="clr-namespace:Telerik.XamarinForms.Barcode;assembly=Telerik.XamarinForms.Barcode"
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
x:Class="SDKBrowser.Examples.BarcodeControl.SwissQRCodeCategory.SwissQRCodeConfigurationExample.SwissQRCodeConfiguration">
<ContentView.Resources>
<Style TargetType="Label">
<Setter Property="WidthRequest" Value="100"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="VerticalTextAlignment" Value="Center"/>
</Style>
<Style TargetType="Entry">
<Setter Property="HorizontalOptions" Value="FillAndExpand"/>
</Style>
<Style TargetType="Picker">
<Setter Property="HorizontalOptions" Value="FillAndExpand"/>
</Style>
</ContentView.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="200"/>
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<telerikBarcode:RadBarcode x:Name="barcode"
HorizontalOptions="Start"
Value="{Binding Value}"
ErrorMessage="{Binding Errors}">
</telerikBarcode:RadBarcode>
<Editor Grid.Column="1" Text="{Binding Errors}"/>
</Grid>
<ScrollView Grid.Row="1" Margin="10,0">
<StackLayout>
<Label Text="Mandatory Fields" FontAttributes="Bold"/>
<StackLayout Orientation="Horizontal">
<Label Text="Iban:"/>
<Entry Text="{Binding IbanText}"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="IbanType:"/>
<Picker x:Name="IbanType" SelectedItem="{Binding IbanType}"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="Currency:" />
<Picker x:Name="Currency" SelectedItem="{Binding CodeCurrency}"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="CreditorName:"/>
<Entry Text="{Binding CreditorName}"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="CreditorCountry:"/>
<Entry Text="{Binding CreditorCountry}"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="CreditorZipCode:"/>
<Entry Text="{Binding CreditorZipCode}"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="CreditorCity:"/>
<Entry Text="{Binding CreditorCity}"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="CreditorStreet (not mandatory):"/>
<Entry Text="{Binding CreditorStreet}"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="CreditorHouseNumber (not mandatory):"/>
<Entry Text="{Binding CreditorHouseNumber}"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="ReferenceType:"/>
<Picker x:Name="ReferenceType" SelectedItem="{Binding ReferenceType}"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="Reference (not mandatory):"/>
<Entry Text="{Binding Reference}"/>
</StackLayout>
<Label Text="Non-Mandatory Fields" FontAttributes="Bold" Margin="0,10,0,0"/>
<StackLayout Orientation="Horizontal">
<Label Text="HasAdditionalInfo"/>
<Switch IsToggled="{Binding HasAdditionalInfo}" />
</StackLayout>
<StackLayout IsEnabled="{Binding HasAditionalInfo}">
<StackLayout Orientation="Horizontal">
<Label Text="UnstructuredMessage:"/>
<Entry Text="{Binding UnstructuredMessage}"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="BillingInfo:"/>
<Entry Text="{Binding BillingInformation}"/>
</StackLayout>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="HasDebtor"/>
<Switch IsToggled="{Binding HasDebtor}" />
</StackLayout>
<StackLayout IsEnabled="{Binding HasDebtor}">
<StackLayout Orientation="Horizontal">
<Label Text="DebtorName:"/>
<Entry Text="{Binding DebtorName}"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="DebtorCountry:"/>
<Entry Text="{Binding DebtorCountry}"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="DebtorZipCode:"/>
<Entry Text="{Binding DebtorZipCode}"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="DebtorCity:"/>
<Entry Text="{Binding DebtorCity}"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="DebtorStreet (not mandatory):"/>
<Entry Text="{Binding DebtorStreet}"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="DebtorHouseNumber (not mandatory):"/>
<Entry Text="{Binding DebtorHouseNumber}"/>
</StackLayout>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="HasAmount"/>
<Switch IsToggled="{Binding HasAmount}" />
</StackLayout>
<StackLayout Orientation="Horizontal" IsEnabled="{Binding HasAmount}">
<Label Text="Amount:"/>
<telerikInput:RadNumericInput Minimum="0" HorizontalOptions="FillAndExpand" Value="{Binding Amount, Mode=TwoWay}"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="HasAlternativeProcedures"/>
<Switch IsToggled="{Binding HasAlternativeProcedures}" />
</StackLayout>
<StackLayout Orientation="Horizontal" IsEnabled="{Binding HasAlternativeProcedures}">
<Label Text="AlternativeProcedure1:"/>
<Entry Text="{Binding AlternativeProcedure1}"/>
</StackLayout>
<StackLayout Orientation="Horizontal" IsEnabled="{Binding HasAlternativeProcedures}">
<Label Text="AlternativeProcedure2:"/>
<Entry Text="{Binding AlternativeProcedure2}"/>
</StackLayout>
</StackLayout>
</ScrollView>
</Grid>
</ContentView>

Просмотреть файл

@ -0,0 +1,26 @@
using System;
using System.Linq;
using Telerik.Barcode;
using Telerik.XamarinForms.Barcode;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.BarcodeControl.SwissQRCodeCategory.SwissQRCodeConfigurationExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class SwissQRCodeConfiguration : ContentView
{
public SwissQRCodeConfiguration()
{
InitializeComponent();
this.IbanType.ItemsSource = Enum.GetValues(typeof(IbanType)).Cast<IbanType>().Select(p => p.ToString()).ToList();
this.Currency.ItemsSource = Enum.GetValues(typeof(SwissQRCodeCurrency)).Cast<SwissQRCodeCurrency>().Select(p => p.ToString()).ToList();
this.ReferenceType.ItemsSource = Enum.GetValues(typeof(ReferenceType)).Cast<ReferenceType>().Select(p => p.ToString()).ToList();
this.BindingContext = new SwissQRConfigurationViewModel();
this.barcode.Symbology = new SwissQRCode();
}
}
}

Просмотреть файл

@ -0,0 +1,608 @@
using System;
using System.ComponentModel;
using Telerik.Barcode;
namespace SDKBrowser.Examples.BarcodeControl.SwissQRCodeCategory.SwissQRCodeConfigurationExample
{
public class SwissQRConfigurationViewModel : INotifyPropertyChanged
{
private string value;
private string errors;
private string ibanText;
private string ibanTypeString;
private string codeCurrencyString;
private string creditorName;
private string creditorCountry;
private string creditorZipCode;
private string creditorCity;
private string creditorStreet;
private string creditorHouseNumber;
private string referenceTypeString;
private string reference;
private string unstructuredMessage;
private string billingInformation;
private string debtorName;
private string debtorCountry;
private string debtorZipCode;
private string debtorCity;
private string debtorStreet;
private string debtorHouseNumber;
private decimal amount;
private string alternativeProcedure1;
private string alternativeProcedure2;
private bool hasAdditionalInfo;
private bool hasDebtor;
private bool hasAmount;
private bool hasAlternativeProcedures;
public SwissQRConfigurationViewModel()
{
this.ibanText = "CH5204835012345671000";
this.creditorName = "Max Muster & Söhne";
this.creditorCountry = "CH";
this.creditorZipCode = "8000";
this.creditorCity = "Seldwyla";
this.creditorStreet = "Musterstrasse";
this.creditorHouseNumber = "316";
this.unstructuredMessage = "unstructured message";
this.billingInformation = "billing info";
this.debtorName = "Simon Muster";
this.debtorCountry = "CH";
this.debtorZipCode = "8000";
this.debtorCity = "Seldwyla";
this.debtorStreet = "Debtor street";
this.debtorHouseNumber = "12";
this.amount = 10.49M;
this.ibanTypeString = Enum.GetValues(typeof(IbanType)).GetValue(0).ToString();
this.codeCurrencyString = Enum.GetValues(typeof(SwissQRCodeCurrency)).GetValue(0).ToString();
this.referenceTypeString = Enum.GetValues(typeof(ReferenceType)).GetValue(2).ToString();
this.errors = string.Empty;
this.reference = string.Empty;
this.alternativeProcedure1 = string.Empty;
this.alternativeProcedure2 = string.Empty;
this.hasAdditionalInfo = true;
this.hasDebtor = true;
this.hasAmount = true;
this.hasAlternativeProcedures = false;
this.GenerateBarcodeValue();
}
public event PropertyChangedEventHandler PropertyChanged;
public string Value
{
get
{
return this.value;
}
set
{
if (this.value != value)
{
this.value = value;
this.RaisePropertyChanged(nameof(Value));
}
}
}
public string Errors
{
get
{
return this.errors;
}
set
{
if (this.errors != value)
{
this.errors = value;
this.RaisePropertyChanged(nameof(Errors));
}
}
}
public string IbanText
{
get
{
return this.ibanText;
}
set
{
if (this.ibanText != value)
{
this.ibanText = value;
this.RaisePropertyChanged(nameof(IbanText));
this.GenerateBarcodeValue();
}
}
}
public string IbanType
{
get
{
return this.ibanTypeString;
}
set
{
if (this.ibanTypeString != value)
{
this.ibanTypeString = value;
this.RaisePropertyChanged(nameof(IbanType));
this.GenerateBarcodeValue();
}
}
}
public string CodeCurrency
{
get
{
return this.codeCurrencyString;
}
set
{
if (this.codeCurrencyString != value)
{
this.codeCurrencyString = value;
this.RaisePropertyChanged(nameof(CodeCurrency));
this.GenerateBarcodeValue();
}
}
}
public string CreditorName
{
get
{
return this.creditorName;
}
set
{
if (this.creditorName != value)
{
this.creditorName = value;
this.RaisePropertyChanged(nameof(CreditorName));
this.GenerateBarcodeValue();
}
}
}
public string CreditorCountry
{
get
{
return this.creditorCountry;
}
set
{
if (this.creditorCountry != value)
{
this.creditorCountry = value;
this.RaisePropertyChanged(nameof(CreditorCountry));
this.GenerateBarcodeValue();
}
}
}
public string CreditorZipCode
{
get
{
return this.creditorZipCode;
}
set
{
if (this.creditorZipCode != value)
{
this.creditorZipCode = value;
this.RaisePropertyChanged(nameof(CreditorZipCode));
this.GenerateBarcodeValue();
}
}
}
public string CreditorCity
{
get
{
return this.creditorCity;
}
set
{
if (this.creditorCity != value)
{
this.creditorCity = value;
this.RaisePropertyChanged(nameof(CreditorCity));
this.GenerateBarcodeValue();
}
}
}
public string CreditorStreet
{
get
{
return this.creditorStreet;
}
set
{
if (this.creditorStreet != value)
{
this.creditorStreet = value;
this.RaisePropertyChanged(nameof(CreditorStreet));
this.GenerateBarcodeValue();
}
}
}
public string CreditorHouseNumber
{
get
{
return this.creditorHouseNumber;
}
set
{
if (this.creditorHouseNumber != value)
{
this.creditorHouseNumber = value;
this.RaisePropertyChanged(nameof(CreditorHouseNumber));
this.GenerateBarcodeValue();
}
}
}
public string ReferenceType
{
get
{
return this.referenceTypeString;
}
set
{
if (this.referenceTypeString != value)
{
this.referenceTypeString = value;
this.RaisePropertyChanged(nameof(referenceTypeString));
this.GenerateBarcodeValue();
}
}
}
public string Reference
{
get
{
return this.reference;
}
set
{
if (this.reference != value)
{
this.reference = value;
this.RaisePropertyChanged(nameof(Reference));
this.GenerateBarcodeValue();
}
}
}
public string UnstructuredMessage
{
get
{
return this.unstructuredMessage;
}
set
{
if (this.unstructuredMessage != value)
{
this.unstructuredMessage = value;
this.RaisePropertyChanged(nameof(UnstructuredMessage));
this.GenerateBarcodeValue();
}
}
}
public string BillingInformation
{
get
{
return this.billingInformation;
}
set
{
if (this.billingInformation != value)
{
this.billingInformation = value;
this.RaisePropertyChanged(nameof(BillingInformation));
this.GenerateBarcodeValue();
}
}
}
public string DebtorName
{
get
{
return this.debtorName;
}
set
{
if (this.debtorName != value)
{
this.debtorName = value;
this.RaisePropertyChanged(nameof(DebtorName));
this.GenerateBarcodeValue();
}
}
}
public string DebtorCountry
{
get
{
return this.debtorCountry;
}
set
{
if (this.debtorCountry != value)
{
this.debtorCountry = value;
this.RaisePropertyChanged(nameof(DebtorCountry));
this.GenerateBarcodeValue();
}
}
}
public string DebtorZipCode
{
get
{
return this.debtorZipCode;
}
set
{
if (this.debtorZipCode != value)
{
this.debtorZipCode = value;
this.RaisePropertyChanged(nameof(DebtorZipCode));
this.GenerateBarcodeValue();
}
}
}
public string DebtorCity
{
get
{
return this.debtorCity;
}
set
{
if (this.debtorCity != value)
{
this.debtorCity = value;
this.RaisePropertyChanged(nameof(DebtorCity));
this.GenerateBarcodeValue();
}
}
}
public string DebtorStreet
{
get
{
return this.debtorStreet;
}
set
{
if (this.debtorStreet != value)
{
this.debtorStreet = value;
this.RaisePropertyChanged(nameof(DebtorStreet));
this.GenerateBarcodeValue();
}
}
}
public string DebtorHouseNumber
{
get
{
return this.debtorHouseNumber;
}
set
{
if (this.debtorHouseNumber != value)
{
this.debtorHouseNumber = value;
this.RaisePropertyChanged(nameof(DebtorHouseNumber));
this.GenerateBarcodeValue();
}
}
}
public decimal Amount
{
get
{
return this.amount;
}
set
{
if (this.amount != value)
{
this.amount = value;
this.RaisePropertyChanged(nameof(Amount));
this.GenerateBarcodeValue();
}
}
}
public string AlternativeProcedure1
{
get
{
return this.alternativeProcedure1;
}
set
{
if (this.alternativeProcedure1 != value)
{
this.alternativeProcedure1 = value;
this.RaisePropertyChanged(nameof(AlternativeProcedure1));
this.GenerateBarcodeValue();
}
}
}
public string AlternativeProcedure2
{
get
{
return this.alternativeProcedure2;
}
set
{
if (this.alternativeProcedure2 != value)
{
this.alternativeProcedure2 = value;
this.RaisePropertyChanged(nameof(AlternativeProcedure2));
this.GenerateBarcodeValue();
}
}
}
public bool HasAdditionalInfo
{
get
{
return this.hasAdditionalInfo;
}
set
{
if (this.hasAdditionalInfo != value)
{
this.hasAdditionalInfo = value;
this.RaisePropertyChanged(nameof(HasAdditionalInfo));
this.GenerateBarcodeValue();
}
}
}
public bool HasDebtor
{
get
{
return this.hasDebtor;
}
set
{
if (this.hasDebtor != value)
{
this.hasDebtor = value;
this.RaisePropertyChanged(nameof(HasDebtor));
this.GenerateBarcodeValue();
}
}
}
public bool HasAmount
{
get
{
return this.hasAmount;
}
set
{
if (this.hasAmount != value)
{
this.hasAmount = value;
this.RaisePropertyChanged(nameof(HasAmount));
this.GenerateBarcodeValue();
}
}
}
public bool HasAlternativeProcedures
{
get
{
return this.hasAlternativeProcedures;
}
set
{
if (this.hasAlternativeProcedures != value)
{
this.hasAlternativeProcedures = value;
this.RaisePropertyChanged(nameof(HasAlternativeProcedures));
this.GenerateBarcodeValue();
}
}
}
private void GenerateBarcodeValue()
{
AdditionalInformation additionalInfo = this.hasAdditionalInfo ?
new AdditionalInformation(this.unstructuredMessage, this.billingInformation)
: null;
Contact debtor = this.hasDebtor ?
new Contact(this.debtorName,
new StructuredAddress(this.debtorCountry,
this.debtorZipCode,
this.debtorCity,
this.debtorStreet,
this.debtorHouseNumber))
: null;
decimal? amount = null;
if (this.hasAmount)
{
amount = this.amount;
}
AlternativeProcedure procedure = this.hasAlternativeProcedures ?
new AlternativeProcedure(this.alternativeProcedure1, this.alternativeProcedure2)
: null;
SwissQRCodeValueStringBuilder qRCodeValue = new SwissQRCodeValueStringBuilder(
new Iban(this.ibanText, (IbanType)Enum.Parse(typeof(IbanType), this.ibanTypeString, true)),
(SwissQRCodeCurrency)Enum.Parse(typeof(SwissQRCodeCurrency), this.codeCurrencyString, true),
new Contact(this.creditorName,
new StructuredAddress(this.creditorCountry,
this.creditorZipCode,
this.creditorCity,
this.creditorStreet,
this.creditorHouseNumber)),
new Reference((ReferenceType)Enum.Parse(typeof(ReferenceType), this.referenceTypeString, true), this.reference),
additionalInfo,
debtor,
amount,
procedure);
this.Errors = qRCodeValue.Validate();
if (!string.IsNullOrEmpty(this.errors))
{
this.Value = null;
}
else
{
this.Value = qRCodeValue.BuildValue();
}
}
private void RaisePropertyChanged(string propertyName)
{
this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
}
}

Просмотреть файл

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerikBarcode="clr-namespace:Telerik.XamarinForms.Barcode;assembly=Telerik.XamarinForms.Barcode"
x:Class="SDKBrowser.Examples.BarcodeControl.SwissQRCodeCategory.SwissQRCodeExample.SwissQRCode">
<Grid Margin="20">
<Grid.RowDefinitions>
<RowDefinition Height="3*" />
<RowDefinition Height="2*" />
</Grid.RowDefinitions>
<!-- >> swissqrbarcode-example-xaml -->
<telerikBarcode:RadBarcode x:Name="Barcode"
WidthRequest="100"
HeightRequest="100">
<telerikBarcode:RadBarcode.Symbology>
<telerikBarcode:SwissQRCode/>
</telerikBarcode:RadBarcode.Symbology>
</telerikBarcode:RadBarcode>
<!-- << swissqrbarcode-example-xaml -->
</Grid>
</ContentView>

Просмотреть файл

@ -0,0 +1,37 @@
using Telerik.Barcode;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.BarcodeControl.SwissQRCodeCategory.SwissQRCodeExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class SwissQRCode : ContentView
{
public SwissQRCode()
{
InitializeComponent();
// >> swissqrbarcode-example-builder
SwissQRCodeValueStringBuilder qrCodeValue = new SwissQRCodeValueStringBuilder(
new Iban("CH4431999123000889012", IbanType.QRIBAN),
SwissQRCodeCurrency.EUR,
new Contact("Max Muster & Söhne",
new StructuredAddress("CH", "8000", "Seldwyla", "Musterstrasse", "123")),
new Reference(ReferenceType.QRR, "210000000003139471430009017"),
new AdditionalInformation("Order from 15.03.2021", "//S1/10/1234/11/201021/30/102673386/32/7.7/40/0:30"),
new Contact("Simon Muster", new StructuredAddress("CH", "8000", "Seldwyla", "Musterstrasse", "1")),
(decimal)1949.75,
new AlternativeProcedure("Name AV1: UV;UltraPay005;12345", "Name AV2: XY;XYService;54321"));
// << swissqrbarcode-example-builder
// >> swissqrbarcode-example-validate
string errors = qrCodeValue.Validate();
if (string.IsNullOrEmpty(errors))
{
this.Barcode.Value = qrCodeValue.BuildValue();
}
// << swissqrbarcode-example-validate
}
}
}

Просмотреть файл

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="UTF-8"?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
x:Class="SDKBrowser.Examples.ShadowControl.FeaturesCategory.KeyFeaturesExample.KeyFeatures">
<StackLayout Margin="5,20,5,5" Spacing="40">
<StackLayout Spacing="20" HorizontalOptions="Center">
<Label Text="Setting Shadow Color" />
<!-- >> shadow-features-color -->
<telerikPrimitives:RadShadow Color="#4488F6"
ShadowOpacity="0.7"
OffsetX="4"
OffsetY="4">
<telerikInput:RadButton Text="Click me"
TextColor="White"
BackgroundColor="#4488F6"
HeightRequest="44"/>
</telerikPrimitives:RadShadow>
<!-- << shadow-features-color -->
</StackLayout>
<StackLayout Spacing="10" HorizontalOptions="Center">
<Label Text="Defining Transparency" />
<!-- >> shadow-features-opacity -->
<telerikPrimitives:RadShadow ShadowOpacity="0.7">
<telerikInput:RadButton Text="Click me"
TextColor="White"
BackgroundColor="#4488F6"
HeightRequest="44"/>
</telerikPrimitives:RadShadow>
<!-- << shadow-features-opacity -->
</StackLayout>
<StackLayout Spacing="10" HorizontalOptions="Center">
<Label Text="Defining Shadow Position" />
<!-- >> shadow-features-position -->
<telerikPrimitives:RadShadow OffsetX="20"
OffsetY="20">
<telerikInput:RadButton Text="Click me"
TextColor="White"
BackgroundColor="#4488F6"
HeightRequest="44"/>
</telerikPrimitives:RadShadow>
<!-- << shadow-features-position -->
</StackLayout>
<StackLayout Spacing="10" HorizontalOptions="Center">
<Label Text="Applying Corner Radius" />
<!-- >> shadow-features-cornerradius -->
<telerikPrimitives:RadShadow CornerRadius="20"
OffsetX="4"
OffsetY="4">
<telerikInput:RadButton Text="Click me"
TextColor="White"
BackgroundColor="#4488F6"
HeightRequest="44"
CornerRadius="20"/>
</telerikPrimitives:RadShadow>
<!-- << shadow-features-cornerradius -->
</StackLayout>
<StackLayout Spacing="10" HorizontalOptions="Center">
<Label Text="Applying Blur Radius" />
<!-- >> shadow-features-blurradius -->
<telerikPrimitives:RadShadow BlurRadius="3"
OffsetX="4"
OffsetY="4">
<telerikInput:RadButton Text="Click me"
TextColor="White"
BackgroundColor="#4488F6"
HeightRequest="44"/>
</telerikPrimitives:RadShadow>
<!-- << shadow-features-blurradius -->
</StackLayout>
</StackLayout>
</ContentView>

Просмотреть файл

@ -0,0 +1,14 @@
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.ShadowControl.FeaturesCategory.KeyFeaturesExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class KeyFeatures : ContentView
{
public KeyFeatures()
{
InitializeComponent();
}
}
}

Просмотреть файл

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
x:Class="SDKBrowser.Examples.ShadowControl.GettingStartedCategory.GettingStartedExample.ShadowGettingStartedXaml">
<StackLayout Margin="0, 40" HorizontalOptions="Center">
<!-- >> shadow-getting-started-xaml -->
<telerikPrimitives:RadShadow CornerRadius="10">
<Button Text="Click me"
BackgroundColor="#D6D7D7"
BorderColor="#B5B6B8"
BorderWidth="1"
HeightRequest="44"
Padding="24, 0"
CornerRadius="10"/>
</telerikPrimitives:RadShadow>
<!-- << shadow-getting-started-xaml -->
</StackLayout>
</ContentView>

Просмотреть файл

@ -0,0 +1,14 @@
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.ShadowControl.GettingStartedCategory.GettingStartedExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ShadowGettingStartedXaml : ContentView
{
public ShadowGettingStartedXaml()
{
InitializeComponent();
}
}
}

Просмотреть файл

@ -16,11 +16,11 @@
Margin="0, 0, 0, 8">
<Label Text="{TemplateBinding Text}"
FontSize="15"
TextColor="Orange"
TextColor="#9E4F2C"
VerticalOptions="Center"
HorizontalTextAlignment="Start"/>
<Label Text="Description"
TextColor="LightBlue"
TextColor="Blue"
IsVisible="{TemplateBinding IsSelected}"
VerticalTextAlignment="Center"
FontSize="12"/>

Просмотреть файл

@ -3,7 +3,14 @@
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives">
<ContentView.Resources>
<!-- >> tabview-features-tabviewheader-styling -->
<Style TargetType="telerikPrimitives:TabViewHeaderItem">
<Setter Property="TextColor" Value="#9E4F2C"/>
<Setter Property="SelectedColor" Value="Blue"/>
</Style>
<!-- << tabview-features-tabviewheader-styling -->
</ContentView.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
@ -16,11 +23,13 @@
<!-- >> tabview-features-tabviewheader-xaml -->
<telerikPrimitives:RadTabView x:Name="tabViewHeader" HeaderPosition="Top">
<telerikPrimitives:RadTabView.Header>
<telerikPrimitives:TabViewHeader BackgroundColor="Orange" IsScrollable="True">
<telerikPrimitives:TabViewHeader BackgroundColor="#FFE5B6"
IsScrollable="True"
ItemSpacing="4">
</telerikPrimitives:TabViewHeader>
</telerikPrimitives:RadTabView.Header>
<telerikPrimitives:RadTabView.Items>
<telerikPrimitives:TabViewItem HeaderText="January " />
<telerikPrimitives:TabViewItem HeaderText="January "/>
<telerikPrimitives:TabViewItem HeaderText="February " />
<telerikPrimitives:TabViewItem HeaderText="March " />
<telerikPrimitives:TabViewItem HeaderText="April " />
@ -42,12 +51,15 @@
<!-- >> tabview-features-tabviewheader-overflowbutton-xaml -->
<telerikPrimitives:RadTabView x:Name="tabViewHeaderOverfowButton" HeaderPosition="Bottom">
<telerikPrimitives:RadTabView.Header>
<telerikPrimitives:TabViewHeader BackgroundColor="Orange">
<telerikPrimitives:TabViewHeader BackgroundColor="#FFE5B6"
ItemSpacing="4"
OverflowPopupBackgroundColor="#FFE5B6">
<telerikPrimitives:TabViewHeader.OverflowButtonTemplate>
<DataTemplate>
<Label Margin="3,0,3,0"
BackgroundColor="#CA5100"
BackgroundColor="#FFE5B6"
Text=" + "
TextColor="#9E4F2C"
VerticalOptions="Center"/>
</DataTemplate>
</telerikPrimitives:TabViewHeader.OverflowButtonTemplate>

Просмотреть файл

@ -10,7 +10,9 @@
<ControlTemplate x:Key="navHeaderTemplate">
<Grid BackgroundColor="Transparent" Margin="5">
<BoxView IsVisible="{TemplateBinding IsSelected}" BackgroundColor="LightGray" />
<Label Text="{Binding HeaderTitle}" HorizontalTextAlignment="Center" />
<Label Text="{Binding HeaderTitle}"
VerticalTextAlignment="Center"
HorizontalTextAlignment="Center"/>
</Grid>
</ControlTemplate>
<ControlTemplate x:Key="navContentTemplate">

Просмотреть файл

@ -11,7 +11,7 @@ using System.Runtime.InteropServices;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Progress Software Corporation")]
[assembly: AssemblyProduct("SDKBrowser")]
[assembly: AssemblyCopyright("Copyright © 2014-2019 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.")]
[assembly: AssemblyCopyright("Copyright © 2014-2021 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en")]

Просмотреть файл

@ -53,7 +53,7 @@
<PackageReference Include="SkiaSharp" Version="1.68.0" />
<PackageReference Include="SkiaSharp.Views.Forms" Version="1.68.0" />
<PackageReference Include="Xam.Plugins.Settings" Version="3.1.1" />
<PackageReference Include="Xamarin.Forms" Version="4.8.0.1269" />
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2012" />
</ItemGroup>
<PropertyGroup>
<TelerikInstallationBinariesPath>$(TelerikXamarinDir)Binaries</TelerikInstallationBinariesPath>

Просмотреть файл

@ -141,6 +141,70 @@
</Category>
</Categories>
</Control>
<Control>
<Name>BadgeView</Name>
<Title>BadgeView</Title>
<Icon>Badge.png</Icon>
<Categories>
<Category>
<Name>GettingStarted</Name>
<Title>Getting Started</Title>
<Examples>
<Example>
<Page>BadgeViewGettingStartedXaml</Page>
<Name>GettingStarted</Name>
<Title>Getting Started - Xaml</Title>
</Example>
<Example>
<Page>BadgeViewGettingStartedCSharp</Page>
<Name>GettingStarted</Name>
<Title>Getting Started - Code</Title>
</Example>
</Examples>
</Category>
<Category>
<Name>Features</Name>
<Title>Features</Title>
<Examples>
<Example>
<Page>BadgeViewContent</Page>
<Name>BadgeViewContent</Name>
<Title>BadgeView Content and Text</Title>
</Example>
<Example>
<Page>BadgeAlignPosition</Page>
<Name>BadgeAlignPosition</Name>
<Title>Badge Align and Position</Title>
</Example>
<Example>
<Page>BadgeAnimation</Page>
<Name>BadgeAnimation</Name>
<Title>Badge Animation</Title>
</Example>
<Example>
<Page>BadgeTypes</Page>
<Name>BadgeTypes</Name>
<Title>Badge Types</Title>
</Example>
<Example>
<Page>Styling</Page>
<Name>Styling</Name>
<Title>Styling</Title>
</Example>
<Example>
<Page>ControlTemplate</Page>
<Name>ControlTemplate</Name>
<Title>Badge ControlTemplate</Title>
</Example>
<Example>
<Page>BadgeViewIntegration</Page>
<Name>BadgeViewIntegration</Name>
<Title>Integration with other controls</Title>
</Example>
</Examples>
</Category>
</Categories>
</Control>
<Control>
<Name>Barcode</Name>
<Title>Barcode</Title>
@ -166,6 +230,32 @@
<Name>KeyFeatures</Name>
<Title>Key Features</Title>
</Example>
<Example>
<Page>PDF417</Page>
<Name>PDF417</Name>
<Title>PDF417</Title>
</Example>
<Example>
<Page>QRCode</Page>
<Name>QRCode</Name>
<Title>QRCode</Title>
</Example>
</Examples>
</Category>
<Category>
<Name>SwissQRCode</Name>
<Title>SwissQR Code</Title>
<Examples>
<Example>
<Page>SwissQRCode</Page>
<Name>SwissQRCode</Name>
<Title>SwissQR Code</Title>
</Example>
<Example>
<Page>SwissQRCodeConfiguration</Page>
<Name>SwissQRCodeConfiguration</Name>
<Title>Configuration</Title>
</Example>
</Examples>
</Category>
</Categories>
@ -3017,6 +3107,35 @@
</Category>
</Categories>
</Control>
<Control>
<Name>Shadow</Name>
<Title>Shadow</Title>
<Icon>Shadow.png</Icon>
<Categories>
<Category>
<Name>GettingStarted</Name>
<Title>Getting Started</Title>
<Examples>
<Example>
<Page>ShadowGettingStartedXaml</Page>
<Name>GettingStarted</Name>
<Title>Getting Started</Title>
</Example>
</Examples>
</Category>
<Category>
<Name>Features</Name>
<Title>Features</Title>
<Examples>
<Example>
<Page>KeyFeatures</Page>
<Name>KeyFeatures</Name>
<Title>Key Features</Title>
</Example>
</Examples>
</Category>
</Categories>
</Control>
<Control>
<Name>SlideView</Name>
<Title>SlideView</Title>

Просмотреть файл

@ -3,5 +3,5 @@
<package id="SkiaSharp" version="1.68.0" targetFramework="portable45-net45+win8+wp8+wpa81" />
<package id="SkiaSharp.Views.Forms" version="1.68.0" targetFramework="portable45-net45+win8+wp8+wpa81" />
<package id="Xam.Plugins.Settings" version="3.1.1" targetFramework="portable45-net45+win8+wp8+wpa81" />
<package id="Xamarin.Forms" version="4.8.0.1269" targetFramework="portable45-net45+win8+wp8+wpa81" />
<package id="Xamarin.Forms" version="5.0.0.2012" targetFramework="portable45-net45+win8+wp8+wpa81" />
</packages>