diff --git a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/SDKSampleLibrary/Class1.cs b/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/SDKSampleLibrary/Class1.cs
deleted file mode 100644
index c093dd47c29..00000000000
--- a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/SDKSampleLibrary/Class1.cs
+++ /dev/null
@@ -1,90 +0,0 @@
-using System;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-
-namespace SDKSample
-{
- //
- public class MyStateControl : ButtonBase
- {
- public MyStateControl() : base() { }
- public Boolean State
- {
- get { return (Boolean)this.GetValue(StateProperty); }
- set { this.SetValue(StateProperty, value); }
- }
- public static readonly DependencyProperty StateProperty = DependencyProperty.Register(
- "State", typeof(Boolean), typeof(MyStateControl), new PropertyMetadata(false));
- }
- //
-
- //
- public class UnrelatedStateControl : Control
- {
- public UnrelatedStateControl() { }
- public static readonly DependencyProperty StateProperty = MyStateControl.StateProperty.AddOwner(typeof(UnrelatedStateControl), new PropertyMetadata(true));
- public Boolean State
- {
- get { return (Boolean)this.GetValue(StateProperty); }
- set { this.SetValue(StateProperty, value); }
- }
- }
- //
-
- //
- public class MyAdvancedStateControl : MyStateControl
- {
- public MyAdvancedStateControl() : base() { }
- static MyAdvancedStateControl()
- {
- MyStateControl.StateProperty.OverrideMetadata(typeof(MyAdvancedStateControl), new PropertyMetadata(true));
- }
- }
- //
- public class AreaButton : Button
- {
- //
- static AreaButton()
- {
- WidthProperty.OverrideMetadata(typeof(AreaButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(InvalidateAreaProperty)));
- HeightProperty.OverrideMetadata(typeof(AreaButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(InvalidateAreaProperty)));
- }
- static void InvalidateAreaProperty(DependencyObject d, DependencyPropertyChangedEventArgs e)
- {
- d.InvalidateProperty(AreaProperty);
- }
- //
- public double Area
- {
- get { return (double)this.GetValue(AreaProperty); }
- }
- private static readonly DependencyPropertyKey AreaPropertyKey = DependencyProperty.RegisterReadOnly(
- "Area",
- typeof(double),
- typeof(AreaButton),
- new PropertyMetadata(0.0, null, new CoerceValueCallback(CalculateArea))
- );
- private static object CalculateArea(object d, object previousValue)
- {
- FrameworkElement fe = d as FrameworkElement;
- if (fe != null)
- {
- return (fe.ActualWidth * fe.ActualHeight);
- }
- else
- {
- return null;
- }
- }
-
- public static readonly DependencyProperty AreaProperty = AreaPropertyKey.DependencyProperty;
- protected override void OnClick()
- {
- this.Width += 1;
- this.Height += 1;
- base.OnClick();
- this.Content = GetValue(AreaProperty).ToString();
- }
- }
-}
diff --git a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/SDKSampleLibrary/SDKSampleLibrary.csproj b/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/SDKSampleLibrary/SDKSampleLibrary.csproj
deleted file mode 100644
index 7c3c390d624..00000000000
--- a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/SDKSampleLibrary/SDKSampleLibrary.csproj
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- net4.8
- SDKSample
-
-
-
-
-
-
-
-
-
diff --git a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XAMLAPP.sln b/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XAMLAPP.sln
deleted file mode 100644
index e3cb77c816d..00000000000
--- a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XAMLAPP.sln
+++ /dev/null
@@ -1,41 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 17
-VisualStudioVersion = 17.2.32602.215
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XAMLAPP", "XamlApp\XAMLAPP.csproj", "{AECDF9E6-8952-4583-9BB4-A304B1E46831}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SDKSampleLibrary", "SDKSampleLibrary\SDKSampleLibrary.csproj", "{055BED46-02DB-473C-97AB-EA713968A7C6}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Debug|x86 = Debug|x86
- Release|Any CPU = Release|Any CPU
- Release|x86 = Release|x86
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {AECDF9E6-8952-4583-9BB4-A304B1E46831}.Debug|Any CPU.ActiveCfg = Debug|x86
- {AECDF9E6-8952-4583-9BB4-A304B1E46831}.Debug|Any CPU.Build.0 = Debug|x86
- {AECDF9E6-8952-4583-9BB4-A304B1E46831}.Debug|x86.ActiveCfg = Debug|x86
- {AECDF9E6-8952-4583-9BB4-A304B1E46831}.Debug|x86.Build.0 = Debug|x86
- {AECDF9E6-8952-4583-9BB4-A304B1E46831}.Release|Any CPU.ActiveCfg = Debug|x86
- {AECDF9E6-8952-4583-9BB4-A304B1E46831}.Release|Any CPU.Build.0 = Debug|x86
- {AECDF9E6-8952-4583-9BB4-A304B1E46831}.Release|x86.ActiveCfg = Debug|x86
- {AECDF9E6-8952-4583-9BB4-A304B1E46831}.Release|x86.Build.0 = Debug|x86
- {055BED46-02DB-473C-97AB-EA713968A7C6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {055BED46-02DB-473C-97AB-EA713968A7C6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {055BED46-02DB-473C-97AB-EA713968A7C6}.Debug|x86.ActiveCfg = Debug|Any CPU
- {055BED46-02DB-473C-97AB-EA713968A7C6}.Debug|x86.Build.0 = Debug|Any CPU
- {055BED46-02DB-473C-97AB-EA713968A7C6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {055BED46-02DB-473C-97AB-EA713968A7C6}.Release|Any CPU.Build.0 = Release|Any CPU
- {055BED46-02DB-473C-97AB-EA713968A7C6}.Release|x86.ActiveCfg = Release|Any CPU
- {055BED46-02DB-473C-97AB-EA713968A7C6}.Release|x86.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {61524242-572B-4BBE-80F7-FA1C03DA1856}
- EndGlobalSection
-EndGlobal
diff --git a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/XAMLAPP.csproj b/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/XAMLAPP.csproj
deleted file mode 100644
index df62802453c..00000000000
--- a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/XAMLAPP.csproj
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
- PropertySystemEsoterics
- winexe
- Debug
- bin\$(Configuration)\
- {AECDF9E6-8952-4583-9BB4-A304B1E46831}
- v4.8
-
- 10.0.20821
-
-
-
-
-
-
-
-
-
-
-
-
-
- page2.xaml
-
-
-
-
-
-
-
-
-
-
- 4.0
-
-
-
-
-
-
- {31b64cda-8444-4185-86aa-b0673eb3b143}
- SDKSampleLibrary
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/app.xaml b/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/app.xaml
deleted file mode 100644
index 95a03dca082..00000000000
--- a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/app.xaml
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
diff --git a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/default.xaml b/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/default.xaml
deleted file mode 100644
index c287055da0e..00000000000
--- a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/default.xaml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/page2.xaml b/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/page2.xaml
deleted file mode 100644
index 58c7598b9a5..00000000000
--- a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/page2.xaml
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
-
-
- Control.Background
- Storyboard.TargetName
- FrameworkElement.DataContext
- FrameworkElement.Margin
-
- ToggleButton.IsChecked
- ToolBar.Orientation
- UIElement.Visibility
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Metadata information
- Value for selected property
- Metadata class
-
- Type of Property Value
-
- Default Property Value
-
- Has CoerceValue?
-
- Has PropertyChanged?
-
- Read Only?
-
- Framework Property Metadata
- Affects Arrange?
- N/A
- Affects Measure?
- N/A
- Affects Render?
- N/A
-
- Inherits?
- N/A
-
-
- IsDataBindingAllowed?
- N/A
- Binds two-way by default?
- N/A
-
-
-
diff --git a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/sampleid.txt b/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/sampleid.txt
deleted file mode 100644
index 29c410c9731..00000000000
--- a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/sampleid.txt
+++ /dev/null
@@ -1 +0,0 @@
-wcpsamp_core_dpclearvalue
diff --git a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/snippets.5000.json b/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/snippets.5000.json
deleted file mode 100644
index 9493e733615..00000000000
--- a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/snippets.5000.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "host": "visualstudio"
-}
\ No newline at end of file
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp.sln b/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp.sln
deleted file mode 100644
index e8d1e2a6907..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp.sln
+++ /dev/null
@@ -1,31 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 17
-VisualStudioVersion = 17.2.32602.215
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ColorPickerLib", "ColorPickerLib\ColorPickerLib.csproj", "{3446F2C2-E123-4B82-84F7-0883BEE401DA}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ColorPickerApp", "ColorPickerApp\ColorPickerApp.csproj", "{28614DF8-6DBA-4F51-8A89-C0C690536217}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {3446F2C2-E123-4B82-84F7-0883BEE401DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3446F2C2-E123-4B82-84F7-0883BEE401DA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3446F2C2-E123-4B82-84F7-0883BEE401DA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3446F2C2-E123-4B82-84F7-0883BEE401DA}.Release|Any CPU.Build.0 = Release|Any CPU
- {28614DF8-6DBA-4F51-8A89-C0C690536217}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {28614DF8-6DBA-4F51-8A89-C0C690536217}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {28614DF8-6DBA-4F51-8A89-C0C690536217}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {28614DF8-6DBA-4F51-8A89-C0C690536217}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {E3E86D4E-3F6A-4DB3-AAB1-6AFCF1B18D46}
- EndGlobalSection
-EndGlobal
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/ColorPickerApp.csproj b/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/ColorPickerApp.csproj
deleted file mode 100644
index 3dcedf3eff9..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/ColorPickerApp.csproj
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
- en-US
- Debug
- AnyCPU
- {28614DF8-6DBA-4F51-8A89-C0C690536217}
- ColorPickerApp
- ColorPickerApp
- 4
- winexe
- 1.0.0.*
-
- 10.0.20821
- 2.0
- v4.8
- {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
-
-
-
- true
- full
- false
- .\bin\Debug\
- DEBUG;TRACE
-
-
- false
- true
- .\bin\Release\
- TRACE
-
-
-
-
-
-
-
-
- 4.0
-
-
-
-
-
- MSBuild:Compile
- Designer
- MSBuild:Compile
- Designer
-
-
- MSBuild:Compile
- Designer
- MSBuild:Compile
- Designer
-
-
-
-
-
-
-
-
-
-
- {3446f2c2-e123-4b82-84f7-0883bee401da}
- ColorPickerLib
-
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/MyApp.xaml.cs b/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/MyApp.xaml.cs
deleted file mode 100644
index 81c5abc1825..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/MyApp.xaml.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-using System;
-using System.Windows;
-using System.Configuration;
-using System.ComponentModel;
-using System.Windows.Media;
-using System.Windows.Data;
-
-namespace ColorPickerApp
-{
- ///
- /// Interaction logic for MyApp.xaml
- ///
-
- public partial class MyApp : Application
- {
- void AppStartup(object sender, StartupEventArgs args)
- {
- Window1 mainWindow = new Window1();
- mainWindow.Show();
- }
- }
- public class ColorGradientConverter : IValueConverter
- {
- public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- string param = parameter as string;
- Color color = (Color)value;
- if (param != null)
- {
- switch (param)
- {
- case "Red":
- return new LinearGradientBrush(Color.FromRgb(0, color.G, color.B), Color.FromRgb(255, color.G, color.B), 0);
- case "Green":
- return new LinearGradientBrush(Color.FromRgb(color.R, 0, color.B), Color.FromRgb(color.R, 255, color.B), 0);
- case "Blue":
- return new LinearGradientBrush(Color.FromRgb(color.R, color.G, 0), Color.FromRgb(color.R, color.G, 255), 0);
- default:
- throw new ArgumentException("not valid value", "parameter");
- }
- }
- throw new ArgumentException("parameter not a string");
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- throw new NotSupportedException();
- }
- }
-}
\ No newline at end of file
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/Properties/AssemblyInfo.cs b/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/Properties/AssemblyInfo.cs
deleted file mode 100644
index a880eda321d..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-#region Using directives
-
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Resources;
-using System.Globalization;
-using System.Windows;
-using System.Runtime.InteropServices;
-
-#endregion
-
-// 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("ColorPickerApp")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("MSFT")]
-[assembly: AssemblyProduct("ColorPickerApp")]
-[assembly: AssemblyCopyright("Copyright @ MSFT 2005")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-[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)]
-
-//This attribute describes where any theme specific and generic resource dictionaries can be found.
-[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)]
-
-// 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 Revision and Build Numbers
-// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.0.*")]
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/Window1.xaml b/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/Window1.xaml
deleted file mode 100644
index 363f0f769a6..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/Window1.xaml
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/Window1.xaml.cs b/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/Window1.xaml.cs
deleted file mode 100644
index 0ac51dfda9a..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/Window1.xaml.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-using System;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Media;
-using System.Windows.Shapes;
-using System.Diagnostics;
-
-namespace ColorPickerApp
-{
- ///
- /// Interaction logic for Window1.xaml
- ///
-
- public partial class Window1 : Window
- {
- public Window1()
- {
- InitializeComponent();
- }
-
- private void changeColor(object sender, RoutedEventArgs e)
- {
- colorPicker.Color = Colors.Blue;
- }
-
- private void getColor(object sender, RoutedEventArgs e)
- {
- textBlockCurrentColor.Text = MaincolorPicker.Color.ToString();
- }
- //
- private void OnColorChanged(object sender, RoutedPropertyChangedEventArgs e)
- {
- colorPickerValue.Text = e.NewValue.ToString();
- }
- //
- }
-}
\ No newline at end of file
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerLib/ColorPicker.cs b/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerLib/ColorPicker.cs
deleted file mode 100644
index 01026bd0320..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerLib/ColorPicker.cs
+++ /dev/null
@@ -1,220 +0,0 @@
-using System;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Media;
-using System.Windows.Data;
-//
-using System.Windows.Markup;
-//
-using System.ComponentModel;
-
-namespace ColorPickerLib
-{
- public class ColorPicker : Control
- {
- //
- //
- private Color _colorCache;
- //
-
- static ColorPicker()
- {
- DefaultStyleKeyProperty.OverrideMetadata(typeof(ColorPicker), new FrameworkPropertyMetadata(typeof(ColorPicker)));
- }
- //
-
- //
- public ColorPicker()
- {
- _colorCache = (Color)ColorProperty.GetMetadata(this).DefaultValue;
- SetupColorBindings();
- }
- //
-
- //
- private void SetupColorBindings()
- {
- MultiBinding binding = new MultiBinding();
-
- binding.Converter = new ByteColorMultiConverter();
- binding.Mode = BindingMode.TwoWay;
-
- Binding redBinding = new Binding("Red");
- redBinding.Source = this;
- redBinding.Mode = BindingMode.TwoWay;
- binding.Bindings.Add(redBinding);
-
- Binding greenBinding = new Binding("Green");
- greenBinding.Source = this;
- greenBinding.Mode = BindingMode.TwoWay;
- binding.Bindings.Add(greenBinding);
-
- Binding blueBinding = new Binding("Blue");
- blueBinding.Source = this;
- blueBinding.Mode = BindingMode.TwoWay;
- binding.Bindings.Add(blueBinding);
-
- this.SetBinding(ColorProperty, binding);
- }
- //
-
- //
- public static DependencyProperty ColorProperty = DependencyProperty.Register(
- "Color",
- typeof(Color),
- typeof(ColorPicker),
- new PropertyMetadata(Colors.Black));
- //
-
- //
- public Color Color
- {
- get
- {
- return (Color)GetValue(ColorProperty);
- }
- set
- {
- SetValue(ColorProperty, value);
- }
- }
- //
-
- //
- public static DependencyProperty RedProperty = DependencyProperty.Register(
- "Red",
- typeof(byte),
- typeof(ColorPicker));
-
- public static DependencyProperty GreenProperty = DependencyProperty.Register(
- "Green",
- typeof(byte),
- typeof(ColorPicker));
-
- public static DependencyProperty BlueProperty = DependencyProperty.Register(
- "Blue",
- typeof(byte),
- typeof(ColorPicker));
- //
-
- //
- public byte Red
- {
- get { return (byte)GetValue(RedProperty); }
- set { SetValue(RedProperty, value); }
- }
-
- public byte Green
- {
- get { return (byte)GetValue(GreenProperty); }
- set { SetValue(GreenProperty, value); }
- }
-
- public byte Blue
- {
- get { return (byte)GetValue(BlueProperty); }
- set { SetValue(BlueProperty, value); }
- }
- //
-
- //
-
- //
- public static readonly RoutedEvent ColorChangedEvent =
- EventManager.RegisterRoutedEvent("ColorChanged", RoutingStrategy.Bubble, typeof(RoutedPropertyChangedEventHandler), typeof(ColorPicker));
- //
-
- //
- public event RoutedPropertyChangedEventHandler ColorChanged
- {
- add { AddHandler(ColorChangedEvent, value); }
- remove { RemoveHandler(ColorChangedEvent, value); }
- }
- //
-
- //
- protected virtual void OnColorChanged(Color oldValue, Color newValue)
- {
- RoutedPropertyChangedEventArgs args = new RoutedPropertyChangedEventArgs(oldValue, newValue);
- args.RoutedEvent = ColorPicker.ColorChangedEvent;
- RaiseEvent(args);
- }
- //
-
- //
-
- //
-
- //
- private static void OnColorInvalidated(DependencyObject d, DependencyPropertyChangedEventArgs e)
- {
- ColorPicker picker = (ColorPicker)d;
-
- Color oldValue = (Color)e.OldValue;
- Color newValue = (Color)e.NewValue;
-
- picker.OnColorChanged(oldValue, newValue);
- }
- //
-
- //
- }
- //
- public class ByteColorMultiConverter : IMultiValueConverter
- {
-
- public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- if (values.Length != 3)
- {
- throw new ArgumentException("need three values");
- }
-
- byte red = (byte)values[0];
- byte green = (byte)values[1];
- byte blue = (byte)values[2];
-
- return Color.FromRgb(red, green, blue);
- }
-
- public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture)
- {
- Color color = (Color)value;
-
- return new object[] { color.R, color.G, color.B };
- }
- }
- //
-
- //
- public class ByteDoubleConverter : IValueConverter
- {
- public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- return (double)(byte)value;
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- return (byte)(double)value;
- }
- }
- //
-
- //
- [ValueConversion(typeof(Color), typeof(SolidColorBrush))]
- public class ColorBrushConverter : IValueConverter
- {
- public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- Color color = (Color)value;
- return new SolidColorBrush(color);
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- return null;
- }
- }
- //
-}
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerLib/ColorPickerLib.csproj b/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerLib/ColorPickerLib.csproj
deleted file mode 100644
index b6541fb5fa6..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerLib/ColorPickerLib.csproj
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- net4.8
- true
-
-
-
-
- MSBuild:Compile
-
-
-
-
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerLib/Themes/generic.xaml b/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerLib/Themes/generic.xaml
deleted file mode 100644
index decc92ceef9..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerLib/Themes/generic.xaml
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/snippets.5000.json b/snippets/csharp/System.Windows/Setter/TargetName/snippets.5000.json
deleted file mode 100644
index 9493e733615..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/snippets.5000.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "host": "visualstudio"
-}
\ No newline at end of file
diff --git a/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/designertestclient.sln b/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/designertestclient.sln
deleted file mode 100644
index 7d840ff6a81..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/designertestclient.sln
+++ /dev/null
@@ -1,41 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 17
-VisualStudioVersion = 17.2.32602.215
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "designertestclient", "designertestclient\designertestclient.csproj", "{EB257019-9225-4B4D-B4FE-C6CD48A7E781}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "nongenericparallelforeach", "parallelforeach\nongenericparallelforeach.csproj", "{196B50FD-7456-48F3-85BA-068E90DA2315}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Debug|x86 = Debug|x86
- Release|Any CPU = Release|Any CPU
- Release|x86 = Release|x86
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {EB257019-9225-4B4D-B4FE-C6CD48A7E781}.Debug|Any CPU.ActiveCfg = Debug|x86
- {EB257019-9225-4B4D-B4FE-C6CD48A7E781}.Debug|Any CPU.Build.0 = Debug|x86
- {EB257019-9225-4B4D-B4FE-C6CD48A7E781}.Debug|x86.ActiveCfg = Debug|x86
- {EB257019-9225-4B4D-B4FE-C6CD48A7E781}.Debug|x86.Build.0 = Debug|x86
- {EB257019-9225-4B4D-B4FE-C6CD48A7E781}.Release|Any CPU.ActiveCfg = Release|x86
- {EB257019-9225-4B4D-B4FE-C6CD48A7E781}.Release|Any CPU.Build.0 = Release|x86
- {EB257019-9225-4B4D-B4FE-C6CD48A7E781}.Release|x86.ActiveCfg = Release|x86
- {EB257019-9225-4B4D-B4FE-C6CD48A7E781}.Release|x86.Build.0 = Release|x86
- {196B50FD-7456-48F3-85BA-068E90DA2315}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {196B50FD-7456-48F3-85BA-068E90DA2315}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {196B50FD-7456-48F3-85BA-068E90DA2315}.Debug|x86.ActiveCfg = Debug|Any CPU
- {196B50FD-7456-48F3-85BA-068E90DA2315}.Debug|x86.Build.0 = Debug|Any CPU
- {196B50FD-7456-48F3-85BA-068E90DA2315}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {196B50FD-7456-48F3-85BA-068E90DA2315}.Release|Any CPU.Build.0 = Release|Any CPU
- {196B50FD-7456-48F3-85BA-068E90DA2315}.Release|x86.ActiveCfg = Release|Any CPU
- {196B50FD-7456-48F3-85BA-068E90DA2315}.Release|x86.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {546BF6B5-C305-47EA-A293-9C9E18F6F41B}
- EndGlobalSection
-EndGlobal
diff --git a/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/designertestclient/app.config b/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/designertestclient/app.config
deleted file mode 100644
index b03847a099d..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/designertestclient/app.config
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/designertestclient/designertestclient.csproj b/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/designertestclient/designertestclient.csproj
deleted file mode 100644
index 31e49e94f61..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/designertestclient/designertestclient.csproj
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
-
- Debug
- x86
- 10.0
- 2.0
- {EB257019-9225-4B4D-B4FE-C6CD48A7E781}
- {32f31d43-81cc-4c15-9de6-3fc5453562b6};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- Exe
- Properties
- DesignerTestClient
- DesignerTestClient
- v4.8
-
- 512
-
-
- x86
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- x86
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Designer
- MSBuild:Compile
-
-
-
-
-
-
-
- {1dde6bf4-981e-4575-a738-9fbf46ec8d12}
- nongenericparallelforeach
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/designertestclient/program.cs b/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/designertestclient/program.cs
deleted file mode 100644
index 3226b492eab..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/designertestclient/program.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-//-----------------------------------------------------------------------------
-// Copyright (c) Microsoft Corporation. All rights reserved.
-//-----------------------------------------------------------------------------
-using System;
-using System.Activities;
-using System.Threading;
-
-namespace Microsoft.Samples.Activities.Statements
-{
- class Program
- {
- static void Main(string[] args)
- {
- WorkflowInvoker.Invoke(new Workflow1());
-
- Console.WriteLine("");
- Console.WriteLine("Press enter to exit...");
- Console.ReadLine();
- }
- }
-
- public class Helper
- {
- public static void ShowThreadId(string text)
- {
- Console.WriteLine(string.Format("Showing '{0}' in thread: {1}", text, Thread.CurrentThread.ManagedThreadId.ToString()));
- Thread.Sleep(1000);
- }
- }
-}
diff --git a/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/designertestclient/properties/assemblyinfo.cs b/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/designertestclient/properties/assemblyinfo.cs
deleted file mode 100644
index fc113e1dbfb..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/designertestclient/properties/assemblyinfo.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-//-----------------------------------------------------------------------------
-// Copyright (c) Microsoft Corporation. All rights reserved.
-//-----------------------------------------------------------------------------
-
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-// 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: ComVisible(false)]
-[assembly: AssemblyTitle("Microsoft.Samples.Activities.Statements")]
-[assembly: AssemblyDescription("Non generic ParallelForEach. Allows iterating through IEnumerable collections")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Microsoft Corporation")]
-[assembly: AssemblyProduct("Windows Communication Foundation and Windows Workflow Foundation SDK")]
-[assembly: AssemblyCopyright("Copyright (c) Microsoft Corporation")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// 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 Revision and Build Numbers
-// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.0.*")]
diff --git a/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/designertestclient/workflow1.xaml b/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/designertestclient/workflow1.xaml
deleted file mode 100644
index df82c3cf695..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/designertestclient/workflow1.xaml
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
-
-
-
-
-
- True
-
-
-
-
-
- True
- False
-
-
-
-
- [names]
-
-
- [New ArrayList]
-
-
-
-
- [names]
-
- Bill
-
-
-
- [names]
-
- Steve
-
-
-
- [names]
-
- Ray
-
-
-
-
diff --git a/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/parallelforeach/Designer/parallelforeachdesigner.xaml b/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/parallelforeach/Designer/parallelforeachdesigner.xaml
deleted file mode 100644
index d17810ab73a..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/parallelforeach/Designer/parallelforeachdesigner.xaml
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Foreach
-
- in
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/parallelforeach/Designer/parallelforeachdesigner.xaml.cs b/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/parallelforeach/Designer/parallelforeachdesigner.xaml.cs
deleted file mode 100644
index f5f45d9cdc2..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/parallelforeach/Designer/parallelforeachdesigner.xaml.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-//----------------------------------------------------------------
-// Copyright (c) Microsoft Corporation. All rights reserved.
-//----------------------------------------------------------------
-using System;
-using System.Activities.Presentation;
-
-namespace Microsoft.Samples.Activities.Statements.Presentation
-{
- ///
- /// Interaction logic for ForEachDesigner.xaml
- ///
- partial class ParallelForEachDesigner
- {
- public ParallelForEachDesigner()
- {
- //InitializeComponent();
- }
- }
-}
diff --git a/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/parallelforeach/Designer/parallelforeachwithbodyfactory.cs b/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/parallelforeach/Designer/parallelforeachwithbodyfactory.cs
deleted file mode 100644
index 7b59cb63e09..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/wfs_nongenericparallelforeach/cs/parallelforeach/Designer/parallelforeachwithbodyfactory.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-//-----------------------------------------------------------------------------
-// Copyright (c) Microsoft Corporation. All rights reserved.
-//-----------------------------------------------------------------------------
-using System.Activities;
-using System.Activities.Presentation;
-using System.Windows;
-
-namespace Microsoft.Samples.Activities.Statements.Presentation
-{
- // creates a ForEach activity with its Body (ActivityyAction) configured
- public sealed class ParallelForEachWithBodyFactory : IActivityTemplateFactory
- {
- public Activity Create(DependencyObject target)
- {
- return new Microsoft.Samples.Activities.Statements.ParallelForEach()
- {
- Body = new ActivityAction