Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 5 additions & 17 deletions ConfigureTabItem/ConfigureTabItem/ConfigureTabItem.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0-ios;net6.0-android;net6.0-maccatalyst</TargetFrameworks>
<!-- <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) and '$(MSBuildRuntimeType)' == 'Full'">$(TargetFrameworks);net6.0-windows10.0.19041</TargetFrameworks> -->
<TargetFrameworks>net9.0-ios;net9.0-android;net9.0-maccatalyst</TargetFrameworks>
<!--<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) and '$(MSBuildRuntimeType)' == 'Full'">$(TargetFrameworks);net9.0-windows10.0.19041</TargetFrameworks>-->
<OutputType>Exe</OutputType>
<RootNamespace>ConfigureTabItem</RootNamespace>
<UseMaui>true</UseMaui>
Expand All @@ -16,7 +16,7 @@
<ApplicationId>com.companyname.ConfigureTabItem</ApplicationId>

<!-- Versions -->
<ApplicationVersion>1.0</ApplicationVersion>
<ApplicationVersion>1</ApplicationVersion>
<AndroidVersionCode>1</AndroidVersionCode>

<!-- Required for C# Hot Reload -->
Expand All @@ -37,21 +37,9 @@
<MauiFont Include="Resources\Fonts\*" />
</ItemGroup>

<ItemGroup Condition="$(TargetFramework.Contains('-windows'))">
<!-- Required - WinUI does not yet have buildTransitive for everything -->
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.0.0-experimental1" />
<PackageReference Include="Microsoft.WindowsAppSDK.Foundation" Version="1.0.0-experimental1" />
<PackageReference Include="Microsoft.WindowsAppSDK.WinUI" Version="1.0.0-experimental1" />
<PackageReference Include="Microsoft.WindowsAppSDK.InteractiveExperiences" Version="1.0.0-experimental1" NoWarn="NU1701" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Syncfusion.Maui.TabView" Version="19.3.0.43-preview" />
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
<PackageReference Include="Syncfusion.Maui.TabView" Version="*" />
</ItemGroup>

<PropertyGroup Condition="$(TargetFramework.Contains('-windows'))">
<OutputType>WinExe</OutputType>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
</PropertyGroup>

</Project>
6 changes: 3 additions & 3 deletions ConfigureTabItem/ConfigureTabItem/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<ContentPage.Content>
<tabView:SfTabView>
<tabView:SfTabItem Header="Alexandar" ImageSource="alexandar" TabImagePosition="Left">
<tabView:SfTabItem Header="Alexandar" ImageSource="alexandar" ImagePosition="Left">
<tabView:SfTabItem.Content>
<ListView RowHeight="50">
<ListView.ItemsSource>
Expand Down Expand Up @@ -34,7 +34,7 @@
</ListView>
</tabView:SfTabItem.Content>
</tabView:SfTabItem>
<tabView:SfTabItem Header="Gabriella" ImageSource="gabriella" TabImagePosition="Left">
<tabView:SfTabItem Header="Gabriella" ImageSource="gabriella" ImagePosition="Left">
<tabView:SfTabItem.Content>
<ListView RowHeight="50">
<ListView.ItemsSource>
Expand Down Expand Up @@ -62,7 +62,7 @@
</ListView>
</tabView:SfTabItem.Content>
</tabView:SfTabItem>
<tabView:SfTabItem Header="Clara" ImageSource="clara" TabImagePosition="Left">
<tabView:SfTabItem Header="Clara" ImageSource="clara" ImagePosition="Left">
<tabView:SfTabItem.Content>
<ListView RowHeight="50">
<ListView.ItemsSource>
Expand Down
2 changes: 0 additions & 2 deletions ConfigureTabItem/ConfigureTabItem/MainPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Microsoft.Maui.Controls;
using Microsoft.Maui.Essentials;
using System;

