New version of Progress Telerik UI for Xamarin SDK examples.

This commit is contained in:
GitTask 2019-09-18 11:59:47 +03:00
Родитель de336d8c69
Коммит c82b00b4c1
78 изменённых файлов: 1646 добавлений и 225 удалений

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

После

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

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

@ -54,7 +54,6 @@
<EnableLLVM>false</EnableLLVM>
<BundleAssemblies>false</BundleAssemblies>
<AndroidEnableMultiDex>true</AndroidEnableMultiDex>
<AndroidSupportedAbis>armeabi-v7a;x86;x86_64;arm64-v8a</AndroidSupportedAbis>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@ -103,85 +102,85 @@
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Xml" />
<Reference Include="Telerik.Documents.Core">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Core.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Core.dll</HintPath>
</Reference>
<Reference Include="Telerik.Documents.Fixed">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Fixed.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Fixed.dll</HintPath>
</Reference>
<Reference Include="Telerik.Documents.SpreadsheetStreaming, Version=2017.1.10424.234, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.SpreadsheetStreaming.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.SpreadsheetStreaming.dll</HintPath>
</Reference>
<Reference Include="Telerik.Xamarin.Android.Chart, Version=2017.1.421.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\MonoAndroid10\Telerik.Xamarin.Android.Chart.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\MonoAndroid10\Telerik.Xamarin.Android.Chart.dll</HintPath>
</Reference>
<Reference Include="Telerik.Xamarin.Android.Common, Version=2017.1.421.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\MonoAndroid10\Telerik.Xamarin.Android.Common.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\MonoAndroid10\Telerik.Xamarin.Android.Common.dll</HintPath>
</Reference>
<Reference Include="Telerik.Xamarin.Android.Data, Version=2017.1.421.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\MonoAndroid10\Telerik.Xamarin.Android.Data.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\MonoAndroid10\Telerik.Xamarin.Android.Data.dll</HintPath>
</Reference>
<Reference Include="Telerik.Xamarin.Android.Input, Version=2017.1.421.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\MonoAndroid10\Telerik.Xamarin.Android.Input.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\MonoAndroid10\Telerik.Xamarin.Android.Input.dll</HintPath>
</Reference>
<Reference Include="Telerik.Xamarin.Android.List, Version=2017.1.421.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\MonoAndroid10\Telerik.Xamarin.Android.List.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\MonoAndroid10\Telerik.Xamarin.Android.List.dll</HintPath>
</Reference>
<Reference Include="Telerik.Xamarin.Android.Primitives, Version=2017.1.421.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\MonoAndroid10\Telerik.Xamarin.Android.Primitives.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\MonoAndroid10\Telerik.Xamarin.Android.Primitives.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Barcode">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\MonoAndroid10\Telerik.XamarinForms.Barcode.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\MonoAndroid10\Telerik.XamarinForms.Barcode.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Chart, Version=2017.1.10421.234, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\MonoAndroid10\Telerik.XamarinForms.Chart.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\MonoAndroid10\Telerik.XamarinForms.Chart.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Common, Version=2017.1.10421.234, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\MonoAndroid10\Telerik.XamarinForms.Common.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\MonoAndroid10\Telerik.XamarinForms.Common.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.ConversationalUI">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\MonoAndroid10\Telerik.XamarinForms.ConversationalUI.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\MonoAndroid10\Telerik.XamarinForms.ConversationalUI.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.DataControls, Version=2017.1.10421.234, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\MonoAndroid10\Telerik.XamarinForms.DataControls.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\MonoAndroid10\Telerik.XamarinForms.DataControls.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.DataVisualization, Version=2017.1.10424.234, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\MonoAndroid10\Telerik.XamarinForms.DataVisualization.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\MonoAndroid10\Telerik.XamarinForms.DataVisualization.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.ImageEditor">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\MonoAndroid10\Telerik.XamarinForms.ImageEditor.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\MonoAndroid10\Telerik.XamarinForms.ImageEditor.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Input, Version=2017.1.10421.234, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\MonoAndroid10\Telerik.XamarinForms.Input.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\MonoAndroid10\Telerik.XamarinForms.Input.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Map">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\MonoAndroid10\Telerik.XamarinForms.Map.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\MonoAndroid10\Telerik.XamarinForms.Map.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.PdfViewer">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\MonoAndroid10\Telerik.XamarinForms.PdfViewer.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\MonoAndroid10\Telerik.XamarinForms.PdfViewer.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Primitives, Version=2017.1.10421.234, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\MonoAndroid10\Telerik.XamarinForms.Primitives.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\MonoAndroid10\Telerik.XamarinForms.Primitives.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.SkiaSharp, Version=2017.1.10421.234, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\MonoAndroid10\Telerik.XamarinForms.SkiaSharp.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\MonoAndroid10\Telerik.XamarinForms.SkiaSharp.dll</HintPath>
</Reference>
<Reference Include="Telerik.Zip, Version=2017.1.10424.234, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Zip.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Zip.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Android.Arch.Core.Common, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Xamarin.Android.Arch.Core.Common.1.1.1.1\lib\monoandroid90\Xamarin.Android.Arch.Core.Common.dll</HintPath>
@ -568,6 +567,7 @@
<AndroidResource Include="Resources\drawable-hdpi\ImageEditor.png" />
<AndroidResource Include="Resources\drawable-xhdpi\ImageEditor.png" />
<AndroidResource Include="Resources\drawable-xxhdpi\ImageEditor.png" />
<AndroidResource Include="Resources\drawable\custom_toolbar.png" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable\image.png" />

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

@ -44,5 +44,5 @@
<package id="Xamarin.Android.Support.VersionedParcelable" version="28.0.0.1" targetFramework="monoandroid90" />
<package id="Xamarin.Android.Support.ViewPager" version="28.0.0.1" targetFramework="monoandroid90" />
<package id="Xamarin.Forms" version="4.1.0.581479" targetFramework="monoandroid90" />
<package id="Telerik.UI.for.Xamarin.Trial" version="2019.2.802.1" targetFramework="monoandroid80" />
<package id="Telerik.UI.for.Xamarin.Trial" version="2019.3.913.1" targetFramework="monoandroid80" />
</packages>

Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.UWP/Assets/custom_toolbar.png Normal file

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

После

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

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

@ -123,6 +123,7 @@
<Content Include="Assets\Checkbox.scale-150.png" />
<Content Include="Assets\Checkbox.scale-200.png" />
<Content Include="Assets\Checkbox.scale-400.png" />
<Content Include="Assets\custom_toolbar.png" />
<Content Include="Assets\DockLayout.scale-100.png" />
<Content Include="Assets\DockLayout.scale-125.png" />
<Content Include="Assets\DockLayout.scale-150.png" />
@ -441,74 +442,74 @@
</ItemGroup>
<ItemGroup>
<Reference Include="Telerik.Core">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\uap10.0\Telerik.Core.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\uap10.0\Telerik.Core.dll</HintPath>
</Reference>
<Reference Include="Telerik.Data">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\uap10.0\Telerik.Data.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\uap10.0\Telerik.Data.dll</HintPath>
</Reference>
<Reference Include="Telerik.Documents.Core">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Core.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Core.dll</HintPath>
</Reference>
<Reference Include="Telerik.Documents.Fixed">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Fixed.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Fixed.dll</HintPath>
</Reference>
<Reference Include="Telerik.Documents.SpreadsheetStreaming">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.SpreadsheetStreaming.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.SpreadsheetStreaming.dll</HintPath>
</Reference>
<Reference Include="Telerik.UI.Xaml.Chart.UWP">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\uap10.0\Telerik.UI.Xaml.Chart.UWP.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\uap10.0\Telerik.UI.Xaml.Chart.UWP.dll</HintPath>
</Reference>
<Reference Include="Telerik.UI.Xaml.Controls.Data.UWP">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\uap10.0\Telerik.UI.Xaml.Controls.Data.UWP.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\uap10.0\Telerik.UI.Xaml.Controls.Data.UWP.dll</HintPath>
</Reference>
<Reference Include="Telerik.UI.Xaml.Input.UWP">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\uap10.0\Telerik.UI.Xaml.Input.UWP.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\uap10.0\Telerik.UI.Xaml.Input.UWP.dll</HintPath>
</Reference>
<Reference Include="Telerik.UI.Xaml.Primitives.UWP">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\uap10.0\Telerik.UI.Xaml.Primitives.UWP.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\uap10.0\Telerik.UI.Xaml.Primitives.UWP.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Barcode">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\uap10.0\Telerik.XamarinForms.Barcode.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\uap10.0\Telerik.XamarinForms.Barcode.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Chart">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\uap10.0\Telerik.XamarinForms.Chart.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\uap10.0\Telerik.XamarinForms.Chart.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Common">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\uap10.0\Telerik.XamarinForms.Common.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\uap10.0\Telerik.XamarinForms.Common.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.ConversationalUI">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\uap10.0\Telerik.XamarinForms.ConversationalUI.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\uap10.0\Telerik.XamarinForms.ConversationalUI.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.DataControls">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\uap10.0\Telerik.XamarinForms.DataControls.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\uap10.0\Telerik.XamarinForms.DataControls.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.DataGrid, Version=2017.3.1213.240, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\uap10.0\Telerik.XamarinForms.DataGrid.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\uap10.0\Telerik.XamarinForms.DataGrid.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.DataVisualization">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\uap10.0\Telerik.XamarinForms.DataVisualization.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\uap10.0\Telerik.XamarinForms.DataVisualization.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.ImageEditor">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\uap10.0\Telerik.XamarinForms.ImageEditor.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\uap10.0\Telerik.XamarinForms.ImageEditor.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Input">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\uap10.0\Telerik.XamarinForms.Input.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\uap10.0\Telerik.XamarinForms.Input.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Map">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\uap10.0\Telerik.XamarinForms.Map.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\uap10.0\Telerik.XamarinForms.Map.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.PdfViewer">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\uap10.0\Telerik.XamarinForms.PdfViewer.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\uap10.0\Telerik.XamarinForms.PdfViewer.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Primitives">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\uap10.0\Telerik.XamarinForms.Primitives.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\uap10.0\Telerik.XamarinForms.Primitives.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.SkiaSharp">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\uap10.0\Telerik.XamarinForms.SkiaSharp.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\uap10.0\Telerik.XamarinForms.SkiaSharp.dll</HintPath>
</Reference>
<Reference Include="Telerik.Zip">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Zip.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Zip.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>

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

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Telerik.UI.for.Xamarin.Trial" version="2019.2.802.1" targetFramework="uap10.0" />
<package id="Telerik.UI.for.Xamarin.Trial" version="2019.3.913.1" targetFramework="uap10.0" />
</packages>

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

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

После

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

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

