New version of Progress Telerik UI for Xamarin SDK examples.
|
@ -1,7 +1,7 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.27004.2008
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.30128.74
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SDKBrowser.UWP", "SDKBrowser\SDKBrowser.UWP\SDKBrowser.UWP.csproj", "{1F12E361-2F76-4E96-B36A-96C03D6AFD6E}"
|
||||
EndProject
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto">
|
||||
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="28" />
|
||||
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="29" />
|
||||
<application android:icon="@mipmap/icon" android:roundIcon="@mipmap/icon_round"></application>
|
||||
</manifest>
|
Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.Android/Resources/drawable-hdpi/ComboBox.png
Normal file
После Ширина: | Высота: | Размер: 338 B |
Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.Android/Resources/drawable-hdpi/RichTextEditor.png
Normal file
После Ширина: | Высота: | Размер: 530 B |
Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.Android/Resources/drawable-xhdpi/ComboBox.png
Normal file
После Ширина: | Высота: | Размер: 247 B |
Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.Android/Resources/drawable-xhdpi/RichTextEditor.png
Normal file
После Ширина: | Высота: | Размер: 689 B |
Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.Android/Resources/drawable-xxhdpi/ComboBox.png
Normal file
После Ширина: | Высота: | Размер: 302 B |
Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.Android/Resources/drawable-xxhdpi/RichTextEditor.png
Normal file
После Ширина: | Высота: | Размер: 938 B |
|
@ -1,7 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\..\packages\Xamarin.Forms.4.5.0.356\build\Xamarin.Forms.props" Condition="Exists('..\..\packages\Xamarin.Forms.4.5.0.356\build\Xamarin.Forms.props')" />
|
||||
<Import Project="..\..\config.targets" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
|
@ -17,7 +15,7 @@
|
|||
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
|
||||
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
|
||||
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
|
||||
<TargetFrameworkVersion>v9.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v10.0</TargetFrameworkVersion>
|
||||
<AndroidSupportedAbis>armeabi-v7a;x86</AndroidSupportedAbis>
|
||||
<AndroidStoreUncompressedFileExtensions />
|
||||
<MandroidI18n />
|
||||
|
@ -54,6 +52,7 @@
|
|||
<EnableLLVM>false</EnableLLVM>
|
||||
<BundleAssemblies>false</BundleAssemblies>
|
||||
<AndroidEnableMultiDex>true</AndroidEnableMultiDex>
|
||||
<AndroidEnableProfiledAot>false</AndroidEnableProfiledAot>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
|
@ -74,227 +73,91 @@
|
|||
<AndroidEnableMultiDex>true</AndroidEnableMultiDex>
|
||||
<AndroidSupportedAbis>armeabi-v7a;x86;x86_64;arm64-v8a</AndroidSupportedAbis>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<TelerikInstallationBinariesPath>$(TelerikXamarinDir)Binaries</TelerikInstallationBinariesPath>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="FormsViewGroup, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Forms.4.5.0.356\lib\MonoAndroid90\FormsViewGroup.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Java.Interop" />
|
||||
<Reference Include="Mono.Android" />
|
||||
<Reference Include="Mono.Android.Export" />
|
||||
<Reference Include="mscorlib" />
|
||||
<Reference Include="Plugin.Settings">
|
||||
<HintPath>..\..\packages\Xam.Plugins.Settings.3.1.1\lib\MonoAndroid10\Plugin.Settings.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Plugin.Settings.Abstractions">
|
||||
<HintPath>..\..\packages\Xam.Plugins.Settings.3.1.1\lib\MonoAndroid10\Plugin.Settings.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SkiaSharp">
|
||||
<HintPath>..\..\packages\SkiaSharp.1.68.0\lib\MonoAndroid\SkiaSharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SkiaSharp.Views.Android">
|
||||
<HintPath>..\..\packages\SkiaSharp.Views.1.68.0\lib\MonoAndroid\SkiaSharp.Views.Android.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SkiaSharp.Views.Forms">
|
||||
<HintPath>..\..\packages\SkiaSharp.Views.Forms.1.68.0\lib\MonoAndroid\SkiaSharp.Views.Forms.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Numerics" />
|
||||
<Reference Include="System.Numerics.Vectors" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Telerik.Documents.Core">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Core.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Portable\Telerik.Documents.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Documents.Fixed">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Fixed.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Portable\Telerik.Documents.Fixed.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Documents.SpreadsheetStreaming">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.SpreadsheetStreaming.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Portable\Telerik.Documents.SpreadsheetStreaming.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Xamarin.Android.Chart">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\MonoAndroid10\Telerik.Xamarin.Android.Chart.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.Xamarin.Android.Chart.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Xamarin.Android.Common">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\MonoAndroid10\Telerik.Xamarin.Android.Common.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.Xamarin.Android.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Xamarin.Android.Data">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\MonoAndroid10\Telerik.Xamarin.Android.Data.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.Xamarin.Android.Data.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Xamarin.Android.Input">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\MonoAndroid10\Telerik.Xamarin.Android.Input.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.Xamarin.Android.Input.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Xamarin.Android.List">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\MonoAndroid10\Telerik.Xamarin.Android.List.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.Xamarin.Android.List.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Xamarin.Android.Primitives">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\MonoAndroid10\Telerik.Xamarin.Android.Primitives.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.Xamarin.Android.Primitives.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.Barcode">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\MonoAndroid10\Telerik.XamarinForms.Barcode.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.XamarinForms.Barcode.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.Chart">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\MonoAndroid10\Telerik.XamarinForms.Chart.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.XamarinForms.Chart.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.Common">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\MonoAndroid10\Telerik.XamarinForms.Common.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.XamarinForms.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.ConversationalUI">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\MonoAndroid10\Telerik.XamarinForms.ConversationalUI.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.XamarinForms.ConversationalUI.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.DataControls">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\MonoAndroid10\Telerik.XamarinForms.DataControls.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.XamarinForms.DataControls.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.DataGrid">
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.XamarinForms.DataGrid.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.DataVisualization">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\MonoAndroid10\Telerik.XamarinForms.DataVisualization.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.XamarinForms.DataVisualization.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.ImageEditor">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\MonoAndroid10\Telerik.XamarinForms.ImageEditor.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.XamarinForms.ImageEditor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.Input">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\MonoAndroid10\Telerik.XamarinForms.Input.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.XamarinForms.Input.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.Map">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\MonoAndroid10\Telerik.XamarinForms.Map.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.XamarinForms.Map.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.PdfViewer">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\MonoAndroid10\Telerik.XamarinForms.PdfViewer.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.XamarinForms.PdfViewer.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.Primitives">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\MonoAndroid10\Telerik.XamarinForms.Primitives.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.XamarinForms.Primitives.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.RichTextEditor">
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.XamarinForms.RichTextEditor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.SkiaSharp">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\MonoAndroid10\Telerik.XamarinForms.SkiaSharp.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Android\Telerik.XamarinForms.SkiaSharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Zip">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.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.3\lib\monoandroid90\Xamarin.Android.Arch.Core.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Arch.Core.Runtime, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Arch.Core.Runtime.1.1.1.3\lib\monoandroid90\Xamarin.Android.Arch.Core.Runtime.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Arch.Lifecycle.Common, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Arch.Lifecycle.Common.1.1.1.3\lib\monoandroid90\Xamarin.Android.Arch.Lifecycle.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Arch.Lifecycle.LiveData, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Arch.Lifecycle.LiveData.1.1.1.3\lib\monoandroid90\Xamarin.Android.Arch.Lifecycle.LiveData.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Arch.Lifecycle.LiveData.Core, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Arch.Lifecycle.LiveData.Core.1.1.1.3\lib\monoandroid90\Xamarin.Android.Arch.Lifecycle.LiveData.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Arch.Lifecycle.Runtime, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Arch.Lifecycle.Runtime.1.1.1.3\lib\monoandroid90\Xamarin.Android.Arch.Lifecycle.Runtime.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Arch.Lifecycle.ViewModel, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Arch.Lifecycle.ViewModel.1.1.1.3\lib\monoandroid90\Xamarin.Android.Arch.Lifecycle.ViewModel.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Animated.Vector.Drawable, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Animated.Vector.Drawable.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.Animated.Vector.Drawable.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Annotations, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Annotations.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.Annotations.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.AsyncLayoutInflater, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.AsyncLayoutInflater.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.AsyncLayoutInflater.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Collections, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Collections.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.Collections.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Compat, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Compat.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.Compat.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.CoordinaterLayout, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.CoordinaterLayout.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.CoordinaterLayout.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Core.UI, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Core.UI.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.Core.UI.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Core.Utils, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Core.Utils.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.Core.Utils.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.CursorAdapter, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.CursorAdapter.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.CursorAdapter.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.CustomTabs, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.CustomTabs.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.CustomTabs.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.CustomView, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.CustomView.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.CustomView.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Design, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Design.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.Design.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.DocumentFile, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.DocumentFile.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.DocumentFile.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.DrawerLayout, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.DrawerLayout.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.DrawerLayout.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Fragment, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Fragment.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.Fragment.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Interpolator, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Interpolator.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.Interpolator.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Loader, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Loader.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.Loader.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.LocalBroadcastManager, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.LocalBroadcastManager.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.LocalBroadcastManager.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Media.Compat, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Media.Compat.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.Media.Compat.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Print, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Print.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.Print.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.SlidingPaneLayout, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.SlidingPaneLayout.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.SlidingPaneLayout.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.SwipeRefreshLayout, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.SwipeRefreshLayout.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.SwipeRefreshLayout.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Transition, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Transition.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.Transition.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.v4, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.v4.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.v4.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.v7.AppCompat, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.v7.AppCompat.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.v7.AppCompat.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.v7.CardView, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.v7.CardView.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.v7.CardView.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.v7.MediaRouter, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.v7.MediaRouter.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.v7.MediaRouter.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.v7.Palette, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.v7.Palette.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.v7.Palette.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.v7.RecyclerView, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.v7.RecyclerView.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.v7.RecyclerView.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Vector.Drawable, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Vector.Drawable.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.Vector.Drawable.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.VersionedParcelable, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.VersionedParcelable.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.VersionedParcelable.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.ViewPager, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.ViewPager.28.0.0.3\lib\monoandroid90\Xamarin.Android.Support.ViewPager.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Forms.4.5.0.356\lib\MonoAndroid90\Xamarin.Forms.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Platform, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Forms.4.5.0.356\lib\MonoAndroid90\Xamarin.Forms.Platform.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Platform.Android, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Forms.4.5.0.356\lib\MonoAndroid90\Xamarin.Forms.Platform.Android.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Xaml, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Forms.4.5.0.356\lib\MonoAndroid90\Xamarin.Forms.Xaml.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Portable\Telerik.Zip.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -336,7 +199,6 @@
|
|||
<AndroidAsset Include="Assets\Fonts\Roboto-Thin.ttf" />
|
||||
<AndroidAsset Include="Assets\Fonts\Roboto-ThinItalic.ttf" />
|
||||
<AndroidAsset Include="Assets\Fonts\telerikfontexamples.ttf" />
|
||||
<None Include="packages.config" />
|
||||
<None Include="Resources\AboutResources.txt" />
|
||||
<None Include="Assets\AboutAssets.txt" />
|
||||
<AndroidResource Include="Resources\layout\dataform_popup_editor_fragment.axml">
|
||||
|
@ -575,6 +437,12 @@
|
|||
<AndroidResource Include="Resources\drawable-xxhdpi\DatePicker.png" />
|
||||
<AndroidResource Include="Resources\drawable-xxhdpi\TimePicker.png" />
|
||||
<AndroidResource Include="Resources\drawable-xxhdpi\TimeSpanPicker.png" />
|
||||
<AndroidResource Include="Resources\drawable-hdpi\ComboBox.png" />
|
||||
<AndroidResource Include="Resources\drawable-xhdpi\ComboBox.png" />
|
||||
<AndroidResource Include="Resources\drawable-xxhdpi\ComboBox.png" />
|
||||
<AndroidResource Include="Resources\drawable-hdpi\RichTextEditor.png" />
|
||||
<AndroidResource Include="Resources\drawable-xhdpi\RichTextEditor.png" />
|
||||
<AndroidResource Include="Resources\drawable-xxhdpi\RichTextEditor.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AndroidResource Include="Resources\drawable\image.png" />
|
||||
|
@ -585,91 +453,44 @@
|
|||
<Project>{416D6BEF-4271-4D65-9B99-6FAF2B3A55A0}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="SkiaSharp">
|
||||
<Version>1.68.0</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="SkiaSharp.Views.Forms">
|
||||
<Version>1.68.0</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Xam.Plugins.Settings">
|
||||
<Version>3.1.1</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Xamarin.AndroidX.AppCompat">
|
||||
<Version>1.1.0.1</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Xamarin.AndroidX.AppCompat.Resources">
|
||||
<Version>1.1.0.1</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Xamarin.AndroidX.Browser">
|
||||
<Version>1.2.0.1</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Xamarin.AndroidX.Legacy.Support.V4">
|
||||
<Version>1.0.0.1</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData">
|
||||
<Version>2.2.0.1</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Xamarin.AndroidX.RecyclerView">
|
||||
<Version>1.1.0.1</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Xamarin.Forms" Version="4.6.0.726" />
|
||||
<PackageReference Include="Xamarin.Essentials" Version="1.5.3.2" />
|
||||
<PackageReference Include="Xamarin.Google.Android.Material">
|
||||
<Version>1.0.0.1</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Annotations.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Annotations.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Annotations.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Annotations.targets')" />
|
||||
<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>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Annotations.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Annotations.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Annotations.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Annotations.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Arch.Core.Common.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Core.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Arch.Core.Common.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Core.Common.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Arch.Core.Runtime.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Core.Runtime.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Arch.Core.Runtime.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Core.Runtime.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Arch.Lifecycle.Common.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Arch.Lifecycle.Common.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.Common.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Arch.Lifecycle.LiveData.Core.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.LiveData.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Arch.Lifecycle.LiveData.Core.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.LiveData.Core.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Arch.Lifecycle.LiveData.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.LiveData.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Arch.Lifecycle.LiveData.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.LiveData.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Arch.Lifecycle.Runtime.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.Runtime.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Arch.Lifecycle.Runtime.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.Runtime.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Arch.Lifecycle.ViewModel.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.ViewModel.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Arch.Lifecycle.ViewModel.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.ViewModel.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Collections.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Collections.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Collections.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Collections.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.CursorAdapter.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.CursorAdapter.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.CursorAdapter.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.CursorAdapter.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.DocumentFile.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.DocumentFile.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.DocumentFile.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.DocumentFile.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Interpolator.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Interpolator.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Interpolator.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Interpolator.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.LocalBroadcastManager.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.LocalBroadcastManager.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.LocalBroadcastManager.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.LocalBroadcastManager.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Print.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Print.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Print.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Print.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.v7.CardView.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.CardView.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.v7.CardView.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.CardView.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.VersionedParcelable.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.VersionedParcelable.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.VersionedParcelable.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.VersionedParcelable.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Compat.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Compat.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Compat.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Compat.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.AsyncLayoutInflater.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.AsyncLayoutInflater.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.AsyncLayoutInflater.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.AsyncLayoutInflater.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.CustomView.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.CustomView.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.CustomView.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.CustomView.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.CoordinaterLayout.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.CoordinaterLayout.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.CoordinaterLayout.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.CoordinaterLayout.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.DrawerLayout.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.DrawerLayout.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.DrawerLayout.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.DrawerLayout.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Loader.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Loader.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Loader.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Loader.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Core.Utils.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Core.Utils.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Core.Utils.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Core.Utils.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Media.Compat.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Media.Compat.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Media.Compat.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Media.Compat.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.SlidingPaneLayout.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.SlidingPaneLayout.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.SlidingPaneLayout.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.SlidingPaneLayout.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.SwipeRefreshLayout.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.SwipeRefreshLayout.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.SwipeRefreshLayout.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.SwipeRefreshLayout.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.v7.Palette.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.Palette.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.v7.Palette.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.Palette.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Vector.Drawable.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Vector.Drawable.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Vector.Drawable.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Vector.Drawable.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.ViewPager.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.ViewPager.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.ViewPager.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.ViewPager.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Core.UI.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Core.UI.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Core.UI.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Core.UI.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Animated.Vector.Drawable.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Animated.Vector.Drawable.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Animated.Vector.Drawable.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Animated.Vector.Drawable.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.CustomTabs.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.CustomTabs.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.CustomTabs.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.CustomTabs.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Fragment.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Fragment.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Fragment.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Fragment.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Transition.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Transition.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Transition.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Transition.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.v4.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v4.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.v4.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v4.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.v7.AppCompat.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.AppCompat.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.v7.AppCompat.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.AppCompat.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.v7.RecyclerView.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.RecyclerView.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.v7.RecyclerView.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.RecyclerView.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Design.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Design.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Design.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Design.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.v7.MediaRouter.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.MediaRouter.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.v7.MediaRouter.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.MediaRouter.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Forms.4.5.0.356\build\Xamarin.Forms.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Forms.4.5.0.356\build\Xamarin.Forms.props'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Forms.4.5.0.356\build\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Forms.4.5.0.356\build\Xamarin.Forms.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\..\packages\Xamarin.Android.Arch.Core.Common.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Core.Common.targets" Condition="Exists('..\..\packages\Xamarin.Android.Arch.Core.Common.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Core.Common.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Arch.Core.Runtime.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Core.Runtime.targets" Condition="Exists('..\..\packages\Xamarin.Android.Arch.Core.Runtime.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Core.Runtime.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Arch.Lifecycle.Common.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.Common.targets" Condition="Exists('..\..\packages\Xamarin.Android.Arch.Lifecycle.Common.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.Common.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Arch.Lifecycle.LiveData.Core.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.LiveData.Core.targets" Condition="Exists('..\..\packages\Xamarin.Android.Arch.Lifecycle.LiveData.Core.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.LiveData.Core.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Arch.Lifecycle.LiveData.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.LiveData.targets" Condition="Exists('..\..\packages\Xamarin.Android.Arch.Lifecycle.LiveData.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.LiveData.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Arch.Lifecycle.Runtime.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.Runtime.targets" Condition="Exists('..\..\packages\Xamarin.Android.Arch.Lifecycle.Runtime.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.Runtime.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Arch.Lifecycle.ViewModel.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.ViewModel.targets" Condition="Exists('..\..\packages\Xamarin.Android.Arch.Lifecycle.ViewModel.1.1.1.3\build\monoandroid90\Xamarin.Android.Arch.Lifecycle.ViewModel.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Collections.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Collections.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Collections.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Collections.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.CursorAdapter.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.CursorAdapter.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.CursorAdapter.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.CursorAdapter.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.DocumentFile.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.DocumentFile.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.DocumentFile.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.DocumentFile.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Interpolator.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Interpolator.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Interpolator.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Interpolator.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.LocalBroadcastManager.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.LocalBroadcastManager.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.LocalBroadcastManager.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.LocalBroadcastManager.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Print.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Print.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Print.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Print.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.v7.CardView.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.CardView.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.v7.CardView.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.CardView.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.VersionedParcelable.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.VersionedParcelable.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.VersionedParcelable.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.VersionedParcelable.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Compat.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Compat.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Compat.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Compat.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.AsyncLayoutInflater.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.AsyncLayoutInflater.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.AsyncLayoutInflater.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.AsyncLayoutInflater.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.CustomView.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.CustomView.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.CustomView.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.CustomView.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.CoordinaterLayout.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.CoordinaterLayout.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.CoordinaterLayout.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.CoordinaterLayout.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.DrawerLayout.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.DrawerLayout.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.DrawerLayout.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.DrawerLayout.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Loader.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Loader.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Loader.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Loader.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Core.Utils.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Core.Utils.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Core.Utils.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Core.Utils.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Media.Compat.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Media.Compat.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Media.Compat.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Media.Compat.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.SlidingPaneLayout.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.SlidingPaneLayout.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.SlidingPaneLayout.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.SlidingPaneLayout.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.SwipeRefreshLayout.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.SwipeRefreshLayout.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.SwipeRefreshLayout.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.SwipeRefreshLayout.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.v7.Palette.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.Palette.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.v7.Palette.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.Palette.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Vector.Drawable.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Vector.Drawable.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Vector.Drawable.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Vector.Drawable.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.ViewPager.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.ViewPager.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.ViewPager.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.ViewPager.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Core.UI.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Core.UI.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Core.UI.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Core.UI.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Animated.Vector.Drawable.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Animated.Vector.Drawable.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Animated.Vector.Drawable.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Animated.Vector.Drawable.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.CustomTabs.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.CustomTabs.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.CustomTabs.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.CustomTabs.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Fragment.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Fragment.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Fragment.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Fragment.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Transition.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Transition.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Transition.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Transition.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.v4.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v4.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.v4.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v4.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.v7.AppCompat.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.AppCompat.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.v7.AppCompat.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.AppCompat.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.v7.RecyclerView.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.RecyclerView.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.v7.RecyclerView.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.RecyclerView.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Design.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Design.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Design.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Design.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.v7.MediaRouter.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.MediaRouter.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.v7.MediaRouter.28.0.0.3\build\monoandroid90\Xamarin.Android.Support.v7.MediaRouter.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Forms.4.5.0.356\build\Xamarin.Forms.targets" Condition="Exists('..\..\packages\Xamarin.Forms.4.5.0.356\build\Xamarin.Forms.targets')" />
|
||||
</Project>
|
|
@ -1,48 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="SkiaSharp" version="1.68.0" targetFramework="monoandroid90" />
|
||||
<package id="SkiaSharp.Views" version="1.68.0" targetFramework="monoandroid90" />
|
||||
<package id="SkiaSharp.Views.Forms" version="1.68.0" targetFramework="monoandroid90" />
|
||||
<package id="Xam.Plugins.Settings" version="3.1.1" targetFramework="monoandroid80" />
|
||||
<package id="Xamarin.Android.Arch.Core.Common" version="1.1.1.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Arch.Core.Runtime" version="1.1.1.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Arch.Lifecycle.Common" version="1.1.1.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Arch.Lifecycle.LiveData" version="1.1.1.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Arch.Lifecycle.LiveData.Core" version="1.1.1.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Arch.Lifecycle.Runtime" version="1.1.1.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Arch.Lifecycle.ViewModel" version="1.1.1.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Animated.Vector.Drawable" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Annotations" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.AsyncLayoutInflater" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Collections" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Compat" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.CoordinaterLayout" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Core.UI" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Core.Utils" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.CursorAdapter" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.CustomTabs" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.CustomView" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Design" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.DocumentFile" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.DrawerLayout" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Fragment" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Interpolator" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Loader" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.LocalBroadcastManager" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Media.Compat" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Print" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.SlidingPaneLayout" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.SwipeRefreshLayout" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Transition" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.v4" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.v7.AppCompat" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.v7.CardView" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.v7.MediaRouter" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.v7.Palette" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.v7.RecyclerView" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Vector.Drawable" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.VersionedParcelable" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.ViewPager" version="28.0.0.3" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Forms" version="4.5.0.356" targetFramework="monoandroid90" />
|
||||
<package id="Telerik.UI.for.Xamarin.Trial" version="2020.2.624.1" targetFramework="monoandroid80" />
|
||||
</packages>
|
После Ширина: | Высота: | Размер: 198 B |
После Ширина: | Высота: | Размер: 393 B |
После Ширина: | Высота: | Размер: 338 B |
После Ширина: | Высота: | Размер: 247 B |
После Ширина: | Высота: | Размер: 387 B |
Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.UWP/Assets/RichTextEditor.scale-100.png
Normal file
После Ширина: | Высота: | Размер: 374 B |
Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.UWP/Assets/RichTextEditor.scale-125.png
Normal file
После Ширина: | Высота: | Размер: 479 B |
Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.UWP/Assets/RichTextEditor.scale-150.png
Normal file
После Ширина: | Высота: | Размер: 530 B |
Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.UWP/Assets/RichTextEditor.scale-200.png
Normal file
После Ширина: | Высота: | Размер: 689 B |
Двоичные данные
XamarinSDK/SDKBrowser/SDKBrowser.UWP/Assets/RichTextEditor.scale-400.png
Normal file
После Ширина: | Высота: | Размер: 1.2 KiB |
|
@ -90,6 +90,9 @@
|
|||
<Prefer32Bit>true</Prefer32Bit>
|
||||
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<TelerikInstallationBinariesPath>$(TelerikXamarinDir)Binaries</TelerikInstallationBinariesPath>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
|
||||
<Content Include="Assets\Accordion.scale-100.png" />
|
||||
|
@ -123,6 +126,11 @@
|
|||
<Content Include="Assets\Checkbox.scale-150.png" />
|
||||
<Content Include="Assets\Checkbox.scale-200.png" />
|
||||
<Content Include="Assets\Checkbox.scale-400.png" />
|
||||
<Content Include="Assets\ComboBox.scale-100.png" />
|
||||
<Content Include="Assets\ComboBox.scale-125.png" />
|
||||
<Content Include="Assets\ComboBox.scale-150.png" />
|
||||
<Content Include="Assets\ComboBox.scale-200.png" />
|
||||
<Content Include="Assets\ComboBox.scale-400.png" />
|
||||
<Content Include="Assets\custom_toolbar.png" />
|
||||
<Content Include="Assets\DatePicker.scale-100.png" />
|
||||
<Content Include="Assets\DatePicker.scale-125.png" />
|
||||
|
@ -169,6 +177,11 @@
|
|||
<Content Include="Assets\Popup.scale-150.png" />
|
||||
<Content Include="Assets\Popup.scale-200.png" />
|
||||
<Content Include="Assets\Popup.scale-400.png" />
|
||||
<Content Include="Assets\RichTextEditor.scale-100.png" />
|
||||
<Content Include="Assets\RichTextEditor.scale-125.png" />
|
||||
<Content Include="Assets\RichTextEditor.scale-150.png" />
|
||||
<Content Include="Assets\RichTextEditor.scale-200.png" />
|
||||
<Content Include="Assets\RichTextEditor.scale-400.png" />
|
||||
<Content Include="Assets\sampleBot.png" />
|
||||
<Content Include="Assets\Fonts\segoeui.ttf" />
|
||||
<Content Include="Assets\Fonts\segoeuib.ttf" />
|
||||
|
@ -475,74 +488,77 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Telerik.Core">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\uap10.0\Telerik.Core.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Data">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\uap10.0\Telerik.Data.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.Data.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Documents.Core">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Core.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Portable\Telerik.Documents.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Documents.Fixed">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Fixed.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Portable\Telerik.Documents.Fixed.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Documents.SpreadsheetStreaming">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.SpreadsheetStreaming.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Portable\Telerik.Documents.SpreadsheetStreaming.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.UI.Xaml.Chart.UWP">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\uap10.0\Telerik.UI.Xaml.Chart.UWP.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.UI.Xaml.Chart.UWP.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.UI.Xaml.Controls.Data.UWP">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\uap10.0\Telerik.UI.Xaml.Controls.Data.UWP.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.UI.Xaml.Controls.Data.UWP.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.UI.Xaml.Input.UWP">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\uap10.0\Telerik.UI.Xaml.Input.UWP.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.UI.Xaml.Input.UWP.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.UI.Xaml.Primitives.UWP">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\uap10.0\Telerik.UI.Xaml.Primitives.UWP.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.UI.Xaml.Primitives.UWP.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.Barcode">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\uap10.0\Telerik.XamarinForms.Barcode.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.XamarinForms.Barcode.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.Chart">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\uap10.0\Telerik.XamarinForms.Chart.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.XamarinForms.Chart.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.Common">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\uap10.0\Telerik.XamarinForms.Common.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.XamarinForms.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.ConversationalUI">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\uap10.0\Telerik.XamarinForms.ConversationalUI.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.XamarinForms.ConversationalUI.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.DataControls">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\uap10.0\Telerik.XamarinForms.DataControls.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.XamarinForms.DataControls.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.DataGrid">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\uap10.0\Telerik.XamarinForms.DataGrid.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.XamarinForms.DataGrid.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.DataVisualization">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\uap10.0\Telerik.XamarinForms.DataVisualization.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.XamarinForms.DataVisualization.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.ImageEditor">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\uap10.0\Telerik.XamarinForms.ImageEditor.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.XamarinForms.ImageEditor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.Input">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\uap10.0\Telerik.XamarinForms.Input.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.XamarinForms.Input.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.Map">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\uap10.0\Telerik.XamarinForms.Map.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.XamarinForms.Map.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.PdfViewer">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\uap10.0\Telerik.XamarinForms.PdfViewer.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.XamarinForms.PdfViewer.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.Primitives">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\uap10.0\Telerik.XamarinForms.Primitives.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.XamarinForms.Primitives.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.RichTextEditor">
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.XamarinForms.RichTextEditor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.SkiaSharp">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\uap10.0\Telerik.XamarinForms.SkiaSharp.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\UWP\Telerik.XamarinForms.SkiaSharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Zip">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Zip.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Portable\Telerik.Zip.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -565,7 +581,7 @@
|
|||
<Version>3.1.1</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Xamarin.Forms">
|
||||
<Version>4.5.0.356</Version>
|
||||
<Version>4.6.0.726</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' ">
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Telerik.UI.for.Xamarin.Trial" version="2020.2.624.1" targetFramework="uap10.0" />
|
||||
</packages>
|
После Ширина: | Высота: | Размер: 198 B |
После Ширина: | Высота: | Размер: 338 B |
После Ширина: | Высота: | Размер: 247 B |
После Ширина: | Высота: | Размер: 302 B |
После Ширина: | Высота: | Размер: 374 B |
После Ширина: | Высота: | Размер: 530 B |
После Ширина: | Высота: | Размер: 689 B |
После Ширина: | Высота: | Размер: 938 B |
|
@ -1,6 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\..\packages\Xamarin.Forms.4.5.0.356\build\Xamarin.Forms.props" Condition="Exists('..\..\packages\Xamarin.Forms.4.5.0.356\build\Xamarin.Forms.props')" />
|
||||
<Import Project="..\..\config.targets" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
|
@ -128,6 +127,9 @@
|
|||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<TelerikInstallationBinariesPath>$(TelerikXamarinDir)Binaries</TelerikInstallationBinariesPath>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Examples\ButtonControl\HowToCategory\ButtonDisabledTextColorExample\CustomButtonRenderer.cs" />
|
||||
<Compile Include="Examples\CalendarControl\FeaturesCategory\CustomRendererExample\CustomCalendarDelegate.cs" />
|
||||
|
@ -142,7 +144,6 @@
|
|||
<None Include="app.config" />
|
||||
<ITunesArtwork Include="iTunesArtwork%402x" />
|
||||
<ITunesArtwork Include="iTunesArtwork" />
|
||||
<None Include="packages.config" />
|
||||
<Compile Include="Renderers\SafeAreaPageRenderer.cs" />
|
||||
<Compile Include="XlsxFileViewer.cs" />
|
||||
<Compile Include="Examples\CalendarControl\FeaturesCategory\CustomRendererExample\CustomCalendarRenderer.cs" />
|
||||
|
@ -178,94 +179,66 @@
|
|||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Reference Condition="'$(Configuration)|$(Platform)' == 'Tests|iPhoneSimulator' Or '$(Configuration)|$(Platform)' == 'Tests|iPhone'" Include="Calabash">
|
||||
<HintPath>..\..\packages\Xamarin.TestCloud.Agent.0.21.9\lib\Xamarin.iOS\Calabash.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Plugin.Settings">
|
||||
<HintPath>..\..\packages\Xam.Plugins.Settings.3.1.1\lib\Xamarin.iOS10\Plugin.Settings.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Plugin.Settings.Abstractions">
|
||||
<HintPath>..\..\packages\Xam.Plugins.Settings.3.1.1\lib\Xamarin.iOS10\Plugin.Settings.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SkiaSharp">
|
||||
<HintPath>..\..\packages\SkiaSharp.1.68.0\lib\Xamarin.iOS\SkiaSharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SkiaSharp.Views.Forms">
|
||||
<HintPath>..\..\packages\SkiaSharp.Views.Forms.1.68.0\lib\Xamarin.iOS\SkiaSharp.Views.Forms.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SkiaSharp.Views.iOS">
|
||||
<HintPath>..\..\packages\SkiaSharp.Views.1.68.0\lib\Xamarin.iOS\SkiaSharp.Views.iOS.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="Telerik.Documents.Core">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Core.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Portable\Telerik.Documents.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Documents.Fixed">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.Fixed.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Portable\Telerik.Documents.Fixed.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Documents.SpreadsheetStreaming">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Documents.SpreadsheetStreaming.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Portable\Telerik.Documents.SpreadsheetStreaming.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Xamarin.iOS">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\xamarinios10\Telerik.Xamarin.iOS.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\iOS\Telerik.Xamarin.iOS.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.Barcode">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\xamarinios10\Telerik.XamarinForms.Barcode.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\iOS\Telerik.XamarinForms.Barcode.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.Chart">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\xamarinios10\Telerik.XamarinForms.Chart.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\iOS\Telerik.XamarinForms.Chart.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.Common">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\xamarinios10\Telerik.XamarinForms.Common.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\iOS\Telerik.XamarinForms.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.ConversationalUI">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\xamarinios10\Telerik.XamarinForms.ConversationalUI.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\iOS\Telerik.XamarinForms.ConversationalUI.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.DataControls">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\xamarinios10\Telerik.XamarinForms.DataControls.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\iOS\Telerik.XamarinForms.DataControls.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.DataGrid">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\xamarinios10\Telerik.XamarinForms.DataGrid.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\iOS\Telerik.XamarinForms.DataGrid.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.DataVisualization">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\xamarinios10\Telerik.XamarinForms.DataVisualization.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\iOS\Telerik.XamarinForms.DataVisualization.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.ImageEditor">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\xamarinios10\Telerik.XamarinForms.ImageEditor.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\iOS\Telerik.XamarinForms.ImageEditor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.Input">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\xamarinios10\Telerik.XamarinForms.Input.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\iOS\Telerik.XamarinForms.Input.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.Map">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\xamarinios10\Telerik.XamarinForms.Map.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\iOS\Telerik.XamarinForms.Map.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.PdfViewer">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\xamarinios10\Telerik.XamarinForms.PdfViewer.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\iOS\Telerik.XamarinForms.PdfViewer.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.Primitives">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\xamarinios10\Telerik.XamarinForms.Primitives.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\iOS\Telerik.XamarinForms.Primitives.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.RichTextEditor">
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\iOS\Telerik.XamarinForms.RichTextEditor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.XamarinForms.SkiaSharp">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\xamarinios10\Telerik.XamarinForms.SkiaSharp.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\iOS\Telerik.XamarinForms.SkiaSharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Telerik.Zip">
|
||||
<HintPath>..\..\packages\Telerik.UI.for.Xamarin.Trial.2020.2.624.1\lib\portable-net45+win8+wpa81+wp8\Telerik.Zip.dll</HintPath>
|
||||
<HintPath>$(TelerikInstallationBinariesPath)\Portable\Telerik.Zip.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Core">
|
||||
<HintPath>..\..\packages\Xamarin.Forms.4.5.0.356\lib\Xamarin.iOS10\Xamarin.Forms.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Platform">
|
||||
<HintPath>..\..\packages\Xamarin.Forms.4.5.0.356\lib\Xamarin.iOS10\Xamarin.Forms.Platform.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Platform.iOS">
|
||||
<HintPath>..\..\packages\Xamarin.Forms.4.5.0.356\lib\Xamarin.iOS10\Xamarin.Forms.Platform.iOS.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Xaml">
|
||||
<HintPath>..\..\packages\Xamarin.Forms.4.5.0.356\lib\Xamarin.iOS10\Xamarin.Forms.Xaml.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.iOS" />
|
||||
<Reference Include="Xamarin.iOS" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
|
||||
|
@ -649,12 +622,53 @@
|
|||
<ItemGroup>
|
||||
<BundleResource Include="Resources\TimeSpanPicker%403x.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="SkiaSharp">
|
||||
<Version>1.68.0</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="SkiaSharp.Views.Forms">
|
||||
<Version>1.68.0</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Xam.Plugins.Settings">
|
||||
<Version>3.1.1</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Xamarin.Essentials">
|
||||
<Version>1.5.3.2</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Xamarin.Forms">
|
||||
<Version>4.6.0.726</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Xamarin.TestCloud.Agent">
|
||||
<Version>0.21.9</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\ComboBox.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\ComboBox%401,5x.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\ComboBox%402x.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\ComboBox%403x.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\RichTextEditor.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\RichTextEditor%401,5x.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\RichTextEditor%402x.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\RichTextEditor%403x.png" />
|
||||
</ItemGroup>
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Forms.4.5.0.356\build\Xamarin.Forms.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Forms.4.5.0.356\build\Xamarin.Forms.props'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Forms.4.5.0.356\build\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Forms.4.5.0.356\build\Xamarin.Forms.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\..\packages\Xamarin.Forms.4.5.0.356\build\Xamarin.Forms.targets" Condition="Exists('..\..\packages\Xamarin.Forms.4.5.0.356\build\Xamarin.Forms.targets')" />
|
||||
</Project>
|
|
@ -1,10 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="SkiaSharp" version="1.68.0" targetFramework="xamarinios10" />
|
||||
<package id="SkiaSharp.Views" version="1.68.0" targetFramework="xamarinios10" />
|
||||
<package id="SkiaSharp.Views.Forms" version="1.68.0" targetFramework="xamarinios10" />
|
||||
<package id="Xam.Plugins.Settings" version="3.1.1" targetFramework="xamarinios10" />
|
||||
<package id="Xamarin.Forms" version="4.5.0.356" targetFramework="xamarinios10" />
|
||||
<package id="Xamarin.TestCloud.Agent" version="0.21.9" targetFramework="xamarinios10" />
|
||||
<package id="Telerik.UI.for.Xamarin.Trial" version="2020.2.624.1" targetFramework="xamarinios10" />
|
||||
</packages>
|
|
@ -9,7 +9,7 @@
|
|||
ImagePath="ImageSource"
|
||||
ItemsSource="{Binding Source}"
|
||||
TextSearchPath="Name"
|
||||
Watermark="Show Suggestions when Entry is OnFocus"/>
|
||||
Watermark="Show Suggestions on focus"/>
|
||||
<!-- << autocompleteview-features-data-binding -->
|
||||
</StackLayout>
|
||||
</ContentView>
|
|
@ -0,0 +1,37 @@
|
|||
<?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:calendarCommands="clr-namespace:Telerik.XamarinForms.Input.Calendar.Commands;assembly=Telerik.XamarinForms.Input"
|
||||
mc:Ignorable="d"
|
||||
x:Class="SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingCommandsExample.SchedulingCommands">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="40" />
|
||||
</Grid.RowDefinitions>
|
||||
<!-- >> calendar-scheduling-commands-xaml -->
|
||||
<telerikInput:RadCalendar x:Name="calendar"
|
||||
SchedulingUiEnabled="True"
|
||||
AppointmentsSource="{Binding Appointments}"
|
||||
ViewMode="Day">
|
||||
<telerikInput:RadCalendar.Commands>
|
||||
<calendarCommands:ShowAddAppointmentViewCommand />
|
||||
<calendarCommands:ShowEditAppointmentViewCommand />
|
||||
</telerikInput:RadCalendar.Commands>
|
||||
</telerikInput:RadCalendar>
|
||||
<!-- << calendar-scheduling-commands-xaml -->
|
||||
<!-- >> calendar-scheduling-commands-buttons -->
|
||||
<StackLayout Grid.Row="1" Orientation="Horizontal">
|
||||
<Button Command="{Binding Source={x:Reference calendar}, Path=Commands[0]}"
|
||||
CommandParameter="{Binding AddNewAppointmentContext}"
|
||||
Text="Create Appointment"/>
|
||||
<Button Command="{Binding Source={x:Reference calendar}, Path=Commands[1]}"
|
||||
CommandParameter="{Binding EditAppointmentContext}"
|
||||
Text="Edit First Appointment"/>
|
||||
</StackLayout>
|
||||
<!-- << calendar-scheduling-commands-buttons -->
|
||||
</Grid>
|
||||
</ContentView>
|
|
@ -0,0 +1,16 @@
|
|||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingCommandsExample
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class SchedulingCommands : ContentView
|
||||
{
|
||||
public SchedulingCommands()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.BindingContext = new ViewModel();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,48 @@
|
|||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using Telerik.XamarinForms.Input;
|
||||
using Telerik.XamarinForms.Input.Calendar.Commands;
|
||||
|
||||
namespace SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingCommandsExample
|
||||
{
|
||||
// >> calendar-scheduling-commands-vm
|
||||
public class ViewModel
|
||||
{
|
||||
public ViewModel()
|
||||
{
|
||||
var date = DateTime.Today;
|
||||
this.Appointments = new ObservableCollection<Appointment> {
|
||||
new Appointment {
|
||||
Title = "Meeting with Tom",
|
||||
Detail = "Sea Garden",
|
||||
StartDate = date.AddHours(10),
|
||||
EndDate = date.AddHours(11),
|
||||
Color = Color.Tomato
|
||||
},
|
||||
new Appointment {
|
||||
Title = "Lunch with Sara",
|
||||
Detail = "Restaurant",
|
||||
StartDate = date.AddHours(12).AddMinutes(30),
|
||||
EndDate = date.AddHours(14),
|
||||
Color = Color.DarkTurquoise
|
||||
}
|
||||
};
|
||||
|
||||
this.AddNewAppointmentContext = new ShowAddAppointmentViewCommandContext();
|
||||
this.AddNewAppointmentContext.StartDate = DateTime.Now;
|
||||
this.AddNewAppointmentContext.EndDate = DateTime.Now.AddHours(1);
|
||||
|
||||
this.EditAppointmentContext = new ShowEditAppointmentViewCommandContext();
|
||||
this.EditAppointmentContext.Appointment = this.Appointments.FirstOrDefault();
|
||||
}
|
||||
|
||||
public ObservableCollection<Appointment> Appointments { get; set; }
|
||||
|
||||
public ShowAddAppointmentViewCommandContext AddNewAppointmentContext { get; set; }
|
||||
|
||||
public ShowEditAppointmentViewCommandContext EditAppointmentContext { get; set; }
|
||||
}
|
||||
// << calendar-scheduling-commands-vm
|
||||
}
|
|
@ -0,0 +1,285 @@
|
|||
<?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:d="http://xamarin.com/schemas/2014/forms/design"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:telerikCommon="clr-namespace:Telerik.XamarinForms.Common;assembly=Telerik.XamarinForms.Common"
|
||||
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
|
||||
mc:Ignorable="d"
|
||||
x:Class="SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingUIViews.AddAppointmentView">
|
||||
|
||||
<telerikCommon:InvertedBooleanConverter x:Key="InvertedBooleanConverter"/>
|
||||
|
||||
<Style x:Key="EditorTitleLabelStyle" TargetType="Label">
|
||||
<Setter Property="VerticalOptions" Value="Center" />
|
||||
<Setter Property="FontSize" Value="{TemplateBinding EditorFontSize}" />
|
||||
<Setter Property="TextColor" Value="{TemplateBinding EditorTextColor}" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="EditorSeparatorStyle" TargetType="telerikPrimitives:RadBorder">
|
||||
<Setter Property="BorderColor" Value="{TemplateBinding SeparatorColor}" />
|
||||
<Setter Property="BorderThickness" Value="{TemplateBinding SeparatorThickness}" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="EditorGridStyle" TargetType="Grid">
|
||||
<Setter Property="HeightRequest" Value="{OnPlatform iOS=44, Default=48}" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="DefaultButtonStyle" TargetType="Button">
|
||||
<Setter Property="Margin" Value="0"/>
|
||||
<Setter Property="CornerRadius" Value="0"/>
|
||||
<Setter Property="BackgroundColor" Value="{TemplateBinding ButtonBackgroundColor}" />
|
||||
<Setter Property="TextColor" Value="{TemplateBinding ButtonTextColor}" />
|
||||
<Setter Property="HeightRequest" Value="44" />
|
||||
</Style>
|
||||
|
||||
<ControlTemplate x:Key="AddAppointmentViewControlTemplate">
|
||||
<Grid RowSpacing="0"
|
||||
BackgroundColor="{TemplateBinding BackgroundColor}"
|
||||
BindingContext="{TemplateBinding BindingContext}">
|
||||
<telerikPrimitives:RadPopup.Popup>
|
||||
<telerikPrimitives:RadPopup IsOpen="{Binding IsPopupOpen}"
|
||||
Content="{Binding PopupContent}"
|
||||
VerticalOffset="{Binding PopupVerticalOffset}"
|
||||
Placement="Center"
|
||||
AnimationType="Fade"
|
||||
OutsideBackgroundColor="#6F000000">
|
||||
</telerikPrimitives:RadPopup>
|
||||
</telerikPrimitives:RadPopup.Popup>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<ScrollView >
|
||||
<StackLayout Padding="16, 20, 16, 0"
|
||||
Spacing="0">
|
||||
|
||||
<!--Screen Title-->
|
||||
<Label Text="{telerikCommon:Localize Calendar_AppointmentEventTitle}"
|
||||
FontAttributes="Bold"
|
||||
FontSize="{TemplateBinding TitleFontSize}"
|
||||
TextColor="{TemplateBinding TitleTextColor}"
|
||||
HorizontalOptions="Start" />
|
||||
|
||||
<!--Appointment Title-->
|
||||
<telerikPrimitives:RadBorder BorderColor="{TemplateBinding SeparatorColor}"
|
||||
Margin="{OnPlatform iOS='0, 23, 0, 20', Default='0, 23, 0, 14'}"
|
||||
BorderThickness="{OnPlatform iOS=1, Default=0}"
|
||||
CornerRadius="{OnPlatform iOS=10}">
|
||||
|
||||
<Entry Text="{Binding Appointment.Title, Mode=TwoWay}"
|
||||
FontSize="{TemplateBinding EditorFontSize}"
|
||||
TextColor="{TemplateBinding EditorTextColor}"
|
||||
Placeholder="{telerikCommon:Localize Calendar_AppointmentTitlePlaceholder}">
|
||||
</Entry>
|
||||
|
||||
</telerikPrimitives:RadBorder>
|
||||
|
||||
<!--Appointment AllDay-->
|
||||
<telerikPrimitives:RadBorder Style="{StaticResource EditorSeparatorStyle}">
|
||||
<Grid Style="{StaticResource EditorGridStyle}">
|
||||
<Label Text="{telerikCommon:Localize Calendar_AppointmentAllDay}"
|
||||
Style="{StaticResource EditorTitleLabelStyle}" />
|
||||
|
||||
<Switch OnColor="{TemplateBinding AllDaySwitchOnColor}"
|
||||
BackgroundColor="{TemplateBinding AllDaySwitchBackgroundColor}"
|
||||
IsToggled="{Binding Appointment.IsAllDay}"
|
||||
HorizontalOptions="End" />
|
||||
</Grid>
|
||||
</telerikPrimitives:RadBorder>
|
||||
|
||||
<!--Appointment Start Date and Start Time-->
|
||||
<telerikPrimitives:RadBorder Style="{StaticResource EditorSeparatorStyle}">
|
||||
<Grid Style="{StaticResource EditorGridStyle}">
|
||||
<Label Text="{telerikCommon:Localize Calendar_AppointmentStarts}"
|
||||
Style="{StaticResource EditorTitleLabelStyle}" />
|
||||
|
||||
<StackLayout Orientation="Horizontal"
|
||||
HorizontalOptions="End"
|
||||
VerticalOptions="Center">
|
||||
<DatePicker Date="{Binding StartDate}"
|
||||
FontSize="{TemplateBinding EditorFontSize}"
|
||||
TextColor="{TemplateBinding EditorTextColor}"
|
||||
Format="dd MMM yyyy"
|
||||
Margin="0, 0, 5, 0">
|
||||
<DatePicker.Effects>
|
||||
<telerikCommon:PickerRemoveBorderEffect />
|
||||
</DatePicker.Effects>
|
||||
</DatePicker>
|
||||
<TimePicker Time="{Binding StartTime}"
|
||||
FontSize="{TemplateBinding EditorFontSize}"
|
||||
TextColor="{TemplateBinding EditorTextColor}"
|
||||
IsVisible="{Binding Appointment.IsAllDay, Converter={StaticResource InvertedBooleanConverter}}">
|
||||
<TimePicker.Effects>
|
||||
<telerikCommon:PickerRemoveBorderEffect />
|
||||
</TimePicker.Effects>
|
||||
</TimePicker>
|
||||
</StackLayout>
|
||||
</Grid>
|
||||
</telerikPrimitives:RadBorder>
|
||||
|
||||
<!--Appointment End Date and End Time-->
|
||||
<telerikPrimitives:RadBorder Style="{StaticResource EditorSeparatorStyle}">
|
||||
<Grid Style="{StaticResource EditorGridStyle}">
|
||||
<Label Text="{telerikCommon:Localize Calendar_AppointmentEnds}"
|
||||
Style="{StaticResource EditorTitleLabelStyle}" />
|
||||
|
||||
<StackLayout Orientation="Horizontal"
|
||||
HorizontalOptions="End"
|
||||
VerticalOptions="Center">
|
||||
<DatePicker Date="{Binding EndDate}"
|
||||
FontSize="{TemplateBinding EditorFontSize}"
|
||||
TextColor="{TemplateBinding EditorTextColor}"
|
||||
Format="dd MMM yyyy"
|
||||
Margin="0, 0, 5, 0"
|
||||
HorizontalOptions="End">
|
||||
<DatePicker.Effects>
|
||||
<telerikCommon:PickerRemoveBorderEffect />
|
||||
</DatePicker.Effects>
|
||||
</DatePicker>
|
||||
<TimePicker Time="{Binding EndTime}"
|
||||
FontSize="{TemplateBinding EditorFontSize}"
|
||||
TextColor="{TemplateBinding EditorTextColor}"
|
||||
IsVisible="{Binding Appointment.IsAllDay, Converter={StaticResource InvertedBooleanConverter}}"
|
||||
HorizontalOptions="End">
|
||||
<TimePicker.Effects>
|
||||
<telerikCommon:PickerRemoveBorderEffect />
|
||||
</TimePicker.Effects>
|
||||
</TimePicker>
|
||||
</StackLayout>
|
||||
</Grid>
|
||||
</telerikPrimitives:RadBorder>
|
||||
|
||||
<!--Appointment Recurrence-->
|
||||
<telerikPrimitives:RadBorder IsVisible="{Binding IsAppointmentException, Converter={StaticResource InvertedBooleanConverter}}"
|
||||
Style="{StaticResource EditorSeparatorStyle}">
|
||||
<Grid Style="{StaticResource EditorGridStyle}">
|
||||
<Label Text="{telerikCommon:Localize Calendar_AppointmentRepeats}"
|
||||
Style="{StaticResource EditorTitleLabelStyle}" />
|
||||
<StackLayout HorizontalOptions="EndAndExpand"
|
||||
Orientation="Horizontal">
|
||||
<StackLayout.GestureRecognizers>
|
||||
<TapGestureRecognizer Command="{Binding ShowStartRepeatOptionsViewCommand}" />
|
||||
</StackLayout.GestureRecognizers>
|
||||
|
||||
<!--Open Repeats Options-->
|
||||
<Label VerticalOptions="Center"
|
||||
FontSize="{TemplateBinding EditorFontSize}"
|
||||
TextColor="{TemplateBinding EditorTextColor}"
|
||||
Text="{Binding RepeatOptionText}"
|
||||
HorizontalOptions="EndAndExpand">
|
||||
</Label>
|
||||
<Label telerikCommon:TelerikFont.UseEmbeddedFont="True"
|
||||
VerticalOptions="Center"
|
||||
FontSize="{TemplateBinding EditorFontSize}"
|
||||
TextColor="{TemplateBinding EditorTextColor}"
|
||||
Margin="2"
|
||||
Text="" />
|
||||
</StackLayout>
|
||||
</Grid>
|
||||
</telerikPrimitives:RadBorder>
|
||||
|
||||
<!--Appointment Recurrence End-->
|
||||
<telerikPrimitives:RadBorder Style="{StaticResource EditorSeparatorStyle}"
|
||||
IsVisible="{Binding IsEndRepeatOptionVisible}">
|
||||
<Grid Style="{StaticResource EditorGridStyle}">
|
||||
<Label Text="{telerikCommon:Localize Calendar_AppointmentEndRepeats}"
|
||||
Style="{StaticResource EditorTitleLabelStyle}" />
|
||||
<StackLayout HorizontalOptions="EndAndExpand" Orientation="Horizontal" >
|
||||
<StackLayout.GestureRecognizers>
|
||||
<TapGestureRecognizer Command="{Binding ShowEndRepeatOptionsViewCommand}" />
|
||||
</StackLayout.GestureRecognizers>
|
||||
|
||||
<!--Open End Repeats Options-->
|
||||
<Label VerticalOptions="Center"
|
||||
HorizontalOptions="EndAndExpand"
|
||||
FontSize="{TemplateBinding EditorFontSize}"
|
||||
TextColor="{TemplateBinding EditorTextColor}"
|
||||
Text="{Binding EndRepeatOptionText}">
|
||||
</Label>
|
||||
<Label telerikCommon:TelerikFont.UseEmbeddedFont="True"
|
||||
Margin="2"
|
||||
VerticalOptions="Center"
|
||||
FontSize="{TemplateBinding EditorFontSize}"
|
||||
TextColor="{TemplateBinding EditorTextColor}"
|
||||
Text="" />
|
||||
</StackLayout>
|
||||
</Grid>
|
||||
</telerikPrimitives:RadBorder>
|
||||
|
||||
<!--Appointment Color-->
|
||||
<telerikPrimitives:RadBorder Style="{StaticResource EditorSeparatorStyle}">
|
||||
<Grid Style="{StaticResource EditorGridStyle}">
|
||||
<Label Text="{telerikCommon:Localize Calendar_AppointmentColor}"
|
||||
Style="{StaticResource EditorTitleLabelStyle}" />
|
||||
<Grid HorizontalOptions="End">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.GestureRecognizers>
|
||||
<TapGestureRecognizer Command="{Binding ShowColorPickerViewCommand}" />
|
||||
</Grid.GestureRecognizers>
|
||||
<telerikPrimitives:RadBorder VerticalOptions="Center"
|
||||
HorizontalOptions="End"
|
||||
Grid.Column="0"
|
||||
HeightRequest="26"
|
||||
WidthRequest="26"
|
||||
CornerRadius="13"
|
||||
Margin="0"
|
||||
BorderColor="{Binding Appointment.Color, Mode=TwoWay}"
|
||||
BackgroundColor="Transparent"
|
||||
BorderThickness="2">
|
||||
|
||||
<telerikPrimitives:RadBorder VerticalOptions="Center"
|
||||
HorizontalOptions="Center"
|
||||
CornerRadius="9"
|
||||
HeightRequest="18"
|
||||
WidthRequest="18"
|
||||
Margin="1, 0, 0, 0"
|
||||
BackgroundColor="{Binding Appointment.Color, Mode=TwoWay}"/>
|
||||
|
||||
</telerikPrimitives:RadBorder>
|
||||
<Label telerikCommon:TelerikFont.UseEmbeddedFont="True"
|
||||
Grid.Column="1"
|
||||
Margin="2"
|
||||
VerticalOptions="Center"
|
||||
FontSize="{TemplateBinding EditorFontSize}"
|
||||
TextColor="{TemplateBinding EditorTextColor}"
|
||||
Text="" />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</telerikPrimitives:RadBorder>
|
||||
|
||||
<!--Appointment Details-->
|
||||
<Editor Text="{Binding Appointment.Detail}"
|
||||
FontSize="{TemplateBinding EditorFontSize}"
|
||||
TextColor="{TemplateBinding EditorTextColor}"
|
||||
AutoSize="TextChanges"
|
||||
Margin="{OnPlatform iOS='0, 23, 0, 20', Default='0, 23, 0, 14'}"
|
||||
Placeholder="{telerikCommon:Localize Calendar_DetailsEditorPlaceholderText}">
|
||||
<Editor.Effects>
|
||||
<telerikCommon:NoTextOffsetEffect />
|
||||
</Editor.Effects>
|
||||
</Editor>
|
||||
</StackLayout>
|
||||
</ScrollView>
|
||||
|
||||
<telerikPrimitives:RadBorder BorderColor="#C8C7CC"
|
||||
BorderThickness="0, 1, 0, 0"
|
||||
Grid.Row="1">
|
||||
<Grid ColumnSpacing="0">
|
||||
<Button Grid.Column="0"
|
||||
Command="{Binding CancelCommand}"
|
||||
Style="{StaticResource DefaultButtonStyle}"
|
||||
Text="{telerikCommon:Localize Calendar_AppointmentCancelButton}" />
|
||||
|
||||
<Button Grid.Column="1"
|
||||
Command="{Binding SaveAppointmentCommand}"
|
||||
Style="{StaticResource DefaultButtonStyle}"
|
||||
Text="{telerikCommon:Localize Calendar_AppointmentOKButton}" />
|
||||
</Grid>
|
||||
</telerikPrimitives:RadBorder>
|
||||
</Grid>
|
||||
</ControlTemplate>
|
||||
</ResourceDictionary>
|
|
@ -0,0 +1,14 @@
|
|||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingUIViews
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class AddAppointmentView : ResourceDictionary
|
||||
{
|
||||
public AddAppointmentView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,140 @@
|
|||
<?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:d="http://xamarin.com/schemas/2014/forms/design"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:telerikCommon="clr-namespace:Telerik.XamarinForms.Common;assembly=Telerik.XamarinForms.Common"
|
||||
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
|
||||
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
|
||||
mc:Ignorable="d"
|
||||
x:Class="SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingUIViews.AppointmentSummaryView">
|
||||
|
||||
<Style x:Key="DeleteAppointmentButtonStyle" TargetType="Button">
|
||||
<Setter Property="BackgroundColor" Value="{TemplateBinding ButtonBackgroundColor}" />
|
||||
<Setter Property="TextColor" Value="{TemplateBinding ButtonTextColor}" />
|
||||
<Setter Property="FontAttributes" Value="Bold" />
|
||||
<Setter Property="CornerRadius" Value="0" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="EditButtonStyle" TargetType="telerikInput:RadButton">
|
||||
<Setter Property="BackgroundColor" Value="{TemplateBinding ButtonBackgroundColor}" />
|
||||
<Setter Property="TextColor" Value="{TemplateBinding ButtonTextColor}" />
|
||||
<Setter Property="FontAttributes" Value="Bold" />
|
||||
<Setter Property="FontSize" Value="Small" />
|
||||
<Setter Property="HorizontalOptions" Value="Center" />
|
||||
<Setter Property="VerticalOptions" Value="Start" />
|
||||
<Setter Property="HeightRequest" Value="40" />
|
||||
<Setter Property="WidthRequest" Value="{OnPlatform iOS=80, Default=88}" />
|
||||
<Setter Property="CornerRadius" Value="{OnPlatform iOS=6, Default=2}" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="AppointmentInfoLabelStyle" TargetType="Label">
|
||||
<Setter Property="TextColor" Value="{TemplateBinding DetailsTextColor}" />
|
||||
<Setter Property="FontSize" Value="{TemplateBinding DetailsFontSize}" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="BackSymbolLabelStyle" TargetType="Label">
|
||||
<Setter Property="VerticalTextAlignment" Value="Center" />
|
||||
<Setter Property="VerticalOptions" Value="Start" />
|
||||
<Setter Property="HorizontalOptions" Value="Center" />
|
||||
<Setter Property="FontSize" Value="Large" />
|
||||
<Setter Property="HorizontalTextAlignment" Value="{OnPlatform iOS=Start, Android=Center, UWP=Center, Default=Center}" />
|
||||
<Setter Property="TextColor" Value="{TemplateBinding BackTextColor}" />
|
||||
<Setter Property="Margin" Value="{OnPlatform iOS='0, 9, 0, 0', Default='0, 8, 0, 0'}" />
|
||||
<Setter Property="HeightRequest" Value="{OnPlatform iOS=22, Default=24}" />
|
||||
<Setter Property="WidthRequest" Value="{OnPlatform iOS=22, Default=24}" />
|
||||
</Style>
|
||||
|
||||
<ControlTemplate x:Key="AppointmentSummaryViewControlTemplate">
|
||||
<Grid RowSpacing="0"
|
||||
BackgroundColor="{TemplateBinding BackgroundColor}"
|
||||
BindingContext="{TemplateBinding BindingContext}">
|
||||
<telerikPrimitives:RadPopup.Popup>
|
||||
<telerikPrimitives:RadPopup IsOpen="{Binding IsPopupOpen}"
|
||||
Content="{Binding PopupContent}"
|
||||
VerticalOffset="{Binding PopupVerticalOffset}"
|
||||
Placement="Center"
|
||||
AnimationType="Fade"
|
||||
OutsideBackgroundColor="#6F000000">
|
||||
</telerikPrimitives:RadPopup>
|
||||
</telerikPrimitives:RadPopup.Popup>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition />
|
||||
<RowDefinition Height="44" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid ColumnSpacing="0"
|
||||
Margin="{OnPlatform iOS='12, 12, 12, 0', Default='16, 12, 16, 0'}">
|
||||
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition Width="{OnPlatform iOS=80, Default=88}" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<!-- Back symbol -->
|
||||
<Label Text=""
|
||||
telerikCommon:TelerikFont.UseEmbeddedFont="True"
|
||||
Style="{StaticResource BackSymbolLabelStyle}" >
|
||||
<Label.GestureRecognizers>
|
||||
<TapGestureRecognizer Command="{Binding CancelCommand}" />
|
||||
</Label.GestureRecognizers>
|
||||
</Label>
|
||||
|
||||
<StackLayout Grid.Column="1"
|
||||
Orientation="Horizontal"
|
||||
Spacing="0">
|
||||
|
||||
<!--Appointment title-->
|
||||
<Label Text="{Binding Appointment.Title}"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center"
|
||||
VerticalTextAlignment="Center"
|
||||
HorizontalTextAlignment="Start"
|
||||
Margin="5,0,0,0"
|
||||
FontSize="{TemplateBinding AppointmentTitleFontSize}"
|
||||
TextColor="{TemplateBinding AppointmentTitleTextColor}"
|
||||
FontAttributes="Bold" />
|
||||
|
||||
<!--Appointment Color-->
|
||||
<telerikPrimitives:RadBorder BackgroundColor="{Binding Appointment.Color}"
|
||||
HorizontalOptions="Start"
|
||||
VerticalOptions="Start"
|
||||
MinimumHeightRequest="{OnPlatform Default=6, Android=8}"
|
||||
MinimumWidthRequest="{OnPlatform Default=6, Android=8}"
|
||||
HeightRequest="{OnPlatform Default=6, Android=8}"
|
||||
WidthRequest="{OnPlatform Default=6, Android=8}"
|
||||
Margin="6"
|
||||
CornerRadius="{OnPlatform Default=3, Android=4}"/>
|
||||
</StackLayout>
|
||||
|
||||
<telerikInput:RadButton Grid.Column="2"
|
||||
Text="{telerikCommon:Localize Calendar_EditButton}"
|
||||
Command="{Binding BeginEditAppointmentCommand}"
|
||||
Style="{StaticResource EditButtonStyle}"/>
|
||||
</Grid>
|
||||
|
||||
<!--Appointment details-->
|
||||
<StackLayout Grid.Row="1"
|
||||
Spacing="6"
|
||||
Margin="{OnPlatform iOS='12, 24', Default='16, 18'}">
|
||||
<Label Text="{Binding AppointmentSummary}"
|
||||
Style="{StaticResource AppointmentInfoLabelStyle}" />
|
||||
<Label Text="{Binding RepeatOptionsDetails}"
|
||||
Style="{StaticResource AppointmentInfoLabelStyle}" />
|
||||
<Label Text="{Binding Appointment.Detail}"
|
||||
Style="{StaticResource AppointmentInfoLabelStyle}"
|
||||
Margin="0, 16, 0, 0" />
|
||||
</StackLayout>
|
||||
|
||||
<!--Delete appointment button-->
|
||||
<telerikPrimitives:RadBorder Grid.Row="2"
|
||||
BorderColor="#C8C7CC"
|
||||
BorderThickness="0, 1, 0, 0">
|
||||
<Button Text="{telerikCommon:Localize Calendar_DeleteButton}"
|
||||
Command="{Binding DeleteAppointmentCommand}"
|
||||
Style="{StaticResource DeleteAppointmentButtonStyle}" />
|
||||
</telerikPrimitives:RadBorder>
|
||||
</Grid>
|
||||
</ControlTemplate>
|
||||
</ResourceDictionary>
|
|
@ -0,0 +1,14 @@
|
|||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingUIViews
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class AppointmentSummaryView : ResourceDictionary
|
||||
{
|
||||
public AppointmentSummaryView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,50 @@
|
|||
<?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:d="http://xamarin.com/schemas/2014/forms/design"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:telerikCommon="clr-namespace:Telerik.XamarinForms.Common;assembly=Telerik.XamarinForms.Common"
|
||||
xmlns:telerikCalendar="clr-namespace:Telerik.XamarinForms.Input.Calendar;assembly=Telerik.XamarinForms.Input"
|
||||
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
|
||||
mc:Ignorable="d"
|
||||
x:Class="SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingUIViews.ColorPickerView">
|
||||
|
||||
<Style x:Key="DefaultButtonStyle" TargetType="Button">
|
||||
<Setter Property="Margin" Value="0" />
|
||||
<Setter Property="CornerRadius" Value="0" />
|
||||
<Setter Property="BackgroundColor" Value="{TemplateBinding ButtonBackgroundColor}" />
|
||||
<Setter Property="TextColor" Value="{TemplateBinding ButtonTextColor}" />
|
||||
<Setter Property="HeightRequest" Value="44" />
|
||||
</Style>
|
||||
|
||||
<ControlTemplate x:Key="ColorPickerViewControlTemplate">
|
||||
<ScrollView BackgroundColor="{TemplateBinding BackgroundColor}">
|
||||
<StackLayout >
|
||||
<Label Text="{telerikCommon:Localize Calendar_ColorPickerTitle}"
|
||||
Padding="16, 20, 16, 0"
|
||||
FontAttributes="Bold"
|
||||
FontSize="{TemplateBinding TitleFontSize}"
|
||||
TextColor="{TemplateBinding TitleTextColor}"
|
||||
Margin="0, 0, 0, 15"
|
||||
HorizontalOptions="Start">
|
||||
</Label>
|
||||
|
||||
<telerikCalendar:CalendarColorPicker Colors="{Binding Colors}"
|
||||
Padding="16, 0"
|
||||
SelectedColor="{Binding SelectedColor, Mode=TwoWay}" />
|
||||
|
||||
<telerikPrimitives:RadBorder BorderColor="#C8C7CC"
|
||||
Margin="0, 10, 0, 0"
|
||||
VerticalOptions="EndAndExpand"
|
||||
BorderThickness="0, 1, 0, 0">
|
||||
<Grid ColumnSpacing="0">
|
||||
<Button Grid.Column="0"
|
||||
Style="{StaticResource DefaultButtonStyle}"
|
||||
Command="{Binding CancelCommand}"
|
||||
Text="{telerikCommon:Localize Calendar_AppointmentCancelButton}" />
|
||||
</Grid>
|
||||
</telerikPrimitives:RadBorder>
|
||||
</StackLayout>
|
||||
</ScrollView>
|
||||
</ControlTemplate>
|
||||
</ResourceDictionary>
|
|
@ -0,0 +1,14 @@
|
|||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingUIViews
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class ColorPickerView : ResourceDictionary
|
||||
{
|
||||
public ColorPickerView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,143 @@
|
|||
<?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:d="http://xamarin.com/schemas/2014/forms/design"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:telerikCommon="clr-namespace:Telerik.XamarinForms.Common;assembly=Telerik.XamarinForms.Common"
|
||||
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
|
||||
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
|
||||
mc:Ignorable="d"
|
||||
x:Class="SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingUIViews.CustomRecurrenceView">
|
||||
|
||||
<Style x:Key="DefaultSeparatorStyle" TargetType="telerikPrimitives:RadBorder">
|
||||
<Setter Property="HeightRequest" Value="{OnPlatform iOS=44, Android=48, UWP=68, Default=48}" />
|
||||
<Setter Property="BorderColor" Value="{TemplateBinding SeparatorColor}" />
|
||||
<Setter Property="BorderThickness" Value="{TemplateBinding SeparatorThickness}" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="DetailsLabelStyle" TargetType="Label">
|
||||
<Setter Property="TextColor" Value="{TemplateBinding DetailsTextColor}" />
|
||||
<Setter Property="FontSize" Value="{TemplateBinding DetailsFontSize}" />
|
||||
<Setter Property="VerticalTextAlignment" Value="Center" />
|
||||
<Setter Property="HorizontalTextAlignment" Value="Start" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="DefaultButtonStyle" TargetType="Button">
|
||||
<Setter Property="Margin" Value="0" />
|
||||
<Setter Property="CornerRadius" Value="0" />
|
||||
<Setter Property="BackgroundColor" Value="{TemplateBinding ButtonBackgroundColor}" />
|
||||
<Setter Property="TextColor" Value="{TemplateBinding ButtonTextColor}" />
|
||||
<Setter Property="HeightRequest" Value="44" />
|
||||
<Setter Property="FontAttributes" Value="Bold" />
|
||||
</Style>
|
||||
|
||||
<ControlTemplate x:Key="CustomRecurrenceViewControlTemplate">
|
||||
<Grid BackgroundColor="{TemplateBinding BackgroundColor}">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition />
|
||||
<RowDefinition Height="44" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<ScrollView>
|
||||
<Grid RowSpacing="0" Margin="0, 16, 0, 0">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="{OnPlatform iOS=44, Default=48}" />
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Label Text="{telerikCommon:Localize Calendar_CustomRecurrenceTitle}"
|
||||
TextColor="{TemplateBinding TitleTextColor}"
|
||||
FontSize="{TemplateBinding TitleFontSize}"
|
||||
Margin="{OnPlatform iOS='16, 21', Default='16, 17, 16, 9'}">
|
||||
</Label>
|
||||
|
||||
<Grid Grid.Row="1"
|
||||
Margin="16, 0"
|
||||
RowSpacing="0">
|
||||
|
||||
<!--Frequency picker-->
|
||||
<telerikPrimitives:RadBorder Style="{StaticResource DefaultSeparatorStyle}">
|
||||
<Grid>
|
||||
<Label Text="{telerikCommon:Localize Calendar_CustomRecurrenceFrequency}"
|
||||
TextColor="{TemplateBinding TextColor}"
|
||||
VerticalTextAlignment="Center" />
|
||||
|
||||
<Picker ItemsSource="{Binding FrequencyPickerItemsSource}"
|
||||
SelectedIndex="{Binding FrequencyPickerSelectedIndex, Mode=TwoWay}"
|
||||
Title="{Binding FrequencyPickerTitle}"
|
||||
TextColor="{TemplateBinding TextColor}"
|
||||
HorizontalOptions="End"
|
||||
BackgroundColor="Transparent"
|
||||
WidthRequest="{OnPlatform iOS=70, Android=80, UWP=120}">
|
||||
<Picker.Effects>
|
||||
<telerikCommon:PickerRemoveBorderEffect />
|
||||
</Picker.Effects>
|
||||
</Picker>
|
||||
</Grid>
|
||||
</telerikPrimitives:RadBorder>
|
||||
|
||||
<!--Interval picker-->
|
||||
<telerikPrimitives:RadBorder Style="{StaticResource DefaultSeparatorStyle}"
|
||||
Grid.Row="1">
|
||||
<Grid>
|
||||
<Label Text="{telerikCommon:Localize Calendar_CustomRecurrenceEvery}"
|
||||
TextColor="{TemplateBinding TextColor}"
|
||||
VerticalTextAlignment="Center" />
|
||||
|
||||
<Picker ItemsSource="{Binding IntervalPickerItemsSource}"
|
||||
SelectedIndex="{Binding IntervalPickerSelectedIndex, Mode=TwoWay}"
|
||||
Title="{Binding IntervalPickerTitle}"
|
||||
TextColor="{TemplateBinding TextColor}"
|
||||
WidthRequest="{OnPlatform iOS=70, Android=80, UWP=120}"
|
||||
HorizontalOptions="End">
|
||||
<Picker.Effects>
|
||||
<telerikCommon:PickerRemoveBorderEffect />
|
||||
</Picker.Effects>
|
||||
</Picker>
|
||||
</Grid>
|
||||
</telerikPrimitives:RadBorder>
|
||||
</Grid>
|
||||
|
||||
<Label Grid.Row="2"
|
||||
Margin="16, 0"
|
||||
Style="{StaticResource DetailsLabelStyle}"
|
||||
Text="{Binding InfoText}" />
|
||||
|
||||
<Grid Grid.Row="3"
|
||||
Margin="16, 0">
|
||||
|
||||
<!--Weekly Days Picker-->
|
||||
<telerikInput:CalendarWeeklyViewPicker IsVisible="{Binding IsWeeklyViewVisible}"
|
||||
SeparatorColor="{TemplateBinding SeparatorColor}"
|
||||
DetailsTextUpdatedCommand="{Binding WeeklyInfoTextUpdatedCommand}"/>
|
||||
<!--Monthly Days Picker-->
|
||||
<telerikInput:CalendarMonthlyViewPicker IsVisible="{Binding IsMonthlyViewVisible}"
|
||||
SeparatorColor="{TemplateBinding SeparatorColor}"
|
||||
DetailsTextUpdatedCommand="{Binding MonhtlyInfoTextUpdatedCommand}"/>
|
||||
<!--Yearly Months Picker-->
|
||||
<telerikInput:CalendarYearlyViewPicker IsVisible="{Binding IsYearlyViewVisible}"
|
||||
SeparatorColor="{TemplateBinding SeparatorColor}"
|
||||
DetailsTextUpdatedCommand="{Binding YearlyInfoTextUpdatedCommand}"/>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</ScrollView>
|
||||
|
||||
<telerikPrimitives:RadBorder Grid.Row="1"
|
||||
BorderColor="#C8C7CC"
|
||||
BorderThickness="0, 1, 0, 0" >
|
||||
<Grid ColumnSpacing="0">
|
||||
<Button Text="{telerikCommon:Localize Calendar_AppointmentCancelButton}"
|
||||
Command="{Binding CancelCommand}"
|
||||
Style="{StaticResource DefaultButtonStyle}" />
|
||||
|
||||
<Button Grid.Column="1"
|
||||
Command="{Binding OKCommand}"
|
||||
Text="{telerikCommon:Localize Calendar_AppointmentOKButton}"
|
||||
Style="{StaticResource DefaultButtonStyle}" />
|
||||
</Grid>
|
||||
</telerikPrimitives:RadBorder>
|
||||
</Grid>
|
||||
</ControlTemplate>
|
||||
</ResourceDictionary>
|
|
@ -0,0 +1,14 @@
|
|||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingUIViews
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class CustomRecurrenceView : ResourceDictionary
|
||||
{
|
||||
public CustomRecurrenceView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,82 @@
|
|||
<?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:d="http://xamarin.com/schemas/2014/forms/design"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:telerikCommon="clr-namespace:Telerik.XamarinForms.Common;assembly=Telerik.XamarinForms.Common"
|
||||
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
|
||||
mc:Ignorable="d"
|
||||
x:Class="SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingUIViews.DeleteAppointmentView">
|
||||
|
||||
<Style TargetType="Button" x:Key="DeleteOptionButtonStyle">
|
||||
<Setter Property="FontSize" Value="Medium"/>
|
||||
<Setter Property="HeightRequest" Value="57"/>
|
||||
<Setter Property="BorderRadius" Value="15"/>
|
||||
</Style>
|
||||
|
||||
<ControlTemplate x:Key="DeleteAppointmentViewControlTemplate_AndroidUWP">
|
||||
<telerikPrimitives:RadBorder BorderThickness="1"
|
||||
BorderColor="DarkGray"
|
||||
BackgroundColor="White"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center">
|
||||
<Grid Padding="24, 18, 41, 24"
|
||||
BackgroundColor="{TemplateBinding BackgroundColor}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Label Grid.ColumnSpan="2"
|
||||
Text="{telerikCommon:Localize Calendar_Android_DeleteSingleEvent}"
|
||||
FontSize="Medium"
|
||||
FontAttributes="Bold"
|
||||
Margin="0, 0, 0, 48"
|
||||
HorizontalTextAlignment="Start"
|
||||
VerticalTextAlignment="Center"/>
|
||||
|
||||
<StackLayout Grid.Column="1"
|
||||
Orientation="Horizontal"
|
||||
HorizontalOptions="End"
|
||||
VerticalOptions="End"
|
||||
Spacing="45">
|
||||
|
||||
<Label Text="{telerikCommon:Localize Calendar_AppointmentCancelButton}"
|
||||
TextColor="Accent">
|
||||
<Label.GestureRecognizers>
|
||||
<TapGestureRecognizer Command="{Binding CancelCommand}"/>
|
||||
</Label.GestureRecognizers>
|
||||
</Label>
|
||||
|
||||
<Label Text="{telerikCommon:Localize Calendar_AppointmentOKButton}"
|
||||
TextColor="Accent">
|
||||
<Label.GestureRecognizers>
|
||||
<TapGestureRecognizer Command="{Binding DeleteAppointmentCommand}"/>
|
||||
</Label.GestureRecognizers>
|
||||
</Label>
|
||||
</StackLayout>
|
||||
|
||||
</Grid>
|
||||
</telerikPrimitives:RadBorder>
|
||||
</ControlTemplate>
|
||||
|
||||
<ControlTemplate x:Key="DeleteAppointmentViewControlTemplate_iOS">
|
||||
<StackLayout VerticalOptions="End"
|
||||
HorizontalOptions="Center"
|
||||
WidthRequest="500"
|
||||
Padding="10"
|
||||
Spacing="8">
|
||||
<Button Style="{StaticResource DeleteOptionButtonStyle}"
|
||||
Command="{Binding DeleteAppointmentCommand}"
|
||||
TextColor="#FF3B30"
|
||||
BackgroundColor="#F7F7F7"
|
||||
Text="{telerikCommon:Localize Calendar_iOS_DeleteSingleEvent}"/>
|
||||
|
||||
<Button Style="{StaticResource DeleteOptionButtonStyle}"
|
||||
Command="{Binding CancelCommand}"
|
||||
TextColor="#007AFF"
|
||||
BackgroundColor="#FFFFFF"
|
||||
Text="{telerikCommon:Localize Calendar_AppointmentCancelButton}"/>
|
||||
</StackLayout>
|
||||
</ControlTemplate>
|
||||
</ResourceDictionary>
|
|
@ -0,0 +1,14 @@
|
|||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingUIViews
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class DeleteAppointmentView : ResourceDictionary
|
||||
{
|
||||
public DeleteAppointmentView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,141 @@
|
|||
<?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:d="http://xamarin.com/schemas/2014/forms/design"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:telerikCommon="clr-namespace:Telerik.XamarinForms.Common;assembly=Telerik.XamarinForms.Common"
|
||||
xmlns:telerikDataControls="clr-namespace:Telerik.XamarinForms.DataControls;assembly=Telerik.XamarinForms.DataControls"
|
||||
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
|
||||
mc:Ignorable="d"
|
||||
x:Class="SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingUIViews.DeleteRecurringAppointmentView">
|
||||
|
||||
<Style x:Key="DefaultButtonStyle" TargetType="Button">
|
||||
<Setter Property="FontSize" Value="Medium"/>
|
||||
<Setter Property="BackgroundColor" Value="#F7F7F7" />
|
||||
<Setter Property="CornerRadius" Value="0" />
|
||||
<Setter Property="HeightRequest" Value="57" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="SelectedSymbolLabelStyle" TargetType="Label">
|
||||
<Setter Property="HorizontalOptions" Value="Center" />
|
||||
<Setter Property="VerticalOptions" Value="Center" />
|
||||
<Setter Property="VerticalTextAlignment" Value="Center" />
|
||||
<Setter Property="HorizontalTextAlignment" Value="Center" />
|
||||
<Setter Property="TextColor" Value="Accent" />
|
||||
<Setter Property="FontSize" Value="Large" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="EventOptionsItemStyle" TargetType="telerikPrimitives:RadBorder">
|
||||
<Setter Property="BackgroundColor" Value="Transparent"/>
|
||||
<Setter Property="BorderThickness" Value="0"/>
|
||||
</Style>
|
||||
|
||||
<DataTemplate x:Key="EventOptionsItemTemplate">
|
||||
<Grid HeightRequest="40">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="3*" />
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.GestureRecognizers>
|
||||
<TapGestureRecognizer Command="{TemplateBinding BindingContext.DeleteOptionTappedCommand}"
|
||||
CommandParameter="{Binding .}" />
|
||||
</Grid.GestureRecognizers>
|
||||
<Label Text="{Binding Text}"
|
||||
VerticalOptions="Center"
|
||||
VerticalTextAlignment="Center" />
|
||||
<Label Grid.Column="1"
|
||||
Text="{Binding Symbol}"
|
||||
Margin="46, 0, 0, 0"
|
||||
telerikCommon:TelerikFont.UseEmbeddedFont="True"
|
||||
Style="{StaticResource SelectedSymbolLabelStyle}"
|
||||
IsVisible="{Binding IsSelected}" />
|
||||
</Grid>
|
||||
</DataTemplate>
|
||||
|
||||
<ControlTemplate x:Key="DeleteRecurringAppointmentControlTemplate_AndroidUWP">
|
||||
<telerikPrimitives:RadBorder HorizontalOptions="Center"
|
||||
VerticalOptions="Center"
|
||||
BackgroundColor="White"
|
||||
BorderThickness="1"
|
||||
BorderColor="DarkGray">
|
||||
|
||||
<Grid Padding="24, 18, 32, 27"
|
||||
BackgroundColor="{TemplateBinding BackgroundColor}"
|
||||
HorizontalOptions="Fill">
|
||||
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Label Text="{telerikCommon:Localize Calendar_Android_DeleteRecurringEventTitle}"
|
||||
FontSize="Medium"
|
||||
FontAttributes="Bold"
|
||||
Margin="0, 0, 0, 24" />
|
||||
|
||||
<StackLayout Grid.Row="1"
|
||||
VerticalOptions="StartAndExpand"
|
||||
HorizontalOptions="Fill">
|
||||
|
||||
<telerikDataControls:NonVirtualizedItemsControl ItemsSource="{Binding EventOptions}"
|
||||
SelectionMode="Single"
|
||||
SelectedItemStyle="{StaticResource EventOptionsItemStyle}"
|
||||
ItemStyle="{StaticResource EventOptionsItemStyle}"
|
||||
ItemTemplate="{StaticResource EventOptionsItemTemplate}"
|
||||
Margin="0, 0, 0, 24" />
|
||||
|
||||
<StackLayout Orientation="Horizontal"
|
||||
Spacing="23"
|
||||
HorizontalOptions="End"
|
||||
VerticalOptions="End">
|
||||
|
||||
<Label Text="{telerikCommon:Localize Calendar_AppointmentCancelButton}"
|
||||
TextColor="Accent">
|
||||
<Label.GestureRecognizers>
|
||||
<TapGestureRecognizer Command="{Binding CancelCommand}" />
|
||||
</Label.GestureRecognizers>
|
||||
</Label>
|
||||
|
||||
<Label Text="{telerikCommon:Localize Calendar_AppointmentOKButton}"
|
||||
TextColor="Accent">
|
||||
<Label.GestureRecognizers>
|
||||
<TapGestureRecognizer Command="{Binding DeleteAppointmentCommand}" />
|
||||
</Label.GestureRecognizers>
|
||||
</Label>
|
||||
</StackLayout>
|
||||
</StackLayout>
|
||||
</Grid>
|
||||
</telerikPrimitives:RadBorder>
|
||||
</ControlTemplate>
|
||||
|
||||
<ControlTemplate x:Key="DeleteRecurringAppointmentControlTemplate_iOS">
|
||||
<StackLayout VerticalOptions="End"
|
||||
HorizontalOptions="Center"
|
||||
WidthRequest="500"
|
||||
Padding="10"
|
||||
Spacing="8">
|
||||
|
||||
<telerikPrimitives:RadBorder BorderThickness="0"
|
||||
CornerRadius="15">
|
||||
<StackLayout Spacing="0.2">
|
||||
<Button Style="{StaticResource DefaultButtonStyle}"
|
||||
TextColor="#FF3B30"
|
||||
Command="{Binding DeleteSingleRecurringEventCommand}"
|
||||
Text="{telerikCommon:Localize Calendar_iOS_DeleteSingleRecurringEvent}" />
|
||||
|
||||
<Button Style="{StaticResource DefaultButtonStyle}"
|
||||
TextColor="#FF3B30"
|
||||
Command="{Binding DeleteSeriesCommand}"
|
||||
Text="{telerikCommon:Localize Calendar_iOS_DeleteSeries}" />
|
||||
</StackLayout>
|
||||
</telerikPrimitives:RadBorder>
|
||||
|
||||
<Button Style="{StaticResource DefaultButtonStyle}"
|
||||
BorderRadius="15"
|
||||
Command="{Binding CancelCommand}"
|
||||
TextColor="#007AFF"
|
||||
Text="{telerikCommon:Localize Calendar_AppointmentCancelButton}" />
|
||||
|
||||
</StackLayout>
|
||||
</ControlTemplate>
|
||||
</ResourceDictionary>
|
|
@ -0,0 +1,14 @@
|
|||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingUIViews
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class DeleteRecurringAppointmentView : ResourceDictionary
|
||||
{
|
||||
public DeleteRecurringAppointmentView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,159 @@
|
|||
<?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:d="http://xamarin.com/schemas/2014/forms/design"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:telerikCommon="clr-namespace:Telerik.XamarinForms.Common;assembly=Telerik.XamarinForms.Common"
|
||||
xmlns:telerikDataControls="clr-namespace:Telerik.XamarinForms.DataControls;assembly=Telerik.XamarinForms.DataControls"
|
||||
xmlns:telerikNumericInput="clr-namespace:Telerik.XamarinForms.Input.NumericInput;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"
|
||||
mc:Ignorable="d"
|
||||
x:Class="SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingUIViews.EndRepeatAppointmentView">
|
||||
|
||||
<Style x:Key="EndRepeatLabelStyle" TargetType="Label">
|
||||
<Setter Property="TextColor" Value="{TemplateBinding SummaryTextColor}" />
|
||||
<Setter Property="FontSize" Value="{TemplateBinding SummaryFontSize}" />
|
||||
<Setter Property="VerticalOptions" Value="Center" />
|
||||
<Setter Property="HorizontalOptions" Value="Start" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="SelectionSymbolStyle" TargetType="Label">
|
||||
<Setter Property="HorizontalOptions" Value="End" />
|
||||
<Setter Property="VerticalOptions" Value="Center" />
|
||||
<Setter Property="VerticalTextAlignment" Value="Center" />
|
||||
<Setter Property="HorizontalTextAlignment" Value="Center" />
|
||||
<Setter Property="TextColor" Value="{TemplateBinding SelectionSymbolColor}" />
|
||||
<Setter Property="FontSize" Value="Large" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="EndRepeatOptionsItemStyle" TargetType="telerikPrimitives:RadBorder">
|
||||
<Setter Property="BorderColor" Value="{TemplateBinding SeparatorColor}" />
|
||||
<Setter Property="BorderThickness" Value="{TemplateBinding SeparatorThickness}" />
|
||||
<Setter Property="BackgroundColor" Value="Transparent" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="DefaultButtonStyle" TargetType="Button">
|
||||
<Setter Property="Margin" Value="0" />
|
||||
<Setter Property="CornerRadius" Value="0" />
|
||||
<Setter Property="BackgroundColor" Value="{TemplateBinding ButtonBackgroundColor}" />
|
||||
<Setter Property="TextColor" Value="{TemplateBinding ButtonTextColor}" />
|
||||
<Setter Property="HeightRequest" Value="44" />
|
||||
</Style>
|
||||
|
||||
<DataTemplate x:Key="EndRepeatOptionsItemTemplate">
|
||||
<Grid HeightRequest="44">
|
||||
<Grid.GestureRecognizers>
|
||||
<TapGestureRecognizer Command="{TemplateBinding BindingContext.EndRepeatOptionTappedCommand}"
|
||||
CommandParameter="{Binding .}" />
|
||||
</Grid.GestureRecognizers>
|
||||
|
||||
<Label Text="{Binding Text}"
|
||||
TextColor="{TemplateBinding TextColor}"
|
||||
FontSize="{TemplateBinding FontSize}"
|
||||
HorizontalTextAlignment="Start"
|
||||
VerticalTextAlignment="Center" />
|
||||
|
||||
<Label telerikCommon:TelerikFont.UseEmbeddedFont="True"
|
||||
Text="{Binding Symbol}"
|
||||
Style="{StaticResource SelectionSymbolStyle}"
|
||||
IsVisible="{Binding IsSelected}" />
|
||||
</Grid>
|
||||
</DataTemplate>
|
||||
|
||||
<ControlTemplate x:Key="EndRepeatAppointmentViewControlTemplate">
|
||||
<ScrollView>
|
||||
<StackLayout>
|
||||
<StackLayout Padding="16, 20, 16, 0" VerticalOptions="StartAndExpand">
|
||||
<Label Text="{telerikCommon:Localize Calendar_EndRepeatTitle}"
|
||||
FontAttributes="Bold"
|
||||
FontSize="{TemplateBinding TitleFontSize}"
|
||||
TextColor="{TemplateBinding TitleTextColor}"
|
||||
Margin="0, 0, 0, 15"
|
||||
HorizontalOptions="Start">
|
||||
</Label>
|
||||
|
||||
<telerikDataControls:NonVirtualizedItemsControl ItemsSource="{Binding EndRepeatOptions}"
|
||||
SelectionMode="Single"
|
||||
SelectedItemStyle="{StaticResource EndRepeatOptionsItemStyle}"
|
||||
ItemStyle="{StaticResource EndRepeatOptionsItemStyle}"
|
||||
ItemTemplate="{StaticResource EndRepeatOptionsItemTemplate}" />
|
||||
|
||||
<Grid HeightRequest="44"
|
||||
IsVisible="{Binding IsDateViewVisible}">
|
||||
|
||||
<Label Text="{telerikCommon:Localize Calendar_EndRepeatLabel}"
|
||||
Style="{StaticResource EndRepeatLabelStyle}">
|
||||
</Label>
|
||||
|
||||
<DatePicker telerikCommon:FocusElementHelper.IsFocused="{Binding IsDatePickerFocused}"
|
||||
HorizontalOptions="EndAndExpand"
|
||||
Format="dd.MM.yyyy"
|
||||
VerticalOptions="Center"
|
||||
TextColor="{TemplateBinding SummaryTextColor}"
|
||||
FontSize="{TemplateBinding SummaryFontSize}"
|
||||
Date="{Binding OnDate}">
|
||||
<DatePicker.Effects>
|
||||
<telerikCommon:PickerRemoveBorderEffect />
|
||||
</DatePicker.Effects>
|
||||
</DatePicker>
|
||||
</Grid>
|
||||
|
||||
<StackLayout IsVisible="{Binding IsOccurencesViewVisible}">
|
||||
<StackLayout.Resources>
|
||||
<Style TargetType="telerikNumericInput:NumericInputButton" Class="NumericInputStyle">
|
||||
<Setter Property="BorderRadius" Value="{OnPlatform iOS=10, Default=2}" />
|
||||
<Setter Property="BorderWidth" Value="{OnPlatform iOS=2, Default=1}" />
|
||||
<Setter Property="BackgroundColor" Value="Transparent"/>
|
||||
<Setter Property="BorderColor" Value="{OnPlatform iOS='#067DFF', Default='Accent'}" />
|
||||
<Setter Property="TextColor" Value="{OnPlatform iOS='#067DFF', Default='Accent'}" />
|
||||
<Setter Property="FontSize" Value="Large" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="telerikNumericInput:NumericInputEntry" Class="NumericInputStyle">
|
||||
<Setter Property="BorderStyle">
|
||||
<Setter.Value>
|
||||
<telerikInput:BorderStyle CornerRadius="{OnPlatform iOS=10,Default=2}"
|
||||
BorderThickness="{OnPlatform iOS=2, Default='0,0,0,1'}"
|
||||
BorderColor="{OnPlatform iOS='#067DFF', Default='Accent'}" />
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Setter Property="HorizontalTextAlignment" Value="Center" />
|
||||
</Style>
|
||||
</StackLayout.Resources>
|
||||
|
||||
<Grid HeightRequest="44">
|
||||
<Label Text="{telerikCommon:Localize Calendar_OccurencesLabel}"
|
||||
Style="{StaticResource EndRepeatLabelStyle}" />
|
||||
|
||||
<Label Text="{Binding Occurences}"
|
||||
Style="{StaticResource EndRepeatLabelStyle}"
|
||||
HorizontalOptions="End" />
|
||||
</Grid>
|
||||
|
||||
<telerikInput:RadNumericInput StyleClass="NumericInputStyle"
|
||||
Margin="58, 20, 58, 0"
|
||||
Minimum="0"
|
||||
Value="{Binding Occurences, Mode=TwoWay}" />
|
||||
</StackLayout>
|
||||
</StackLayout>
|
||||
|
||||
<telerikPrimitives:RadBorder BorderColor="#C8C7CC"
|
||||
Margin="0, 10, 0, 0"
|
||||
VerticalOptions="End"
|
||||
BorderThickness="0, 1, 0, 0" >
|
||||
<Grid ColumnSpacing="0">
|
||||
<Button Grid.Column="0"
|
||||
Command="{Binding CancelCommand}"
|
||||
Style="{StaticResource DefaultButtonStyle}"
|
||||
Text="{telerikCommon:Localize Calendar_AppointmentCancelButton}" />
|
||||
<Button Grid.Column="1"
|
||||
Command="{Binding OKCommand}"
|
||||
Style="{StaticResource DefaultButtonStyle}"
|
||||
Text="{telerikCommon:Localize Calendar_AppointmentOKButton}" />
|
||||
</Grid>
|
||||
</telerikPrimitives:RadBorder>
|
||||
</StackLayout>
|
||||
</ScrollView>
|
||||
</ControlTemplate>
|
||||
</ResourceDictionary>
|
|
@ -0,0 +1,14 @@
|
|||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingUIViews
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class EndRepeatAppointmentView : ResourceDictionary
|
||||
{
|
||||
public EndRepeatAppointmentView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,96 @@
|
|||
<?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:d="http://xamarin.com/schemas/2014/forms/design"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:telerikCommon="clr-namespace:Telerik.XamarinForms.Common;assembly=Telerik.XamarinForms.Common"
|
||||
xmlns:telerikDataControls="clr-namespace:Telerik.XamarinForms.DataControls;assembly=Telerik.XamarinForms.DataControls"
|
||||
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
|
||||
mc:Ignorable="d"
|
||||
x:Class="SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingUIViews.RepeatAppointmentView">
|
||||
|
||||
<Style x:Key="RepeatListItemStyle" TargetType="telerikPrimitives:RadBorder">
|
||||
<Setter Property="BorderColor" Value="{TemplateBinding SeparatorColor}"/>
|
||||
<Setter Property="BorderThickness" Value="{TemplateBinding SeparatorThickness}"/>
|
||||
<Setter Property="BackgroundColor" Value="Transparent"/>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="SelectionSymbolStyle" TargetType="Label">
|
||||
<Setter Property="HorizontalOptions" Value="End" />
|
||||
<Setter Property="VerticalOptions" Value="Center" />
|
||||
<Setter Property="VerticalTextAlignment" Value="Center" />
|
||||
<Setter Property="HorizontalTextAlignment" Value="Center" />
|
||||
<Setter Property="FontSize" Value="Large"/>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="DefaultButtonStyle" TargetType="Button">
|
||||
<Setter Property="Margin" Value="0"/>
|
||||
<Setter Property="CornerRadius" Value="0"/>
|
||||
<Setter Property="BackgroundColor" Value="{TemplateBinding ButtonBackgroundColor}" />
|
||||
<Setter Property="TextColor" Value="{TemplateBinding ButtonTextColor}" />
|
||||
<Setter Property="HeightRequest" Value="44" />
|
||||
<Setter Property="FontAttributes" Value="Bold" />
|
||||
</Style>
|
||||
|
||||
<DataTemplate x:Key="RepeatListItemTemplate">
|
||||
<Grid HeightRequest="{OnPlatform iOS=44, Default=48}">
|
||||
<Grid.GestureRecognizers>
|
||||
<TapGestureRecognizer Command="{Binding Source={RelativeSource Mode=TemplatedParent}, Path=BindingContext.RepeatListItemTapCommand}"
|
||||
CommandParameter="{Binding .}"/>
|
||||
</Grid.GestureRecognizers>
|
||||
<Label Text="{Binding Text}"
|
||||
TextColor="{TemplateBinding TextColor}"
|
||||
FontSize="{TemplateBinding FontSize}"
|
||||
HorizontalTextAlignment="Start"
|
||||
VerticalTextAlignment="Center" />
|
||||
|
||||
<Label telerikCommon:TelerikFont.UseEmbeddedFont="True"
|
||||
Text="{Binding Symbol}"
|
||||
TextColor="{Binding SymbolTextColor}"
|
||||
Style="{StaticResource SelectionSymbolStyle}"
|
||||
IsVisible="{Binding IsSelected, Mode=TwoWay}" />
|
||||
</Grid>
|
||||
</DataTemplate>
|
||||
|
||||
<ControlTemplate x:Key="RepeatAppointmentViewControlTemplate">
|
||||
<Grid RowSpacing="0"
|
||||
BackgroundColor="{TemplateBinding BackgroundColor}"
|
||||
Margin="0, 16, 0, 0">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition />
|
||||
<RowDefinition Height="44" />
|
||||
</Grid.RowDefinitions>
|
||||
<Label Text="{telerikCommon:Localize Calendar_RepeatTitle}"
|
||||
TextColor="{TemplateBinding TitleTextColor}"
|
||||
FontSize="{TemplateBinding TitleFontSize}"
|
||||
Margin="{OnPlatform iOS='16, 21', Default='16, 17, 16, 9'}"/>
|
||||
|
||||
<telerikDataControls:NonVirtualizedItemsControl Grid.Row="1"
|
||||
Margin="16, 0"
|
||||
ItemsSource="{Binding Source}"
|
||||
SelectionMode="None"
|
||||
SelectedItemStyle="{StaticResource RepeatListItemStyle}"
|
||||
ItemStyle="{StaticResource RepeatListItemStyle}"
|
||||
ItemTemplate="{StaticResource RepeatListItemTemplate}">
|
||||
</telerikDataControls:NonVirtualizedItemsControl>
|
||||
|
||||
<telerikPrimitives:RadBorder Grid.Row="2"
|
||||
BorderColor="#C8C7CC"
|
||||
BorderThickness="0, 1, 0, 0">
|
||||
<Grid ColumnSpacing="0">
|
||||
|
||||
<Button Text="{telerikCommon:Localize Calendar_AppointmentCancelButton}"
|
||||
Grid.Column="0"
|
||||
Command="{Binding CancelCommand}"
|
||||
Style="{StaticResource DefaultButtonStyle}" />
|
||||
|
||||
<Button Text="{telerikCommon:Localize Calendar_AppointmentOKButton}"
|
||||
Grid.Column="1"
|
||||
Command="{Binding OKCommand}"
|
||||
Style="{StaticResource DefaultButtonStyle}" />
|
||||
</Grid>
|
||||
</telerikPrimitives:RadBorder>
|
||||
</Grid>
|
||||
</ControlTemplate>
|
||||
</ResourceDictionary>
|
|
@ -0,0 +1,14 @@
|
|||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingUIViews
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class RepeatAppointmentView : ResourceDictionary
|
||||
{
|
||||
public RepeatAppointmentView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,156 @@
|
|||
<?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:d="http://xamarin.com/schemas/2014/forms/design"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:telerikCommon="clr-namespace:Telerik.XamarinForms.Common;assembly=Telerik.XamarinForms.Common"
|
||||
xmlns:telerikDataControls="clr-namespace:Telerik.XamarinForms.DataControls;assembly=Telerik.XamarinForms.DataControls"
|
||||
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
|
||||
mc:Ignorable="d"
|
||||
x:Class="SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingUIViews.SaveRecurringAppointmentView">
|
||||
|
||||
<telerikCommon:InvertedBooleanConverter x:Key="InvertedBooleanConverter" />
|
||||
|
||||
<Style x:Key="EventOptionsItemStyle" TargetType="telerikPrimitives:RadBorder">
|
||||
<Setter Property="BackgroundColor" Value="Transparent" />
|
||||
<Setter Property="BorderThickness" Value="0" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="SelectedSymbolLabelStyle" TargetType="Label">
|
||||
<Setter Property="HorizontalOptions" Value="Center" />
|
||||
<Setter Property="VerticalOptions" Value="Center" />
|
||||
<Setter Property="VerticalTextAlignment" Value="Center" />
|
||||
<Setter Property="HorizontalTextAlignment" Value="Center" />
|
||||
<Setter Property="TextColor" Value="Accent" />
|
||||
<Setter Property="FontSize" Value="Large" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="DefaultButtonStyle" TargetType="Button">
|
||||
<Setter Property="FontSize" Value="Medium"/>
|
||||
<Setter Property="BackgroundColor" Value="#F7F7F7" />
|
||||
<Setter Property="CornerRadius" Value="0" />
|
||||
<Setter Property="HeightRequest" Value="57" />
|
||||
</Style>
|
||||
|
||||
<DataTemplate x:Key="EventOptionsItemTemplate">
|
||||
<Grid HeightRequest="40">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="3*" />
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.GestureRecognizers>
|
||||
<TapGestureRecognizer Command="{TemplateBinding BindingContext.SaveOptionTappedCommand}"
|
||||
CommandParameter="{Binding .}" />
|
||||
</Grid.GestureRecognizers>
|
||||
|
||||
<Label Text="{Binding Text}"
|
||||
VerticalOptions="Center"
|
||||
VerticalTextAlignment="Center" />
|
||||
|
||||
<Label Grid.Column="1"
|
||||
Text="{Binding Symbol}"
|
||||
Margin="46, 0, 0, 0"
|
||||
telerikCommon:TelerikFont.UseEmbeddedFont="True"
|
||||
Style="{StaticResource SelectedSymbolLabelStyle}"
|
||||
IsVisible="{Binding IsSelected}" />
|
||||
</Grid>
|
||||
</DataTemplate>
|
||||
|
||||
<ControlTemplate x:Key="SaveRecurringAppointmentControlTemplate_AndroidUWP">
|
||||
<telerikPrimitives:RadBorder BorderThickness="1"
|
||||
BorderColor="DarkGray"
|
||||
BackgroundColor="White"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center"
|
||||
Margin="40, 0, 40, 0">
|
||||
|
||||
<Grid Padding="24, 18, 32, 27"
|
||||
BackgroundColor="{TemplateBinding BackgroundColor}"
|
||||
HorizontalOptions="Fill">
|
||||
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Label Text="{telerikCommon:Localize Calendar_Android_SaveRecurringEventTitle}"
|
||||
FontAttributes="Bold"
|
||||
FontSize="Medium"
|
||||
Margin="0, 0, 0, 24" />
|
||||
<StackLayout Grid.Row="1"
|
||||
VerticalOptions="StartAndExpand"
|
||||
HorizontalOptions="Fill">
|
||||
|
||||
<telerikDataControls:NonVirtualizedItemsControl ItemsSource="{Binding EventOptions}"
|
||||
SelectionMode="Single"
|
||||
IsVisible="{Binding AreOptionsVisible}"
|
||||
SelectedItemStyle="{StaticResource EventOptionsItemStyle}"
|
||||
ItemStyle="{StaticResource EventOptionsItemStyle}"
|
||||
ItemTemplate="{StaticResource EventOptionsItemTemplate}"
|
||||
Margin="0, 0, 0, 24" />
|
||||
|
||||
<Label Text="{telerikCommon:Localize Calendar_Android_SaveSeriesNotification}"
|
||||
IsVisible="{Binding AreOptionsVisible, Converter={StaticResource InvertedBooleanConverter}}"
|
||||
HorizontalOptions="Start"
|
||||
VerticalOptions="Center"
|
||||
VerticalTextAlignment="Center"
|
||||
Margin="0, 0, 0, 46" />
|
||||
|
||||
<StackLayout Orientation="Horizontal"
|
||||
Spacing="23"
|
||||
HorizontalOptions="End"
|
||||
VerticalOptions="End">
|
||||
<Label Text="{telerikCommon:Localize Calendar_AppointmentCancelButton}"
|
||||
TextColor="Accent">
|
||||
<Label.GestureRecognizers>
|
||||
<TapGestureRecognizer Command="{Binding CancelCommand}" />
|
||||
</Label.GestureRecognizers>
|
||||
</Label>
|
||||
<Label Text="{telerikCommon:Localize Calendar_AppointmentOKButton}"
|
||||
TextColor="Accent" >
|
||||
<Label.GestureRecognizers>
|
||||
<TapGestureRecognizer Command="{Binding SaveAppointmentCommand}" />
|
||||
</Label.GestureRecognizers>
|
||||
</Label>
|
||||
</StackLayout>
|
||||
</StackLayout>
|
||||
</Grid>
|
||||
</telerikPrimitives:RadBorder>
|
||||
</ControlTemplate>
|
||||
|
||||
<ControlTemplate x:Key="SaveRecurringAppointmentControlTemplate_iOS">
|
||||
<StackLayout VerticalOptions="End"
|
||||
HorizontalOptions="Center"
|
||||
WidthRequest="500"
|
||||
Padding="10"
|
||||
Spacing="8">
|
||||
|
||||
<StackLayout Spacing="0">
|
||||
<telerikPrimitives:RadBorder BorderThickness="0"
|
||||
CornerRadius="15">
|
||||
|
||||
<StackLayout Spacing="0.2">
|
||||
<Button Style="{StaticResource DefaultButtonStyle}"
|
||||
TextColor="#FF3B30"
|
||||
IsVisible="{Binding AreOptionsVisible}"
|
||||
Command="{Binding SaveSingleRecurringEventCommand}"
|
||||
Text="{telerikCommon:Localize Calendar_iOS_SaveSingleRecurringEvent}" />
|
||||
|
||||
<Button Style="{StaticResource DefaultButtonStyle}"
|
||||
TextColor="#FF3B30"
|
||||
Command="{Binding SaveSeriesCommand}"
|
||||
Text="{telerikCommon:Localize Calendar_iOS_SaveSeries}" />
|
||||
</StackLayout>
|
||||
|
||||
</telerikPrimitives:RadBorder>
|
||||
</StackLayout>
|
||||
|
||||
<Button Style="{StaticResource DefaultButtonStyle}"
|
||||
Command="{Binding CancelCommand}"
|
||||
BorderRadius="15"
|
||||
TextColor="#007AFF"
|
||||
Text="{telerikCommon:Localize Calendar_AppointmentCancelButton}" />
|
||||
|
||||
</StackLayout>
|
||||
</ControlTemplate>
|
||||
</ResourceDictionary>
|
|
@ -0,0 +1,14 @@
|
|||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.CalendarControl.SchedulingCategory.SchedulingUIViews
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class SaveRecurringAppointmentView : ResourceDictionary
|
||||
{
|
||||
public SaveRecurringAppointmentView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -4,15 +4,16 @@
|
|||
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
|
||||
xmlns:checkBoxComamnds="clr-namespace:Telerik.XamarinForms.Primitives.CheckBox.Commands;assembly=Telerik.XamarinForms.Primitives"
|
||||
x:Class="SDKBrowser.Examples.CheckBoxControl.CommandsCategory.CheckBoxCommandsExample.CheckBoxCommands">
|
||||
<StackLayout>
|
||||
<Label Text="Custom command"/>
|
||||
<StackLayout Padding="10" Orientation="Horizontal" Spacing="10">
|
||||
<!-- >> checkbox-commands-xaml -->
|
||||
<telerikPrimitives:RadCheckBox x:Name="checkbox">
|
||||
<telerikPrimitives:RadCheckBox.Commands>
|
||||
<checkBoxComamnds:CheckBoxUserCommand Command="{Binding IsCheckedChangedCommand}" Id="IsCheckedChanged" SuppressDefaultCommand="True"/>
|
||||
<checkBoxComamnds:CheckBoxUserCommand Id="IsCheckedChanged"
|
||||
Command="{Binding IsCheckedChangedCommand}"
|
||||
SuppressDefaultCommand="True"/>
|
||||
</telerikPrimitives:RadCheckBox.Commands>
|
||||
</telerikPrimitives:RadCheckBox>
|
||||
<Label x:Name="label"/>
|
||||
<Label Text="Select that option" />
|
||||
<!-- << checkbox-commands-xaml -->
|
||||
</StackLayout>
|
||||
</ContentView>
|
|
@ -1,29 +1,18 @@
|
|||
using System;
|
||||
using System.Windows.Input;
|
||||
using Xamarin.Forms;
|
||||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.CheckBoxControl.CommandsCategory.CheckBoxCommandsExample
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class CheckBoxCommands : ContentView
|
||||
{
|
||||
// >> checkbox-commands-csharp
|
||||
public ICommand IsCheckedChangedCommand { get; set; }
|
||||
{
|
||||
public CheckBoxCommands()
|
||||
{
|
||||
this.IsCheckedChangedCommand = new Command((p) => IsCheckedChangedCommandExecute(p), (p) => IsCheckedChangedCommandCanExecute(p));
|
||||
this.BindingContext = this;
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
// >> checkbox-commands-csharp
|
||||
this.BindingContext = new ViewModel();
|
||||
// << checkbox-commands-csharp
|
||||
}
|
||||
private bool IsCheckedChangedCommandCanExecute(object p)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
private void IsCheckedChangedCommandExecute(object p)
|
||||
{
|
||||
this.label.Text = "CheckBox User Command executed at " + DateTime.Now.ToLocalTime();
|
||||
}
|
||||
// << checkbox-commands-csharp
|
||||
}
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows.Input;
|
||||
using Telerik.XamarinForms.Primitives.CheckBox.Commands;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace SDKBrowser.Examples.CheckBoxControl.CommandsCategory.CheckBoxCommandsExample
|
||||
{
|
||||
// >> checkbox-commands-viewmodel
|
||||
public class ViewModel
|
||||
{
|
||||
public ViewModel()
|
||||
{
|
||||
this.IsCheckedChangedCommand = new Command((p) => IsCheckedChangedCommandExecute(p), (p) => IsCheckedChangedCommandCanExecute(p));
|
||||
}
|
||||
|
||||
public ICommand IsCheckedChangedCommand { get; set; }
|
||||
|
||||
private bool IsCheckedChangedCommandCanExecute(object p)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
private void IsCheckedChangedCommandExecute(object p)
|
||||
{
|
||||
var context = p as CheckBoxIsCheckChangedCommandContext;
|
||||
if (context.NewState == true)
|
||||
{
|
||||
Application.Current.MainPage.DisplayAlert("Message", "Option selected", "OK");
|
||||
}
|
||||
else
|
||||
{
|
||||
Application.Current.MainPage.DisplayAlert("Message", "You've unselected that option", "OK");
|
||||
}
|
||||
}
|
||||
}
|
||||
// << checkbox-commands-viewmodel
|
||||
}
|
|
@ -8,9 +8,11 @@ namespace SDKBrowser.Examples.CheckBoxControl.GettingStartedCategory.GettingStar
|
|||
public CheckBoxGettingStartedCSharp()
|
||||
{
|
||||
// >> checkbox-getting-started-csharp
|
||||
var checkBox = new RadCheckBox();
|
||||
var mainLayout = new StackLayout() { Orientation = StackOrientation.Horizontal };
|
||||
mainLayout.Children.Add(new RadCheckBox());
|
||||
mainLayout.Children.Add(new Label() { Text = "Agree to the Terms & Conditions"});
|
||||
// << checkbox-getting-started-csharp
|
||||
this.Content = checkBox;
|
||||
this.Content = mainLayout;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -2,15 +2,17 @@
|
|||
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="SDKBrowser.Examples.CheckBoxControl.GettingStartedCategory.GettingStartedExample.CheckBoxGettingStartedXaml"
|
||||
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
|
||||
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
|
||||
xmlns:telerikDataGrid="clr-namespace:Telerik.XamarinForms.DataGrid;assembly=Telerik.XamarinForms.DataGrid">
|
||||
|
||||
<StackLayout>
|
||||
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives">
|
||||
<StackLayout Spacing="20">
|
||||
<!-- >> checkbox-getting-started-xaml -->
|
||||
<telerikPrimitives:RadCheckBox x:Name="checkbox" IsChecked="False" />
|
||||
<Label Text="{Binding Source={x:Reference checkbox}, Path=IsChecked}"/>
|
||||
<StackLayout Orientation="Horizontal">
|
||||
<telerikPrimitives:RadCheckBox x:Name="checkbox" />
|
||||
<Label Text="Agree to the Terms & Conditions" />
|
||||
</StackLayout>
|
||||
<!-- << checkbox-getting-started-xaml -->
|
||||
<StackLayout Orientation="Horizontal">
|
||||
<Label Text="IsChecked value: " />
|
||||
<Label Text="{Binding Source={x:Reference checkbox}, Path=IsChecked}" />
|
||||
</StackLayout>
|
||||
</StackLayout>
|
||||
|
||||
</ContentView>
|
|
@ -0,0 +1,10 @@
|
|||
namespace SDKBrowser.Examples.ComboBoxControl
|
||||
{
|
||||
// >> combobox-city-businessmodel
|
||||
public class City
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public int Population { get; set; }
|
||||
}
|
||||
// << combobox-city-businessmodel
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:telerikInputnput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
|
||||
xmlns:local="clr-namespace:SDKBrowser.Examples.ComboBoxControl.FeaturesCategory.EditingExample"
|
||||
mc:Ignorable="d"
|
||||
x:Class="SDKBrowser.Examples.ComboBoxControl.FeaturesCategory.EditingExample.Editing">
|
||||
<StackLayout>
|
||||
<!-- >> combobox-editing -->
|
||||
<telerikInputnput:RadComboBox ItemsSource="{Binding Items}"
|
||||
SearchTextPath="Name"
|
||||
DisplayMemberPath="Name"
|
||||
IsEditable="True">
|
||||
<telerikInputnput:RadComboBox.BindingContext>
|
||||
<local:ViewModel/>
|
||||
</telerikInputnput:RadComboBox.BindingContext>
|
||||
</telerikInputnput:RadComboBox>
|
||||
<!-- << combobox-editing -->
|
||||
</StackLayout>
|
||||
</ContentView>
|
|
@ -0,0 +1,14 @@
|
|||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.FeaturesCategory.EditingExample
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class Editing : ContentView
|
||||
{
|
||||
public Editing()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
using System.Collections.ObjectModel;
|
||||
using Telerik.XamarinForms.Common;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.FeaturesCategory.EditingExample
|
||||
{
|
||||
// >> comobobox-editing-viewmodel
|
||||
public class ViewModel : NotifyPropertyChangedBase
|
||||
{
|
||||
public ViewModel()
|
||||
{
|
||||
this.Items = new ObservableCollection<City>
|
||||
{
|
||||
new City { Name = "Tokyo", Population = 13929286 },
|
||||
new City { Name = "New York", Population = 8623000 },
|
||||
new City { Name = "London", Population = 8908081 },
|
||||
new City { Name = "Madrid", Population = 3223334 },
|
||||
new City { Name = "Los Angeles", Population = 4000000},
|
||||
new City { Name = "Paris", Population = 2141000 },
|
||||
new City { Name = "Beijing", Population = 21540000 },
|
||||
new City { Name = "Singapore", Population = 5612000 },
|
||||
new City { Name = "New Delhi", Population = 18980000 },
|
||||
new City { Name = "Bangkok", Population = 8305218 },
|
||||
new City { Name = "Berlin", Population = 3748000 },
|
||||
};
|
||||
}
|
||||
|
||||
public ObservableCollection<City> Items { get; set; }
|
||||
}
|
||||
// << comobobox-editing-viewmodel
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
<?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"
|
||||
mc:Ignorable="d"
|
||||
x:Class="SDKBrowser.Examples.ComboBoxControl.FeaturesCategory.KeyFeaturesExample.KeyFeatures">
|
||||
<StackLayout>
|
||||
<Label Text="ComboBox with Placeholder property set"/>
|
||||
<!-- >> combobox-keyfeatures-placeholder -->
|
||||
<telerikInput:RadComboBox Placeholder="Select City!"
|
||||
ItemsSource="{Binding Items}"
|
||||
DisplayMemberPath="Name"/>
|
||||
<!-- << combobox-keyfeatures-placeholder -->
|
||||
<Label Text="ComboBox with IsClearButtonVisible=False"/>
|
||||
<!-- >> combobox-keyfeatures-clearbuttonvisible-false -->
|
||||
<telerikInput:RadComboBox IsClearButtonVisible="False"
|
||||
ItemsSource="{Binding Items}"
|
||||
DisplayMemberPath="Population"
|
||||
IsEditable="True"
|
||||
SearchTextPath="Population"
|
||||
Keyboard="Numeric"/>
|
||||
<!-- << combobox-keyfeatures-clearbuttonvisible-false -->
|
||||
|
||||
<Label Text="Drop Down visibility on focus, valid for editable mode"/>
|
||||
<!-- >> combobox-keyfeatures-dropdownvisibility-openonfocus -->
|
||||
<telerikInput:RadComboBox OpenOnFocus="False"
|
||||
ItemsSource="{Binding Items}"
|
||||
IsEditable="True"
|
||||
SearchTextPath="Name"
|
||||
DisplayMemberPath="Name"/>
|
||||
<!-- << combobox-keyfeatures-dropdownvisibility-openonfocus -->
|
||||
|
||||
<Label Text="IsDropDown Closed when selection is made"/>
|
||||
<!-- >> combobox-keyfeatures-dropdownvisibility-isdropdownclosed -->
|
||||
<telerikInput:RadComboBox IsDropDownClosedOnSelection="False"
|
||||
ItemsSource="{Binding Items}"
|
||||
DisplayMemberPath="Name"/>
|
||||
<!-- << combobox-keyfeatures-dropdownvisibility-isdropdownclosed -->
|
||||
</StackLayout>
|
||||
</ContentView>
|
|
@ -0,0 +1,16 @@
|
|||
using SDKBrowser.Examples.ComboBoxControl.FeaturesCategory.EditingExample;
|
||||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.FeaturesCategory.KeyFeaturesExample
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class KeyFeatures : ContentView
|
||||
{
|
||||
public KeyFeatures()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.BindingContext = new ViewModel();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
<?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"
|
||||
mc:Ignorable="d"
|
||||
x:Class="SDKBrowser.Examples.ComboBoxControl.FeaturesCategory.SearchingModeExample.SearchingMode">
|
||||
<StackLayout>
|
||||
<Label Text="SearchMode" />
|
||||
<Picker SelectedItem="{Binding SearchMode}">
|
||||
<Picker.ItemsSource>
|
||||
<x:Array Type="{x:Type telerikInput:SearchMode}">
|
||||
<telerikInput:SearchMode>StartsWith</telerikInput:SearchMode>
|
||||
<telerikInput:SearchMode>StartsWithCaseSensitive</telerikInput:SearchMode>
|
||||
<telerikInput:SearchMode>Contains</telerikInput:SearchMode>
|
||||
<telerikInput:SearchMode>ContainsCaseSensitive</telerikInput:SearchMode>
|
||||
</x:Array>
|
||||
</Picker.ItemsSource>
|
||||
</Picker>
|
||||
<!-- >> combobox-searching-moode -->
|
||||
<telerikInput:RadComboBox ItemsSource="{Binding Stores}"
|
||||
DisplayMemberPath="City"
|
||||
SearchTextPath="City"
|
||||
SearchMode="{Binding SearchMode}"
|
||||
HighlightTextColor="Red"
|
||||
IsEditable="True"/>
|
||||
<!-- << combobox-searching-moode -->
|
||||
</StackLayout>
|
||||
</ContentView>
|
|
@ -0,0 +1,15 @@
|
|||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.FeaturesCategory.SearchingModeExample
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class SearchingMode : ContentView
|
||||
{
|
||||
public SearchingMode()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.BindingContext = new ViewModel();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,43 @@
|
|||
using System.Collections.ObjectModel;
|
||||
using Telerik.XamarinForms.Common;
|
||||
using Telerik.XamarinForms.Input;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.FeaturesCategory.SearchingModeExample
|
||||
{
|
||||
// >> combobox-searching-mode-viewmodel
|
||||
public class ViewModel : NotifyPropertyChangedBase
|
||||
{
|
||||
private SearchMode searchMode;
|
||||
|
||||
public ViewModel()
|
||||
{
|
||||
this.Stores = new ObservableCollection<StoreAddress>();
|
||||
this.Stores.Add(new StoreAddress() { City = "New York", Street = "536 Halifax Road", Code = "Woodside, NY 11377", WorkHours = "Open 11am to 6pm" });
|
||||
this.Stores.Add(new StoreAddress() { City = "New Jersey", Street = "4759 Cherry Camp Road", Code = "NJ 07097", WorkHours = "Open 10am to 7pm" });
|
||||
this.Stores.Add(new StoreAddress() { City = "San Francisco", Street = "3082 Rardin Drive", Code = "CA 94107", WorkHours = "Open 10am to 7pm" });
|
||||
this.Stores.Add(new StoreAddress() { City = "San Diego", Street = "1593 Hood Avenue", Code = "CA 92123", WorkHours = "Open 11am to 6pm" });
|
||||
this.Stores.Add(new StoreAddress() { City = "Los Angeles", Street = "28 Woodstock Drive", Code = "CA 90017", WorkHours = "Open 6am to 9pm" });
|
||||
this.Stores.Add(new StoreAddress() { City = "Dallas", Street = "2586 Sardis Sta", Code = "X 75201", WorkHours = "Open 10am to 9pm" });
|
||||
this.Stores.Add(new StoreAddress() { City = "Austin", Street = "3684 Sundown Lane", Code = "TX 78741", WorkHours = "Open 10am to 67pm" });
|
||||
}
|
||||
|
||||
public ObservableCollection<StoreAddress> Stores { get; set; }
|
||||
|
||||
public SearchMode SearchMode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.searchMode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (this.searchMode != value)
|
||||
{
|
||||
this.searchMode = value;
|
||||
this.OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// << combobox-searching-mode-viewmodel
|
||||
}
|
|
@ -0,0 +1,49 @@
|
|||
<?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.ComboBoxControl.FeaturesCategory.SelectionExample"
|
||||
mc:Ignorable="d"
|
||||
BackgroundColor="White"
|
||||
x:Class="SDKBrowser.Examples.ComboBoxControl.FeaturesCategory.SelectionExample.Selection">
|
||||
<StackLayout>
|
||||
<Label Text="ComboBox with Single Selection using SelectedIndex" Margin="0, 0, 0, 5"/>
|
||||
<!-- >> combobox-single-selection-selectedindex -->
|
||||
<telerikInput:RadComboBox ItemsSource="{Binding Items}"
|
||||
DisplayMemberPath="Name"
|
||||
SelectedIndex="{Binding SelectedIndex, Mode=TwoWay}"
|
||||
SelectionMode="Single">
|
||||
<telerikInput:RadComboBox.BindingContext>
|
||||
<local:ViewModel/>
|
||||
</telerikInput:RadComboBox.BindingContext>
|
||||
</telerikInput:RadComboBox>
|
||||
<!-- << combobox-single-selection-selectedindex -->
|
||||
|
||||
<Label Text="ComboBox with Single Selection using SelectedItem" Margin="0, 20, 0, 5"/>
|
||||
<!-- >> combobox-single-selection-selecteditem -->
|
||||
<telerikInput:RadComboBox ItemsSource="{Binding Items}"
|
||||
DisplayMemberPath="Name"
|
||||
SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
|
||||
SelectionMode="Single">
|
||||
<telerikInput:RadComboBox.BindingContext>
|
||||
<local:ViewModel/>
|
||||
</telerikInput:RadComboBox.BindingContext>
|
||||
</telerikInput:RadComboBox>
|
||||
<!-- << combobox-single-selection-selecteditem -->
|
||||
|
||||
<Label Text="ComboBox with Multiple Selection" Margin="0, 20, 0, 5"/>
|
||||
<!-- >> combobox-multiple-selection -->
|
||||
<telerikInput:RadComboBox ItemsSource="{Binding Items}"
|
||||
SelectionMode="Multiple"
|
||||
DisplayMemberPath="Name"
|
||||
SelectedItems="{Binding SelectedItems}"
|
||||
SelectionChanged="RadComboBox_SelectionChanged">
|
||||
<telerikInput:RadComboBox.BindingContext>
|
||||
<local:ViewModel/>
|
||||
</telerikInput:RadComboBox.BindingContext>
|
||||
</telerikInput:RadComboBox>
|
||||
<!-- << combobox-multiple-selection -->
|
||||
</StackLayout>
|
||||
</ContentView>
|
|
@ -0,0 +1,19 @@
|
|||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.FeaturesCategory.SelectionExample
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class Selection : ContentView
|
||||
{
|
||||
public Selection()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void RadComboBox_SelectionChanged(object sender, Telerik.XamarinForms.Input.ComboBoxSelectionChangedEventArgs e)
|
||||
{
|
||||
// implement your logic here
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,88 @@
|
|||
using System.Collections.ObjectModel;
|
||||
using Telerik.XamarinForms.Common;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.FeaturesCategory.SelectionExample
|
||||
{
|
||||
// >> comobobox-selection-viewmodel
|
||||
public class ViewModel : NotifyPropertyChangedBase
|
||||
{
|
||||
private int selectedIndex;
|
||||
private City selectedItem;
|
||||
private ObservableCollection<object> selectedItems;
|
||||
public ViewModel()
|
||||
{
|
||||
this.Items = new ObservableCollection<City>
|
||||
{
|
||||
new City { Name = "Tokyo", Population = 13929286 },
|
||||
new City { Name = "New York", Population = 8623000 },
|
||||
new City { Name = "London", Population = 8908081 },
|
||||
new City { Name = "Madrid", Population = 3223334 },
|
||||
new City { Name = "Los Angeles", Population = 4000000},
|
||||
new City { Name = "Paris", Population = 2141000 },
|
||||
new City { Name = "Beijing", Population = 21540000 },
|
||||
new City { Name = "Singapore", Population = 5612000 },
|
||||
new City { Name = "New Delhi", Population = 18980000 },
|
||||
new City { Name = "Bangkok", Population = 8305218 },
|
||||
new City { Name = "Berlin", Population = 3748000 },
|
||||
};
|
||||
|
||||
this.SelectedIndex = 1;
|
||||
this.SelectedItem = this.Items[2];
|
||||
}
|
||||
|
||||
public ObservableCollection<City> Items { get; set; }
|
||||
|
||||
public ObservableCollection<object> SelectedItems
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.selectedItems;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (this.selectedItems != value)
|
||||
{
|
||||
this.selectedItems = value;
|
||||
|
||||
this.selectedItems.Add(this.Items[0]);
|
||||
this.selectedItems.Add(this.Items[1]);
|
||||
|
||||
this.OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int SelectedIndex
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.selectedIndex;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (this.selectedIndex != value)
|
||||
{
|
||||
this.selectedIndex = value;
|
||||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public City SelectedItem
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.selectedItem;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (this.selectedItem != value)
|
||||
{
|
||||
this.selectedItem = value;
|
||||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// << comobobox-selection-viewmodel
|
||||
}
|
|
@ -0,0 +1,56 @@
|
|||
using System.Collections.ObjectModel;
|
||||
using Telerik.XamarinForms.Input;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.GettingStartedCategory.GettingStartedExample
|
||||
{
|
||||
public class ComboBoxGettingStartedCSharp : ContentView
|
||||
{
|
||||
ViewModel vm;
|
||||
public ComboBoxGettingStartedCSharp()
|
||||
{
|
||||
this.vm = new ViewModel();
|
||||
this.BindingContext = vm;
|
||||
var lbl1 = new Label
|
||||
{
|
||||
Text = "ComboBox with static items",
|
||||
Margin = new Thickness(0, 0, 0, 5)
|
||||
};
|
||||
// >> combobox-getting-started-static-items-csharp
|
||||
var combobox = new RadComboBox();
|
||||
|
||||
combobox.ItemsSource = new string[]
|
||||
{
|
||||
"USA",
|
||||
"Uganda",
|
||||
"Ukraine",
|
||||
"Canada",
|
||||
"France",
|
||||
"Italy",
|
||||
"United Kingdom",
|
||||
"China",
|
||||
"Japan",
|
||||
};
|
||||
// << combobox-getting-started-static-items-csharp
|
||||
|
||||
var lbl2 = new Label
|
||||
{
|
||||
Text = "ComboBox with binding to a complex object using DisplayMemberPath property",
|
||||
Margin = new Thickness(0, 20, 0, 5)
|
||||
};
|
||||
|
||||
// >> combobox-getting-started-complex-object-csharp
|
||||
var comboBox = new RadComboBox();
|
||||
comboBox.ItemsSource = this.vm.Items;
|
||||
comboBox.DisplayMemberPath = "Population";
|
||||
// << combobox-getting-started-complex-object-csharp
|
||||
|
||||
var panel = new StackLayout();
|
||||
panel.Children.Add(lbl1);
|
||||
panel.Children.Add(combobox);
|
||||
panel.Children.Add(lbl2);
|
||||
panel.Children.Add(comboBox);
|
||||
this.Content = panel;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
<?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"
|
||||
mc:Ignorable="d"
|
||||
x:Class="SDKBrowser.Examples.ComboBoxControl.GettingStartedCategory.GettingStartedExample.ComboBoxGettingStartedXaml">
|
||||
<StackLayout>
|
||||
<Label Text="ComboBox with static items" Margin="0,0,0,5"/>
|
||||
<!-- >> combobox-getting-started-static-items-xaml -->
|
||||
<telerikInput:RadComboBox>
|
||||
<telerikInput:RadComboBox.ItemsSource>
|
||||
<x:Array Type="{x:Type x:String}">
|
||||
<x:String>USA</x:String>
|
||||
<x:String>Uganda</x:String>
|
||||
<x:String>Ukraine</x:String>
|
||||
<x:String>Canada</x:String>
|
||||
<x:String>France</x:String>
|
||||
<x:String>Italy</x:String>
|
||||
<x:String>United Kingdom</x:String>
|
||||
<x:String>China</x:String>
|
||||
<x:String>Japan</x:String>
|
||||
</x:Array>
|
||||
</telerikInput:RadComboBox.ItemsSource>
|
||||
</telerikInput:RadComboBox>
|
||||
<!-- << combobox-getting-started-static-items-xaml -->
|
||||
|
||||
<Label Text="ComboBox with binding to a complex object using DisplayMemberPath property" Margin="0,20,0,5"/>
|
||||
<!-- >> combobox-getting-started-complex-object-xaml -->
|
||||
<telerikInput:RadComboBox ItemsSource="{Binding Items}"
|
||||
DisplayMemberPath="Population"/>
|
||||
<!-- << combobox-getting-started-complex-object-xaml -->
|
||||
|
||||
</StackLayout>
|
||||
</ContentView>
|
|
@ -0,0 +1,15 @@
|
|||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.GettingStartedCategory.GettingStartedExample
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class ComboBoxGettingStartedXaml : ContentView
|
||||
{
|
||||
public ComboBoxGettingStartedXaml()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.BindingContext = new ViewModel();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Text;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.GettingStartedCategory.GettingStartedExample
|
||||
{
|
||||
// >> combobox-getting-started-viewmodel
|
||||
public class ViewModel
|
||||
{
|
||||
public ViewModel()
|
||||
{
|
||||
this.Items = new ObservableCollection<City>
|
||||
{
|
||||
new City { Name = "Tokyo", Population = 13929286 },
|
||||
new City { Name = "New York", Population = 8623000 },
|
||||
new City { Name = "London", Population = 8908081 },
|
||||
new City { Name = "Madrid", Population = 3223334 },
|
||||
new City { Name = "Los Angeles", Population = 4000000},
|
||||
new City { Name = "Paris", Population = 2141000 },
|
||||
new City { Name = "Beijing", Population = 21540000 },
|
||||
new City { Name = "Singapore", Population = 5612000 },
|
||||
new City { Name = "New Delhi", Population = 18980000 },
|
||||
new City { Name = "Bangkok", Population = 8305218 },
|
||||
new City { Name = "Berlin", Population = 3748000 },
|
||||
};
|
||||
}
|
||||
|
||||
public ObservableCollection<City> Items { get; set; }
|
||||
}
|
||||
// << combobox-getting-started-viewmodel
|
||||
}
|
|
@ -0,0 +1,35 @@
|
|||
<?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.ComboBoxControl.HowToCategory.ClearTextOnDropDownClosedExample"
|
||||
x:Class="SDKBrowser.Examples.ComboBoxControl.HowToCategory.ClearTextOnDropDownClosedExample.ClearTextOnDropDownClosed">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Label Text="This example demonstrates how to clear the Text of the ComboBox when the mode is multiple and the dropdown is closed."
|
||||
HorizontalTextAlignment="Center"
|
||||
VerticalTextAlignment="Center"
|
||||
Margin="0, 0, 0, 5"/>
|
||||
<!-- >> combobox-howto-cleartext-dropdown-closed -->
|
||||
<telerikInput:RadComboBox x:Name="comboBox"
|
||||
Grid.Row="1"
|
||||
BackgroundColor="White"
|
||||
ItemsSource="{Binding Items}"
|
||||
Text="{Binding Text, Mode=TwoWay}"
|
||||
DisplayMemberPath="Name"
|
||||
SearchTextPath="Name"
|
||||
SelectionMode="Multiple"
|
||||
IsDropDownClosedOnSelection="False"
|
||||
IsEditable="True"
|
||||
Margin="10, 0, 10, 0"
|
||||
Unfocused="comboBox_Unfocused">
|
||||
<telerikInput:RadComboBox.BindingContext>
|
||||
<local:ViewModel/>
|
||||
</telerikInput:RadComboBox.BindingContext>
|
||||
</telerikInput:RadComboBox>
|
||||
<!-- << combobox-howto-cleartext-dropdown-closed -->
|
||||
</Grid>
|
||||
</ContentView>
|
|
@ -0,0 +1,18 @@
|
|||
using Xamarin.Forms;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.HowToCategory.ClearTextOnDropDownClosedExample
|
||||
{
|
||||
public partial class ClearTextOnDropDownClosed : ContentView
|
||||
{
|
||||
public ClearTextOnDropDownClosed()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
// >> combobox-cleartext-dropdown-closed-unfocused
|
||||
private void comboBox_Unfocused(object sender, FocusEventArgs e)
|
||||
{
|
||||
this.comboBox.Text = string.Empty;
|
||||
}
|
||||
// << combobox-cleartext-dropdown-closed-unfocused
|
||||
}
|
||||
}
|
|
@ -0,0 +1,48 @@
|
|||
using System.Collections.ObjectModel;
|
||||
using Telerik.XamarinForms.Common;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.HowToCategory.ClearTextOnDropDownClosedExample
|
||||
{
|
||||
// >> combobox-cleartext-dropdown-closed-viewmodel
|
||||
public class ViewModel : NotifyPropertyChangedBase
|
||||
{
|
||||
private string text;
|
||||
|
||||
public ViewModel()
|
||||
{
|
||||
this.Items = new ObservableCollection<City>
|
||||
{
|
||||
new City { Name = "Tokyo", Population = 13929286 },
|
||||
new City { Name = "New York", Population = 8623000 },
|
||||
new City { Name = "London", Population = 8908081 },
|
||||
new City { Name = "Madrid", Population = 3223334 },
|
||||
new City { Name = "Los Angeles", Population = 4000000},
|
||||
new City { Name = "Paris", Population = 2141000 },
|
||||
new City { Name = "Beijing", Population = 21540000 },
|
||||
new City { Name = "Singapore", Population = 5612000 },
|
||||
new City { Name = "New Delhi", Population = 18980000 },
|
||||
new City { Name = "Bangkok", Population = 8305218 },
|
||||
new City { Name = "Berlin", Population = 3748000 },
|
||||
};
|
||||
}
|
||||
|
||||
public ObservableCollection<City> Items { get; set; }
|
||||
|
||||
public string Text
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.text;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (this.Text != value)
|
||||
{
|
||||
this.text = value;
|
||||
this.OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// << combobox-cleartext-dropdown-closed-viewmodel
|
||||
}
|
|
@ -0,0 +1,82 @@
|
|||
<?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.ComboBoxControl.HowToCategory.DropDownClearButtonExample"
|
||||
xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
|
||||
x:Class="SDKBrowser.Examples.ComboBoxControl.HowToCategory.DropDownClearButtonExample.DropDownClearButton">
|
||||
<ContentView.Resources>
|
||||
<ResourceDictionary>
|
||||
<!-- >> combobox-howto-dropdown-clearbutton-headertemplate -->
|
||||
<local:SelectedItemToColorConverter x:Key="SelectedItemToColorConverter"/>
|
||||
<DataTemplate x:Key="ComboBoxClearButtonHeaderTemplate">
|
||||
<telerikPrimitives:RadBorder>
|
||||
<telerikPrimitives:RadBorder.MinimumHeightRequest>
|
||||
<OnPlatform x:TypeArguments="x:Double">
|
||||
<On Platform="iOS" Value="44"/>
|
||||
<On Platform="Android" Value="48"/>
|
||||
<On Platform="UWP" Value="32"/>
|
||||
</OnPlatform>
|
||||
</telerikPrimitives:RadBorder.MinimumHeightRequest>
|
||||
<telerikPrimitives:RadBorder.BorderColor>
|
||||
<OnPlatform x:TypeArguments="Color" Default="#ECECEC">
|
||||
<On Platform="UWP" Value="Transparent"/>
|
||||
</OnPlatform>
|
||||
</telerikPrimitives:RadBorder.BorderColor>
|
||||
<telerikPrimitives:RadBorder.BackgroundColor>
|
||||
<OnPlatform x:TypeArguments="Color" Default="#F8F8F8">
|
||||
<On Platform="UWP" Value="Accent"/>
|
||||
</OnPlatform>
|
||||
</telerikPrimitives:RadBorder.BackgroundColor>
|
||||
<telerikPrimitives:RadBorder.BorderThickness>
|
||||
<OnPlatform x:TypeArguments="Thickness" Default="0, 0, 0, 1">
|
||||
<On Platform="UWP" Value="0"/>
|
||||
</OnPlatform>
|
||||
</telerikPrimitives:RadBorder.BorderThickness>
|
||||
<Label Text="Select City..."
|
||||
VerticalTextAlignment="Center"
|
||||
BackgroundColor="{Binding SelectedItem, Converter={StaticResource SelectedItemToColorConverter}}"
|
||||
TextColor="Black">
|
||||
<Label.Padding>
|
||||
<OnPlatform x:TypeArguments="Thickness">
|
||||
<On Platform="iOS" Value="3, 12, 0, 13"/>
|
||||
<On Platform="Android" Value="8, 13, 0, 13"/>
|
||||
<On Platform="UWP" Value="10, 6, 0, 6"/>
|
||||
</OnPlatform>
|
||||
</Label.Padding>
|
||||
<Label.GestureRecognizers>
|
||||
<TapGestureRecognizer Command="{Binding ClearSelectionCommand}"/>
|
||||
</Label.GestureRecognizers>
|
||||
</Label>
|
||||
</telerikPrimitives:RadBorder>
|
||||
</DataTemplate>
|
||||
<!-- << combobox-howto-dropdown-clearbutton-headertemplate -->
|
||||
</ResourceDictionary>
|
||||
</ContentView.Resources>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Label Text="This example demonstrates how to display a clear button inside the dropdown of a ComboBox."
|
||||
HorizontalTextAlignment="Center"
|
||||
VerticalTextAlignment="Center"
|
||||
Margin="0, 0, 0, 5"/>
|
||||
<!-- >> combobox-howto-dropdown-clearbutton -->
|
||||
<telerikInput:RadComboBox Grid.Row="1"
|
||||
ItemsSource="{Binding Items}"
|
||||
SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
|
||||
HeaderTemplate="{StaticResource ComboBoxClearButtonHeaderTemplate}"
|
||||
IsDropDownOpen="{Binding IsDropDownOpen, Mode=TwoWay}"
|
||||
Placeholder="Select City..."
|
||||
DisplayMemberPath="Name"
|
||||
IsClearButtonVisible="False"
|
||||
SelectionMode="Single"
|
||||
Margin="10, 0, 10, 0">
|
||||
<telerikInput:RadComboBox.BindingContext>
|
||||
<local:ViewModel/>
|
||||
</telerikInput:RadComboBox.BindingContext>
|
||||
</telerikInput:RadComboBox>
|
||||
<!-- << combobox-howto-dropdown-clearbutton -->
|
||||
</Grid>
|
||||
</ContentView>
|
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.HowToCategory.DropDownClearButtonExample
|
||||
{
|
||||
public partial class DropDownClearButton : ContentView
|
||||
{
|
||||
public DropDownClearButton()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
using System;
|
||||
using System.Globalization;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.HowToCategory.DropDownClearButtonExample
|
||||
{
|
||||
// >> combobox-selecteditem-to-color-converter
|
||||
public class SelectedItemToColorConverter : IValueConverter
|
||||
{
|
||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
var isUWP = Device.RuntimePlatform == Device.UWP;
|
||||
return value == null
|
||||
? isUWP ? Color.Accent : Color.FromHex("#F8F8F8")
|
||||
: isUWP ? Color.FromHex("#F2F2F2") : Color.White;
|
||||
}
|
||||
|
||||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
// << combobox-selecteditem-to-color-converter
|
||||
}
|
|
@ -0,0 +1,77 @@
|
|||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Windows.Input;
|
||||
using Telerik.XamarinForms.Common;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.HowToCategory.DropDownClearButtonExample
|
||||
{
|
||||
// >> combobox-howto-dropdown-clearbutton-viewmodel
|
||||
public class ViewModel : NotifyPropertyChangedBase
|
||||
{
|
||||
private City selectedItem;
|
||||
private bool isDropDownOpen;
|
||||
|
||||
public ViewModel()
|
||||
{
|
||||
this.Items = new ObservableCollection<City>
|
||||
{
|
||||
new City { Name = "Tokyo", Population = 13929286 },
|
||||
new City { Name = "New York", Population = 8623000 },
|
||||
new City { Name = "London", Population = 8908081 },
|
||||
new City { Name = "Madrid", Population = 3223334 },
|
||||
new City { Name = "Los Angeles", Population = 4000000},
|
||||
new City { Name = "Paris", Population = 2141000 },
|
||||
new City { Name = "Beijing", Population = 21540000 },
|
||||
new City { Name = "Singapore", Population = 5612000 },
|
||||
new City { Name = "New Delhi", Population = 18980000 },
|
||||
new City { Name = "Bangkok", Population = 8305218 },
|
||||
new City { Name = "Berlin", Population = 3748000 },
|
||||
};
|
||||
|
||||
this.ClearSelectionCommand = new Command(this.OnClearSelectionCommandExecuted);
|
||||
}
|
||||
|
||||
public ObservableCollection<City> Items { get; set; }
|
||||
public ICommand ClearSelectionCommand { get; set; }
|
||||
|
||||
public City SelectedItem
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.selectedItem;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (this.selectedItem != value)
|
||||
{
|
||||
this.selectedItem = value;
|
||||
this.OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsDropDownOpen
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.isDropDownOpen;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (this.isDropDownOpen != value)
|
||||
{
|
||||
this.isDropDownOpen = value;
|
||||
this.OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void OnClearSelectionCommandExecuted(object obj)
|
||||
{
|
||||
this.SelectedItem = null;
|
||||
this.IsDropDownOpen = false;
|
||||
}
|
||||
}
|
||||
// << combobox-howto-dropdown-clearbutton-viewmodel
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
<?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.ComboBoxControl.HowToCategory.NoNullValueExample"
|
||||
x:Class="SDKBrowser.Examples.ComboBoxControl.HowToCategory.NoNullValueExample.NoNullValue">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Label Text="This example demonstrates how to prevent item deselection when the mode is single and there is initially selected item."
|
||||
HorizontalTextAlignment="Center"
|
||||
VerticalTextAlignment="Center"
|
||||
Margin="0, 0, 0, 5"/>
|
||||
<!-- >> combobox-no-null-values -->
|
||||
<telerikInput:RadComboBox Grid.Row="1"
|
||||
ItemsSource="{Binding Items}"
|
||||
SelectedItem="{Binding SelectedItem}"
|
||||
DisplayMemberPath="Name"
|
||||
IsClearButtonVisible="False"
|
||||
SelectionMode="Single"
|
||||
Margin="10, 0, 10, 0">
|
||||
<telerikInput:RadComboBox.BindingContext>
|
||||
<local:ViewModel/>
|
||||
</telerikInput:RadComboBox.BindingContext>
|
||||
</telerikInput:RadComboBox>
|
||||
<!-- << combobox-no-null-values -->
|
||||
</Grid>
|
||||
</ContentView>
|
|
@ -0,0 +1,12 @@
|
|||
using Xamarin.Forms;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.HowToCategory.NoNullValueExample
|
||||
{
|
||||
public partial class NoNullValue : ContentView
|
||||
{
|
||||
public NoNullValue()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,50 @@
|
|||
using System.Collections.ObjectModel;
|
||||
using Telerik.XamarinForms.Common;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.HowToCategory.NoNullValueExample
|
||||
{
|
||||
// >> combobox-nonull-values-viewmodel
|
||||
public class ViewModel : NotifyPropertyChangedBase
|
||||
{
|
||||
private City selectedItem;
|
||||
|
||||
public ViewModel()
|
||||
{
|
||||
this.Items = new ObservableCollection<City>
|
||||
{
|
||||
new City { Name = "Tokyo", Population = 13929286 },
|
||||
new City { Name = "New York", Population = 8623000 },
|
||||
new City { Name = "London", Population = 8908081 },
|
||||
new City { Name = "Madrid", Population = 3223334 },
|
||||
new City { Name = "Los Angeles", Population = 4000000},
|
||||
new City { Name = "Paris", Population = 2141000 },
|
||||
new City { Name = "Beijing", Population = 21540000 },
|
||||
new City { Name = "Singapore", Population = 5612000 },
|
||||
new City { Name = "New Delhi", Population = 18980000 },
|
||||
new City { Name = "Bangkok", Population = 8305218 },
|
||||
new City { Name = "Berlin", Population = 3748000 },
|
||||
};
|
||||
|
||||
this.SelectedItem = this.Items[0];
|
||||
}
|
||||
|
||||
public ObservableCollection<City> Items { get; set; }
|
||||
|
||||
public City SelectedItem
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.selectedItem;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (this.selectedItem != value)
|
||||
{
|
||||
this.selectedItem = value;
|
||||
this.OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// << combobox-nonull-values-viewmodel
|
||||
}
|
|
@ -0,0 +1,230 @@
|
|||
<?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:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
|
||||
xmlns:local="clr-namespace:SDKBrowser.Examples.ComboBoxControl.HowToCategory.SelectionWithCheckBoxExample"
|
||||
x:Class="SDKBrowser.Examples.ComboBoxControl.HowToCategory.SelectionWithCheckBoxExample.SelectionWithCheckBox">
|
||||
<ContentView.Resources>
|
||||
<ResourceDictionary>
|
||||
|
||||
<!-- >> combobox-howto-selection-checkbox-headertemplate -->
|
||||
<DataTemplate x:Key="ComboBoxHeaderTemplate">
|
||||
<telerikPrimitives:RadBorder>
|
||||
<telerikPrimitives:RadBorder.MinimumHeightRequest>
|
||||
<OnPlatform x:TypeArguments="x:Double">
|
||||
<On Platform="iOS" Value="44"/>
|
||||
<On Platform="Android" Value="48"/>
|
||||
<On Platform="UWP" Value="32"/>
|
||||
</OnPlatform>
|
||||
</telerikPrimitives:RadBorder.MinimumHeightRequest>
|
||||
<telerikPrimitives:RadBorder.BorderColor>
|
||||
<OnPlatform x:TypeArguments="Color" Default="#ECECEC">
|
||||
<On Platform="UWP" Value="Transparent"/>
|
||||
</OnPlatform>
|
||||
</telerikPrimitives:RadBorder.BorderColor>
|
||||
<telerikPrimitives:RadBorder.BorderThickness>
|
||||
<OnPlatform x:TypeArguments="Thickness" Default="0, 0, 0, 1">
|
||||
<On Platform="UWP" Value="0"/>
|
||||
</OnPlatform>
|
||||
</telerikPrimitives:RadBorder.BorderThickness>
|
||||
<StackLayout Orientation="Horizontal"
|
||||
BackgroundColor="#DADADA">
|
||||
<StackLayout.Padding>
|
||||
<OnPlatform x:TypeArguments="Thickness" Default="11, 12, 0, 12">
|
||||
<On Platform="UWP" Value="6, 6, 0, 6"/>
|
||||
<On Platform="Android" Value="11, 6, 0, 6"/>
|
||||
</OnPlatform>
|
||||
</StackLayout.Padding>
|
||||
<telerikPrimitives:RadCheckBox IsChecked="{Binding SelectAllChecked}"
|
||||
CheckedColor="#0E88F2"
|
||||
IndeterminateColor="#0E88F2"
|
||||
InputTransparent="True"
|
||||
VerticalOptions="Center">
|
||||
<telerikPrimitives:RadCheckBox.Margin>
|
||||
<OnPlatform x:TypeArguments="Thickness">
|
||||
<On Platform="iOS" Value="3, 0, 0, 0"/>
|
||||
<On Platform="Android" Value="8, 0, 0, 0"/>
|
||||
<On Platform="UWP" Value="10, 0, 0, 0"/>
|
||||
</OnPlatform>
|
||||
</telerikPrimitives:RadCheckBox.Margin>
|
||||
</telerikPrimitives:RadCheckBox>
|
||||
<Label Text="Select All Cities"
|
||||
TextColor="Black"
|
||||
FontAttributes="Bold"
|
||||
VerticalTextAlignment="Center">
|
||||
<Label.Padding>
|
||||
<OnPlatform x:TypeArguments="Thickness">
|
||||
<On Platform="iOS" Value="3, 0, 0, 0"/>
|
||||
<On Platform="Android" Value="8, 13, 0, 13"/>
|
||||
<On Platform="UWP" Value="10, 6, 0, 6"/>
|
||||
</OnPlatform>
|
||||
</Label.Padding>
|
||||
</Label>
|
||||
<StackLayout.GestureRecognizers>
|
||||
<TapGestureRecognizer Command="{Binding SelectAllCommand}"/>
|
||||
</StackLayout.GestureRecognizers>
|
||||
</StackLayout>
|
||||
</telerikPrimitives:RadBorder>
|
||||
</DataTemplate>
|
||||
<!-- << combobox-howto-selection-checkbox-headertemplate -->
|
||||
|
||||
<!-- >> combobox-howto-selection-checkbox-itemtemplate -->
|
||||
<DataTemplate x:Key="ComboBoxItemTemplate">
|
||||
<telerikPrimitives:RadBorder>
|
||||
<telerikPrimitives:RadBorder.MinimumHeightRequest>
|
||||
<OnPlatform x:TypeArguments="x:Double">
|
||||
<On Platform="iOS" Value="44"/>
|
||||
<On Platform="Android" Value="48"/>
|
||||
<On Platform="UWP" Value="32"/>
|
||||
</OnPlatform>
|
||||
</telerikPrimitives:RadBorder.MinimumHeightRequest>
|
||||
<telerikPrimitives:RadBorder.BorderColor>
|
||||
<OnPlatform x:TypeArguments="Color" Default="#ECECEC">
|
||||
<On Platform="UWP" Value="Transparent"/>
|
||||
</OnPlatform>
|
||||
</telerikPrimitives:RadBorder.BorderColor>
|
||||
<telerikPrimitives:RadBorder.BorderThickness>
|
||||
<OnPlatform x:TypeArguments="Thickness" Default="0, 0, 0, 1">
|
||||
<On Platform="UWP" Value="0"/>
|
||||
</OnPlatform>
|
||||
</telerikPrimitives:RadBorder.BorderThickness>
|
||||
<StackLayout Orientation="Horizontal">
|
||||
<StackLayout.Padding>
|
||||
<OnPlatform x:TypeArguments="Thickness" Default="11, 12, 0, 12">
|
||||
<On Platform="UWP" Value="6, 6, 0, 6"/>
|
||||
<On Platform="Android" Value="11, 6, 0, 6"/>
|
||||
</OnPlatform>
|
||||
</StackLayout.Padding>
|
||||
<telerikPrimitives:RadCheckBox Margin="0, 0, 6, 0"
|
||||
CheckedColor="#0E88F2"
|
||||
IndeterminateColor="#0E88F2"
|
||||
InputTransparent="True"
|
||||
IsChecked="False"
|
||||
VerticalOptions="Center">
|
||||
<telerikPrimitives:RadCheckBox.Margin>
|
||||
<OnPlatform x:TypeArguments="Thickness">
|
||||
<On Platform="iOS" Value="3, 0, 0, 0"/>
|
||||
<On Platform="Android" Value="8, 0, 0, 0"/>
|
||||
<On Platform="UWP" Value="10, 0, 0, 0"/>
|
||||
</OnPlatform>
|
||||
</telerikPrimitives:RadCheckBox.Margin>
|
||||
</telerikPrimitives:RadCheckBox>
|
||||
<Label Text="{Binding Name}"
|
||||
VerticalTextAlignment="Center"
|
||||
TextColor="#8A000000"
|
||||
FontSize="14">
|
||||
<Label.Padding>
|
||||
<OnPlatform x:TypeArguments="Thickness">
|
||||
<On Platform="iOS" Value="3, 0, 0, 0"/>
|
||||
<On Platform="Android" Value="8, 13, 0, 13"/>
|
||||
<On Platform="UWP" Value="10, 6, 0, 6"/>
|
||||
</OnPlatform>
|
||||
</Label.Padding>
|
||||
</Label>
|
||||
</StackLayout>
|
||||
</telerikPrimitives:RadBorder>
|
||||
</DataTemplate>
|
||||
<!-- << combobox-howto-selection-checkbox-itemtemplate -->
|
||||
|
||||
<!-- >> combobox-howto-selection-checkbox-selecteditemtemplate -->
|
||||
<DataTemplate x:Key="ComboBoxSelectedItemTemplate">
|
||||
<telerikPrimitives:RadBorder>
|
||||
<telerikPrimitives:RadBorder.MinimumHeightRequest>
|
||||
<OnPlatform x:TypeArguments="x:Double">
|
||||
<On Platform="iOS" Value="44"/>
|
||||
<On Platform="Android" Value="48"/>
|
||||
<On Platform="UWP" Value="32"/>
|
||||
</OnPlatform>
|
||||
</telerikPrimitives:RadBorder.MinimumHeightRequest>
|
||||
<telerikPrimitives:RadBorder.BorderColor>
|
||||
<OnPlatform x:TypeArguments="Color" Default="#ECECEC">
|
||||
<On Platform="UWP" Value="Transparent"/>
|
||||
</OnPlatform>
|
||||
</telerikPrimitives:RadBorder.BorderColor>
|
||||
<telerikPrimitives:RadBorder.BackgroundColor>
|
||||
<OnPlatform x:TypeArguments="Color" Default="#F8F8F8">
|
||||
<On Platform="UWP" Value="Accent"/>
|
||||
</OnPlatform>
|
||||
</telerikPrimitives:RadBorder.BackgroundColor>
|
||||
<telerikPrimitives:RadBorder.BorderThickness>
|
||||
<OnPlatform x:TypeArguments="Thickness" Default="0, 0, 0, 1">
|
||||
<On Platform="UWP" Value="0"/>
|
||||
</OnPlatform>
|
||||
</telerikPrimitives:RadBorder.BorderThickness>
|
||||
<StackLayout Orientation="Horizontal"
|
||||
BackgroundColor="#F8F8F8">
|
||||
<StackLayout.Padding>
|
||||
<OnPlatform x:TypeArguments="Thickness" Default="11, 12, 0, 12">
|
||||
<On Platform="UWP" Value="6, 6, 0, 6"/>
|
||||
<On Platform="Android" Value="11, 6, 0, 6"/>
|
||||
</OnPlatform>
|
||||
</StackLayout.Padding>
|
||||
<telerikPrimitives:RadCheckBox Margin="0, 0, 6, 0"
|
||||
CheckedColor="#0E88F2"
|
||||
IndeterminateColor="#0E88F2"
|
||||
InputTransparent="True"
|
||||
IsChecked="True"
|
||||
VerticalOptions="Center">
|
||||
<telerikPrimitives:RadCheckBox.Margin>
|
||||
<OnPlatform x:TypeArguments="Thickness">
|
||||
<On Platform="iOS" Value="3, 0, 0, 0"/>
|
||||
<On Platform="Android" Value="8, 0, 0, 0"/>
|
||||
<On Platform="UWP" Value="10, 0, 0, 0"/>
|
||||
</OnPlatform>
|
||||
</telerikPrimitives:RadCheckBox.Margin>
|
||||
</telerikPrimitives:RadCheckBox>
|
||||
<Label Text="{Binding Name}"
|
||||
VerticalTextAlignment="Center"
|
||||
TextColor="#8A000000"
|
||||
FontSize="14">
|
||||
<Label.Padding>
|
||||
<OnPlatform x:TypeArguments="Thickness">
|
||||
<On Platform="iOS" Value="3, 0, 0, 0"/>
|
||||
<On Platform="Android" Value="8, 13, 0, 13"/>
|
||||
<On Platform="UWP" Value="10, 6, 0, 6"/>
|
||||
</OnPlatform>
|
||||
</Label.Padding>
|
||||
</Label>
|
||||
</StackLayout>
|
||||
</telerikPrimitives:RadBorder>
|
||||
</DataTemplate>
|
||||
<!-- << combobox-howto-selection-checkbox-selecteditemtemplate -->
|
||||
</ResourceDictionary>
|
||||
</ContentView.Resources>
|
||||
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Label Text="This example demonstrates how to display CheckBox control for each item in the dropdown area of the ComboBox control and visualize header with select all functionality."
|
||||
HorizontalTextAlignment="Center"
|
||||
VerticalTextAlignment="Center"
|
||||
Margin="0, 0, 0, 5"/>
|
||||
<!-- >> combobox-howto-selection-checkbox -->
|
||||
<telerikInput:RadComboBox Grid.Row="1"
|
||||
BackgroundColor="White"
|
||||
ItemsSource="{Binding Items}"
|
||||
SelectedItems="{Binding SelectedItems}"
|
||||
IsDropDownClosedOnSelection="False"
|
||||
SelectionMode="Multiple"
|
||||
DisplayMemberPath="Name"
|
||||
ItemTemplate="{StaticResource ComboBoxItemTemplate}"
|
||||
SelectedItemTemplate="{StaticResource ComboBoxSelectedItemTemplate}"
|
||||
HeaderTemplate="{StaticResource ComboBoxHeaderTemplate}"
|
||||
Margin="10, 0, 10, 0">
|
||||
<telerikInput:RadComboBox.BindingContext>
|
||||
<local:ViewModel/>
|
||||
</telerikInput:RadComboBox.BindingContext>
|
||||
<telerikInput:RadComboBox.DropDownHeight>
|
||||
<OnPlatform x:TypeArguments="x:Double">
|
||||
<On Platform="iOS">238</On>
|
||||
<On Platform="UWP">244</On>
|
||||
<On Platform="Android">248</On>
|
||||
</OnPlatform>
|
||||
</telerikInput:RadComboBox.DropDownHeight>
|
||||
</telerikInput:RadComboBox>
|
||||
<!-- << combobox-howto-selection-checkbox -->
|
||||
</Grid>
|
||||
</ContentView>
|
|
@ -0,0 +1,12 @@
|
|||
using Xamarin.Forms;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.HowToCategory.SelectionWithCheckBoxExample
|
||||
{
|
||||
public partial class SelectionWithCheckBox : ContentView
|
||||
{
|
||||
public SelectionWithCheckBox()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,148 @@
|
|||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Specialized;
|
||||
using System.Windows.Input;
|
||||
using Telerik.XamarinForms.Common;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.HowToCategory.SelectionWithCheckBoxExample
|
||||
{
|
||||
// >> combobox-howto-selection-checkbox-viewmodel
|
||||
public class ViewModel : NotifyPropertyChangedBase
|
||||
{
|
||||
private ObservableCollection<object> selectedItems;
|
||||
private bool? selectAllChecked = false;
|
||||
private bool isInternalCheckChanged;
|
||||
|
||||
public ViewModel()
|
||||
{
|
||||
this.Items = new ObservableCollection<City>
|
||||
{
|
||||
new City { Name = "Tokyo", Population = 13929286 },
|
||||
new City { Name = "New York", Population = 8623000 },
|
||||
new City { Name = "London", Population = 8908081 },
|
||||
new City { Name = "Madrid", Population = 3223334 },
|
||||
new City { Name = "Los Angeles", Population = 4000000},
|
||||
new City { Name = "Paris", Population = 2141000 },
|
||||
new City { Name = "Beijing", Population = 21540000 },
|
||||
new City { Name = "Singapore", Population = 5612000 },
|
||||
new City { Name = "New Delhi", Population = 18980000 },
|
||||
new City { Name = "Bangkok", Population = 8305218 },
|
||||
new City { Name = "Berlin", Population = 3748000 },
|
||||
};
|
||||
|
||||
this.SelectAllCommand = new Command(this.OnSelectAllCommandExecute);
|
||||
}
|
||||
|
||||
public ObservableCollection<City> Items { get; set; }
|
||||
public ICommand SelectAllCommand { get; set; }
|
||||
|
||||
public ObservableCollection<object> SelectedItems
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.selectedItems;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (this.selectedItems != value)
|
||||
{
|
||||
if (this.selectedItems != null)
|
||||
{
|
||||
this.selectedItems.CollectionChanged -= this.OnSelectedItemsCollectionChanged;
|
||||
}
|
||||
|
||||
this.selectedItems = value;
|
||||
|
||||
if (this.selectedItems != null)
|
||||
{
|
||||
this.selectedItems.CollectionChanged += this.OnSelectedItemsCollectionChanged;
|
||||
}
|
||||
|
||||
this.OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public bool? SelectAllChecked
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.selectAllChecked;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (this.selectAllChecked != value)
|
||||
{
|
||||
this.selectAllChecked = value;
|
||||
|
||||
if (!this.isInternalCheckChanged && this.selectAllChecked.HasValue)
|
||||
{
|
||||
if (this.selectAllChecked.Value)
|
||||
{
|
||||
foreach (var store in this.Items)
|
||||
{
|
||||
if (!this.SelectedItems.Contains(store))
|
||||
{
|
||||
this.SelectedItems.Add(store);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.SelectedItems.Clear();
|
||||
}
|
||||
}
|
||||
|
||||
this.OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void OnSelectAllCommandExecute(object obj)
|
||||
{
|
||||
if (this.selectAllChecked == null)
|
||||
{
|
||||
this.SelectAllChecked = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.SelectAllChecked = !this.selectAllChecked;
|
||||
}
|
||||
}
|
||||
|
||||
private void OnSelectedItemsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
|
||||
{
|
||||
var action = e.Action;
|
||||
if (action == NotifyCollectionChangedAction.Add)
|
||||
{
|
||||
this.isInternalCheckChanged = true;
|
||||
if (this.SelectedItems.Count == this.Items.Count)
|
||||
{
|
||||
this.SelectAllChecked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.SelectAllChecked = null;
|
||||
}
|
||||
this.isInternalCheckChanged = false;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (action == NotifyCollectionChangedAction.Remove)
|
||||
{
|
||||
this.isInternalCheckChanged = true;
|
||||
if (this.SelectedItems.Count == 0)
|
||||
{
|
||||
this.SelectAllChecked = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.SelectAllChecked = null;
|
||||
}
|
||||
this.isInternalCheckChanged = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
// << combobox-howto-selection-checkbox-viewmodel
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl
|
||||
{
|
||||
// >> combobox-store-businessmodel
|
||||
public class StoreAddress
|
||||
{
|
||||
public string City { get; set; }
|
||||
public string Street { get; set; }
|
||||
public string Code { get; set; }
|
||||
public string WorkHours { get; set; }
|
||||
}
|
||||
// << combobox-store-businessmodel
|
||||
}
|
|
@ -0,0 +1,58 @@
|
|||
<?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"
|
||||
mc:Ignorable="d"
|
||||
xmlns:local="clr-namespace:SDKBrowser.Examples.ComboBoxControl.FeaturesCategory.EditingExample"
|
||||
x:Class="SDKBrowser.Examples.ComboBoxControl.StylingCategory.ComboBoxStylingExample.ComboBoxStyling">
|
||||
<ContentView.Resources>
|
||||
<ResourceDictionary>
|
||||
<!-- >> combobox-clearbutton-style -->
|
||||
<Style TargetType="Button" x:Key="ClearButtonStyle">
|
||||
<Setter Property="FontSize" Value="14"/>
|
||||
<Setter Property="HorizontalOptions" Value="Center"/>
|
||||
<Setter Property="VerticalOptions" Value="Center"/>
|
||||
<Setter Property="WidthRequest" Value="24"/>
|
||||
<Setter Property="HeightRequest" Value="24"/>
|
||||
<Setter Property="Padding" Value="0"/>
|
||||
<Setter Property="BackgroundColor">
|
||||
<Setter.Value>
|
||||
<OnPlatform x:TypeArguments="Color">
|
||||
<On Platform="Android">Transparent</On>
|
||||
</OnPlatform>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Setter Property="TextColor" Value="Blue"/>
|
||||
<Setter Property="Margin">
|
||||
<Setter.Value>
|
||||
<OnPlatform x:TypeArguments="Thickness">
|
||||
<On Platform="Android">6, 0, 8, 0</On>
|
||||
<On Platform="iOS">6, 6, 8, 7</On>
|
||||
<On Platform="UWP">6, 1, 0, 1</On>
|
||||
</OnPlatform>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
<!-- << combobox-clearbutton-style -->
|
||||
</ResourceDictionary>
|
||||
</ContentView.Resources>
|
||||
<StackLayout>
|
||||
<!-- >> combobox-styling -->
|
||||
<telerikInput:RadComboBox ItemsSource="{Binding Items}"
|
||||
Placeholder="Select City!"
|
||||
PlaceholderColor="Blue"
|
||||
BackgroundColor="LightGray"
|
||||
FocusedBorderColor="Blue"
|
||||
BorderColor="Black"
|
||||
BorderThickness="2"
|
||||
ClearButtonStyle="{StaticResource ClearButtonStyle}"
|
||||
DisplayMemberPath="Name">
|
||||
<telerikInput:RadComboBox.BindingContext>
|
||||
<local:ViewModel/>
|
||||
</telerikInput:RadComboBox.BindingContext>
|
||||
</telerikInput:RadComboBox>
|
||||
<!-- << combobox-styling -->
|
||||
</StackLayout>
|
||||
</ContentView>
|
|
@ -0,0 +1,14 @@
|
|||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.StylingCategory.ComboBoxStylingExample
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class ComboBoxStyling : ContentView
|
||||
{
|
||||
public ComboBoxStyling()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,62 @@
|
|||
<?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"
|
||||
mc:Ignorable="d"
|
||||
BackgroundColor="White"
|
||||
xmlns:local="clr-namespace:SDKBrowser.Examples.ComboBoxControl.FeaturesCategory.EditingExample"
|
||||
x:Class="SDKBrowser.Examples.ComboBoxControl.StylingCategory.DropDownStylingExample.DropDownStyling">
|
||||
|
||||
<ContentView.Resources>
|
||||
<ResourceDictionary>
|
||||
<!-- >> combobox-dropdownbutton-style -->
|
||||
<Style TargetType="Button" x:Key="DropDownButtonStyle">
|
||||
<Setter Property="FontSize" Value="14"/>
|
||||
<Setter Property="HorizontalOptions" Value="Center"/>
|
||||
<Setter Property="VerticalOptions" Value="Center"/>
|
||||
<Setter Property="WidthRequest" Value="24"/>
|
||||
<Setter Property="HeightRequest" Value="24"/>
|
||||
<Setter Property="Padding" Value="0"/>
|
||||
<Setter Property="BackgroundColor">
|
||||
<Setter.Value>
|
||||
<OnPlatform x:TypeArguments="Color">
|
||||
<On Platform="Android">Transparent</On>
|
||||
</OnPlatform>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Setter Property="TextColor" Value="Blue"/>
|
||||
<Setter Property="Margin">
|
||||
<Setter.Value>
|
||||
<OnPlatform x:TypeArguments="Thickness">
|
||||
<On Platform="Android">8, 0, 4, 0</On>
|
||||
<On Platform="iOS">8, 6, 4, 7</On>
|
||||
<On Platform="UWP">6, 1, 10, 1</On>
|
||||
</OnPlatform>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
<!-- << combobox-dropdownbutton-style -->
|
||||
</ResourceDictionary>
|
||||
</ContentView.Resources>
|
||||
<StackLayout>
|
||||
<!-- >> combobox-dropdown-styling -->
|
||||
<telerikInput:RadComboBox ItemsSource="{Binding Items}"
|
||||
IsEditable="True"
|
||||
SearchTextPath="Name"
|
||||
DisplayMemberPath="Name"
|
||||
SelectionMode="Multiple"
|
||||
HighlightTextColor="Black"
|
||||
DropDownBorderColor="Blue"
|
||||
DropDownBorderThickness="2"
|
||||
DropDownCornerRadius="5"
|
||||
DropDownBackgroundColor="LightBlue"
|
||||
DropDownButtonStyle="{StaticResource DropDownButtonStyle}">
|
||||
<telerikInput:RadComboBox.BindingContext>
|
||||
<local:ViewModel/>
|
||||
</telerikInput:RadComboBox.BindingContext>
|
||||
</telerikInput:RadComboBox>
|
||||
<!-- << combobox-dropdown-styling -->
|
||||
</StackLayout>
|
||||
</ContentView>
|
|
@ -0,0 +1,14 @@
|
|||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.StylingCategory.DropDownStylingExample
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class DropDownStyling : ContentView
|
||||
{
|
||||
public DropDownStyling()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,43 @@
|
|||
<?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:primitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
|
||||
mc:Ignorable="d"
|
||||
BackgroundColor="White"
|
||||
x:Class="SDKBrowser.Examples.ComboBoxControl.TemplatesCategory.HeaderFooterExample.HeaderFooter">
|
||||
<StackLayout>
|
||||
<!-- >> combobox-header-footer-template -->
|
||||
<telerikInput:RadComboBox ItemsSource="{Binding Items}"
|
||||
DisplayMemberPath="Name"
|
||||
IsEditable="True"
|
||||
SearchMode="Contains"
|
||||
SearchTextPath="Name"
|
||||
Placeholder="Select which city you want to visit"
|
||||
SelectionMode="Multiple"
|
||||
DropDownHeight="300"
|
||||
x:Name="comboBox">
|
||||
<telerikInput:RadComboBox.HeaderTemplate>
|
||||
<DataTemplate>
|
||||
<StackLayout BackgroundColor="LightBlue">
|
||||
<Label Text="To Visit List!"
|
||||
FontSize="20"
|
||||
TextColor="Black"
|
||||
BackgroundColor="LightBlue"
|
||||
VerticalOptions="Center"
|
||||
HorizontalOptions="Center"/>
|
||||
</StackLayout>
|
||||
</DataTemplate>
|
||||
</telerikInput:RadComboBox.HeaderTemplate>
|
||||
<telerikInput:RadComboBox.FooterTemplate>
|
||||
<DataTemplate>
|
||||
<StackLayout>
|
||||
<Button Text="Add Items" Clicked="Button_Clicked" BackgroundColor="LightBlue"/>
|
||||
</StackLayout>
|
||||
</DataTemplate>
|
||||
</telerikInput:RadComboBox.FooterTemplate>
|
||||
</telerikInput:RadComboBox>
|
||||
<!-- << combobox-header-footer-template -->
|
||||
</StackLayout>
|
||||
</ContentView>
|
|
@ -0,0 +1,24 @@
|
|||
using SDKBrowser.Examples.ComboBoxControl.FeaturesCategory.EditingExample;
|
||||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.TemplatesCategory.HeaderFooterExample
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class HeaderFooter : ContentView
|
||||
{
|
||||
ViewModel vm;
|
||||
public HeaderFooter()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.vm = new ViewModel();
|
||||
this.BindingContext = vm;
|
||||
}
|
||||
// >> combobox-footer-template-button-clicked
|
||||
private void Button_Clicked(object sender, System.EventArgs e)
|
||||
{
|
||||
this.vm.Items.Add(new City { Name = "Sofia", Population = 1243000 });
|
||||
}
|
||||
// << combobox-footer-template-button-clicked
|
||||
}
|
||||
}
|
|
@ -0,0 +1,43 @@
|
|||
<?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"
|
||||
mc:Ignorable="d"
|
||||
x:Class="SDKBrowser.Examples.ComboBoxControl.TemplatesCategory.ItemSelectedItemTemplatesExample.ItemSelectedItemTemplates">
|
||||
|
||||
<ContentView.Resources>
|
||||
<ResourceDictionary>
|
||||
<Style TargetType="Label" x:Key="labelStyle">
|
||||
<Setter Property="Margin" Value="10,5,0,5"/>
|
||||
<Setter Property="FontSize" Value="16"/>
|
||||
<Setter Property="TextColor" Value="Black"/>
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
</ContentView.Resources>
|
||||
<StackLayout>
|
||||
<!-- >> combobox-item-selecteditem-templates -->
|
||||
<telerikInput:RadComboBox ItemsSource="{Binding Stores}"
|
||||
DisplayMemberPath="City"
|
||||
Placeholder="Select Store">
|
||||
<telerikInput:RadComboBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<StackLayout BackgroundColor="LightYellow" VerticalOptions="Center">
|
||||
<Label Text="{Binding City}"
|
||||
Style="{StaticResource labelStyle}"/>
|
||||
</StackLayout>
|
||||
</DataTemplate>
|
||||
</telerikInput:RadComboBox.ItemTemplate>
|
||||
<telerikInput:RadComboBox.SelectedItemTemplate>
|
||||
<DataTemplate>
|
||||
<StackLayout BackgroundColor="LightBlue">
|
||||
<Label Text="{Binding Street}" Style="{StaticResource labelStyle}"/>
|
||||
<Label Text="{Binding Code}" FontSize="12" Margin="10,0,0,5"/>
|
||||
</StackLayout>
|
||||
</DataTemplate>
|
||||
</telerikInput:RadComboBox.SelectedItemTemplate>
|
||||
</telerikInput:RadComboBox>
|
||||
<!-- << combobox-item-selecteditem-templates -->
|
||||
</StackLayout>
|
||||
</ContentView>
|
|
@ -0,0 +1,16 @@
|
|||
using SDKBrowser.Examples.ComboBoxControl.FeaturesCategory.SearchingModeExample;
|
||||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.TemplatesCategory.ItemSelectedItemTemplatesExample
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class ItemSelectedItemTemplates : ContentView
|
||||
{
|
||||
public ItemSelectedItemTemplates()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.BindingContext = new ViewModel();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,49 @@
|
|||
<?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:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
|
||||
mc:Ignorable="d"
|
||||
x:Class="SDKBrowser.Examples.ComboBoxControl.TemplatesCategory.TokenTemplateExample.TokenTemplate">
|
||||
<StackLayout>
|
||||
<!-- >> combobox-tokentemplate -->
|
||||
<telerikInput:RadComboBox ItemsSource="{Binding Items}"
|
||||
Placeholder="Select City!"
|
||||
SelectionMode="Multiple"
|
||||
DisplayMemberPath="Name"
|
||||
x:Name="comboBox">
|
||||
<telerikInput:RadComboBox.TokenTemplate>
|
||||
<DataTemplate>
|
||||
<telerikPrimitives:RadBorder BackgroundColor="LightBlue"
|
||||
CornerRadius="10"
|
||||
Margin="2">
|
||||
<StackLayout Orientation="Horizontal"
|
||||
Margin="3">
|
||||
<Label Text="{Binding Name}"
|
||||
TextColor="Black"
|
||||
VerticalTextAlignment="Center"
|
||||
Margin="2" />
|
||||
<Label FontFamily="{StaticResource IconsFontFamily}"
|
||||
Text="" FontSize="10"
|
||||
VerticalTextAlignment="Center"
|
||||
TextColor="Black"
|
||||
Margin="2">
|
||||
<Label.GestureRecognizers>
|
||||
<TapGestureRecognizer Tapped="TapGestureRecognizer_Tapped"/>
|
||||
</Label.GestureRecognizers>
|
||||
</Label>
|
||||
</StackLayout>
|
||||
</telerikPrimitives:RadBorder>
|
||||
</DataTemplate>
|
||||
</telerikInput:RadComboBox.TokenTemplate>
|
||||
<telerikInput:RadComboBox.ShowMoreTemplate>
|
||||
<DataTemplate>
|
||||
<Label Text="{Binding Path=., StringFormat='+{0} more items'}"
|
||||
VerticalTextAlignment="Center"/>
|
||||
</DataTemplate>
|
||||
</telerikInput:RadComboBox.ShowMoreTemplate>
|
||||
</telerikInput:RadComboBox>
|
||||
<!-- << combobox-tokentemplate -->
|
||||
</StackLayout>
|
||||
</ContentView>
|
|
@ -0,0 +1,31 @@
|
|||
using SDKBrowser.Examples.ComboBoxControl.FeaturesCategory.EditingExample;
|
||||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace SDKBrowser.Examples.ComboBoxControl.TemplatesCategory.TokenTemplateExample
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class TokenTemplate : ContentView
|
||||
{
|
||||
public TokenTemplate()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.BindingContext = new ViewModel();
|
||||
}
|
||||
|
||||
// >> remove-the-selecteditem
|
||||
private void TapGestureRecognizer_Tapped(object sender, System.EventArgs e)
|
||||
{
|
||||
var closeLabel = sender as Label;
|
||||
if (closeLabel != null)
|
||||
{
|
||||
var item = closeLabel.BindingContext as City;
|
||||
if (item != null)
|
||||
{
|
||||
this.comboBox.SelectedItems.Remove(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
// << remove-the-selecteditem
|
||||
}
|
||||
}
|
|
@ -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:telerikPdfViewer="clr-namespace:Telerik.XamarinForms.PdfViewer;assembly=Telerik.XamarinForms.PdfViewer"
|
||||
xmlns:local="clr-namespace:SDKBrowser.Examples.PdfViewerControl.FeaturesCategory.CustomTextSearchExample"
|
||||
x:Class="SDKBrowser.Examples.PdfViewerControl.FeaturesCategory.CustomTextSearchExample.CustomTextSearch">
|
||||
<!-- >> pdfviewer-customtextsearch-xaml -->
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
<telerikPdfViewer:RadPdfViewerToolbar PdfViewer="{Binding Source={x:Reference pdfViewer}}"
|
||||
IsScrollable="True">
|
||||
<telerikPdfViewer:SearchToolbarItem TextSearchTrigger="TextChanged" />
|
||||
<telerikPdfViewer:ZoomInToolbarItem />
|
||||
<telerikPdfViewer:ZoomOutToolbarItem />
|
||||
<telerikPdfViewer:FitToWidthToolbarItem/>
|
||||
<telerikPdfViewer:ToggleLayoutModeToolbarItem/>
|
||||
</telerikPdfViewer:RadPdfViewerToolbar>
|
||||
<telerikPdfViewer:RadPdfViewer x:Name="pdfViewer" Grid.Row="1">
|
||||
<telerikPdfViewer:RadPdfViewer.SearchSettings>
|
||||
<telerikPdfViewer:SearchSettings>
|
||||
<telerikPdfViewer:SearchSettings.TextSearchWorker>
|
||||
<local:MultipleWordsSearchWorker />
|
||||
</telerikPdfViewer:SearchSettings.TextSearchWorker>
|
||||
</telerikPdfViewer:SearchSettings>
|
||||
</telerikPdfViewer:RadPdfViewer.SearchSettings>
|
||||
</telerikPdfViewer:RadPdfViewer>
|
||||
</Grid>
|
||||
<!-- << pdfviewer-customtextsearch-xaml -->
|
||||
</ContentView>
|