File tree 5 files changed +14
-32
lines changed
DropDownHeightCustomization/DropDownHeightCustomization
AutoCompleteEditor/Behavior
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
5
5
public App ( )
6
6
{
7
7
InitializeComponent ( ) ;
8
-
9
- MainPage = new AppShell ( ) ;
10
8
}
9
+
10
+ protected override Window CreateWindow ( IActivationState ? activationState )
11
+ {
12
+ return new Window ( new MainPage ( ) ) ;
13
+ }
11
14
}
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)
15
15
dataForm . RegisterEditor ( "City" , DataFormEditorType . ComboBox ) ;
16
16
dataForm . GenerateDataFormItem += OnGenerateDataItem ;
17
17
}
18
- private void OnGenerateDataItem ( object sender , GenerateDataFormItemEventArgs e )
18
+ private void OnGenerateDataItem ( object ? sender , GenerateDataFormItemEventArgs e )
19
19
{
20
20
if ( e . DataFormItem != null && e . DataFormItem is DataFormAutoCompleteItem autoComplete )
21
21
{
@@ -29,8 +29,6 @@ protected override void OnDetachingFrom(SfDataForm dataForm)
29
29
{
30
30
dataForm . GenerateDataFormItem -= this . OnGenerateDataItem ;
31
31
}
32
-
33
- dataForm = null ;
34
32
}
35
33
}
36
34
}
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<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 >
6
6
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
7
7
<!-- <TargetFrameworks>$(TargetFrameworks);net7.0-tizen</TargetFrameworks> -->
8
8
<OutputType >Exe</OutputType >
9
9
<RootNamespace >DropDownHeightCustomization</RootNamespace >
10
10
<UseMaui >true</UseMaui >
11
11
<SingleProject >true</SingleProject >
12
12
<ImplicitUsings >enable</ImplicitUsings >
13
+ <Nullable >enable</Nullable >
13
14
14
15
<!-- Display name -->
15
16
<ApplicationTitle >DropDownHeightCustomization</ApplicationTitle >
49
50
</ItemGroup >
50
51
51
52
<ItemGroup >
52
- <PackageReference Include =" Microsoft.Extensions.Logging.Debug" Version =" 7.0.0 " />
53
+ <PackageReference Include =" Microsoft.Extensions.Logging.Debug" Version =" * " />
53
54
<PackageReference Include =" Syncfusion.Maui.DataForm" Version =" *" />
54
55
<PackageReference Include =" Syncfusion.Maui.Inputs" Version =" *" />
55
56
<PackageReference Include =" Syncfusion.Maui.ListView" Version =" *" />
56
57
</ItemGroup >
57
-
58
+
59
+ <ItemGroup >
60
+ <PackageReference Include =" Microsoft.Maui.Controls" Version =" $(MauiVersion)" />
61
+ </ItemGroup >
58
62
</Project >
You can’t perform that action at this time.
0 commit comments