@ -198,69 +198,69 @@
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="Telerik.Documents.Core">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Core.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Core.dll</HintPath>
</Reference>
<Reference Include="Telerik.Documents.Fixed">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Fixed.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Fixed.dll</HintPath>
</Reference>
<Reference Include="Telerik.Documents.SpreadsheetStreaming, Version=2017.1.10421.234, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.SpreadsheetStreaming.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.SpreadsheetStreaming.dll</HintPath>
</Reference>
<Reference Include="Telerik.Xamarin.iOS, Version=2017.1.421.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\xamarinios10\Telerik.Xamarin.iOS.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\xamarinios10\Telerik.Xamarin.iOS.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Barcode">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\xamarinios10\Telerik.XamarinForms.Barcode.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\xamarinios10\Telerik.XamarinForms.Barcode.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Chart, Version=2017.1.10421.234, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\xamarinios10\Telerik.XamarinForms.Chart.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\xamarinios10\Telerik.XamarinForms.Chart.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Common, Version=2017.1.10421.234, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\xamarinios10\Telerik.XamarinForms.Common.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\xamarinios10\Telerik.XamarinForms.Common.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.ConversationalUI">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\xamarinios10\Telerik.XamarinForms.ConversationalUI.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\xamarinios10\Telerik.XamarinForms.ConversationalUI.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.DataControls, Version=2017.1.10421.234, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\xamarinios10\Telerik.XamarinForms.DataControls.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\xamarinios10\Telerik.XamarinForms.DataControls.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.DataGrid, Version=2017.3.1219.240, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\xamarinios10\Telerik.XamarinForms.DataGrid.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\xamarinios10\Telerik.XamarinForms.DataGrid.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.DataVisualization, Version=2017.1.10421.234, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\xamarinios10\Telerik.XamarinForms.DataVisualization.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\xamarinios10\Telerik.XamarinForms.DataVisualization.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.ImageEditor">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\xamarinios10\Telerik.XamarinForms.ImageEditor.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\xamarinios10\Telerik.XamarinForms.ImageEditor.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Input, Version=2017.1.10421.234, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\xamarinios10\Telerik.XamarinForms.Input.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\xamarinios10\Telerik.XamarinForms.Input.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Map">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\xamarinios10\Telerik.XamarinForms.Map.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\xamarinios10\Telerik.XamarinForms.Map.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.PdfViewer">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\xamarinios10\Telerik.XamarinForms.PdfViewer.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\xamarinios10\Telerik.XamarinForms.PdfViewer.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Primitives, Version=2017.1.10421.234, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\xamarinios10\Telerik.XamarinForms.Primitives.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\xamarinios10\Telerik.XamarinForms.Primitives.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.SkiaSharp, Version=2017.1.10421.234, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\xamarinios10\Telerik.XamarinForms.SkiaSharp.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\xamarinios10\Telerik.XamarinForms.SkiaSharp.dll</HintPath>
</Reference>
<Reference Include="Telerik.Zip, Version=2017.1.10421.234, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Zip.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Zip.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Xamarin.Forms.4.1.0.581479\lib\Xamarin.iOS10\Xamarin.Forms.Core.dll</HintPath>
@ -574,6 +574,9 @@
<ItemGroup>
<BundleResource Include="Resources\ImageEditor.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\custom_toolbar.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>

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

@ -6,5 +6,5 @@
<package id="Xam.Plugins.Settings" version="3.1.1" targetFramework="xamarinios10" />
<package id="Xamarin.Forms" version="4.1.0.581479" targetFramework="xamarinios10" />
<package id="Xamarin.TestCloud.Agent" version="0.21.7" targetFramework="xamarinios10" />
<package id="Telerik.UI.for.Xamarin.Trial" version="2019.2.802.1" targetFramework="xamarinios10" />
<package id="Telerik.UI.for.Xamarin.Trial" version="2019.3.913.1" targetFramework="xamarinios10" />
</packages>

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

@ -1,28 +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:telerik="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
xmlns:primitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
xmlns:telerikCommon="clr-namespace:Telerik.XamarinForms.Common;assembly=Telerik.XamarinForms.Common"
x:Class="SDKBrowser.Examples.AutoCompleteViewControl.FeaturesCategory.TokensExample.Tokens">
<StackLayout>
<!-- >> autocompleteview-tokentemplate-xaml -->
<telerik:RadAutoCompleteView DisplayMode="Tokens"
<telerikInput:RadAutoCompleteView DisplayMode="Tokens"
ItemsSource="{Binding Source}"
TextSearchPath="Name"
Watermark="Search Here..."
BackgroundColor="White">
<telerik:RadAutoCompleteView.ShowMoreTemplate>
<telerikInput:RadAutoCompleteView.ShowMoreTemplate>
<DataTemplate>
<Label Text="{Binding Path=., StringFormat='+{0} more'}" VerticalTextAlignment="Center" />
</DataTemplate>
</telerik:RadAutoCompleteView.ShowMoreTemplate>
<telerik:RadAutoCompleteView.NoResultsTemplate>
</telerikInput:RadAutoCompleteView.ShowMoreTemplate>
<telerikInput:RadAutoCompleteView.NoResultsTemplate>
<DataTemplate>
<Label Text="No match was found for the specific search. Please try again."/>
</DataTemplate>
</telerik:RadAutoCompleteView.NoResultsTemplate>
</telerik:RadAutoCompleteView>
</telerikInput:RadAutoCompleteView.NoResultsTemplate>
</telerikInput:RadAutoCompleteView>
<!-- << autocompleteview-tokentemplate-xaml -->
</StackLayout>
</ContentView>

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

@ -1,20 +1,20 @@
<?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:telerik="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
xmlns:common="clr-namespace:Telerik.XamarinForms.Common;assembly=Telerik.XamarinForms.Common"
x:Class="SDKBrowser.Examples.AutoCompleteViewControl.TemplatesCategory.TokensTemplateExample.TokensTemplate">
<StackLayout>
<!-- >> autocompleteview-templates-token-template-xaml -->
<telerik:RadAutoCompleteView x:Name="autoCompleteViewTokensTemplate"
<telerikInput:RadAutoCompleteView x:Name="autoCompleteViewTokensTemplate"
ItemsSource="{Binding Source}"
DisplayMode="Tokens"
SuggestionViewHeight="150"
TextSearchPath="Name"
Watermark="Search Here..."
BackgroundColor="White">
<telerik:RadAutoCompleteView.TokenTemplate>
<telerikInput:RadAutoCompleteView.TokenTemplate>
<DataTemplate>
<telerikPrimitives:RadBorder BorderColor="Brown"
BorderThickness="2"
@ -38,8 +38,8 @@
</StackLayout>
</telerikPrimitives:RadBorder>
</DataTemplate>
</telerik:RadAutoCompleteView.TokenTemplate>
</telerik:RadAutoCompleteView>
</telerikInput:RadAutoCompleteView.TokenTemplate>
</telerikInput:RadAutoCompleteView>
<!-- << autocompleteview-templates-token-template-xaml -->
</StackLayout>
</ContentView>

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

@ -0,0 +1,54 @@
<?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:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
xmlns:local="clr-namespace:SDKBrowser.Examples.CalendarControl.FeaturesCategory.AppointmentsTemplateExample"
mc:Ignorable="d"
x:Class="SDKBrowser.Examples.CalendarControl.FeaturesCategory.AppointmentsTemplateExample.AppointmentsTemplate">
<ContentView.Resources>
<ResourceDictionary>
<!-- >> calendar-appointments-template-selector -->
<local:DayViewAppointmentTemplateSelector x:Key="DayViewAppointmentTemplateSelector">
<local:DayViewAppointmentTemplateSelector.AllDay>
<DataTemplate>
<Grid>
<Label Text="{Binding Title}" FontSize="16" TextColor="Black"/>
</Grid>
</DataTemplate>
</local:DayViewAppointmentTemplateSelector.AllDay>
<local:DayViewAppointmentTemplateSelector.NotAllDay>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<StackLayout>
<Label Text="{Binding Title}" FontSize="20" TextColor="Black"/>
<Label Text="{Binding Detail}" FontSize="14" TextColor="Black"/>
</StackLayout>
<Image Source="favourite.png" VerticalOptions="Center" HorizontalOptions="Center" Grid.Column="1"/>
</Grid>
</DataTemplate>
</local:DayViewAppointmentTemplateSelector.NotAllDay>
</local:DayViewAppointmentTemplateSelector>
<!-- << calendar-appointments-template-selector -->
</ResourceDictionary>
</ContentView.Resources>
<!-- >> calendar-appointments-template-example -->
<telerikInput:RadCalendar x:Name="calendar"
ViewMode="Day"
AppointmentsSource="{Binding Appointments}"
SchedulingUiEnabled="True">
<telerikInput:RadCalendar.BindingContext>
<local:AppointmentsTemplateViewModel/>
</telerikInput:RadCalendar.BindingContext>
<telerikInput:RadCalendar.DayViewSettings>
<telerikInput:DayViewSettings AppointmentContentTemplate="{StaticResource DayViewAppointmentTemplateSelector}"/>
</telerikInput:RadCalendar.DayViewSettings>
</telerikInput:RadCalendar>
<!-- << calendar-appointments-template-example -->
</ContentView>

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

@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.CalendarControl.FeaturesCategory.AppointmentsTemplateExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class AppointmentsTemplate : ContentView
{
public AppointmentsTemplate()
{
InitializeComponent();
}
}
}

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

@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using Xamarin.Forms;
using Telerik.XamarinForms.Input;
namespace SDKBrowser.Examples.CalendarControl.FeaturesCategory.AppointmentsTemplateExample
{
// >> calendar-appointments-template-viewmodel
public class AppointmentsTemplateViewModel
{
public AppointmentsTemplateViewModel()
{
var date = DateTime.Today;
this.Appointments = new ObservableCollection<Appointment>
{
new Appointment{ Title = "Tom Birthday", IsAllDay = true, Color = Color.FromHex("#C1D8FF"), Detail ="Buy present!", StartDate = date, EndDate = date.AddHours(12)},
new Appointment{ Title = "Lunch with Sara", IsAllDay = false, Color = Color.FromHex("#EDFDE3"), Detail ="Discuss the new marketing strategy", StartDate = date.AddDays(1).AddHours(12), EndDate = date.AddDays(1).AddHours(13).AddMinutes(30)},
new Appointment{ Title = "Security Training", IsAllDay = false, Color = Color.FromHex("#EDFDE3"), Detail ="Details for the event come here", StartDate = date.AddHours(15), EndDate = date.AddHours(16)},
new Appointment{ Title = "Elle Birthday", IsAllDay = true, Color = Color.FromHex("#FFF1F9"), Detail ="Buy present!", StartDate = date.AddDays(1), EndDate = date.AddDays(1).AddHours(12)},
new Appointment{ Title = "One to One Meeting", IsAllDay = false, Color = Color.FromHex("#EBF2FD"), Detail ="Details for the event come here - for example place, participants and add information", StartDate = date.AddHours(16), EndDate = date.AddHours(17)},
new Appointment{ Title = "Marathon", IsAllDay = false, Color = Color.FromHex("#FDE2AC"), Detail ="Enjoy running", StartDate = date.AddHours(8), EndDate = date.AddHours(11)},
};
}
public ObservableCollection<Appointment> Appointments { get; set; }
}
// << calendar-appointments-template-viewmodel
}

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

@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Text;
using Telerik.XamarinForms.Input;
using Xamarin.Forms;
namespace SDKBrowser.Examples.CalendarControl.FeaturesCategory.AppointmentsTemplateExample
{
// >> calendar-appointments-template-selector-class
public class DayViewAppointmentTemplateSelector : DataTemplateSelector
{
public DataTemplate AllDay { get; set; }
public DataTemplate NotAllDay { get; set; }
protected override DataTemplate OnSelectTemplate(object item, BindableObject container)
{
var appointmentsTemplate = item as Appointment;
if (appointmentsTemplate.IsAllDay)
{
return this.AllDay;
}
return this.NotAllDay;
}
}
// << calendar-appointments-template-selector-class
}

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

