From af4c60208dbf09ee91e3430633ab736d4c015e2c Mon Sep 17 00:00:00 2001 From: brianlagunas_cp Date: Mon, 10 Oct 2011 14:03:08 +0000 Subject: [PATCH] Moved PropertyGrid changes into .NET 3.5 solution --- .../ExpandableObjectMarginConverter.cs | 2 +- .../PropertyGrid/Themes/Generic.xaml | 2 +- .../WPFToolkit.Extended.csproj | 2 +- .../PropertyGrid/Themes/Generic.xaml | 56 ++++++++++++++++++- .../WPFToolkit.Extended.csproj | 25 ++++++++- 5 files changed, 80 insertions(+), 7 deletions(-) rename ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/{Core => PropertyGrid/Implementation}/Converters/ExpandableObjectMarginConverter.cs (87%) diff --git a/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/Core/Converters/ExpandableObjectMarginConverter.cs b/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/Converters/ExpandableObjectMarginConverter.cs similarity index 87% rename from ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/Core/Converters/ExpandableObjectMarginConverter.cs rename to ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/Converters/ExpandableObjectMarginConverter.cs index 8ae34007..4b8164ad 100644 --- a/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/Core/Converters/ExpandableObjectMarginConverter.cs +++ b/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/Converters/ExpandableObjectMarginConverter.cs @@ -2,7 +2,7 @@ using System; using System.Windows; using System.Windows.Data; -namespace Microsoft.Windows.Controls.Core.Converters +namespace Microsoft.Windows.Controls.PropertyGrid.Converters { public class ExpandableObjectMarginConverter : IValueConverter { diff --git a/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Themes/Generic.xaml b/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Themes/Generic.xaml index 73a87005..039baca9 100644 --- a/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Themes/Generic.xaml +++ b/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Themes/Generic.xaml @@ -13,7 +13,7 @@ - + diff --git a/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/WPFToolkit.Extended.csproj b/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/WPFToolkit.Extended.csproj index 51e5764e..c16ad8eb 100644 --- a/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/WPFToolkit.Extended.csproj +++ b/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/WPFToolkit.Extended.csproj @@ -267,7 +267,7 @@ - + diff --git a/ExtendedWPFToolkitSolution_35/Src/WPFToolkit.Extended/PropertyGrid/Themes/Generic.xaml b/ExtendedWPFToolkitSolution_35/Src/WPFToolkit.Extended/PropertyGrid/Themes/Generic.xaml index 4755e181..fe9277ec 100644 --- a/ExtendedWPFToolkitSolution_35/Src/WPFToolkit.Extended/PropertyGrid/Themes/Generic.xaml +++ b/ExtendedWPFToolkitSolution_35/Src/WPFToolkit.Extended/PropertyGrid/Themes/Generic.xaml @@ -13,6 +13,7 @@ + @@ -249,6 +250,30 @@ + + @@ -267,15 +292,32 @@ + + + + - + - + + + + + + + + + + + + + + + + + + + + + + diff --git a/ExtendedWPFToolkitSolution_35/Src/WPFToolkit.Extended/WPFToolkit.Extended.csproj b/ExtendedWPFToolkitSolution_35/Src/WPFToolkit.Extended/WPFToolkit.Extended.csproj index b7a6fc1c..335eeade 100644 --- a/ExtendedWPFToolkitSolution_35/Src/WPFToolkit.Extended/WPFToolkit.Extended.csproj +++ b/ExtendedWPFToolkitSolution_35/Src/WPFToolkit.Extended/WPFToolkit.Extended.csproj @@ -369,12 +369,24 @@ NumericUpDown\Implementation\NumericUpDown.cs + + PropertyGrid\Implementation\Attributes\ExpandableObjectAttribute.cs + + + PropertyGrid\Implementation\Attributes\IItemsSource.cs + + + PropertyGrid\Implementation\Attributes\ItemsSourceAttribute.cs + PropertyGrid\Implementation\Commands\PropertyGridCommands.cs PropertyGrid\Implementation\Commands\PropertyItemCommands.cs + + PropertyGrid\Implementation\Converters\ExpandableObjectMarginConverter.cs + PropertyGrid\Implementation\Converters\ValueSourceToImagePathConverter.cs @@ -418,6 +430,9 @@ PropertyGrid\Implementation\Editors\IntegerUpDownEditor.cs + + PropertyGrid\Implementation\Editors\ItemsSourceEditor.cs + PropertyGrid\Implementation\Editors\ITypeEditor.cs @@ -436,12 +451,18 @@ PropertyGrid\Implementation\Editors\TypeEditor.cs - - PropertyGrid\Implementation\IEditorDefinition.cs + + PropertyGrid\Implementation\PropertyDefinition.cs + + + PropertyGrid\Implementation\PropertyDefinitionCollection.cs PropertyGrid\Implementation\PropertyGrid.cs + + PropertyGrid\Implementation\PropertyGridUtilities.cs + PropertyGrid\Implementation\PropertyItem.cs