Skip to content

Commit 727e706

Browse files
YuvarajPalanisamyMeikandaNayanar
authored andcommitted
Ui kit 2.4.0.0 (#29)
* Committed the source UIKit 2.3.0.0 release
1 parent a57d4af commit 727e706

File tree

64 files changed

+3240
-107
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+3240
-107
lines changed

EssentialUIKit.Android/EssentialUIKit.Android.csproj

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<PackageReference Include="Syncfusion.Xamarin.SfTabView">
9191
<Version>17.2.0.49</Version>
9292
</PackageReference>
93-
<PackageReference Include="Xamarin.Forms" Version="4.3.0.778476-pre1" />
93+
<PackageReference Include="Xamarin.Forms" Version="4.4.0.991265" />
9494
<PackageReference Include="Xamarin.Android.Support.Design" Version="28.0.0.1" />
9595
<PackageReference Include="Xamarin.Android.Support.v7.AppCompat" Version="28.0.0.1" />
9696
<PackageReference Include="Xamarin.Android.Support.v4" Version="28.0.0.1" />
@@ -258,6 +258,15 @@
258258
<ItemGroup>
259259
<AndroidResource Include="Resources\drawable\HeaderIcon.png" />
260260
</ItemGroup>
261+
<ItemGroup>
262+
<AndroidResource Include="Resources\drawable\ViewMode.png" />
263+
</ItemGroup>
264+
<ItemGroup>
265+
<AndroidResource Include="Resources\drawable\TimeZone.png" />
266+
</ItemGroup>
267+
<ItemGroup>
268+
<AndroidResource Include="Resources\drawable\ReSchedule.png" />
269+
</ItemGroup>
261270
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
262271
<Import Project="..\build\tools\Syncfusion.CodeAnalysis.StyleCop\tools\StyleCop.MsBuild.targets" Condition="Exists('..\build\tools\Syncfusion.CodeAnalysis.StyleCop\tools\StyleCop.MsBuild.targets')" />
263272
<Target Name="BeforeBuild" Condition=" $(SetVersion) == true ">
Loading
Loading
Loading

EssentialUIKit.UWP/EssentialUIKit.UWP.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
<Compile Include="Renderers\BorderlessEditorRenderer.cs" />
102102
<Compile Include="Renderers\BorderlessEntryRenderer.cs" />
103103
<Compile Include="Renderers\CalenderDatePickerRenderer.cs" />
104+
<Compile Include="Renderers\TemplateHostViewRenderer.cs" />
104105
</ItemGroup>
105106
<ItemGroup>
106107
<AppxManifest Include="Package.appxmanifest">
@@ -153,6 +154,9 @@
153154
<Content Include="scale-100\PlaceHolder.png" />
154155
<Content Include="scale-100\PlaceHolderRectangle.png" />
155156
<Content Include="Properties\Default.rd.xml" />
157+
<Content Include="scale-100\ReSchedule.png" />
158+
<Content Include="scale-100\TimeZone.png" />
159+
<Content Include="scale-100\ViewMode.png" />
156160
</ItemGroup>
157161
<ItemGroup>
158162
<ApplicationDefinition Include="App.xaml">
@@ -206,7 +210,7 @@
206210
<PackageReference Include="Syncfusion.Xamarin.SfTabView">
207211
<Version>17.2.0.49</Version>
208212
</PackageReference>
209-
<PackageReference Include="Xamarin.Forms" Version="4.3.0.778476-pre1" />
213+
<PackageReference Include="Xamarin.Forms" Version="4.4.0.991265" />
210214
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="6.1.5" />
211215
</ItemGroup>
212216
<ItemGroup>
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
using EssentialUIKit.AppLayout.Controls;
2+
using EssentialUIKit.UWP;
3+
using Windows.UI.Xaml;
4+
using Xamarin.Forms;
5+
using Xamarin.Forms.Platform.UWP;
6+
7+
[assembly: ExportRenderer(typeof(TemplateHostView), typeof(TemplateHostViewRenderer))]
8+
9+
namespace EssentialUIKit.UWP
10+
{
11+
/// <summary>
12+
/// Implementation of TemplateHostViewRenderer.
13+
/// </summary>
14+
public class TemplateHostViewRenderer : ViewRenderer<TemplateHostView, FrameworkElement>
15+
{
16+
/// <summary>
17+
/// Added the view in TemplateHostPage.
18+
/// </summary>
19+
/// <param name="e">The editor</param>
20+
protected override void OnElementChanged(ElementChangedEventArgs<TemplateHostView> e)
21+
{
22+
base.OnElementChanged(e);
23+
var pageView = e.NewElement as TemplateHostView;
24+
25+
if (pageView != null)
26+
{
27+
IVisualElementRenderer renderer = pageView?.Template.GetOrCreateRenderer();
28+
29+
FrameworkElement native = renderer.ContainerElement as FrameworkElement;
30+
var size = pageView.Measure(double.PositiveInfinity, double.PositiveInfinity);
31+
pageView?.Template.Layout(new Rectangle(0, 0, size.Request.Width, size.Request.Height));
32+
33+
this.SetNativeControl(native);
34+
}
35+
}
36+
}
37+
}
23.9 KB
Loading
30.2 KB
Loading
33.4 KB
Loading

EssentialUIKit.iOS/EssentialUIKit.iOS.csproj

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
<PackageReference Include="Syncfusion.Xamarin.SfTabView">
177177
<Version>17.2.0.49</Version>
178178
</PackageReference>
179-
<PackageReference Include="Xamarin.Forms" Version="4.3.0.778476-pre1" />
179+
<PackageReference Include="Xamarin.Forms" Version="4.4.0.991265" />
180180
</ItemGroup>
181181
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
182182
<ItemGroup>
@@ -411,6 +411,15 @@
411411
<ItemGroup>
412412
<BundleResource Include="Resources\HeaderIcon.png" />
413413
</ItemGroup>
414+
<ItemGroup>
415+
<BundleResource Include="Resources\ReSchedule.png" />
416+
</ItemGroup>
417+
<ItemGroup>
418+
<BundleResource Include="Resources\TimeZone.png" />
419+
</ItemGroup>
420+
<ItemGroup>
421+
<BundleResource Include="Resources\ViewMode.png" />
422+
</ItemGroup>
414423
<Import Project="..\build\tools\Syncfusion.CodeAnalysis.StyleCop\tools\StyleCop.MsBuild.targets" Condition="Exists('..\build\tools\Syncfusion.CodeAnalysis.StyleCop\tools\StyleCop.MsBuild.targets')" />
415424
<Target Name="_VerifyBuildSignature" />
416425
<Target Name="BeforeBuild" Condition=" $(SetVersion) == true ">
23.9 KB
Loading
30.2 KB
Loading
33.4 KB
Loading

EssentialUIKit/AppLayout/TemplateList.xml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Samples>
33

4-
<Category Icon="log-in.png" Name="Forms" Description="Get the user’s details to authenticate, create a profile, and enter credit card information for online payment portal.">
4+
<Category Icon="log-in.png" Name="Forms" IsUpdated="True" Description="Get the user’s details to authenticate, create a profile, and enter credit card information for online payment portal.">
55
<Page Name="Simple Login Page" Description="If you want a simple and clean authentication form, just add this page to your application. Email validation is done within this form." PageName="Views.Forms.SimpleLoginPage"/>
66
<Page Name="Simple Sign Up Page" Description="This is a supporting form for a simple login page that can be modified to match any of your login pages on the fly. Email validation is done in this form." PageName="Views.Forms.SimpleSignUpPage"/>
77
<Page Name="Simple Reset Password Page" Description="This page is used for resetting a password with existing credentials or signing up if the user doesn’t have credentials yet." PageName="Views.Forms.SimpleResetPasswordPage"/>
@@ -14,7 +14,8 @@
1414
<Page Name="Tabbed Login Page" Description="This page is a multi-tabbed user interface where one tab provides a login page and another tab provides a sign-up form." PageName="Views.Forms.TabbedForm"/>
1515
<Page Name="Add Card Page" Description="This page allows users to enter their credit card information to be used in an online payment portal." PageName="Views.Forms.AddCardPage"/>
1616
<Page Name="Add Profile Page" Description="This page allows users to add a new entry to their contacts with additional information such as name and phone number." PageName="Views.Forms.AddProfilePage"/>
17-
</Category>
17+
<Page Name="Business Registration Form Page" IsNew="True" Description="This page allows users to add business details such as name, email address, and phone number." PageName="Views.Forms.BusinessRegistrationFormPage"/>
18+
</Category>
1819

1920
<Category Icon="catalog.png" Name="Catalog" Description="Let the users select from the list of items that includes titles, brief descriptions, and photos.">
2021
<Page Name="Category Tile Page" Description="Displaying an image with a title is a scenario in most applications, and this page categorizes product images and provides a title for the category." PageName="Views.Catalog.CategoryTilePage"/>
@@ -36,9 +37,9 @@
3637
<Page Name="Chat Conversation Page" Description="This page displays a recent conversation with a contact in a chat application. The page provides options to send files, images, or any other attachments as well as text messages." PageName="Views.Chat.ChatMessagePage" />
3738
</Category>
3839

39-
<Category Icon="article.png" IsUpdated="True" Name="Article" Description="Organize blog posts in an easy-to-navigate layout.">
40-
<Page Name="Article Detail with Comments Page" Description="This page displays an article with the title, image, and text." PageName="Views.Article.ArticleWithCommentsPage" />
41-
<Page Name="Article Parallax Header Page" IsNew="True" Description="This page displays an article with a pleasant parallax effect." PageName="Views.Article.ArticleParallaxHeaderPage" />
40+
<Category Icon="article.png" Name="Article" Description="Organize blog posts in an easy-to-navigate layout.">
41+
<Page Name="Article Detail with Comments Page" Description="This page displays an article with the title, image, and text." PageName="Views.Article.ArticleWithCommentsPage" />
42+
<Page Name="Article Parallax Header Page" Description="This page displays an article with a pleasant parallax effect." PageName="Views.Article.ArticleParallaxHeaderPage" />
4243
<Page Name="My Article Page" Description="This page displays an article with the title, image, and text with customized layout." PageName="Views.Article.MyArticlePage" />
4344
</Category>
4445

@@ -57,14 +58,15 @@
5758
<Page Name="About Us Page with Scrolling" Description="This page displays organization information with scrolling effects." PageName="Views.AboutUs.AboutUsWithScrollPage" />
5859
</Category>
5960

60-
<Category Icon="navigation.png" Name="Navigation" Description="Enable your users to navigate between pages or items at a high level.">
61+
<Category Icon="navigation.png" Name="Navigation" IsUpdated="True" Description="Enable your users to navigate between pages or items at a high level.">
6162
<Page Name="Bottom Navigation Page" Description="This page displays a navigation interface with icons and labels at the bottom." PageName="Views.Navigation.BottomNavigationPage"/>
6263
<Page Name="Navigation List Card Page" Description="This page displays an item as a card in a list. Each card carries an image of the item, its description, and an overall rating. " PageName="Views.Navigation.NavigationListCardPage"/>
6364
<Page Name="Navigation Tile Card Page" Description="This page displays an item as a card in a tile layout. Each tile contains an image of the item, its description, and an overall rating." PageName="Views.Navigation.NavigationTileCardPage"/>
65+
<Page Name="Songs Page" IsNew="True" Description="This page displays an item as a card in a tile layout. Each tile contains an image, the name of a song, and the song’s composer." PageName="Views.Navigation.SongsPage"/>
6466
</Category>
6567

6668
<Category Icon="on-boarding.png" Name="Onboarding" Description="Get your users started with a new app or experience with step-by--step instructions.">
67-
<Page Name="Walkthrough Page" Description="Guide users through a setup process on color gradient pages" PageName="Views.OnBoarding.OnBoardingAnimationPage"/>
69+
<Page Name="Walk-through Page" Description="Guide users through a setup process on color gradient pages" PageName="Views.OnBoarding.OnBoardingAnimationPage"/>
6870
</Category>
6971

7072
<Category Icon="error-empty.png" Name="Error and Empty" Description="Alert users to errors, empty shopping carts, task lists, item selections, and more.">
@@ -117,12 +119,14 @@
117119
<Page Name="Product Delivery Tracking Page" Description="This page displays a live train’s present status with the estimated time of arrival at a specified destination." PageName="Views.Tracking.ProductDeliveryTrackingPage"/>
118120
</Category>
119121

120-
<Category Icon="dashboard.png" Name="Dashboard" IsNew="True" Description="A beautifully presented interface relevant to common real-world use cases.">
122+
<Category Icon="dashboard.png" Name="Dashboard" IsUpdated="True" Description="A beautifully presented interface relevant to common real-world use cases.">
121123
<Page Name="Stock Overview Page" Description="This page displays a dashboard for stock market data visualization." PageName="Views.Dashboard.StockOverviewPage"/>
124+
<Page Name="Health Care Page" IsNew="True" Description="This page displays a dashboard for health-care data visualization." PageName="Views.Dashboard.HealthCarePage"/>
122125
</Category>
123126

124-
<Category Icon="setting.png" Name="Settings" IsNew="True" Description="Display various types of settings pages.">
127+
<Category Icon="setting.png" Name="Settings" IsUpdated="True" Description="Display various types of settings pages.">
125128
<Page Name="Setting Page" Description="This page displays a simple settings page that includes account, notification, and support settings." PageName="Views.Settings.SettingPage"/>
129+
<Page Name="Help Page" IsNew="True" Description="This page displays a simple help page that provides help with recent orders and other queries." PageName="Views.Settings.HelpPage"/>
126130
</Category>
127131

128132
</Samples>

EssentialUIKit/AppLayout/Views/TemplatePage.xaml.cs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -95,17 +95,7 @@ private void ListView_OnSelectionChanged(object sender, SelectedItemChangedEvent
9595
}
9696

9797
this.isNavigationInQueue = true;
98-
99-
if (Device.RuntimePlatform == "UWP")
100-
{
101-
var assembly = typeof(App).GetTypeInfo().Assembly;
102-
Navigation.PushAsync((Page)Activator.CreateInstance(
103-
assembly.GetType($"EssentialUIKit.{((Template)e.SelectedItem).PageName}")));
104-
}
105-
else
106-
{
107-
Navigation.PushAsync(new TemplateHostPage(e.SelectedItem as Template));
108-
}
98+
Navigation.PushAsync(new TemplateHostPage(e.SelectedItem as Template));
10999
}
110100