@ -0,0 +1,27 @@
using Telerik.XamarinForms.Input;
namespace SDKBrowser.Examples.CalendarControl.FeaturesCategory.CustomSlotsExample
{
// >> calendar-specialslots-customslot
public class BreakSlot : SpecialSlot
{
private string title;
public string Title
{
get
{
return this.title;
}
set
{
if (this.title != value)
{
this.title = value;
this.OnPropertyChanged();
}
}
}
}
// << calendar-specialslots-customslot
}

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

@ -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:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
x:Class="SDKBrowser.Examples.CalendarControl.FeaturesCategory.CustomSlotsExample.CustomSlots">
<ContentView.Resources>
<!-- >> calendar-customslots-resources -->
<DataTemplate x:Key="RestHoursTemplate">
<Label Text="{Binding Title}"
Margin="5"
TextColor="#29398D"
FontSize="10" />
</DataTemplate>
<!-- << calendar-customslots-resources -->
</ContentView.Resources>
<!-- >> calendar-customslots-xaml -->
<telerikInput:RadCalendar x:Name="calendar"
ViewMode="MultiDay"
SchedulingUiEnabled="True">
<telerikInput:RadCalendar.MultiDayViewSettings>
<telerikInput:MultiDayViewSettings VisibleDays="7"
SpecialSlotsSource="{Binding RestHours}"
SpecialSlotContentTemplate="{StaticResource RestHoursTemplate}"/>
</telerikInput:RadCalendar.MultiDayViewSettings>
</telerikInput:RadCalendar>
<!-- << calendar-customslots-xaml -->
</ContentView>

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

@ -0,0 +1,18 @@
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.CalendarControl.FeaturesCategory.CustomSlotsExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class CustomSlots : ContentView
{
public CustomSlots()
{
InitializeComponent();
// >> calendar-customslots-setvm
this.BindingContext = new ViewModel();
// << calendar-customslots-setvm
}
}
}

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

@ -0,0 +1,42 @@
using System;
using System.Collections.ObjectModel;
using Telerik.XamarinForms.Input;
namespace SDKBrowser.Examples.CalendarControl.FeaturesCategory.CustomSlotsExample
{
// >> calendar-customslots-vm
public class ViewModel
{
public ViewModel()
{
this.RestHours = new ObservableCollection<BreakSlot>();
var today = DateTime.Today;
var dailyRecurrence = new RecurrencePattern()
{
DaysOfWeekMask = RecurrenceDays.WeekDays,
Frequency = RecurrenceFrequency.Weekly,
MaxOccurrences = 30
};
this.RestHours.Add(new BreakSlot()
{
Title = "Lunch time",
StartDate = today.AddHours(12),
EndDate = today.AddHours(13),
IsReadOnly = true,
RecurrencePattern = dailyRecurrence
});
this.RestHours.Add(new BreakSlot()
{
Title = "Coffee break",
StartDate = today.AddHours(16),
EndDate = today.AddHours(16).AddMinutes(30),
RecurrencePattern = dailyRecurrence
});
}
public ObservableCollection<BreakSlot> RestHours { get; set; }
}
// << calendar-customslots-vm
}

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

@ -0,0 +1,16 @@
<?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:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
x:Class="SDKBrowser.Examples.CalendarControl.FeaturesCategory.SpecialSlotsExample.SpecialSlots">
<!-- >> calendar-specialslots-xaml -->
<telerikInput:RadCalendar x:Name="calendar"
ViewMode="MultiDay"
SchedulingUiEnabled="True">
<telerikInput:RadCalendar.MultiDayViewSettings>
<telerikInput:MultiDayViewSettings VisibleDays="7"
SpecialSlotsSource="{Binding RestHours}" />
</telerikInput:RadCalendar.MultiDayViewSettings>
</telerikInput:RadCalendar>
<!-- << calendar-specialslots-xaml -->
</ContentView>

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

@ -0,0 +1,18 @@
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.CalendarControl.FeaturesCategory.SpecialSlotsExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class SpecialSlots : ContentView
{
public SpecialSlots()
{
InitializeComponent();
// >> calendar-specialslots-setvm
this.BindingContext = new ViewModel();
// << calendar-specialslots-setvm
}
}
}

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

@ -0,0 +1,36 @@
using System;
using System.Collections.ObjectModel;
using Telerik.XamarinForms.Input;
namespace SDKBrowser.Examples.CalendarControl.FeaturesCategory.SpecialSlotsExample
{
// >> calendar-specialslots-viewmodel
public class ViewModel
{
public ViewModel()
{
this.RestHours = new ObservableCollection<SpecialSlot>();
var today = DateTime.Today;
var dailyRecurrence = new RecurrencePattern()
{
DaysOfWeekMask = RecurrenceDays.WeekDays,
Frequency = RecurrenceFrequency.Weekly,
MaxOccurrences = 30
};
this.RestHours.Add(new SpecialSlot(today.AddHours(12), today.AddHours(13))
{
RecurrencePattern = dailyRecurrence,
IsReadOnly = true
});
this.RestHours.Add(new SpecialSlot(today.AddHours(16), today.AddHours(16).AddMinutes(15))
{
RecurrencePattern = dailyRecurrence
});
}
public ObservableCollection<SpecialSlot> RestHours { get; set; }
}
// << calendar-specialslots-viewmodel
}

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

@ -0,0 +1,21 @@
using Telerik.XamarinForms.Input;
namespace SDKBrowser.Examples.CalendarControl.FeaturesCategory.SpecialSlotsStyleSelectorExample
{
// >> calendar-specialslots-customselector
public class RestHoursStyleSelector : SpecialSlotStyleSelector
{
public CalendarSpecialSlotStyle LunchBreakStyle { get; set; }
public CalendarSpecialSlotStyle ShortBreakStyle { get; set; }
public override CalendarSpecialSlotStyle SelectStyle(object item)
{
var specialSlot = item as SpecialSlot;
if (specialSlot.StartDate.Hour == 12)
return this.LunchBreakStyle;
return this.ShortBreakStyle;
}
}
// << calendar-specialslots-customselector
}

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

@ -0,0 +1,32 @@
<?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:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
xmlns:local="clr-namespace:SDKBrowser.Examples.CalendarControl.FeaturesCategory.SpecialSlotsStyleSelectorExample"
x:Class="SDKBrowser.Examples.CalendarControl.FeaturesCategory.SpecialSlotsStyleSelectorExample.SpecialSlotsStyleSelector">
<ContentView.Resources>
<!-- >> calendar-specialslotsselector-resources -->
<ResourceDictionary>
<local:RestHoursStyleSelector x:Key="RestHoursStyleSelector">
<local:RestHoursStyleSelector.LunchBreakStyle>
<telerikInput:CalendarSpecialSlotStyle BackgroundColor="#FFD09E"/>
</local:RestHoursStyleSelector.LunchBreakStyle>
<local:RestHoursStyleSelector.ShortBreakStyle>
<telerikInput:CalendarSpecialSlotStyle BackgroundColor="#FFEAC6"/>
</local:RestHoursStyleSelector.ShortBreakStyle>
</local:RestHoursStyleSelector>
</ResourceDictionary>
<!-- << calendar-specialslotsselector-resources -->
</ContentView.Resources>
<!-- >> calendar-specialslotsselector-xaml -->
<telerikInput:RadCalendar x:Name="calendar"
ViewMode="MultiDay"
SchedulingUiEnabled="True">
<telerikInput:RadCalendar.MultiDayViewSettings>
<telerikInput:MultiDayViewSettings VisibleDays="7"
SpecialSlotsSource="{Binding RestHours}"
SpecialSlotStyleSelector="{StaticResource RestHoursStyleSelector}"/>
</telerikInput:RadCalendar.MultiDayViewSettings>
</telerikInput:RadCalendar>
<!-- << calendar-specialslotsselector-xaml -->
</ContentView>

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

@ -0,0 +1,16 @@
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.CalendarControl.FeaturesCategory.SpecialSlotsStyleSelectorExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class SpecialSlotsStyleSelector : ContentView
{
public SpecialSlotsStyleSelector()
{
InitializeComponent();
this.BindingContext = new ViewModel();
}
}
}

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

@ -0,0 +1,34 @@
using System;
using System.Collections.ObjectModel;
using Telerik.XamarinForms.Input;
namespace SDKBrowser.Examples.CalendarControl.FeaturesCategory.SpecialSlotsStyleSelectorExample
{
public class ViewModel
{
public ViewModel()
{
this.RestHours = new ObservableCollection<SpecialSlot>();
var today = DateTime.Today;
var dailyRecurrence = new RecurrencePattern()
{
DaysOfWeekMask = RecurrenceDays.WeekDays,
Frequency = RecurrenceFrequency.Weekly,
MaxOccurrences = 30
};
this.RestHours.Add(new SpecialSlot(today.AddHours(12), today.AddHours(13))
{
RecurrencePattern = dailyRecurrence,
IsReadOnly = true
});
this.RestHours.Add(new SpecialSlot(today.AddHours(16), today.AddHours(16).AddMinutes(15))
{
RecurrencePattern = dailyRecurrence
});
}
public ObservableCollection<SpecialSlot> RestHours { get; set; }
}
}

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

@ -0,0 +1,7 @@
<?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:telerikConversationalUI="clr-namespace:Telerik.XamarinForms.ConversationalUI;assembly=Telerik.XamarinForms.ConversationalUI"
x:Class="SDKBrowser.Examples.ChatControl.ChatPickersCategory.ChooseCardExample.ChooseCard">
<telerikConversationalUI:RadChat x:Name="chat" />
</ContentView>

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

@ -0,0 +1,59 @@
using System.Collections.Generic;
using Telerik.XamarinForms.ConversationalUI;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.ChatControl.ChatPickersCategory.ChooseCardExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ChooseCard : ContentView
{
public ChooseCard()
{
InitializeComponent();
// >> chat-chatpicker-cardpicker-pickeritem
PickerItem pickerItem = new PickerItem();
var context = new CardPickerContext { Cards = this.GetCards(pickerItem) };
pickerItem.Context = context;
chat.Items.Add(new TextMessage { Text = "Select a destination" });
chat.Items.Add(pickerItem);
// << chat-chatpicker-cardpicker-pickeritem
}
// >> chat-chatpicker-cardpicker-getcards
private IEnumerable<CardContext> GetCards(ChatItem chatItem)
{
List<CardContext> cards = new List<CardContext>()
{
new BasicCardContext() {
Title ="Rome",
Subtitle ="Italy",
Description ="Italys capital is one of the worlds most romantic and inspiring cities",
Actions = GetCardActions(chatItem, "Rome")},
new BasicCardContext() {
Title ="Barcelona",
Subtitle ="Spain",
Description ="Barcelona is an enchanting seaside city with remarkable architecture",
Actions = GetCardActions(chatItem, "Barcelona")}
};
return cards;
}
private ICollection<CardActionContext> GetCardActions(ChatItem chatItem, string Title)
{
var selectAction = new CardActionContext
{
Text = "Select",
Command = new Command(() =>
{
var index = chat.Items.IndexOf(chatItem);
chat.Items.RemoveAt(index);
chat.Items.Add(new TextMessage { Author = this.chat.Author, Text = "You selected " + Title });
}),
};
return new List<CardActionContext>() { selectAction };
}
// << chat-chatpicker-cardpicker-getcards
}
}

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

