File tree Expand file tree Collapse file tree 5 files changed +14
-32
lines changed
DropDownHeightCustomization/DropDownHeightCustomization
AutoCompleteEditor/Behavior Expand file tree Collapse file tree 5 files changed +14
-32
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,10 @@ public partial class App : Application
55 public App ( )
66 {
77 InitializeComponent ( ) ;
8-
9- MainPage = new AppShell ( ) ;
108 }
9+
10+ protected override Window CreateWindow ( IActivationState ? activationState )
11+ {
12+ return new Window ( new MainPage ( ) ) ;
13+ }
1114}
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ protected override void OnAttachedTo(SfDataForm dataForm)
1515 dataForm . RegisterEditor ( "City" , DataFormEditorType . ComboBox ) ;
1616 dataForm . GenerateDataFormItem += OnGenerateDataItem ;
1717 }
18- private void OnGenerateDataItem ( object sender , GenerateDataFormItemEventArgs e )
18+ private void OnGenerateDataItem ( object ? sender , GenerateDataFormItemEventArgs e )
1919 {
2020 if ( e . DataFormItem != null && e . DataFormItem is DataFormAutoCompleteItem autoComplete )
2121 {
@@ -29,8 +29,6 @@ protected override void OnDetachingFrom(SfDataForm dataForm)
2929 {
3030 dataForm . GenerateDataFormItem -= this . OnGenerateDataItem ;
3131 }
32-
33- dataForm = null ;
3432 }
3533 }
3634}
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >net7 .0-android;net7 .0-ios;net7 .0-maccatalyst</TargetFrameworks >
5- <TargetFrameworks Condition =" $([MSBuild]::IsOSPlatform('windows'))" >$(TargetFrameworks);net7 .0-windows10.0.19041.0</TargetFrameworks >
4+ <TargetFrameworks >net9 .0-android;net9 .0-ios;net9 .0-maccatalyst</TargetFrameworks >
5+ <TargetFrameworks Condition =" $([MSBuild]::IsOSPlatform('windows'))" >$(TargetFrameworks);net9 .0-windows10.0.19041.0</TargetFrameworks >
66 <!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
77 <!-- <TargetFrameworks>$(TargetFrameworks);net7.0-tizen</TargetFrameworks> -->
88 <OutputType >Exe</OutputType >
99 <RootNamespace >DropDownHeightCustomization</RootNamespace >
1010 <UseMaui >true</UseMaui >
1111 <SingleProject >true</SingleProject >
1212 <ImplicitUsings >enable</ImplicitUsings >
13+ <Nullable >enable</Nullable >
1314
1415 <!-- Display name -->
1516 <ApplicationTitle >DropDownHeightCustomization</ApplicationTitle >
4950 </ItemGroup >
5051
5152 <ItemGroup >
52- <PackageReference Include =" Microsoft.Extensions.Logging.Debug" Version =" 7.0.0 " />
53+ <PackageReference Include =" Microsoft.Extensions.Logging.Debug" Version =" * " />
5354 <PackageReference Include =" Syncfusion.Maui.DataForm" Version =" *" />
5455 <PackageReference Include =" Syncfusion.Maui.Inputs" Version =" *" />
5556 <PackageReference Include =" Syncfusion.Maui.ListView" Version =" *" />
5657 </ItemGroup >
57-
58+
59+ <ItemGroup >
60+ <PackageReference Include =" Microsoft.Maui.Controls" Version =" $(MauiVersion)" />
61+ </ItemGroup >
5862</Project >
You can’t perform that action at this time.
0 commit comments