Skip to content

Commit fd2f40e

Browse files
YuvarajPalanisamyMeikandaNayanar
authored andcommitted
New screens for UIKit 2.3.0.0 release (#26)
* Committed the changes for UI Kit 2.3.0.0 Release
1 parent 78360e8 commit fd2f40e

File tree

79 files changed

+2336
-1167
lines changed

Some content is hidden

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

79 files changed

+2336
-1167
lines changed

EssentialUIKit.Android/EssentialUIKit.Android.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<TargetFrameworkVersion>v9.0</TargetFrameworkVersion>
1919
<AndroidHttpClientHandlerType>Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType>
2020
<NuGetPackageImportStamp>
21-
</NuGetPackageImportStamp>
21+
</NuGetPackageImportStamp>
2222
</PropertyGroup>
2323
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2424
<DebugSymbols>true</DebugSymbols>
@@ -39,7 +39,7 @@
3939
<ErrorReport>prompt</ErrorReport>
4040
<WarningLevel>4</WarningLevel>
4141
<AndroidManagedSymbols>true</AndroidManagedSymbols>
42-
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
42+
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
4343
</PropertyGroup>
4444
<ItemGroup>
4545
<Reference Include="Mono.Android" />
@@ -70,6 +70,9 @@
7070
<PackageReference Include="Syncfusion.Xamarin.SfCalendar">
7171
<Version>17.2.0.49</Version>
7272
</PackageReference>
73+
<PackageReference Include="Syncfusion.Xamarin.SfChart">
74+
<Version>17.2.0.49</Version>
75+
</PackageReference>
7376
<PackageReference Include="Syncfusion.Xamarin.SfComboBox" Version="17.2.0.49" />
7477
<PackageReference Include="Syncfusion.Xamarin.SfMaps" Version="17.2.0.49" />
7578
<PackageReference Include="Syncfusion.Xamarin.SfParallaxView">

EssentialUIKit.Android/MainActivity.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ protected override void OnCreate(Bundle savedInstanceState)
1818

1919
Xamarin.Forms.Forms.Init(this, savedInstanceState);
2020

21+
Syncfusion.XForms.Android.PopupLayout.SfPopupLayoutRenderer.Init();
22+
2123
Syncfusion.XForms.Android.Core.Core.Init(this);
2224

2325
this.LoadApplication(new App());

EssentialUIKit.UWP/EssentialUIKit.UWP.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@
186186
<PackageReference Include="Syncfusion.Xamarin.SfCalendar">
187187
<Version>17.2.0.49</Version>
188188
</PackageReference>
189+
<PackageReference Include="Syncfusion.Xamarin.SfChart">
190+
<Version>17.2.0.49</Version>
191+
</PackageReference>
189192
<PackageReference Include="Syncfusion.Xamarin.SfComboBox" Version="17.2.0.49" />
190193
<PackageReference Include="Syncfusion.Xamarin.SfMaps" Version="17.2.0.49" />
191194
<PackageReference Include="Syncfusion.Xamarin.SfParallaxView">

EssentialUIKit.iOS/AppDelegate.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using Foundation;
22
using Syncfusion.ListView.XForms.iOS;
33
using Syncfusion.SfCalendar.XForms.iOS;
4+
using Syncfusion.SfChart.XForms.iOS.Renderers;
45
using Syncfusion.SfMaps.XForms.iOS;
56
using Syncfusion.SfRating.XForms.iOS;
67
using Syncfusion.SfRotator.XForms.iOS;
@@ -53,6 +54,7 @@ public override bool FinishedLaunching(UIApplication app, NSDictionary options)
5354
SfTabViewRenderer.Init();
5455
SfCalendarRenderer.Init();
5556
SfLinearProgressBarRenderer.Init();
57+
SfChartRenderer.Init();
5658

5759
////UIView statusBar = UIApplication.SharedApplication.ValueForKey(new NSString("statusBar")) as UIView;
5860
////if (statusBar.RespondsToSelector(new ObjCRuntime.Selector("setBackgroundColor:")))

EssentialUIKit.iOS/EssentialUIKit.iOS.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@
156156
<PackageReference Include="Syncfusion.Xamarin.SfCalendar">
157157
<Version>17.2.0.49</Version>
158158
</PackageReference>
159+
<PackageReference Include="Syncfusion.Xamarin.SfChart">
160+
<Version>17.2.0.49</Version>
161+
</PackageReference>
159162
<PackageReference Include="Syncfusion.Xamarin.SfComboBox" Version="17.2.0.49" />
160163
<PackageReference Include="Syncfusion.Xamarin.SfMaps" Version="17.2.0.49" />
161164
<PackageReference Include="Syncfusion.Xamarin.SfParallaxView">
3.98 KB
Loading
3.98 KB
Loading
4.7 KB
Loading

EssentialUIKit/AppLayout/TemplateList.xml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</Category>
3838

3939
<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" />
40+
<Page Name="Article Detail with Comments Page" Description="This page displays an article with the title, image, and text." PageName="Views.Article.ArticleWithCommentsPage" />
4141
<Page Name="Article Parallax Header Page" IsNew="True" Description="This page displays an article with a pleasant parallax effect." PageName="Views.Article.ArticleParallaxHeaderPage" />
4242
<Page Name="My Article Page" Description="This page displays an article with the title, image, and text with customized layout." PageName="Views.Article.MyArticlePage" />
4343
</Category>
@@ -89,10 +89,10 @@
8989
<Page Name="Payment Page" Description="View card and payment details" PageName="Views.Transaction.PaymentPage" Platform="UWP"/>
9090
</Category>
9191

92-
<Category Icon="bookmark.png" Name="Bookmark" Description="Interfaces for users to save shopping items, articles, or pages they’d like to return to later. Users can add or remove items they’ve saved as needed.">
92+
<Category Icon="bookmark.png" IsUpdated="True" Name="Bookmark" Description="Interfaces for users to save shopping items, articles, or pages they’d like to return to later. Users can add or remove items they’ve saved as needed.">
9393
<Page Name="Wishlist Page" Description="This page displays a list of items that an online shopper has saved to potentially purchase later." PageName="Views.Bookmarks.WishlistPage"/>
94-
<Page Name="Cart Page" Description="This page displays a list of products as items added to a cart in a shopping application. The page also allows you to remove items from the shopping cart. " PageName="Views.Bookmarks.CartPage"/>
95-
<Page Name="Article Bookmarks Page" Description="This page displays bookmarked articles in a list. Each list card carries the image, title, author name, created date, and estimated time to read the article." PageName="Views.Bookmarks.BookmarksPage"/>
94+
<Page Name="Cart Page" IsUpdated="True" Description="This page displays a list of products as items added to a cart in a shopping application. The page also allows you to remove items from the shopping cart. " PageName="Views.Bookmarks.CartPage"/>
95+
<Page Name="Article Bookmarks Page" IsUpdated="True" Description="This page displays bookmarked articles in a list. Each list card carries the image, title, author name, created date, and estimated time to read the article." PageName="Views.Bookmarks.BookmarksPage"/>
9696
</Category>
9797

9898
<Category Icon="history.png" Name="History" Description="Displays a list of recent actions performed by the user. It can also be used to show the recent transactions in financial apps or recent purchases in shopping apps. ">
@@ -113,8 +113,16 @@
113113
<Page Name="Master Page" Description="This page displays an interactive burger menu of article pages. If you are working with a master-details page for articles, this page will be the master page for navigating across the application." PageName="Views.Profile.MasterPage"/>
114114
</Category>
115115

116-
<Category Icon="navigation.png" Name="Tracking" Description="Displays various trackings like train status, product delivery status, and more.">
116+
<Category Icon="tracking.png" Name="Tracking" Description="Displays various trackings like train status, product delivery status, and more.">
117117
<Page Name="Prodcut 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"/>
118118
</Category>
119119

120+
<Category Icon="dashboard.png" Name="Dashboard" IsNew="True" Description="A beautifully presented interface relevant to common real-world use cases.">
121+
<Page Name="Stock Overview Page" Description="This page displays a dashboard for stock market data visualization." PageName="Views.Dashboard.StockOverviewPage"/>
122+
</Category>
123+
124+
<Category Icon="setting.png" Name="Settings" IsNew="True" Description="Display various types of settings pages.">
125+
<Page Name="Setting Page" Description="This page displays a simple settings page that includes account, notification, and support settings." PageName="Views.Settings.SettingPage"/>
126+
</Category>
127+
120128
</Samples>

EssentialUIKit/Behaviors/Shopping/SegmentedControlBehavior.cs renamed to EssentialUIKit/Behaviors/Dashboard/SegmentedControlSelectionBehavior.cs

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,37 @@
11
using System;
22
using System.Windows.Input;
3+
using EssentialUIKit.ViewModels.Dashboard;
34
using Syncfusion.XForms.Buttons;
45
using Xamarin.Forms;
56
using Xamarin.Forms.Internals;
67

7-
namespace EssentialUIKit.Behaviors.Shopping
8+
namespace EssentialUIKit.Behaviors
89
{
910
/// <summary>
1011
/// This class extends the behavior of the SfSegmentedControl to invoke a command when an event occurs.
1112
/// </summary>
1213
[Preserve(AllMembers = true)]
13-
public class SegmentedControlBehavior : Behavior<SfSegmentedControl>
14+
public class SegmentedControlSelectionBehavior : Behavior<SfSegmentedControl>
1415
{
1516
#region Properties
1617

1718
/// <summary>
1819
/// Gets or sets the CommandProperty, and it is a bindable property.
1920
/// </summary>
2021
public static readonly BindableProperty CommandProperty =
21-
BindableProperty.Create("Command", typeof(ICommand), typeof(SegmentedControlBehavior));
22+
BindableProperty.Create("Command", typeof(ICommand), typeof(SegmentedControlCommandBehavior));
2223

2324
/// <summary>
2425
/// Gets or sets the CommandParameterProperty, and it is a bindable property.
2526
/// </summary>
2627
public static readonly BindableProperty CommandParameterProperty =
27-
BindableProperty.Create("CommandParameter", typeof(object), typeof(SegmentedControlBehavior));
28+
BindableProperty.Create("CommandParameter", typeof(object), typeof(SegmentedControlCommandBehavior));
29+
30+
/// <summary>
31+
/// Gets or sets the ParentBindingContextProperty, and it is a bindable property.
32+
/// </summary>
33+
public static readonly BindableProperty ParentBindingContextProperty =
34+
BindableProperty.Create("ParentBindingContext", typeof(object), typeof(SegmentedControlCommandBehavior));
2835

2936
/// <summary>
3037
/// Gets or sets the Command.
@@ -44,6 +51,15 @@ public object CommandParameter
4451
set { this.SetValue(CommandParameterProperty, value); }
4552
}
4653

54+
/// <summary>
55+
/// Gets or sets the ParentBindingContext.
56+
/// </summary>
57+
public object ParentBindingContext
58+
{
59+
get { return this.GetValue(ParentBindingContextProperty); }
60+
set { this.SetValue(ParentBindingContextProperty, value); }
61+
}
62+
4763
/// <summary>
4864
/// Gets the SegmentedControl.
4965
/// </summary>
@@ -98,9 +114,15 @@ private void OnSelectionChanged(object sender, Syncfusion.XForms.Buttons.Selecti
98114
return;
99115
}
100116

101-
if (this.Command.CanExecute(e))
117+
var context = ParentBindingContext as StockOverviewViewModel;
118+
if ( context != null )
119+
{
120+
context.SelectedDataVariantIndex = e.Index;
121+
}
122+
123+
if (this.Command.CanExecute(CommandParameter))
102124
{
103-
this.Command.Execute(e);
125+
this.Command.Execute(CommandParameter);
104126
}
105127
}
106128

0 commit comments

Comments
 (0)