@ -0,0 +1,7 @@
<?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:telerikConversationalUI="clr-namespace:Telerik.XamarinForms.ConversationalUI;assembly=Telerik.XamarinForms.ConversationalUI"
x:Class="SDKBrowser.Examples.ChatControl.ChatPickersCategory.ChooseDateExample.ChooseDate">
<telerikConversationalUI:RadChat x:Name="chat" />
</ContentView>

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

@ -0,0 +1,38 @@
using System;
using Telerik.XamarinForms.ConversationalUI;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.ChatControl.ChatPickersCategory.ChooseDateExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ChooseDate : ContentView
{
public ChooseDate ()
{
InitializeComponent ();
// >> chat-chatpicker-datepicker
DatePickerContext context = new DatePickerContext {
MinDate = new DateTime(2019, 1, 1),
MaxDate = new DateTime(2019, 2, 2),
DisplayDate = new DateTime(2019, 1, 16)};
PickerItem pickerItem = new PickerItem { Context = context };
chat.Items.Add(new TextMessage { Text = "Select a date", Author = chat.Author });
chat.Items.Add(pickerItem);
context.PropertyChanged += (s, e) =>
{
if (e.PropertyName == "SelectedDate")
{
if (context.SelectedDate != null)
{
chat.Items.Remove(pickerItem);
chat.Items.Add(new TextMessage { Author = chat.Author, Text = "" + context.SelectedDate });
}
}
};
// << chat-chatpicker-datepicker
}
}
}

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

@ -0,0 +1,7 @@
<?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:telerikConversationalUI="clr-namespace:Telerik.XamarinForms.ConversationalUI;assembly=Telerik.XamarinForms.ConversationalUI"
x:Class="SDKBrowser.Examples.ChatControl.ChatPickersCategory.ChooseItemExample.ChooseItem">
<telerikConversationalUI:RadChat x:Name="chat" />
</ContentView>

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

@ -0,0 +1,37 @@
using System.Collections.Generic;
using Telerik.XamarinForms.ConversationalUI;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.ChatControl.ChatPickersCategory.ChooseItemExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ChooseItem : ContentView
{
public ChooseItem ()
{
InitializeComponent ();
// >> chat-chatpicker-itempicker
ItemPickerContext context = new ItemPickerContext
{
ItemsSource = new List<string>() { "2 days", "5 days", "7 days", "Another period" }
};
PickerItem pickerItem = new PickerItem { Context = context, HeaderText = "Select an item" };
chat.Items.Add(pickerItem);
context.PropertyChanged += (s, e) =>
{
if (e.PropertyName == "SelectedItem")
{
if (context.SelectedItem != null)
{
chat.Items.Remove(pickerItem);
chat.Items.Add(new TextMessage { Author = chat.Author, Text = "" + context.SelectedItem });
}
}
};
// << chat-chatpicker-itempicker
}
}
}

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

@ -0,0 +1,7 @@
<?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:telerikConversationalUI="clr-namespace:Telerik.XamarinForms.ConversationalUI;assembly=Telerik.XamarinForms.ConversationalUI"
x:Class="SDKBrowser.Examples.ChatControl.ChatPickersCategory.ChooseTimeExample.ChooseTime">
<telerikConversationalUI:RadChat x:Name="chat" />
</ContentView>

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

@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Telerik.XamarinForms.ConversationalUI;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.ChatControl.ChatPickersCategory.ChooseTimeExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ChooseTime : ContentView
{
public ChooseTime ()
{
InitializeComponent ();
// >> chat-chatpicker-timepicker
TimePickerContext context = new TimePickerContext
{
StartTime = TimeSpan.FromHours(1),
EndTime = TimeSpan.FromHours(5),
};
PickerItem pickerItem = new PickerItem { Context = context };
chat.Items.Add(new TextMessage { Text = "Select a time" });
chat.Items.Add(pickerItem);
context.PropertyChanged += (s, e) =>
{
if (e.PropertyName == "SelectedValue")
{
if (context.SelectedValue != null)
{
chat.Items.Remove(pickerItem);
chat.Items.Add(new TextMessage { Author = chat.Author, Text = "" + context.SelectedValue });
}
}
};
// << chat-chatpicker-timepicker
}
}
}

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

@ -0,0 +1,16 @@
<?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:telerikConversationalUI="clr-namespace:Telerik.XamarinForms.ConversationalUI;assembly=Telerik.XamarinForms.ConversationalUI"
x:Class="SDKBrowser.Examples.ChatControl.ChatPickersCategory.PickerInsideChatExample.PickerInsideChat">
<!-- >> chat-pickeroverlay-xaml -->
<telerikConversationalUI:RadChat x:Name="chat">
<telerikConversationalUI:RadChat.Picker>
<telerikConversationalUI:RadChatPicker x:Name="picker"
IsOkButtonVisible="False"
IsCancelButtonVisible="False"
BackgroundColor="LightGray" />
</telerikConversationalUI:RadChat.Picker>
</telerikConversationalUI:RadChat>
<!-- << chat-pickeroverlay-xaml -->
</ContentView>

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

@ -0,0 +1,38 @@
using System;
using Telerik.XamarinForms.ConversationalUI;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.ChatControl.ChatPickersCategory.PickerInsideChatExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class PickerInsideChat : ContentView
{
public PickerInsideChat()
{
InitializeComponent ();
// >> chat-chatpicker-overlay-code
DatePickerContext context = new DatePickerContext
{
MinDate = new DateTime(2019, 1, 1),
MaxDate = new DateTime(2019, 2, 2),
DisplayDate = new DateTime(2019, 1, 16)
};
context.PropertyChanged += (s, e) =>
{
if (e.PropertyName == "SelectedDate")
{
if (context.SelectedDate != null)
{
chat.Items.Add(new TextMessage { Author = this.chat.Author, Text = "" + context.SelectedDate });
(chat.Picker as RadChatPicker).Context = null;
}
}
};
(chat.Picker as RadChatPicker).Context = context;
// << chat-chatpicker-overlay-code
}
}
}

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

@ -0,0 +1,20 @@
<?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:telerikConversationalUI="clr-namespace:Telerik.XamarinForms.ConversationalUI;assembly=Telerik.XamarinForms.ConversationalUI"
xmlns:telerikDataControls="clr-namespace:Telerik.XamarinForms.DataControls;assembly=Telerik.XamarinForms.DataControls"
x:Class="SDKBrowser.Examples.ChatControl.FeaturesCategory.CommandsExample.Commands">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="150" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<telerikDataControls:RadListView x:Name="listView" ItemsSource="{Binding MessagesLog}" />
<!-- >> chat-commands-xaml -->
<telerikConversationalUI:RadChat x:Name="chat"
Grid.Row="1"
ItemsSource="{Binding Items}"
SendMessageCommand="{Binding NewMessageCommand}" />
<!-- << chat-commands-xaml -->
</Grid>
</ContentView>

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

@ -0,0 +1,16 @@
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.ChatControl.FeaturesCategory.CommandsExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class Commands : ContentView
{
public Commands ()
{
InitializeComponent ();
this.BindingContext = new ViewModel();
}
}
}

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

@ -0,0 +1,36 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using System.Windows.Input;
using Telerik.XamarinForms.ConversationalUI;
using Xamarin.Forms;
namespace SDKBrowser.Examples.ChatControl.FeaturesCategory.CommandsExample
{
public class ViewModel
{
// >> chat-commands-viewmodel
public ViewModel()
{
this.Items = new ObservableCollection<ChatItem>();
this.NewMessageCommand = new Command(NewMessageCommandExecute);
this.MessagesLog = new ObservableCollection<string>();
}
public ObservableCollection<string> MessagesLog { get; set; }
public ICommand NewMessageCommand { get; set; }
public IList<ChatItem> Items { get; set; }
// << chat-commands-viewmodel
// >> chat-commands-executemethod
private void NewMessageCommandExecute(object obj)
{
var newMessage = (string)obj;
//any additional logic you need to implement
this.MessagesLog.Add("You just added a new message with text " + newMessage);
}
// << chat-commands-executemethod
}
}

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

@ -10,6 +10,7 @@ using Xamarin.Forms;
namespace SDKBrowser.Examples.ChatControl.FeaturesCategory.ItemTemplateSelectorExample
{
// >> chat-features-itemtemplate-items
public class ViewModel : NotifyPropertyChangedBase
{
private Author me;
@ -19,8 +20,6 @@ namespace SDKBrowser.Examples.ChatControl.FeaturesCategory.ItemTemplateSelectorE
this.Me = new Author() { Name = "human", Avatar = prefix + "sampleAvatar.png" };
this.Bot = new Author() { Name = "Bot", Avatar = prefix + "sampleBot.png" };
// >> chat-features-itemtemplate-items
this.Items = new ObservableCollection<SimpleChatItem>();
// Simulate async data loading
@ -30,8 +29,8 @@ namespace SDKBrowser.Examples.ChatControl.FeaturesCategory.ItemTemplateSelectorE
this.Items.Add(new SimpleChatItem { Author = this.Bot, Text = "Please check our new privacy policy here:...", Category = MessageCategory.Important });
return false;
});
// << chat-features-itemtemplate-items
}
public Author Me
{
get
@ -50,4 +49,5 @@ namespace SDKBrowser.Examples.ChatControl.FeaturesCategory.ItemTemplateSelectorE
public Author Bot { get; set; }
public IList<SimpleChatItem> Items { get; set; }
}
// << chat-features-itemtemplate-items
}

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

@ -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:example="clr-namespace:SDKBrowser.Examples.ChatControl.HowToCategory.CustomCardExample"
xmlns:telerikConversationalUI="clr-namespace:Telerik.XamarinForms.ConversationalUI;assembly=Telerik.XamarinForms.ConversationalUI"
xmlns:telerikCommon="clr-namespace:Telerik.XamarinForms.Common;assembly=Telerik.XamarinForms.Common"
x:Class="SDKBrowser.Examples.ChatControl.HowToCategory.CustomCardExample.CustomCard">
<ContentView.Resources>
<telerikCommon:StringToBoolConverter x:Key="StringToBoolConverter" />
<DataTemplate x:Key="MyCardViewTemplate">
<example:MyCardView x:Name="view"
Date="{Binding Date}"
ContactDetails="{Binding ContactDetails}"
Actions="{Binding Actions}" />
</DataTemplate>
<example:MyCardPickerTemplateSelector x:Key="MyCardPickerTemplateSelector"
MyCardTemplate="{StaticResource MyCardViewTemplate}" />
<Style TargetType="telerikConversationalUI:CardPickerView">
<Setter Property="ItemTemplate" Value="{StaticResource MyCardPickerTemplateSelector}" />
</Style>
</ContentView.Resources>
<telerikConversationalUI:RadChat x:Name="chat" />
</ContentView>

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