111101
#endregion

EssentialUIKit/Converters/DoubleToBooleanConverter.cs

Lines changed: 0 additions & 28 deletions
This file was deleted.

EssentialUIKit/Data/navigation.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,48 @@
168168
"imageURL": "ProfileImage20.png",
169169
"updatedDate": "2019-06-23"
170170
}
171+
],
172+
"songsPageList": [
173+
{
174+
"itemImage": "Songs_Image1.png",
175+
"songname": "Santorini",
176+
"composer": "Yanni"
177+
},
178+
{
179+
"itemImage": "Songs_Image2.png",
180+
"songname": "Orinoco flow",
181+
"composer": "Enya"
182+
},
183+
{
184+
"itemImage": "Songs_Image3.png",
185+
"songname": "Thanksgiving",
186+
"composer": "George Winston"
187+
},
188+
{
189+
"itemImage": "Songs_Image4.png",
190+
"songname": "The Voice Of Enigma ",
191+
"composer": "Enigma"
192+
},
193+
{
194+
"itemImage": "Songs_Image5.png",
195+
"songname": "Steam Forest",
196+
"composer": "Andreas Vollenweider"
197+
},
198+
{
199+
"itemImage": "Songs_Image6.png",
200+
"songname": "In The Morning Light",
201+
"composer": "Yanni"
202+
},
203+
{
204+
"itemImage": "Songs_Image7.png",
205+
"songname": "Children of the Sun",
206+
"composer": "Dead Can Dance "
207+
},
208+
{
209+
"itemImage": "Songs_Image8.png",
210+
"songname": "A Thousand Teardrops",
211+
"composer": "Shadowfax"
212+
}
213+
171214
]
172215
}

