Skip to content

Commit affa715

Browse files
author
Vignesh Ramesh
authored
Merge pull request #1 from VishalOmprasad/master
XAMARIN-43979 : Code example site improvements
2 parents 830899a + ddb64b2 commit affa715

File tree

5 files changed

+56
-7
lines changed

5 files changed

+56
-7
lines changed

GettingStarted/GettingStarted.Android/GettingStarted.Android.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
1717
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
1818
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
19-
<TargetFrameworkVersion>v9.0</TargetFrameworkVersion>
19+
<TargetFrameworkVersion>v11.0</TargetFrameworkVersion>
2020
<AndroidHttpClientHandlerType>Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType>
2121
<NuGetPackageImportStamp>
2222
</NuGetPackageImportStamp>
@@ -52,7 +52,7 @@
5252
<PackageReference Include="Syncfusion.Xamarin.Core">
5353
<Version>*</Version>
5454
</PackageReference>
55-
<PackageReference Include="Xamarin.Forms" Version="4.8.0.1687" />
55+
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2196" />
5656
</ItemGroup>
5757
<ItemGroup>
5858
<Compile Include="MainActivity.cs" />

GettingStarted/GettingStarted.UWP/GettingStarted.UWP.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@
146146
<PackageReference Include="Syncfusion.Xamarin.Core">
147147
<Version>*</Version>
148148
</PackageReference>
149-
<PackageReference Include="Xamarin.Forms" Version="4.8.0.1687" />
150-
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="6.1.5" />
149+
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2196" />
150+
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="6.2.12" />
151151
</ItemGroup>
152152
<ItemGroup>
153153
<ProjectReference Include="..\GettingStarted\GettingStarted.csproj">

GettingStarted/GettingStarted.iOS/GettingStarted.iOS.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
<PackageReference Include="Syncfusion.Xamarin.Core">
152152
<Version>*</Version>
153153
</PackageReference>
154-
<PackageReference Include="Xamarin.Forms" Version="4.8.0.1687" />
154+
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2196" />
155155
</ItemGroup>
156156
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
157157
<ItemGroup>

GettingStarted/GettingStarted/GettingStarted.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111

1212
<ItemGroup>
1313
<PackageReference Include="Syncfusion.Xamarin.Core" Version="*" />
14-
<PackageReference Include="Xamarin.Forms" Version="4.8.0.1687" />
14+
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2196" />
1515
</ItemGroup>
1616
</Project>

README.md

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,50 @@
1-
# GradientView_GettingStarted_Xamarin.Forms
1+
## GradientView Getting Started Xamarin.Forms
2+
3+
This repository contains sample to get started with the [Syncfusion Xamarin.Forms Gradient View](https://help.syncfusion.com/xamarin/gradient-view/getting-started) control. The Gradient View control provides the gradient background to various views of applications. It supports Linear and Radial gradient.
4+
5+
## Syncfusion controls:
6+
7+
This project used the following Syncfusion control(s):
8+
* SfGradientView
9+
10+
## Supported platforms
11+
12+
| Platforms | Supported versions |
13+
| --------- | ------------------ |
14+
| Android | API level 21 and later versions |
15+
| iOS | iOS 9.0 and later versions |
16+
| UWP | Windows 10 devices |
17+
18+
## Requirements to run the sample
19+
20+
* [Visual Studio](https://visualstudio.microsoft.com/downloads/) or [Visual Studio for Mac](https://visualstudio.microsoft.com/vs/mac/)
21+
22+
Refer to the following link for more details - [System Requirements](https://help.syncfusion.com/xamarin/system-requirements)
23+
24+
## How to run the sample
25+
26+
1. Clone the sample and open it in Visual Studio.
27+
28+
*Note: If you download the sample using the "Download ZIP" option, right-click it, select Properties, and then select Unblock.*
29+
30+
2. Register your license key in the App.xaml.cs file as demonstrated in the following code.
31+
32+
public App()
33+
{
34+
//Register Syncfusion license
35+
Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY");
36+
37+
InitializeComponent();
38+
39+
MainPage = new App1.MainPage();
40+
}
41+
42+
Refer to this [link](https://help.syncfusion.com/xamarin/licensing/overview) for more details.
43+
44+
3. Clean and build the application.
45+
46+
4. Run the application.
47+
48+
## License
49+
50+
Syncfusion has no liability for any damage or consequence that may arise by using or viewing the samples. The samples are for demonstrative purposes, and if you choose to use or access the samples, you agree to not hold Syncfusion liable, in any form, for any damage that is related to use, for accessing, or viewing the samples. By accessing, viewing, or seeing the samples, you acknowledge and agree Syncfusion’s samples will not allow you seek injunctive relief in any form for any claim related to the sample. If you do not agree to this, do not view, access, utilize, or otherwise do anything with Syncfusion’s samples.

0 commit comments

Comments
 (0)