@ -0,0 +1,63 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Telerik.XamarinForms.ConversationalUI;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.ChatControl.HowToCategory.CustomCardExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class CustomCard : ContentView
{
public CustomCard ()
{
InitializeComponent();
PickerItem pickerItem = new PickerItem();
var context = new CardPickerContext { Cards = this.GetCards(pickerItem) };
pickerItem.Context = context;
chat.Items.Add(new TextMessage { Text = "Select a contact" });
chat.Items.Add(pickerItem);
}
private IEnumerable<CardContext> GetCards(ChatItem chatItem)
{
List<CardContext> cards = new List<CardContext>()
{
new MyCardContext() { Date=DateTime.Today, ContactDetails="John Doe", Actions = GetActions(chatItem, "John")},
new MyCardContext() { Date=DateTime.Today.AddDays(10), ContactDetails="Linda Jones", Actions=GetActions(chatItem, "Linda")}
};
return cards;
}
private ICollection<CardActionContext> GetActions(ChatItem chatItem, string Title)
{
var selectAction = new CardActionContext
{
Text = "Select",
Command = new Command(() =>
{
var index = chat.Items.IndexOf(chatItem);
chat.Items.RemoveAt(index);
chat.Items.Add(new TextMessage { Author = this.chat.Author, Text = Title });
})
};
var seeBioAction = new CardActionContext
{
Text = "See Bio",
Command = new Command(() =>
{
var index = chat.Items.IndexOf(chatItem);
chat.Items.RemoveAt(index);
chat.Items.Add(new TextMessage { Author = this.chat.Author, Text = Title + " biography" });
})
};
return new List<CardActionContext>() { selectAction, seeBioAction };
}
}
}

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

@ -0,0 +1,34 @@
using System;
using Telerik.XamarinForms.ConversationalUI;
namespace SDKBrowser.Examples.ChatControl.HowToCategory.CustomCardExample
{
public class MyCardContext : CardContext
{
private DateTime _date;
public DateTime Date
{
get
{
return this._date;
}
set
{
this.UpdateValue(ref this._date, value);
}
}
private string _contactDetails;
public string ContactDetails
{
get
{
return this._contactDetails;
}
set
{
this.UpdateValue(ref this._contactDetails, value);
}
}
}
}

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

@ -0,0 +1,21 @@
using Telerik.XamarinForms.ConversationalUI;
using Xamarin.Forms;
namespace SDKBrowser.Examples.ChatControl.HowToCategory.CustomCardExample
{
public class MyCardPickerTemplateSelector : CardPickerTemplateSelector
{
public DataTemplate MyCardTemplate { get; set; }
protected override DataTemplate OnSelectTemplate(object item, BindableObject container)
{
MyCardContext myCard = item as MyCardContext;
if (myCard != null)
{
return this.MyCardTemplate;
}
return base.OnSelectTemplate(item, container);
}
}
}

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

@ -0,0 +1,52 @@
using System;
using Xamarin.Forms;
using Telerik.XamarinForms.ConversationalUI;
namespace SDKBrowser.Examples.ChatControl.HowToCategory.CustomCardExample
{
public class MyCardView : CardView
{
public static readonly BindableProperty DateProperty =
BindableProperty.Create(nameof(Date), typeof(DateTime), typeof(MyCardView));
public static readonly BindableProperty ContactDetailsProperty =
BindableProperty.Create(nameof(ContactDetails), typeof(string), typeof(MyCardView));
private static readonly ControlTemplate controlTemplate;
static MyCardView()
{
MyCardViewResourceDictionary resources = new MyCardViewResourceDictionary();
controlTemplate = (ControlTemplate)resources["MyCardView_ControlTemplate"];
}
public MyCardView()
{
this.Template = controlTemplate;
}
public DateTime Date
{
get
{
return (DateTime)this.GetValue(DateProperty);
}
set
{
this.SetValue(DateProperty, value);
}
}
public string ContactDetails
{
get
{
return (string)this.GetValue(ContactDetailsProperty);
}
set
{
this.SetValue(ContactDetailsProperty, value);
}
}
}
}

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

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<ResourceDictionary xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerikConversationalUI="clr-namespace:Telerik.XamarinForms.ConversationalUI;assembly=Telerik.XamarinForms.ConversationalUI"
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
x:Class="SDKBrowser.Examples.ChatControl.HowToCategory.CustomCardExample.MyCardViewResourceDictionary">
<DataTemplate x:Key="CardActionTemplate">
<telerikConversationalUI:CardActionView x:Name="view"
Text="{Binding Text}"
Command="{Binding Command}" />
</DataTemplate>
<ControlTemplate x:Key="MyCardView_ControlTemplate">
<telerikPrimitives:RadBorder Margin="10"
Padding="10"
BorderThickness="0"
CornerRadius="10"
WidthRequest="200">
<StackLayout>
<Label Text="{TemplateBinding Date, StringFormat='{0:MMMM dd}'}" />
<Label Text="{TemplateBinding ContactDetails}" />
<telerikConversationalUI:CardActionsListView ItemsSource="{TemplateBinding Actions}"
ItemTemplate="{StaticResource CardActionTemplate}" />
</StackLayout>
</telerikPrimitives:RadBorder>
</ControlTemplate>
</ResourceDictionary>

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

@ -0,0 +1,14 @@
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.ChatControl.HowToCategory.CustomCardExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class MyCardViewResourceDictionary : ResourceDictionary
{
public MyCardViewResourceDictionary ()
{
InitializeComponent ();
}
}
}

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

@ -10,7 +10,7 @@ namespace SDKBrowser.Examples.DataFormControl.SourceCategory.DataClassExample
public string FirstName { get; set; }
[DisplayOptions(Group = "Basic Info", PlaceholderText = "Last Name", Header = "Last Name")]
[NonEmptyValidator("Please fill the first name", "OK")]
[NonEmptyValidator("Please fill the last name", "OK")]
public string LastName { get; set; }
[DisplayOptions(Group = "Additional Info", Header = "Age")]

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

@ -2,37 +2,37 @@
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="SDKBrowser.Examples.DataGridControl.ColumnsCategory.ColumnsExample.Columns"
xmlns:telerikGrid="clr-namespace:Telerik.XamarinForms.DataGrid;assembly=Telerik.XamarinForms.DataGrid">
xmlns:telerikDataGrid="clr-namespace:Telerik.XamarinForms.DataGrid;assembly=Telerik.XamarinForms.DataGrid">
<!-- >> datagrid-columns-xaml -->
<telerikGrid:RadDataGrid x:Name="grid"
<telerikDataGrid:RadDataGrid x:Name="grid"
ItemsSource="{Binding Clubs}"
AutoGenerateColumns="False"
UserEditMode="Cell">
<telerikGrid:RadDataGrid.Columns>
<telerikGrid:DataGridTextColumn PropertyName="Name"
<telerikDataGrid:RadDataGrid.Columns>
<telerikDataGrid:DataGridTextColumn PropertyName="Name"
HeaderText="Name">
<telerikGrid:DataGridTextColumn.CellContentStyle>
<telerikGrid:DataGridTextCellStyle TextColor="Green"
<telerikDataGrid:DataGridTextColumn.CellContentStyle>
<telerikDataGrid:DataGridTextCellStyle TextColor="Green"
FontSize="15"
SelectedTextColor="Orange" />
</telerikGrid:DataGridTextColumn.CellContentStyle>
</telerikGrid:DataGridTextColumn>
</telerikDataGrid:DataGridTextColumn.CellContentStyle>
</telerikDataGrid:DataGridTextColumn>
<telerikGrid:DataGridNumericalColumn PropertyName="StadiumCapacity"
<telerikDataGrid:DataGridNumericalColumn PropertyName="StadiumCapacity"
HeaderText="Stadium Capacity"/>
<telerikGrid:DataGridBooleanColumn PropertyName="IsChampion"
<telerikDataGrid:DataGridBooleanColumn PropertyName="IsChampion"
HeaderText="Champion?"/>
<telerikGrid:DataGridDateColumn PropertyName="Established"
<telerikDataGrid:DataGridDateColumn PropertyName="Established"
HeaderText="Date Established"/>
<telerikGrid:DataGridPickerColumn PropertyName="Country"
<telerikDataGrid:DataGridPickerColumn PropertyName="Country"
HeaderText="Country"
ItemsSourcePath="Countries"/>
<telerikGrid:DataGridTemplateColumn HeaderText="Template Column">
<telerikGrid:DataGridTemplateColumn.CellContentTemplate>
<telerikDataGrid:DataGridTemplateColumn HeaderText="Template Column">
<telerikDataGrid:DataGridTemplateColumn.CellContentTemplate>
<DataTemplate>
<StackLayout InputTransparent="True">
<Grid BackgroundColor="Orange"
@ -47,12 +47,12 @@
FontSize="10"/>
</StackLayout>
</DataTemplate>
</telerikGrid:DataGridTemplateColumn.CellContentTemplate>
</telerikGrid:DataGridTemplateColumn>
</telerikDataGrid:DataGridTemplateColumn.CellContentTemplate>
</telerikDataGrid:DataGridTemplateColumn>
<telerikGrid:DataGridTimeColumn PropertyName="Time"
<telerikDataGrid:DataGridTimeColumn PropertyName="Time"
HeaderText="Time Column"/>
</telerikGrid:RadDataGrid.Columns>
</telerikGrid:RadDataGrid>
</telerikDataGrid:RadDataGrid.Columns>
</telerikDataGrid:RadDataGrid>
<!-- << datagrid-columns-xaml -->
</ContentView>

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

@ -1,31 +0,0 @@
using System;
using System.IO;
using Telerik.XamarinForms.ImageEditor;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.ImageEditorControl.FeaturesCategory.CustomCommandsExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class CustomCommands : ContentView
{
public CustomCommands ()
{
InitializeComponent ();
}
private void OnSaveTapped(object sender, EventArgs e)
{
var folderPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
var filePath = Path.Combine(folderPath, "image.jpg");
// >> imageeditor-custom-save-command
using (var fileStream = File.Create(filePath))
{
this.imageEditor.SaveAsync(fileStream, ImageFormat.Jpeg, 0.9);
}
// << imageeditor-custom-save-command
Application.Current.MainPage.DisplayAlert("", "The Image is saved", "OK");
}
}
}

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

@ -0,0 +1,50 @@
<?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:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:telerikImageEditor="clr-namespace:Telerik.XamarinForms.ImageEditor;assembly=Telerik.XamarinForms.ImageEditor"
xmlns:telerikCommon="clr-namespace:Telerik.XamarinForms.Common;assembly=Telerik.XamarinForms.Common"
mc:Ignorable="d"
x:Class="SDKBrowser.Examples.ImageEditorControl.FeaturesCategory.CustomCropToolbarItemExample.CustomCropToolbarItem">
<!-- >> imageeditor-custom-crop-toolbar -->
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<telerikImageEditor:RadImageEditor x:Name="imageEditor">
<telerikImageEditor:RadImageEditor.Source>
<OnPlatform x:TypeArguments="ImageSource" Default="custom_toolbar.png">
<On Platform="UWP">Assets\custom_toolbar.png</On>
</OnPlatform>
</telerikImageEditor:RadImageEditor.Source>
</telerikImageEditor:RadImageEditor>
<telerikImageEditor:RadImageEditorToolbar Grid.Row="1" ImageEditor="{x:Reference imageEditor}" AutoGenerateItems="False">
<telerikImageEditor:CropToolbarItem>
<telerikImageEditor:CropToolbarItem.CropDefinitions>
<telerikImageEditor:CropDefinition AspectRatio="Free" Text="Free"/>
<telerikImageEditor:CropDefinition AspectRatio="Original" Text="Original"/>
<telerikImageEditor:CropDefinition Text="Circle" AspectRatio="1:1">
<telerikImageEditor:CropDefinition.Geometry>
<telerikCommon:RadEllipseGeometry Center="0.5,0.5" Radius="0.5,0.5"/>
</telerikImageEditor:CropDefinition.Geometry>
</telerikImageEditor:CropDefinition>
<telerikImageEditor:CropDefinition Text="Rhombus">
<telerikImageEditor:CropDefinition.Geometry>
<telerikCommon:RadPathGeometry>
<telerikCommon:RadPathFigure StartPoint="0.5, 0.0">
<telerikCommon:RadLineSegment Point="1.0, 0.5" />
<telerikCommon:RadLineSegment Point="0.5, 1.0" />
<telerikCommon:RadLineSegment Point="0.0, 0.5" />
<telerikCommon:RadLineSegment Point="0.5, 0.0" />
</telerikCommon:RadPathFigure>
</telerikCommon:RadPathGeometry>
</telerikImageEditor:CropDefinition.Geometry>
</telerikImageEditor:CropDefinition>
</telerikImageEditor:CropToolbarItem.CropDefinitions>
</telerikImageEditor:CropToolbarItem>
</telerikImageEditor:RadImageEditorToolbar>
</Grid>
<!-- << imageeditor-custom-crop-toolbar -->
</ContentView>

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

