From 6b02616d75a5ae6b36c263ddca89e3ad903523e8 Mon Sep 17 00:00:00 2001 From: Avnish Kumar Date: Thu, 23 May 2024 16:50:05 +0530 Subject: [PATCH] No changes made to logo.png No changes were made to the logo.png file in this commit as per the provided information. --- .../ClassToXaml.Windows.csproj | 2 +- ClassToXaml.Windows/Package.appxmanifest | 2 +- .../PublishProfiles/ClickOnceProfile.pubxml | 36 +++++++ .../PublishProfiles/win-arm64.pubxml | 25 ----- ClassToXaml/App.cs | 2 +- ClassToXaml/Assets/logo.png | Bin 0 -> 9893 bytes ClassToXaml/Presentation/MainPage.xaml | 58 ++++++++--- ClassToXaml/Presentation/MainViewModel.cs | 91 ++++++++++++++++-- ClassToXaml/Presentation/SecondPage.xaml | 78 ++++++++------- ClassToXaml/Presentation/SecondViewModel.cs | 2 +- 10 files changed, 210 insertions(+), 86 deletions(-) create mode 100644 ClassToXaml.Windows/Properties/PublishProfiles/ClickOnceProfile.pubxml delete mode 100644 ClassToXaml.Windows/Properties/PublishProfiles/win-arm64.pubxml create mode 100644 ClassToXaml/Assets/logo.png diff --git a/ClassToXaml.Windows/ClassToXaml.Windows.csproj b/ClassToXaml.Windows/ClassToXaml.Windows.csproj index 9e99db0..bebdafd 100644 --- a/ClassToXaml.Windows/ClassToXaml.Windows.csproj +++ b/ClassToXaml.Windows/ClassToXaml.Windows.csproj @@ -12,7 +12,7 @@ False False SHA256 - True + False False True Never diff --git a/ClassToXaml.Windows/Package.appxmanifest b/ClassToXaml.Windows/Package.appxmanifest index 7eda2a0..648e5c2 100644 --- a/ClassToXaml.Windows/Package.appxmanifest +++ b/ClassToXaml.Windows/Package.appxmanifest @@ -1,4 +1,4 @@ - + + + + + 0 + 1.0.0.* + True + Release + False + true + True + Disk + True + False + True + False + x64 + bin\Release\net8.0-windows10.0.19041.0\win-x64\app.publish\ + bin\publish\ + ClickOnce + True + True + win-x64 + True + (none) + False + false + net8.0-windows10.0.19041.0 + False + Foreground + False + Publish.html + + \ No newline at end of file diff --git a/ClassToXaml.Windows/Properties/PublishProfiles/win-arm64.pubxml b/ClassToXaml.Windows/Properties/PublishProfiles/win-arm64.pubxml deleted file mode 100644 index ceed00b..0000000 --- a/ClassToXaml.Windows/Properties/PublishProfiles/win-arm64.pubxml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - FileSystem - x64 - win-x64 - bin\\\win-arm64\publish\ - true - true - False - true - Release - net8.0-windows10.0.19041.0 - false - - - - \ No newline at end of file diff --git a/ClassToXaml/App.cs b/ClassToXaml/App.cs index cb567d9..0740dcb 100644 --- a/ClassToXaml/App.cs +++ b/ClassToXaml/App.cs @@ -36,7 +36,7 @@ private static void RegisterRoutes(IViewRegistry views, IRouteRegistry routes) views.Register( new ViewMap(ViewModel: typeof(ShellViewModel)), new ViewMap(), - new DataViewMap() + new ViewMap() ); routes.Register( diff --git a/ClassToXaml/Assets/logo.png b/ClassToXaml/Assets/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..04ed920e83cc5898c863ae0203f504b829883cee GIT binary patch literal 9893 zcmai)Wl&r}wC4lCbs)IUFeEs^A^0%3LvS732@>2wfZ%Sy-QAtw65O2t!5sz&zPx?= z;l16h-4A_lcUSePzSZY;pZ~8TN;Wu&31Z{8q)UJDQn<+W#pv4Z6F zh2X3z1wmLEX7+n+pns9pc7F2)r|&-sLLw6m`I|TIWo4jZpWV|>GEkfK)e{GwOw%0` zaBesd`Vq&mXrhdfB`75%!SvEoG^$W#007X3hQ_A~!3Gz~V6)_iTOuF^!jsp%9NOdB zQ*Uq5{p?S_IM>aWcx5@Az1;d7UB%yCj(Ot_orKw-D)>Z=Cbj)?yC8FhjruHn>j*0-gMe=^;VQ-o@U8r4ebY6X$8lbQdf0v zE&=b|_nfUIW#$Hw>6qgTBiz5ZdmDZ)yFoCpJD-=6Map6Dm}?I(GHp6|;mtyIl2m9Q z-&E#n_%rZqLzO=M@+vO9{F?uF8jJZpb4R?kL0nw~gVzEV~fqWK!2Na9gXlyrz$6EZ* zH}j5;e!1fTF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7zO+f8p7T< literal 0 HcmV?d00001 diff --git a/ClassToXaml/Presentation/MainPage.xaml b/ClassToXaml/Presentation/MainPage.xaml index a176077..73f1743 100644 --- a/ClassToXaml/Presentation/MainPage.xaml +++ b/ClassToXaml/Presentation/MainPage.xaml @@ -24,26 +24,44 @@ Grid.ColumnSpan="2" Margin="0,0,0,4" Content="Class To XAML(UWP, WinUI, WPF, MAUI)" /> - - - - - - - - + Orientation="Horizontal"> + + + + + + + + + + + + CornerRadius="4"> + + + + "); + xamlText.AppendLine(GenerateXaml(text, columnCount)); + } + } + else if (classMatches.Count == 1) + { + return GenerateXaml(classText, columnCount); + } + return xamlText.ToString(); + } + + private string GenerateXaml(string classText, int columnCount) + { var properties = GetPublicProperty(classText); if (properties == null || !properties.Any()) { @@ -225,7 +300,7 @@ private string AddMargin() } return $"Margin=\"{Margin}\""; } - Dictionary typeMap = new(StringComparer.OrdinalIgnoreCase) + private Dictionary typeMap = new(StringComparer.OrdinalIgnoreCase) { { "TextBlock", "Label" }, { "TextBox", "Entry" }, @@ -272,11 +347,7 @@ private void GenerateControlText(int columnCount, StringBuilder xamlBuilder, int } } - public ICommand GoToSecond { get; } - - private async Task GoToSecondView() - { - await _navigator.NavigateViewModelAsync(this, data: new Entity(Name!)); - } + public ICommand GoToSecond => new AsyncRelayCommand(async () => await _navigator.NavigateViewModelAsync(this)); + public ICommand ExampleCommand => new RelayCommand(() => InputText = placeHolder); } diff --git a/ClassToXaml/Presentation/SecondPage.xaml b/ClassToXaml/Presentation/SecondPage.xaml index 755ff11..c6a66dd 100644 --- a/ClassToXaml/Presentation/SecondPage.xaml +++ b/ClassToXaml/Presentation/SecondPage.xaml @@ -1,36 +1,48 @@ - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + + + + + + + + diff --git a/ClassToXaml/Presentation/SecondViewModel.cs b/ClassToXaml/Presentation/SecondViewModel.cs index 6ecf447..dc0b436 100644 --- a/ClassToXaml/Presentation/SecondViewModel.cs +++ b/ClassToXaml/Presentation/SecondViewModel.cs @@ -1,5 +1,5 @@ namespace ClassToXaml.Presentation; -public partial record SecondViewModel(Entity Entity) +public partial record SecondViewModel() { }