From bec14c553f6d317f98738e793c5efda50080c8ac Mon Sep 17 00:00:00 2001 From: KompelliSravanSyncfusion Date: Wed, 14 May 2025 19:38:20 +0530 Subject: [PATCH 1/4] Updated the sample --- .../Common ItemsSource WPF.sln | 22 ---- .../Common ItemsSource WPF.csproj | 118 ------------------ .../Common ItemsSource WPF_2010.csproj | 118 ------------------ .../Properties/AssemblyInfo.cs | 55 -------- .../Properties/Resources.Designer.cs | 71 ----------- .../Properties/Resources.resx | 117 ----------------- .../Properties/Settings.Designer.cs | 30 ----- .../Properties/Settings.settings | 7 -- .../Common ItemsSource WPF_2010.sln | 22 ---- .../App.xaml | 0 .../App.xaml.cs | 7 +- Common_ItemsSource_WPF/AssemblyInfo.cs | 10 ++ .../Common_ItemsSource_WPF.csproj | 15 +++ .../Common_ItemsSource_WPF.csproj.user | 4 + .../Common_ItemsSource_WPF.sln | 25 ++++ .../MainWindow.xaml | 4 +- .../MainWindow.xaml.cs | 8 +- .../ViewModel.cs | 4 +- .../model}/PriceData.cs | 0 .../SeriesDataTemplateSelector.cs | 0 .../sfchartext}/SfChartExt.cs | 0 .../view}/CommonChartView.xaml | 0 .../view}/CommonChartView.xaml.cs | 0 23 files changed, 63 insertions(+), 574 deletions(-) delete mode 100644 Common ItemsSource WPF/Common ItemsSource WPF.sln delete mode 100644 Common ItemsSource WPF/Common ItemsSource WPF/Common ItemsSource WPF.csproj delete mode 100644 Common ItemsSource WPF/Common ItemsSource WPF/Common ItemsSource WPF_2010.csproj delete mode 100644 Common ItemsSource WPF/Common ItemsSource WPF/Properties/AssemblyInfo.cs delete mode 100644 Common ItemsSource WPF/Common ItemsSource WPF/Properties/Resources.Designer.cs delete mode 100644 Common ItemsSource WPF/Common ItemsSource WPF/Properties/Resources.resx delete mode 100644 Common ItemsSource WPF/Common ItemsSource WPF/Properties/Settings.Designer.cs delete mode 100644 Common ItemsSource WPF/Common ItemsSource WPF/Properties/Settings.settings delete mode 100644 Common ItemsSource WPF/Common ItemsSource WPF_2010.sln rename {Common ItemsSource WPF/Common ItemsSource WPF => Common_ItemsSource_WPF}/App.xaml (100%) rename {Common ItemsSource WPF/Common ItemsSource WPF => Common_ItemsSource_WPF}/App.xaml.cs (62%) create mode 100644 Common_ItemsSource_WPF/AssemblyInfo.cs create mode 100644 Common_ItemsSource_WPF/Common_ItemsSource_WPF.csproj create mode 100644 Common_ItemsSource_WPF/Common_ItemsSource_WPF.csproj.user create mode 100644 Common_ItemsSource_WPF/Common_ItemsSource_WPF.sln rename {Common ItemsSource WPF/Common ItemsSource WPF => Common_ItemsSource_WPF}/MainWindow.xaml (90%) rename {Common ItemsSource WPF/Common ItemsSource WPF => Common_ItemsSource_WPF}/MainWindow.xaml.cs (81%) rename {Common ItemsSource WPF/Common ItemsSource WPF/ViewModel => Common_ItemsSource_WPF}/ViewModel.cs (99%) rename {Common ItemsSource WPF/Common ItemsSource WPF/Model => Common_ItemsSource_WPF/model}/PriceData.cs (100%) rename {Common ItemsSource WPF/Common ItemsSource WPF/SeriesDataTemplateSelector => Common_ItemsSource_WPF/seriesdatatemplateselector}/SeriesDataTemplateSelector.cs (100%) rename {Common ItemsSource WPF/Common ItemsSource WPF/SfChartExt => Common_ItemsSource_WPF/sfchartext}/SfChartExt.cs (100%) rename {Common ItemsSource WPF/Common ItemsSource WPF/View => Common_ItemsSource_WPF/view}/CommonChartView.xaml (100%) rename {Common ItemsSource WPF/Common ItemsSource WPF/View => Common_ItemsSource_WPF/view}/CommonChartView.xaml.cs (100%) diff --git a/Common ItemsSource WPF/Common ItemsSource WPF.sln b/Common ItemsSource WPF/Common ItemsSource WPF.sln deleted file mode 100644 index f38bb2a..0000000 --- a/Common ItemsSource WPF/Common ItemsSource WPF.sln +++ /dev/null @@ -1,22 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25123.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Common ItemsSource WPF", "Common ItemsSource WPF\Common ItemsSource WPF.csproj", "{49DE5DC1-C59D-4030-811A-17F1834C958C}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {49DE5DC1-C59D-4030-811A-17F1834C958C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {49DE5DC1-C59D-4030-811A-17F1834C958C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {49DE5DC1-C59D-4030-811A-17F1834C958C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {49DE5DC1-C59D-4030-811A-17F1834C958C}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/Common ItemsSource WPF/Common ItemsSource WPF/Common ItemsSource WPF.csproj b/Common ItemsSource WPF/Common ItemsSource WPF/Common ItemsSource WPF.csproj deleted file mode 100644 index fb17e1b..0000000 --- a/Common ItemsSource WPF/Common ItemsSource WPF/Common ItemsSource WPF.csproj +++ /dev/null @@ -1,118 +0,0 @@ - - - - - Debug - AnyCPU - {49DE5DC1-C59D-4030-811A-17F1834C958C} - WinExe - Properties - Common_ItemsSource_WPF - Common ItemsSource WPF - v4.6 - 512 - {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 4 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - False - C:\Program Files (x86)\Syncfusion\Essential Studio\15.1.0.35\Assemblies\4.6\Syncfusion.SfChart.WPF.dll - - - - - - - - - - - 4.0 - - - - - - - - MSBuild:Compile - Designer - - - - - - CommonChartView.xaml - - - MSBuild:Compile - Designer - - - App.xaml - Code - - - MainWindow.xaml - Code - - - Designer - MSBuild:Compile - - - - - - Code - - - True - True - Resources.resx - - - True - Settings.settings - True - - - ResXFileCodeGenerator - Resources.Designer.cs - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - - - - \ No newline at end of file diff --git a/Common ItemsSource WPF/Common ItemsSource WPF/Common ItemsSource WPF_2010.csproj b/Common ItemsSource WPF/Common ItemsSource WPF/Common ItemsSource WPF_2010.csproj deleted file mode 100644 index 958e1f5..0000000 --- a/Common ItemsSource WPF/Common ItemsSource WPF/Common ItemsSource WPF_2010.csproj +++ /dev/null @@ -1,118 +0,0 @@ - - - - - Debug - AnyCPU - {49DE5DC1-C59D-4030-811A-17F1834C958C} - WinExe - Properties - Common_ItemsSource_WPF - Common ItemsSource WPF - v4.0 - 512 - {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 4 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - False - C:\Program Files (x86)\Syncfusion\Essential Studio\15.1.0.35\Assemblies\4.6\Syncfusion.SfChart.WPF.dll - - - - - - - - - - - 4.0 - - - - - - - - MSBuild:Compile - Designer - - - - - - CommonChartView.xaml - - - MSBuild:Compile - Designer - - - App.xaml - Code - - - MainWindow.xaml - Code - - - Designer - MSBuild:Compile - - - - - - Code - - - True - True - Resources.resx - - - True - Settings.settings - True - - - ResXFileCodeGenerator - Resources.Designer.cs - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - - - - \ No newline at end of file diff --git a/Common ItemsSource WPF/Common ItemsSource WPF/Properties/AssemblyInfo.cs b/Common ItemsSource WPF/Common ItemsSource WPF/Properties/AssemblyInfo.cs deleted file mode 100644 index c3a4d8e..0000000 --- a/Common ItemsSource WPF/Common ItemsSource WPF/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System.Reflection; -using System.Resources; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Windows; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Common ItemsSource WPF")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Common ItemsSource WPF")] -[assembly: AssemblyCopyright("Copyright © 2017")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -//In order to begin building localizable applications, set -//CultureYouAreCodingWith in your .csproj file -//inside a . For example, if you are using US english -//in your source files, set the to en-US. Then uncomment -//the NeutralResourceLanguage attribute below. Update the "en-US" in -//the line below to match the UICulture setting in the project file. - -//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] - - -[assembly: ThemeInfo( - ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located - //(used if a resource is not found in the page, - // or application resource dictionaries) - ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located - //(used if a resource is not found in the page, - // app, or any theme specific resource dictionaries) -)] - - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Common ItemsSource WPF/Common ItemsSource WPF/Properties/Resources.Designer.cs b/Common ItemsSource WPF/Common ItemsSource WPF/Properties/Resources.Designer.cs deleted file mode 100644 index 1e80fce..0000000 --- a/Common ItemsSource WPF/Common ItemsSource WPF/Properties/Resources.Designer.cs +++ /dev/null @@ -1,71 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Common_ItemsSource_WPF.Properties -{ - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Common_ItemsSource_WPF.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { - return resourceCulture; - } - set - { - resourceCulture = value; - } - } - } -} diff --git a/Common ItemsSource WPF/Common ItemsSource WPF/Properties/Resources.resx b/Common ItemsSource WPF/Common ItemsSource WPF/Properties/Resources.resx deleted file mode 100644 index af7dbeb..0000000 --- a/Common ItemsSource WPF/Common ItemsSource WPF/Properties/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/Common ItemsSource WPF/Common ItemsSource WPF/Properties/Settings.Designer.cs b/Common ItemsSource WPF/Common ItemsSource WPF/Properties/Settings.Designer.cs deleted file mode 100644 index 59646b6..0000000 --- a/Common ItemsSource WPF/Common ItemsSource WPF/Properties/Settings.Designer.cs +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Common_ItemsSource_WPF.Properties -{ - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase - { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default - { - get - { - return defaultInstance; - } - } - } -} diff --git a/Common ItemsSource WPF/Common ItemsSource WPF/Properties/Settings.settings b/Common ItemsSource WPF/Common ItemsSource WPF/Properties/Settings.settings deleted file mode 100644 index 033d7a5..0000000 --- a/Common ItemsSource WPF/Common ItemsSource WPF/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/Common ItemsSource WPF/Common ItemsSource WPF_2010.sln b/Common ItemsSource WPF/Common ItemsSource WPF_2010.sln deleted file mode 100644 index cded467..0000000 --- a/Common ItemsSource WPF/Common ItemsSource WPF_2010.sln +++ /dev/null @@ -1,22 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 10 -VisualStudioVersion = 14.0.25123.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Common ItemsSource WPF", "Common ItemsSource WPF\Common ItemsSource WPF_2010.csproj", "{49DE5DC1-C59D-4030-811A-17F1834C958C}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {49DE5DC1-C59D-4030-811A-17F1834C958C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {49DE5DC1-C59D-4030-811A-17F1834C958C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {49DE5DC1-C59D-4030-811A-17F1834C958C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {49DE5DC1-C59D-4030-811A-17F1834C958C}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/Common ItemsSource WPF/Common ItemsSource WPF/App.xaml b/Common_ItemsSource_WPF/App.xaml similarity index 100% rename from Common ItemsSource WPF/Common ItemsSource WPF/App.xaml rename to Common_ItemsSource_WPF/App.xaml diff --git a/Common ItemsSource WPF/Common ItemsSource WPF/App.xaml.cs b/Common_ItemsSource_WPF/App.xaml.cs similarity index 62% rename from Common ItemsSource WPF/Common ItemsSource WPF/App.xaml.cs rename to Common_ItemsSource_WPF/App.xaml.cs index d73ff64..7551753 100644 --- a/Common ItemsSource WPF/Common ItemsSource WPF/App.xaml.cs +++ b/Common_ItemsSource_WPF/App.xaml.cs @@ -1,9 +1,5 @@ -using System; -using System.Collections.Generic; -using System.Configuration; +using System.Configuration; using System.Data; -using System.Linq; -using System.Threading.Tasks; using System.Windows; namespace Common_ItemsSource_WPF @@ -14,4 +10,5 @@ namespace Common_ItemsSource_WPF public partial class App : Application { } + } diff --git a/Common_ItemsSource_WPF/AssemblyInfo.cs b/Common_ItemsSource_WPF/AssemblyInfo.cs new file mode 100644 index 0000000..b0ec827 --- /dev/null +++ b/Common_ItemsSource_WPF/AssemblyInfo.cs @@ -0,0 +1,10 @@ +using System.Windows; + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] diff --git a/Common_ItemsSource_WPF/Common_ItemsSource_WPF.csproj b/Common_ItemsSource_WPF/Common_ItemsSource_WPF.csproj new file mode 100644 index 0000000..febbf4c --- /dev/null +++ b/Common_ItemsSource_WPF/Common_ItemsSource_WPF.csproj @@ -0,0 +1,15 @@ + + + + WinExe + net8.0-windows + enable + enable + true + + + + + + + diff --git a/Common_ItemsSource_WPF/Common_ItemsSource_WPF.csproj.user b/Common_ItemsSource_WPF/Common_ItemsSource_WPF.csproj.user new file mode 100644 index 0000000..88a5509 --- /dev/null +++ b/Common_ItemsSource_WPF/Common_ItemsSource_WPF.csproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Common_ItemsSource_WPF/Common_ItemsSource_WPF.sln b/Common_ItemsSource_WPF/Common_ItemsSource_WPF.sln new file mode 100644 index 0000000..52f2b46 --- /dev/null +++ b/Common_ItemsSource_WPF/Common_ItemsSource_WPF.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.13.35931.197 d17.13 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Common_ItemsSource_WPF", "Common_ItemsSource_WPF.csproj", "{02F47F2E-8124-4562-8765-7D0AFBDFCE02}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {02F47F2E-8124-4562-8765-7D0AFBDFCE02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {02F47F2E-8124-4562-8765-7D0AFBDFCE02}.Debug|Any CPU.Build.0 = Debug|Any CPU + {02F47F2E-8124-4562-8765-7D0AFBDFCE02}.Release|Any CPU.ActiveCfg = Release|Any CPU + {02F47F2E-8124-4562-8765-7D0AFBDFCE02}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {417173D1-F6FA-4753-9DA1-694F8CB0051D} + EndGlobalSection +EndGlobal diff --git a/Common ItemsSource WPF/Common ItemsSource WPF/MainWindow.xaml b/Common_ItemsSource_WPF/MainWindow.xaml similarity index 90% rename from Common ItemsSource WPF/Common ItemsSource WPF/MainWindow.xaml rename to Common_ItemsSource_WPF/MainWindow.xaml index efe6a76..7cceffa 100644 --- a/Common ItemsSource WPF/Common ItemsSource WPF/MainWindow.xaml +++ b/Common_ItemsSource_WPF/MainWindow.xaml @@ -7,6 +7,8 @@ mc:Ignorable="d" Title="MainWindow" WindowState="Maximized"> - + + + diff --git a/Common ItemsSource WPF/Common ItemsSource WPF/MainWindow.xaml.cs b/Common_ItemsSource_WPF/MainWindow.xaml.cs similarity index 81% rename from Common ItemsSource WPF/Common ItemsSource WPF/MainWindow.xaml.cs rename to Common_ItemsSource_WPF/MainWindow.xaml.cs index f68db0c..554234b 100644 --- a/Common ItemsSource WPF/Common ItemsSource WPF/MainWindow.xaml.cs +++ b/Common_ItemsSource_WPF/MainWindow.xaml.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; @@ -25,4 +21,4 @@ public MainWindow() InitializeComponent(); } } -} +} \ No newline at end of file diff --git a/Common ItemsSource WPF/Common ItemsSource WPF/ViewModel/ViewModel.cs b/Common_ItemsSource_WPF/ViewModel.cs similarity index 99% rename from Common ItemsSource WPF/Common ItemsSource WPF/ViewModel/ViewModel.cs rename to Common_ItemsSource_WPF/ViewModel.cs index e2047c6..660b184 100644 --- a/Common ItemsSource WPF/Common ItemsSource WPF/ViewModel/ViewModel.cs +++ b/Common_ItemsSource_WPF/ViewModel.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; +using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; -using System.Collections.ObjectModel; namespace Common_ItemsSource_WPF { @@ -26,7 +26,7 @@ public ViewModel() new PriceData() {Component = "Printer", Price = 180 }, } }); - + AnnualPriceCollection.Add(new AnnualPriceData() { Year = "2013", diff --git a/Common ItemsSource WPF/Common ItemsSource WPF/Model/PriceData.cs b/Common_ItemsSource_WPF/model/PriceData.cs similarity index 100% rename from Common ItemsSource WPF/Common ItemsSource WPF/Model/PriceData.cs rename to Common_ItemsSource_WPF/model/PriceData.cs diff --git a/Common ItemsSource WPF/Common ItemsSource WPF/SeriesDataTemplateSelector/SeriesDataTemplateSelector.cs b/Common_ItemsSource_WPF/seriesdatatemplateselector/SeriesDataTemplateSelector.cs similarity index 100% rename from Common ItemsSource WPF/Common ItemsSource WPF/SeriesDataTemplateSelector/SeriesDataTemplateSelector.cs rename to Common_ItemsSource_WPF/seriesdatatemplateselector/SeriesDataTemplateSelector.cs diff --git a/Common ItemsSource WPF/Common ItemsSource WPF/SfChartExt/SfChartExt.cs b/Common_ItemsSource_WPF/sfchartext/SfChartExt.cs similarity index 100% rename from Common ItemsSource WPF/Common ItemsSource WPF/SfChartExt/SfChartExt.cs rename to Common_ItemsSource_WPF/sfchartext/SfChartExt.cs diff --git a/Common ItemsSource WPF/Common ItemsSource WPF/View/CommonChartView.xaml b/Common_ItemsSource_WPF/view/CommonChartView.xaml similarity index 100% rename from Common ItemsSource WPF/Common ItemsSource WPF/View/CommonChartView.xaml rename to Common_ItemsSource_WPF/view/CommonChartView.xaml diff --git a/Common ItemsSource WPF/Common ItemsSource WPF/View/CommonChartView.xaml.cs b/Common_ItemsSource_WPF/view/CommonChartView.xaml.cs similarity index 100% rename from Common ItemsSource WPF/Common ItemsSource WPF/View/CommonChartView.xaml.cs rename to Common_ItemsSource_WPF/view/CommonChartView.xaml.cs From 72b7df255061f14d113432d7abc85f61932e5801 Mon Sep 17 00:00:00 2001 From: KompelliSravanSyncfusion Date: Wed, 14 May 2025 19:48:22 +0530 Subject: [PATCH 2/4] Updated readme file --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 720db60..394ab4c 100644 --- a/README.md +++ b/README.md @@ -284,4 +284,11 @@ The following column and line series (multiple series) are created as the result ![image](https://user-images.githubusercontent.com/53489303/200557340-1f010c57-0245-4cb4-b99f-871876ceb2bc.png) -KB article - [How to generate dynamic number of series based on common items source in WPF Chart (SfChart)?](https://www.syncfusion.com/kb/7578/how-to-generate-dynamic-number-of-series-based-on-common-items-source-in-wpf-chart-sfchart) +## Troubleshooting + +#### Path too long exception + +If you are facing a path too long exception when building this example project, close Visual Studio and rename the repository to a shorter name before building the project. + +For more details, refer to the KB on [How to generate dynamic number of series based on common items source in WPF Chart (SfChart)?](https://www.syncfusion.com/kb/7578/how-to-generate-dynamic-number-of-series-based-on-common-items-source-in-wpf-chart-sfchart). + From 2f90dc80f9292a5951de489af743858900ba786f Mon Sep 17 00:00:00 2001 From: KompelliSravanSyncfusion Date: Fri, 16 May 2025 15:54:11 +0530 Subject: [PATCH 3/4] Updated the version --- Common_ItemsSource_WPF/Common_ItemsSource_WPF.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common_ItemsSource_WPF/Common_ItemsSource_WPF.csproj b/Common_ItemsSource_WPF/Common_ItemsSource_WPF.csproj index febbf4c..52478d0 100644 --- a/Common_ItemsSource_WPF/Common_ItemsSource_WPF.csproj +++ b/Common_ItemsSource_WPF/Common_ItemsSource_WPF.csproj @@ -9,7 +9,7 @@ - + From 0a140a55d63da990ff479845ecd3aaa6e1d25e63 Mon Sep 17 00:00:00 2001 From: KompelliSravanSyncfusion Date: Tue, 10 Jun 2025 12:33:56 +0530 Subject: [PATCH 4/4] Deleted User cs project file --- Common_ItemsSource_WPF/Common_ItemsSource_WPF.csproj.user | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 Common_ItemsSource_WPF/Common_ItemsSource_WPF.csproj.user diff --git a/Common_ItemsSource_WPF/Common_ItemsSource_WPF.csproj.user b/Common_ItemsSource_WPF/Common_ItemsSource_WPF.csproj.user deleted file mode 100644 index 88a5509..0000000 --- a/Common_ItemsSource_WPF/Common_ItemsSource_WPF.csproj.user +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file