@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.ImageEditorControl.FeaturesCategory.CustomCropToolbarItemExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class CustomCropToolbarItem : ContentView
{
public CustomCropToolbarItem()
{
InitializeComponent();
}
}
}

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

@ -1,9 +1,12 @@
<?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:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:telerikImageEditor="clr-namespace:Telerik.XamarinForms.ImageEditor;assembly=Telerik.XamarinForms.ImageEditor"
x:Class="SDKBrowser.Examples.ImageEditorControl.FeaturesCategory.CustomCommandsExample.CustomCommands">
<!-- >> imageeditor-custom-save-command -->
mc:Ignorable="d"
x:Class="SDKBrowser.Examples.ImageEditorControl.FeaturesCategory.SaveImageExample.SaveImage">
<!-- >> imageeditor-save-image -->
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
@ -16,10 +19,11 @@
</OnPlatform>
</telerikImageEditor:RadImageEditor.Source>
</telerikImageEditor:RadImageEditor>
<telerikImageEditor:RadImageEditorToolbar Grid.Row="1" ImageEditor="{x:Reference imageEditor}" AutoGenerateItems="False">
<telerikImageEditor:CropToolbarItem/>
<telerikImageEditor:CommandToolbarItem Text="Save" Tapped="OnSaveTapped" />
<telerikImageEditor:RadImageEditorToolbar Grid.Row="1" ImageEditor="{x:Reference imageEditor}" AutoGenerateItems="False" ItemSpacing="5">
<telerikImageEditor:CommandToolbarItem Text="Original Size" Tapped="OnSaveOriginalTapped" />
<telerikImageEditor:CommandToolbarItem Text="Specific Size" Tapped="OnSaveMaxSizeTapped" />
<telerikImageEditor:CommandToolbarItem Text="Downscaled" Tapped="OnSaveDownscaledTapped" />
</telerikImageEditor:RadImageEditorToolbar>
</Grid>
<!-- << imageeditor-custom-save-command -->
<!-- << imageeditor-save-image -->
</ContentView>

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

@ -0,0 +1,60 @@
using System;
using System.IO;
using Telerik.XamarinForms.ImageEditor;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.ImageEditorControl.FeaturesCategory.SaveImageExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class SaveImage : ContentView
{
public SaveImage()
{
InitializeComponent();
}
// >> imageeditor-saveimage-original
private async void OnSaveOriginalTapped(object sender, EventArgs e)
{
var folderPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
var filePath = Path.Combine(folderPath, "image.jpg");
using (var fileStream = File.Create(filePath))
{
await this.imageEditor.SaveAsync(fileStream, ImageFormat.Jpeg, 0.9);
}
await Application.Current.MainPage.DisplayAlert("", "The Image is saved with original size", "OK");
}
// << imageeditor-saveimage-original
// >> imageeditor-saveimage-specific-size
private async void OnSaveMaxSizeTapped(object sender, EventArgs e)
{
var folderPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
var filePath = Path.Combine(folderPath, "image.jpg");
var maxsize = new Size(400, 500);
using (var fileStream = File.Create(filePath))
{
await this.imageEditor.SaveAsync(fileStream, ImageFormat.Jpeg, 0.9, maxsize);
}
await Application.Current.MainPage.DisplayAlert("", "The Image is saved with Size 400:500", "OK");
}
// << imageeditor-saveimage-specific-size
// >> imageeditor-saveimage-downscaled
private async void OnSaveDownscaledTapped(object sender, EventArgs e)
{
var folderPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
var filePath = Path.Combine(folderPath, "image.jpg");
using (var fileStream = File.Create(filePath))
{
await this.imageEditor.SaveAsync(fileStream, ImageFormat.Jpeg, 0.9, 0.5);
}
await Application.Current.MainPage.DisplayAlert("", "The Image is downscaled to 50%", "OK");
}
// << imageeditor-saveimage-downscaled
}
}

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

@ -16,7 +16,7 @@
ItemsSource="{Binding Source}"
SelectionMode="None"
SwipeOffset="70, 0, 70, 0"
SwipeThreshold="70">
SwipeThreshold="10">
<telerikDataControls:RadListView.ItemTemplate>
<DataTemplate>
<listView:ListViewTemplateCell>

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

@ -1,10 +1,10 @@
<?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:telerik="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
x:Class="SDKBrowser.Examples.MaskedInputControl.FeaturesCategory.CommandsExample.Commands">
<StackLayout Margin="16">
<Label Text="The default C token allows x to be input. Using custom command we reject x from input."/>
<telerik:RadMaskedInput x:Name="input" Mask="CC (00)" Placeholder="#" />
<telerikInput:RadMaskedInput x:Name="input" Mask="CC (00)" Placeholder="#" />
</StackLayout>
</ContentView>

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

@ -1,10 +1,10 @@
<?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:telerik="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
x:Class="SDKBrowser.Examples.MaskedInputControl.FeaturesCategory.ConfiguratorExample.Configurator">
<StackLayout Margin="50">
<telerik:RadMaskedInput x:Name="input" WatermarkText="Watermark" WatermarkTextColor="LightGreen" Mask="\\\0a" Placeholder="#" />
<telerikInput:RadMaskedInput x:Name="input" WatermarkText="Watermark" WatermarkTextColor="LightGreen" Mask="\\\0a" Placeholder="#" />
<StackLayout Orientation="Horizontal">
<Label Text="Value - "/>

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

@ -1,10 +1,10 @@
<?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:telerik="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
x:Class="SDKBrowser.Examples.MaskedInputControl.FeaturesCategory.EventsExample.Events">
<StackLayout Margin="16">
<Label Text="The default C token allows x to be input. Using event we reject x from input."/>
<telerik:RadMaskedInput x:Name="input" Mask="CC (00)" Placeholder="#" />
<telerikInput:RadMaskedInput x:Name="input" Mask="CC (00)" Placeholder="#" />
</StackLayout>
</ContentView>

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

@ -1,34 +1,34 @@
<?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:telerik="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
xmlns:extensions="clr-namespace:Telerik.XamarinForms.Input.MaskedInput;assembly=Telerik.XamarinForms.Input"
x:Class="SDKBrowser.Examples.MaskedInputControl.FeaturesCategory.RegexMaskExample.RegexMask">
<StackLayout>
<Label Text="E-mail :"/>
<!-- >> maskedinput-features-regex-extensions-validation-xaml -->
<telerik:RadMaskedInput MaskType="Regex"
<telerikInput:RadMaskedInput MaskType="Regex"
InvalidInputErrorText="Invalid E-Mail format!"
ErrorColor="Red"
WatermarkText="Enter E-mail"
Mask="{x:Static extensions:MaskExtensions.Email}"/>
<!-- << maskedinput-features-regex-extensions-validation-xaml -->
<Label Text="IP :"/>
<telerik:RadMaskedInput MaskType="Regex"
<telerikInput:RadMaskedInput MaskType="Regex"
InvalidInputErrorText="Invalid IP!"
ErrorColor="Red"
WatermarkText="Enter IP"
Mask="{x:Static extensions:MaskExtensions.IP}"/>
<Label Text="Date (yyyy/dd/mm) :"/>
<!-- >> maskedinput-features-regex-custom-validation-xaml -->
<telerik:RadMaskedInput MaskType="Regex"
<telerikInput:RadMaskedInput MaskType="Regex"
InvalidInputErrorText="Invalid date format!"
ErrorColor="Red"
WatermarkText="Enter Date"
Mask="^[0-9]{4}\/(30|31|[0-2]{0,1}[0-9]{1})\/(10|11|12|[0-9]{1})$"/>
<!-- << maskedinput-features-regex-custom-validation-xaml -->
<Label Text="Time (HH:MM) :"/>
<telerik:RadMaskedInput MaskType="Regex"
<telerikInput:RadMaskedInput MaskType="Regex"
InvalidInputErrorText="Invalid time format!"
ErrorColor="Red"
WatermarkText="Enter Time"

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

@ -1,10 +1,10 @@
<?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:telerik="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
x:Class="SDKBrowser.Examples.MaskedInputControl.FeaturesCategory.ThemeExample.Theme">
<StackLayout Margin="16">
<Label Text="The default C token allows x to be input. Using event we reject x from input."/>
<telerik:RadMaskedInput x:Name="input" Mask="CC (00)" Placeholder="#" WatermarkText="Themed RadMasedkInput" StyleClass="TelerikTheme"/>
<telerikInput:RadMaskedInput x:Name="input" Mask="CC (00)" Placeholder="#" WatermarkText="Themed RadMasedkInput" StyleClass="TelerikTheme"/>
</StackLayout>
</ContentView>

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

@ -1,13 +1,13 @@
<?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:telerik="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
x:Class="SDKBrowser.Examples.MaskedInputControl.FeaturesCategory.ValidationExample.Validation">
<StackLayout Margin="0, 50, 0, 0">
<Label>Leave the last symbol empty or type a letter on its position to trigger the validation</Label>
<!-- >> maskedinput-features-validation-xaml -->
<telerik:RadMaskedInput x:Name="maskedInput"
<telerikInput:RadMaskedInput x:Name="maskedInput"
RejectedSymbolErrorText="Rejected Symbol"
InvalidInputErrorText="Invalid Input"
ErrorColor="Red"

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