namespace ConfigureTabItem
{
Expand Down
2 changes: 1 addition & 1 deletion ConfigureTabItem/ConfigureTabItem/MauiProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static MauiApp CreateMauiApp()
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.ConfigureSyncfusionCoreElement()
.ConfigureSyncfusionCore()
.ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Android.App;
using Android.Runtime;
using Microsoft.Maui;
using Microsoft.Maui.Hosting;
using System;

namespace ConfigureTabItem
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Foundation;
using Microsoft.Maui;
using Microsoft.Maui.Hosting;

namespace ConfigureTabItem
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Foundation;
using Microsoft.Maui;
using Microsoft.Maui.Hosting;

namespace ConfigureTabItem
{
Expand Down
18 changes: 9 additions & 9 deletions CreateNestedTabViews_MAUI/CreateNestedTabViews_MAUI.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks>
<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.0-windows10.0.19041.0</TargetFrameworks>
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
<!-- <TargetFrameworks>$(TargetFrameworks);net7.0-tizen</TargetFrameworks> -->
<OutputType>Exe</OutputType>
Expand Down Expand Up @@ -49,13 +49,13 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" />
<PackageReference Include="Syncfusion.Maui.Calendar" Version="21.2.3" />
<PackageReference Include="Syncfusion.Maui.Charts" Version="21.2.3" />
<PackageReference Include="Syncfusion.Maui.Inputs" Version="21.2.3" />
<PackageReference Include="Syncfusion.Maui.Scheduler" Version="21.2.3" />
<PackageReference Include="Syncfusion.Maui.Sliders" Version="21.2.3" />
<PackageReference Include="Syncfusion.Maui.TabView" Version="21.2.3" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0" />
<PackageReference Include="Syncfusion.Maui.Calendar" Version="*" />
<PackageReference Include="Syncfusion.Maui.Charts" Version="*" />
<PackageReference Include="Syncfusion.Maui.Inputs" Version="*" />
<PackageReference Include="Syncfusion.Maui.Scheduler" Version="*" />
<PackageReference Include="Syncfusion.Maui.Sliders" Version="*" />
<PackageReference Include="Syncfusion.Maui.TabView" Version="*" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0-android;net6.0-ios;net6.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) and '$(MSBuildRuntimeType)' == 'Full'">$(TargetFrameworks);net6.0-windows10.0.19041</TargetFrameworks>
<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) and '$(MSBuildRuntimeType)' == 'Full'">$(TargetFrameworks);net9.0-windows10.0.19041</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>TabViewSample</RootNamespace>
<UseMaui>true</UseMaui>
Expand Down Expand Up @@ -48,12 +48,12 @@

<ItemGroup Condition="$(TargetFramework.Contains('-windows'))">
<!-- Required - WinUI does not yet have buildTransitive for everything -->
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.0.0" />
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.0.30" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="*" />
<PackageReference Include="Microsoft.Graphics.Win2D" Version="*" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Syncfusion.Maui.TabView" Version="19.4.53-preview" />
<PackageReference Include="Syncfusion.Maui.TabView" Version="*" />
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion NativeEmbeddingAndroid/MainActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using Microsoft.Maui.Embedding;
using Syncfusion.Maui.Core.Hosting;
using Microsoft.Maui.Platform;
using Microsoft.Maui.Controls.Embedding;