EssentialUIKit/EssentialUIKit.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
@@ -33,7 +33,7 @@
3333
<PackageReference Include="Syncfusion.Xamarin.Expander" Version="17.2.0.49" />
3434
<PackageReference Include="Syncfusion.Xamarin.SfBadgeView" Version="17.2.0.49" />
3535
<PackageReference Include="Syncfusion.Xamarin.SfTabView" Version="17.2.0.49" />
36-
<PackageReference Include="Xamarin.Forms" Version="4.3.0.778476-pre1" />
36+
<PackageReference Include="Xamarin.Forms" Version="4.4.0.991265" />
3737
<PackageReference Include="Syncfusion.Xamarin.Core" Version="17.3.0.9-beta" />
3838
</ItemGroup>
3939
<ItemGroup>
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
using Syncfusion.SfChart.XForms;
2+
using System.Collections.ObjectModel;
3+
using System.ComponentModel;
4+
using Xamarin.Forms.Internals;
5+
6+
namespace EssentialUIKit.Models.Dashboard
7+
{
8+
/// <summary>
9+
/// Model for Health care page.
10+
/// </summary>
11+
[Preserve(AllMembers = true)]
12+
public class HealthCare : INotifyPropertyChanged
13+
{
14+
#region Field
15+
16+
private ObservableCollection<ChartDataPoint> chartData;
17+
18+
#endregion
19+
20+
#region Events
21+
22+
/// <summary>
23+
/// The declaration of the property changed event.
24+
/// </summary>
25+
public event PropertyChangedEventHandler PropertyChanged;
26+
27+
#endregion
28+
29+
#region Property
30+
31+
/// <summary>
32+
/// Gets or sets the property that has been displays the Category.
33+
/// </summary>
34+
public string Category { get; set; }
35+
36+
/// <summary>
37+
/// Gets or sets the property that has been displays the Category value.
38+
/// </summary>
39+
public string CategoryValue { get; set; }
40+
41+
/// <summary>
42+
/// Gets or sets the property that has been displays the Category percentage.
43+
/// </summary>
44+
public string CategoryPercentage { get; set; }
45+
46+
/// <summary>
47+
/// Gets or sets the property that has been bound with SfChart Control, which displays the health care data visualization.
48+
/// </summary>
49+
public ObservableCollection<ChartDataPoint> ChartData
50+
{
51+
get
52+
{
53+
return chartData;
54+
}
55+
56+
set
57+
{
58+
if (chartData == value)
59+
{
60+
return;
61+
}
62+
63+
chartData = value;
64+
this.OnPropertyChanged("ChartData");
65+
}
66+
}
67+
68+
/// <summary>
69+
/// Gets or sets the property that has been displays the background gradient start.
70+
/// </summary>
71+
public string BackgroundGradientStart { get; set; }
72+
73+
/// <summary>
74+
/// Gets or sets the property that has been displays the background gradient end.
75+
/// </summary>
76+
public string BackgroundGradientEnd { get; set; }
77+
78+
#endregion
79+
80+
#region Methods
81+
82+
/// <summary>
83+
/// The PropertyChanged event occurs when changing the value of property.
84+
/// </summary>
85+
/// <param name="propertyName">Property name</param>
86+
protected void OnPropertyChanged(string property)
87+
{
88+
this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(property));
89+
}
90+
91+
#endregion
92+
}
93+
}

0 commit comments

Comments
 (0)