@ -15,41 +15,39 @@
</VisualElement.Resources>
<ContentView.Content>
<Grid x:Name="root">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<!-- >> path-multipath-xaml -->
<telerikPrimitives:RadMultiPath x:Name="multiPath"
<!-- >> path-multipath-xaml -->
<Grid x:Name="root">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<telerikPrimitives:RadMultiPath x:Name="multiPath"
Grid.Row="0"
HorizontalOptions="Center"
VerticalOptions="Center">
<telerikPrimitives:RadPathDefinition Fill="#FF4285F4">
<telerikCommon:RadPathGeometry>
<telerikCommon:RadPathFigure>
<telerikCommon:RadArcSegment Center="0.5, 0.5" SweepAngle="360" Size="0.9, 0.9" />
</telerikCommon:RadPathFigure>
</telerikCommon:RadPathGeometry>
</telerikPrimitives:RadPathDefinition>
<telerikPrimitives:RadPathDefinition Fill="#FFEA4335">
<telerikCommon:RadPathGeometry>
<telerikCommon:RadPathFigure>
<telerikCommon:RadArcSegment Center="0.5, 0.5" SweepAngle="360" Size="0.6, 0.6" />
</telerikCommon:RadPathFigure>
</telerikCommon:RadPathGeometry>
</telerikPrimitives:RadPathDefinition>
<telerikPrimitives:RadPathDefinition Fill="#FFFBBC05">
<telerikCommon:RadPathGeometry>
<telerikCommon:RadPathFigure>
<telerikCommon:RadArcSegment Center="0.5, 0.5" SweepAngle="360" Size="0.3, 0.3" />
</telerikCommon:RadPathFigure>
</telerikCommon:RadPathGeometry>
</telerikPrimitives:RadPathDefinition>
</telerikPrimitives:RadMultiPath>
<!-- << path-multipath-xaml -->
<telerikPrimitives:RadMultiPath x:Name="path2"
<telerikPrimitives:RadPathDefinition Fill="#FF4285F4">
<telerikCommon:RadPathGeometry>
<telerikCommon:RadPathFigure>
<telerikCommon:RadArcSegment Center="0.5, 0.5" SweepAngle="360" Size="0.9, 0.9" />
</telerikCommon:RadPathFigure>
</telerikCommon:RadPathGeometry>
</telerikPrimitives:RadPathDefinition>
<telerikPrimitives:RadPathDefinition Fill="#FFEA4335">
<telerikCommon:RadPathGeometry>
<telerikCommon:RadPathFigure>
<telerikCommon:RadArcSegment Center="0.5, 0.5" SweepAngle="360" Size="0.6, 0.6" />
</telerikCommon:RadPathFigure>
</telerikCommon:RadPathGeometry>
</telerikPrimitives:RadPathDefinition>
<telerikPrimitives:RadPathDefinition Fill="#FFFBBC05">
<telerikCommon:RadPathGeometry>
<telerikCommon:RadPathFigure>
<telerikCommon:RadArcSegment Center="0.5, 0.5" SweepAngle="360" Size="0.3, 0.3" />
</telerikCommon:RadPathFigure>
</telerikCommon:RadPathGeometry>
</telerikPrimitives:RadPathDefinition>
</telerikPrimitives:RadMultiPath>
<telerikPrimitives:RadMultiPath x:Name="path2"
Grid.Row="1"
HorizontalOptions="Center"
VerticalOptions="Center">
@ -78,7 +76,7 @@
</telerikCommon:RadPathGeometry>
</telerikPrimitives:RadPathDefinition>
</telerikPrimitives:RadMultiPath>
</Grid>
</ContentView.Content>
<!-- << path-multipath-xaml -->
</ContentView.Content>
</ContentView>

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

@ -9,12 +9,12 @@ namespace SDKBrowser.Examples.PathControl.GettingStartedCategory.GettingStartedE
{
public PathGettingStartedCSharp ()
{
// >> path-gettingstarted-starpath-code
var mainGrid = new Grid() { ColumnSpacing = 20, RowSpacing = 10};
mainGrid.RowDefinitions.Add(new RowDefinition() { Height = 200 });
mainGrid.ColumnDefinitions.Add(new ColumnDefinition { Width = GridLength.Star });
mainGrid.ColumnDefinitions.Add(new ColumnDefinition { Width = GridLength.Star });
// >> path-gettingstarted-starpath-code
var starPath = new RadPath()
{
Geometry = Geometries.Star,

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

@ -0,0 +1,10 @@
<?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:telerikPdfViewer="clr-namespace:Telerik.XamarinForms.PdfViewer;assembly=Telerik.XamarinForms.PdfViewer"
x:Class="SDKBrowser.Examples.PdfViewerControl.FeaturesCategory.LinkAnnotationExample.LinkAnnotation">
<!-- >> pdfviewer-features-annotations-xaml -->
<telerikPdfViewer:RadPdfViewer x:Name="pdfViewer"
LinkAnnotationTapped="LinkTapped" />
<!-- << pdfviewer-features-annotations-xaml -->
</ContentView>

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

@ -0,0 +1,54 @@
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Telerik.Windows.Documents.Fixed.Model.Actions;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.PdfViewerControl.FeaturesCategory.LinkAnnotationExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class LinkAnnotation : ContentView
{
public LinkAnnotation ()
{
InitializeComponent ();
// >> pdfviewer-annotations-setsource
Func<CancellationToken, Task<Stream>> streamFunc = ct => Task.Run(() =>
{
Assembly assembly = typeof(LinkAnnotation).Assembly;
string fileName = assembly.GetManifestResourceNames().FirstOrDefault(n => n.Contains("pdfviewer-overview.pdf"));
Stream stream = assembly.GetManifestResourceStream(fileName);
return stream;
});
this.pdfViewer.Source = streamFunc;
// << pdfviewer-annotations-setsource
}
// >> pdfviewer-annotations-event
private void LinkTapped(object sender, Telerik.XamarinForms.PdfViewer.Annotations.LinkAnnotationTappedEventArgs e)
{
if(e.LinkAnnotation.Action is UriAction uriAction)
{
e.Handled = true;
Application.Current.MainPage.DisplayAlert("Confirm", "Are you sure you want to navigate", "Yes", "No").ContinueWith(t =>
{
bool shouldNavigateAway = t.Status == TaskStatus.RanToCompletion ? t.Result : false;
if (shouldNavigateAway)
{
Device.BeginInvokeOnMainThread(() =>
{
Device.OpenUri(uriAction.Uri);
});
}
});
}
}
// << pdfviewer-annotations-event
}
}

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

@ -0,0 +1,61 @@
<?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:telerikCommon="clr-namespace:Telerik.XamarinForms.Common;assembly=Telerik.XamarinForms.Common"
xmlns:telerikPdfViewer="clr-namespace:Telerik.XamarinForms.PdfViewer;assembly=Telerik.XamarinForms.PdfViewer"
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
x:Class="SDKBrowser.Examples.PdfViewerControl.FeaturesCategory.TextSelectionExample.TextSelection">
<ContentView.Resources>
<!-- >> pdfviewer-features-textselection-resources -->
<ResourceDictionary>
<Style TargetType="telerikPdfViewer:SelectionMenu">
<Setter Property="Fill" Value="#32CD32" />
<Setter Property="TextColor" Value="White" />
</Style>
<telerikCommon:ColorToRadBrushConverter x:Key="colorToRadBrushConverter" />
<telerikPdfViewer:SelectionMenuArrowPositionToGridRowConverter x:Key="arrowPositionToRowConverter" />
<ControlTemplate x:Key="CustomSelectionMenuTemplate">
<Grid RowSpacing="0">
<Grid.RowDefinitions>
<RowDefinition Height="7" />
<RowDefinition Height="*" />
<RowDefinition Height="7" />
</Grid.RowDefinitions>
<telerikPdfViewer:SelectionMenuArrow Position="{TemplateBinding ArrowPosition}"
Grid.Row="{TemplateBinding ArrowPosition, Converter={StaticResource arrowPositionToRowConverter}}"
Fill="{TemplateBinding Fill, Converter={StaticResource colorToRadBrushConverter}}"
WidthRequest="9"
HeightRequest="7"
HorizontalOptions="Center" />
<telerikPrimitives:RadBorder BackgroundColor="{TemplateBinding Fill}"
Grid.Row="1"
CornerRadius="2"
BorderThickness="0">
<telerikPdfViewer:SelectionMenuToolbar Margin="8, 5, 8, 5"
OverflowButtonTextColor="{TemplateBinding TextColor}"
OverflowPopupBackgroundColor="{TemplateBinding Fill}"
MenuItems="{TemplateBinding MenuItems}" />
</telerikPrimitives:RadBorder>
</Grid>
</ControlTemplate>
</ResourceDictionary>
<!-- << pdfviewer-features-textselection-resources -->
</ContentView.Resources>
<!-- >> pdfviewer-features-textselection-xaml -->
<telerikPdfViewer:RadPdfViewer x:Name="pdfViewer">
<telerikPdfViewer:RadPdfViewer.SelectionSettings>
<telerikPdfViewer:SelectionSettings SelectionFill="#3332CD32"
SelectionIndicatorColor="#32CD32"
SelectionMenuControlTemplate="{StaticResource CustomSelectionMenuTemplate}">
<telerikPdfViewer:SelectionSettings.MenuItems>
<telerikPdfViewer:SelectionMenuItemCollection>
<telerikPdfViewer:SelectionMenuItem Text="Get Text" Command="{Binding GetSelectedTextCommand}" />
</telerikPdfViewer:SelectionMenuItemCollection>
</telerikPdfViewer:SelectionSettings.MenuItems>
</telerikPdfViewer:SelectionSettings>
</telerikPdfViewer:RadPdfViewer.SelectionSettings>
</telerikPdfViewer:RadPdfViewer>
<!-- << pdfviewer-features-textselection-xaml -->
</ContentView>

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

@ -0,0 +1,35 @@
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.PdfViewerControl.FeaturesCategory.TextSelectionExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class TextSelection : ContentView
{
public TextSelection ()
{
InitializeComponent ();
// >> pdfviewer-features-textselection-setvm
this.BindingContext = new ViewModel();
// << pdfviewer-features-textselection-setvm
// >> pdfviewer-features-textselection-code
Func<CancellationToken, Task<Stream>> streamFunc = ct => Task.Run(() =>
{
Assembly assembly = typeof(TextSelection).Assembly;
string fileName = assembly.GetManifestResourceNames().FirstOrDefault(n => n.Contains("pdfviewer-overview.pdf"));
Stream stream = assembly.GetManifestResourceStream(fileName);
return stream;
});
this.pdfViewer.Source = streamFunc;
// << pdfviewer-features-textselection-code
}
}
}

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

@ -0,0 +1,31 @@
using System.Windows.Input;
using Telerik.XamarinForms.Common;
using Telerik.XamarinForms.PdfViewer.Selection;
using Xamarin.Forms;
namespace SDKBrowser.Examples.PdfViewerControl.FeaturesCategory.TextSelectionExample
{
// >> pdfviewer-textselection-viewmodel
public class ViewModel : NotifyPropertyChangedBase
{
public ViewModel()
{
this.GetSelectedTextCommand = new Command(GetSelectedTextCommandExecuted);
}
public ICommand GetSelectedTextCommand { get; set; }
private void GetSelectedTextCommandExecuted(object obj)
{
SelectionCommandContext context = (SelectionCommandContext)obj;
var selection = context.PdfViewer.Document.Selection;
Application.Current.MainPage.DisplayAlert("Selected Text", selection.GetSelectedText(), "OK");
lock (selection)
{
selection.Clear();
}
}
}
// << pdfviewer-textselection-viewmodel
}

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

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

@ -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"
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
x:Class="SDKBrowser.Examples.SlideViewControl.FeaturesCategory.EventsExample.Events">
<StackLayout>
<!-- >> slideview-events-xaml -->
<telerikPrimitives:RadSlideView x:Name="slideView"
SlidingToIndex="GoingToNextSlide">
<telerikPrimitives:RadSlideView.ItemsSource>
<x:Array Type="{x:Type ContentView}">
<ContentView>
<telerikInput:RadCalendar Margin="50, 30" />
</ContentView>
<ContentView>
<Label HorizontalOptions="Center"
VerticalOptions="CenterAndExpand" Text="Other View" TextColor="Blue" />
</ContentView>
<ContentView>
<Label HorizontalOptions="Center" VerticalOptions="CenterAndExpand" Text="Another View" TextColor="Red" />
</ContentView>
</x:Array>
</telerikPrimitives:RadSlideView.ItemsSource>
</telerikPrimitives:RadSlideView>
<!-- << slideview-events-xaml -->
</StackLayout>
</ContentView>

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

@ -0,0 +1,25 @@
using Telerik.XamarinForms.Primitives;
using Telerik.XamarinForms.Primitives.SlideView;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.SlideViewControl.FeaturesCategory.EventsExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class Events : ContentView
{
public Events()
{
InitializeComponent();
}
// >> slideview-events-code
private void GoingToNextSlide(object sender, SlideViewSlidingToIndexEventArgs e)
{
var slideView = sender as RadSlideViewPresenter;
if (slideView.SelectedIndex != -1)
Application.Current.MainPage.DisplayAlert("", "You're going from Slide " + slideView.SelectedIndex + " to Slide " + e.Index, "OK");
}
// << slideview-events-code
}
}

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