namespace NativeEmbeddingAndroid
{
Expand All @@ -15,7 +16,7 @@ protected override void OnCreate(Bundle? savedInstanceState)
{
base.OnCreate(savedInstanceState);
MauiAppBuilder builder = MauiApp.CreateBuilder();
builder.UseMauiEmbedding<Microsoft.Maui.Controls.Application>();
builder.UseMauiEmbeddedApp<Microsoft.Maui.Controls.Application>();
builder.ConfigureSyncfusionCore();
MauiApp mauiApp = builder.Build();
_mauiContext = new MauiContext(mauiApp.Services, this);
Expand Down
2 changes: 1 addition & 1 deletion NativeEmbeddingAndroid/NativeEmbeddingAndroid.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0-android</TargetFramework>
<TargetFramework>net9.0-android</TargetFramework>
<SupportedOSPlatformVersion>21</SupportedOSPlatformVersion>
<OutputType>Exe</OutputType>
<Nullable>enable</Nullable>
Expand Down
2 changes: 0 additions & 2 deletions NestedTabViewSample/NestedTabViewSample/MainPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Microsoft.Maui.Controls;
using Microsoft.Maui.Essentials;
using System;

namespace NestedTabViewSample
{
Expand Down
2 changes: 1 addition & 1 deletion NestedTabViewSample/NestedTabViewSample/MauiProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static MauiApp CreateMauiApp()
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.ConfigureSyncfusionCoreElement()
.ConfigureSyncfusionCore()
.ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0-ios;net6.0-android;net6.0-maccatalyst</TargetFrameworks>
<TargetFrameworks>net9.0-ios;net9.0-android;net9.0-maccatalyst</TargetFrameworks>
<!-- <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) and '$(MSBuildRuntimeType)' == 'Full'">$(TargetFrameworks);net6.0-windows10.0.19041</TargetFrameworks> -->
<OutputType>Exe</OutputType>
<RootNamespace>NestedTabViewSample</RootNamespace>
Expand All @@ -16,7 +16,7 @@
<ApplicationId>com.companyname.NestedTabViewSample</ApplicationId>

<!-- Versions -->
<ApplicationVersion>1.0</ApplicationVersion>
<ApplicationVersion>1</ApplicationVersion>
<AndroidVersionCode>1</AndroidVersionCode>

<!-- Required for C# Hot Reload -->
Expand Down Expand Up @@ -46,7 +46,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Syncfusion.Maui.TabView" Version="19.3.0.43-preview" />
<PackageReference Include="Syncfusion.Maui.TabView" Version="*" />
</ItemGroup>

<PropertyGroup Condition="$(TargetFramework.Contains('-windows'))">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Android.App;
using Android.Runtime;
using Microsoft.Maui;
using Microsoft.Maui.Hosting;
using System;

namespace NestedTabViewSample
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Foundation;
using Microsoft.Maui;
using Microsoft.Maui.Hosting;

namespace NestedTabViewSample
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Foundation;
using Microsoft.Maui;
using Microsoft.Maui.Hosting;

namespace NestedTabViewSample
{
Expand Down
28 changes: 14 additions & 14 deletions PopulatingItemTabView/PopulatingItemTabView/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<tabView:SfTabItem Header="FAVOURITES">
<tabView:SfTabItem.Content>
<Grid>
<Grid GridLayout.Row="1" VerticalOptions="End" HeightRequest="20">
<Grid Grid.Row="1" VerticalOptions="End" HeightRequest="20">
<Grid.Background>
<LinearGradientBrush EndPoint="0,1">
<GradientStop Color="Transparent" Offset="0.1" />
Expand All @@ -40,28 +40,28 @@
<DataTemplate>
<ViewCell>
<Grid ColumnDefinitions="48,*,48,48" Margin="10,5">
<Image GridLayout.Column="0"
<Image Grid.Column="0"
WidthRequest="35"
HeightRequest="35"
VerticalOptions="Center"
HorizontalOptions="Center"
Aspect="AspectFit"
Source="contact_image" />
<Label GridLayout.Column="1"
<Label Grid.Column="1"
VerticalOptions="Center"
HorizontalOptions="Start"
Margin="5,0"
TextColor="#666666"
FontSize="16"
Text="{Binding}" />
<Image GridLayout.Column="2"
<Image Grid.Column="2"
WidthRequest="35"
HeightRequest="35"
VerticalOptions="Center"
HorizontalOptions="Center"
Aspect="AspectFit"
Source="mail" />
<Image GridLayout.Column="3"
<Image Grid.Column="3"
WidthRequest="35"
HeightRequest="35"
VerticalOptions="Center"
Expand All @@ -80,7 +80,7 @@
<tabView:SfTabItem Header="RECENTS">
<tabView:SfTabItem.Content>
<Grid>
<Grid GridLayout.Row="1" VerticalOptions="End" HeightRequest="20">
<Grid Grid.Row="1" VerticalOptions="End" HeightRequest="20">
<Grid.Background>
<LinearGradientBrush EndPoint="0,1">
<GradientStop Color="#FFFFFF" Offset="0.1" />
Expand Down Expand Up @@ -116,20 +116,20 @@
<DataTemplate>
<ViewCell>
<Grid ColumnDefinitions="48,*,48" Margin="10,5">
<Image GridLayout.Column="0"
<Image Grid.Column="0"
WidthRequest="35"
HeightRequest="35"
VerticalOptions="Center"
HorizontalOptions="Center"
Aspect="AspectFit"
Source="incoming" />
<Label GridLayout.Column="1"
<Label Grid.Column="1"
VerticalOptions="Center"
HorizontalOptions="Start"
TextColor="#666666"
FontSize="16"
Text="{Binding}" />
<Image GridLayout.Column="2"
<Image Grid.Column="2"
WidthRequest="40"
HeightRequest="40"
VerticalOptions="Center"
Expand All @@ -148,7 +148,7 @@
<tabView:SfTabItem Header="CONTACTS">
<tabView:SfTabItem.Content>
<Grid>
<Grid GridLayout.Row="1" VerticalOptions="End" HeightRequest="20">
<Grid Grid.Row="1" VerticalOptions="End" HeightRequest="20">
<Grid.Background>
<LinearGradientBrush EndPoint="0,1">
<GradientStop Color="Transparent" Offset="0.1" />
Expand Down Expand Up @@ -184,28 +184,28 @@
<DataTemplate>
<ViewCell>
<Grid ColumnDefinitions="48,*,48,48" Margin="10,5">
<Image GridLayout.Column="0"
<Image Grid.Column="0"
WidthRequest="35"
HeightRequest="35"
VerticalOptions="Center"
HorizontalOptions="Center"
Aspect="AspectFit"
Source="contact_image" />
<Label GridLayout.Column="1"
<Label Grid.Column="1"
VerticalOptions="Center"
HorizontalOptions="Start"
Margin="5,0"
TextColor="#666666"
FontSize="16"
Text="{Binding}" />
<Image GridLayout.Column="2"
<Image Grid.Column="2"
WidthRequest="35"
HeightRequest="35"
VerticalOptions="Center"
HorizontalOptions="Center"
Aspect="AspectFit"
Source="mail" />
<Image GridLayout.Column="3"
<Image Grid.Column="3"
WidthRequest="35"
HeightRequest="35"
VerticalOptions="Center"
Expand Down
3 changes: 0 additions & 3 deletions PopulatingItemTabView/PopulatingItemTabView/MainPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using Microsoft.Maui.Controls;
using Microsoft.Maui.Essentials;
using System;

namespace PopulatingItemTabView
{
public partial class MainPage : ContentPage
Expand Down
2 changes: 1 addition & 1 deletion PopulatingItemTabView/PopulatingItemTabView/MauiProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static MauiApp CreateMauiApp()
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.ConfigureSyncfusionCoreElement()
.ConfigureSyncfusionCore()
.ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
Expand Down
Loading