diff --git a/src/WorkFlowCheck.MAUI/MauiProgram.cs b/src/WorkFlowCheck.MAUI/MauiProgram.cs index c44c55f..20e9327 100644 --- a/src/WorkFlowCheck.MAUI/MauiProgram.cs +++ b/src/WorkFlowCheck.MAUI/MauiProgram.cs @@ -7,6 +7,9 @@ using CommunityToolkit.Maui; using WorkFlowCheck.MAUI.DataLayer; using WorkFlowCheck.MAUI.Mapper; using WorkFlowCheck.MAUI.Services.Interfaces; +using DevExpress.Maui; +using Microsoft.Maui.Controls.Hosting; +using Microsoft.Maui.Hosting; namespace WorkFlowCheck.MAUI { @@ -15,6 +18,9 @@ namespace WorkFlowCheck.MAUI public static MauiApp CreateMauiApp() { var builder = MauiApp.CreateBuilder(); + builder.UseDevExpress(useLocalization: false) + .UseDevExpressControls() + .UseDevExpressCollectionView(); builder.Services.AddAutoMapper(typeof(MapperProfile)); // appsettings.json beállítása string jsonFilePath = Path.Combine(FileSystem.AppDataDirectory, "appsettings.json"); @@ -42,12 +48,14 @@ namespace WorkFlowCheck.MAUI builder.Services.AddSingleton(); builder.Services.AddTransient(); - - builder.UseMauiApp().ConfigureFonts(fonts => - { - fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); - fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); - }).UseMauiCommunityToolkit(); + + builder.UseMauiApp() + .UseDevExpressEditors() + .ConfigureFonts(fonts => + { + fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); + fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); + }).UseMauiCommunityToolkit(); #if DEBUG builder.Logging.AddDebug(); #endif diff --git a/src/WorkFlowCheck.MAUI/Pages/BaseStock/CheckPoints/CheckPointsPage.xaml b/src/WorkFlowCheck.MAUI/Pages/BaseStock/CheckPoints/CheckPointsPage.xaml index 36f2734..8a05b12 100644 --- a/src/WorkFlowCheck.MAUI/Pages/BaseStock/CheckPoints/CheckPointsPage.xaml +++ b/src/WorkFlowCheck.MAUI/Pages/BaseStock/CheckPoints/CheckPointsPage.xaml @@ -11,11 +11,14 @@