@ -3,14 +3,14 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerikDataControls="clr-namespace:Telerik.XamarinForms.DataControls;assembly=Telerik.XamarinForms.DataControls"
xmlns:local="clr-namespace:SDKBrowser.Examples.TreeViewControl.FeaturesCategory"
xmlns:treeView="clr-namespace:Telerik.XamarinForms.DataControls.TreeView.Commands;assembly=Telerik.XamarinForms.DataControls"
xmlns:telerikTreeView="clr-namespace:Telerik.XamarinForms.DataControls.TreeView.Commands;assembly=Telerik.XamarinForms.DataControls"
x:Class="SDKBrowser.Examples.TreeViewControl.FeaturesCategory.CommandsExample.TreeViewCommands">
<Grid>
<!-- >> treeview-commands-xaml -->
<telerikDataControls:RadTreeView x:Name="treeView"
ItemsSource="{Binding Source}">
<telerikDataControls:RadTreeView.Commands>
<treeView:TreeViewUserCommand Id="ItemTap"
<telerikTreeView:TreeViewUserCommand Id="ItemTap"
SuppressDefaultCommand="False"
Command="{Binding MyTapCommand}"/>
</telerikDataControls:RadTreeView.Commands>

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

@ -6,9 +6,12 @@
xmlns:local="clr-namespace:SDKBrowser.Examples.TreeViewControl.FeaturesCategory.ItemTemplateExample"
x:Class="SDKBrowser.Examples.TreeViewControl.FeaturesCategory.ItemTemplateExample.ItemTemplate">
<ContentView.Resources>
<!-- >> treeview-itemtemplate-converters -->
<ResourceDictionary>
<local:ImageSourceConverter x:Key="ImageSourceConverter" />
<telerikTreeView:LevelToMarginConverter x:Key="levelToMarginConverter" />
</ResourceDictionary>
<!-- << treeview-itemtemplate-converters -->
</ContentView.Resources>
<Grid>
<!-- >> treeview-itemtemplate-xaml -->
@ -19,21 +22,21 @@
TargetType="{x:Type local:Country}">
<telerikDataControls:TreeViewDescriptor.ItemTemplate>
<DataTemplate>
<Grid Margin="40,0,0,0"
<Grid Margin="{Binding Path=Level, Converter={StaticResource levelToMarginConverter}}"
HeightRequest="40">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<telerikTreeView:ExpandCollapseIndicator WidthRequest="40"
VerticalOptions="Center"
FontSize="Medium"
IsLoading="{Binding Path=IsLoading}"
IsLoadOnDemandEnabled="{Binding Path=IsLoadOnDemandEnabled}"
IsExpanded="{Binding Path=IsExpanded}"
IsLeaf="{Binding Path=IsLeaf}"
BackgroundColor="Transparent" />
<telerikTreeView:ExpandCollapseIndicator FontSize="Medium"
WidthRequest="10"
Margin="15,0"
VerticalTextAlignment="Center"
IsLoading="{Binding Path=IsLoading}"
IsLoadOnDemandEnabled="{Binding Path=IsLoadOnDemandEnabled}"
IsExpanded="{Binding Path=IsExpanded}"
IsLeaf="{Binding Path=IsLeaf}" />
<Image Grid.Column="1"
VerticalOptions="Center"
Source="{Binding Item.Icon, Converter={StaticResource ImageSourceConverter}}" />

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

@ -3,13 +3,13 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerikDataControls="clr-namespace:Telerik.XamarinForms.DataControls;assembly=Telerik.XamarinForms.DataControls"
xmlns:local="clr-namespace:SDKBrowser.Examples.TreeViewControl.FeaturesCategory.LoadingItemsExample"
xmlns:treeView="clr-namespace:Telerik.XamarinForms.DataControls.TreeView.Commands;assembly=Telerik.XamarinForms.DataControls"
xmlns:telerikTreeView="clr-namespace:Telerik.XamarinForms.DataControls.TreeView.Commands;assembly=Telerik.XamarinForms.DataControls"
x:Class="SDKBrowser.Examples.TreeViewControl.FeaturesCategory.LoadingItemsExample.TreeViewLoadOnDemand">
<Grid>
<!-- >> treeview-loadondemand-xaml -->
<telerikDataControls:RadTreeView x:Name="treeView" ItemsSource="{Binding Source}" >
<telerikDataControls:RadTreeView.Commands>
<treeView:TreeViewUserCommand Id="LoadOnDemand" Command="{Binding LoadOnDemandCommand}" />
<telerikTreeView:TreeViewUserCommand Id="LoadOnDemand" Command="{Binding LoadOnDemandCommand}" />
</telerikDataControls:RadTreeView.Commands>
<telerikDataControls:TreeViewDescriptor DisplayMemberPath="Name"
ItemsSourcePath="Children"

Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser/Images/custom_toolbar.png Normal file

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

После

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

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

@ -57,55 +57,55 @@
</ItemGroup>
<ItemGroup>
<Reference Include="Telerik.Documents.Core">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Core.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Core.dll</HintPath>
</Reference>
<Reference Include="Telerik.Documents.Fixed">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Fixed.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Fixed.dll</HintPath>
</Reference>
<Reference Include="Telerik.Documents.SpreadsheetStreaming">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.SpreadsheetStreaming.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.SpreadsheetStreaming.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Barcode">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.Barcode.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.Barcode.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Chart">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.Chart.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.Chart.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Common">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.Common.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.Common.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.ConversationalUI">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.ConversationalUI.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.ConversationalUI.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.DataControls">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.DataControls.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.DataControls.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.DataGrid">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.DataGrid.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.DataGrid.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.DataVisualization">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.DataVisualization.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.DataVisualization.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.ImageEditor">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.ImageEditor.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.ImageEditor.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Input">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.Input.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.Input.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Map">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.Map.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.Map.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.PdfViewer">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.PdfViewer.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.PdfViewer.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.Primitives">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.Primitives.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.Primitives.dll</HintPath>
</Reference>
<Reference Include="Telerik.XamarinForms.SkiaSharp">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.SkiaSharp.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.XamarinForms.SkiaSharp.dll</HintPath>
</Reference>
<Reference Include="Telerik.Zip">
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.2.802.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Zip.dll</HintPath>
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2019.3.913.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Zip.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>

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

@ -364,6 +364,26 @@
<Name>CalendarAppointmentTapped</Name>
<Title>Day View Appointment Tapped</Title>
</Example>
<Example>
<Page>AppointmentsTemplate</Page>
<Name>AppointmentsTemplate</Name>
<Title>Appointments Template</Title>
</Example>
<Example>
<Page>SpecialSlots</Page>
<Name>SpecialSlots</Name>
<Title>Special Slots</Title>
</Example>
<Example>
<Page>SpecialSlotsStyleSelector</Page>
<Name>SpecialSlotsStyleSelector</Name>
<Title>SpecialSlots StyleSelector</Title>
</Example>
<Example>
<Page>CustomSlots</Page>
<Name>CustomSlots</Name>
<Title>Custom Slots</Title>
</Example>
<Example>
<Page>ProgrammaticScrolling</Page>
<Name>ProgrammaticScrolling</Name>
@ -915,6 +935,11 @@
<Name>ItemTemplateSelector</Name>
<Title>ItemTemplateSelector</Title>
</Example>
<Example>
<Page>Commands</Page>
<Name>Commands</Name>
<Title>Commands</Title>
</Example>
<Example>
<Page>Customization</Page>
<Name>Customization</Name>
@ -922,6 +947,48 @@
</Example>
</Examples>
</Category>
<Category>
<Name>ChatPickers</Name>
<Title>Chat Pickers</Title>
<Examples>
<Example>
<Page>PickerInsideChat</Page>
<Name>PickerInsideChat</Name>
<Title>Picker inside Chat</Title>
</Example>
<Example>
<Page>ChooseDate</Page>
<Name>ChooseDate</Name>
<Title>Date Picker</Title>
</Example>
<Example>
<Page>ChooseTime</Page>
<Name>ChooseTime</Name>
<Title>Time Picker</Title>
</Example>
<Example>
<Page>ChooseItem</Page>
<Name>ChooseItem</Name>
<Title>Item Picker</Title>
</Example>
<Example>
<Page>ChooseCard</Page>
<Name>ChooseCard</Name>
<Title>Card Picker</Title>
</Example>
</Examples>
</Category>
<Category>
<Name>HowTo</Name>
<Title>How To</Title>
<Examples>
<Example>
<Page>CustomCard</Page>
<Name>CustomCard</Name>
<Title>Custom Cards</Title>
</Example>
</Examples>
</Category>
</Categories>
</Control>
<Control>
@ -1710,9 +1777,14 @@
<Title>Custom Toolbar</Title>
</Example>
<Example>
<Page>CustomCommands</Page>
<Name>CustomCommands</Name>
<Title>Custom Command</Title>
<Page>CustomCropToolbarItem</Page>
<Name>CustomCropToolbarItem</Name>
<Title>Custom CropToolbar Item</Title>
</Example>
<Example>
<Page>SaveImage</Page>
<Name>SaveImage</Name>
<Title>Save Image</Title>
</Example>
<Example>
<Page>BusyTemplate</Page>
@ -2300,6 +2372,16 @@
<Name>Mvvm</Name>
<Title>Mvvm</Title>
</Example>
<Example>
<Page>LinkAnnotation</Page>
<Name>LinkAnnotation</Name>
<Title>Link Annotations</Title>
</Example>
<Example>
<Page>TextSelection</Page>
<Name>TextSelection</Name>
<Title>Text Selection</Title>
</Example>
<Example>
<Page>SourceException</Page>
<Name>SourceException</Name>
@ -2476,6 +2558,11 @@
<Name>Commands</Name>
<Title>Commands</Title>
</Example>
<Example>
<Page>Events</Page>
<Name>Events</Name>
<Title>Events</Title>
</Example>
</Examples>
</Category>
</Categories>

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

@ -4,5 +4,5 @@
<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.1.0.581479" targetFramework="portable45-net45+win8+wp8+wpa81" />
<package id="Telerik.UI.for.Xamarin.Trial" version="2019.2.802.1" targetFramework="portable45-net45+win8+wpa81" />
<package id="Telerik.UI.for.Xamarin.Trial" version="2019.3.913.1" targetFramework="portable45-net45+win8+wpa81" />
</packages>