Skip to content

Commit f32c044

Browse files
committed
fixes.
1 parent b146f88 commit f32c044

File tree

3 files changed

+20
-13
lines changed

3 files changed

+20
-13
lines changed

MyFinance/MauiProgram.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace MyFinance;
99
[MauiMarkup(typeof(StatusBarBehavior), typeof(TextEdit), typeof(TextEditBase), typeof(EditBase), typeof(ComboBoxEdit))]
1010
[MauiMarkup(typeof(PasswordEdit), typeof(CheckEdit), typeof(DXPopup), typeof(ComboBoxEditBase), typeof(ItemsEditBase))]
1111
[MauiMarkup(typeof(DXImage), typeof(DXButton), typeof(DXViewBase), typeof(DXBorder), typeof(DXContentPresenterBase))]
12-
[MauiMarkup(typeof(DXContentPresenter), typeof(DXCollectionView), typeof(CartesianChart))]
12+
[MauiMarkup(typeof(DXContentPresenter), typeof(DXCollectionView), typeof(CartesianChart), typeof(DXCalendar), typeof(AnimationBehavior))]
1313
public static class MauiProgram
1414
{
1515
public static MauiApp CreateMauiApp()

MyFinance/MyFinance.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
6666
<PackageReference Include="DevExpress.Maui.Controls" Version="24.1.1-alpha-24085" />
6767
<PackageReference Include="DevExpress.Maui.Editors" Version="24.1.1-alpha-24085" />
68-
<PackageReference Include="FmgLib.MauiMarkup" Version="8.3.0-prev1.0.1" />
68+
<PackageReference Include="FmgLib.MauiMarkup" Version="8.3.0" />
6969
<PackageReference Include="LiveChartsCore.SkiaSharpView.Maui" Version="2.0.0-rc2" />
7070
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.4" />
7171
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.21" />

MyFinance/Views/ChartPage.cs

+18-11
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,24 @@ public override void Build()
4747
)
4848
),
4949

50-
new ComboBoxEdit()
51-
.Row(1)
52-
.SelectedIndex(e => e.Path("CType"))
53-
.SelectionChangedCommand(e => e.Path("ChartTypeChangedCommand"))
54-
.ItemsSource(new List<string>
55-
{
56-
"Haftalık Grafik",
57-
"Aylık Grafik",
58-
"6 Aylık Grafik",
59-
"Yıllık Grafik"
60-
}),
50+
new Grid()
51+
.ColumnDefinitions(e => e.Star().Star())
52+
.Children(
53+
new ComboBoxEdit()
54+
.Row(1)
55+
.SelectedIndex(e => e.Path("CType"))
56+
.ItemsSource(new List<string>
57+
{
58+
"Haftalık Grafik",
59+
"Aylık Grafik",
60+
"6 Aylık Grafik",
61+
"Yıllık Grafik"
62+
}),
63+
64+
new Button()
65+
.Text("Listele")
66+
.Command(e => e.Path("ChartTypeChangedCommand"))
67+
),
6168

6269
new CartesianChart()
6370
.Row(2)

0 commit comments

Comments
 (0)