diff --git a/Main/Source/ExtendedWPFToolkitSolution/ExtendedWPFToolkit.sln b/Main/Source/ExtendedWPFToolkitSolution/ExtendedWPFToolkit.sln deleted file mode 100644 index 1408ae6a..00000000 --- a/Main/Source/ExtendedWPFToolkitSolution/ExtendedWPFToolkit.sln +++ /dev/null @@ -1,39 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPFToolkit.Extended", "Src\WPFToolkit.Extended\WPFToolkit.Extended.csproj", "{72E591D6-8F83-4D8C-8F67-9C325E623234}" -EndProject -Global - GlobalSection(TeamFoundationVersionControl) = preSolution - SccNumberOfProjects = 2 - SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C} - SccTeamFoundationServer = https://tfs.codeplex.com/tfs/tfs02 - SccLocalPath0 = . - SccProjectUniqueName1 = Src\\WPFToolkit.Extended\\WPFToolkit.Extended.csproj - SccProjectName1 = Src/WPFToolkit.Extended - SccLocalPath1 = Src\\WPFToolkit.Extended - EndGlobalSection - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|Mixed Platforms = Debug|Mixed Platforms - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|Mixed Platforms = Release|Mixed Platforms - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {72E591D6-8F83-4D8C-8F67-9C325E623234}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {72E591D6-8F83-4D8C-8F67-9C325E623234}.Debug|Any CPU.Build.0 = Debug|Any CPU - {72E591D6-8F83-4D8C-8F67-9C325E623234}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {72E591D6-8F83-4D8C-8F67-9C325E623234}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {72E591D6-8F83-4D8C-8F67-9C325E623234}.Debug|x86.ActiveCfg = Debug|Any CPU - {72E591D6-8F83-4D8C-8F67-9C325E623234}.Release|Any CPU.ActiveCfg = Release|Any CPU - {72E591D6-8F83-4D8C-8F67-9C325E623234}.Release|Any CPU.Build.0 = Release|Any CPU - {72E591D6-8F83-4D8C-8F67-9C325E623234}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {72E591D6-8F83-4D8C-8F67-9C325E623234}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {72E591D6-8F83-4D8C-8F67-9C325E623234}.Release|x86.ActiveCfg = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/BusyIndicator/BusyIndicator.cs b/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/BusyIndicator/BusyIndicator.cs deleted file mode 100644 index 19ba2378..00000000 --- a/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/BusyIndicator/BusyIndicator.cs +++ /dev/null @@ -1,263 +0,0 @@ -using System; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Shapes; -using System.Windows.Threading; - -namespace Microsoft.Windows.Controls -{ - /// - /// A control to provide a visual indicator when an application is busy. - /// - /// Preview - [TemplateVisualState(Name = VisualStates.StateIdle, GroupName = VisualStates.GroupBusyStatus)] - [TemplateVisualState(Name = VisualStates.StateBusy, GroupName = VisualStates.GroupBusyStatus)] - [TemplateVisualState(Name = VisualStates.StateVisible, GroupName = VisualStates.GroupVisibility)] - [TemplateVisualState(Name = VisualStates.StateHidden, GroupName = VisualStates.GroupVisibility)] - [StyleTypedProperty(Property = "OverlayStyle", StyleTargetType = typeof(Rectangle))] - [StyleTypedProperty(Property = "ProgressBarStyle", StyleTargetType = typeof(ProgressBar))] - public class BusyIndicator : ContentControl - { - #region Private Members - - /// - /// Timer used to delay the initial display and avoid flickering. - /// - private DispatcherTimer _displayAfterTimer = new DispatcherTimer(); - - #endregion //Private Members - - #region Constructors - - public BusyIndicator() - { - DefaultStyleKeyProperty.OverrideMetadata(typeof(BusyIndicator), new FrameworkPropertyMetadata(typeof(BusyIndicator))); - _displayAfterTimer.Tick += new EventHandler(DisplayAfterTimerElapsed); - } - - #endregion //Constructors - - #region Base Class Overrides - - /// - /// Overrides the OnApplyTemplate method. - /// - public override void OnApplyTemplate() - { - base.OnApplyTemplate(); - ChangeVisualState(false); - } - - #endregion //Base Class Overrides - - #region Properties - - /// - /// Gets or sets a value indicating whether the BusyContent is visible. - /// - protected bool IsContentVisible { get; set; } - - #endregion //Properties - - #region Dependency Properties - - #region IsBusy - - /// - /// Identifies the IsBusy dependency property. - /// - public static readonly DependencyProperty IsBusyProperty = DependencyProperty.Register( - "IsBusy", - typeof(bool), - typeof(BusyIndicator), - new PropertyMetadata(false, new PropertyChangedCallback(OnIsBusyChanged))); - - /// - /// Gets or sets a value indicating whether the busy indicator should show. - /// - public bool IsBusy - { - get { return (bool)GetValue(IsBusyProperty); } - set { SetValue(IsBusyProperty, value); } - } - - /// - /// IsBusyProperty property changed handler. - /// - /// BusyIndicator that changed its IsBusy. - /// Event arguments. - private static void OnIsBusyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - ((BusyIndicator)d).OnIsBusyChanged(e); - } - - /// - /// IsBusyProperty property changed handler. - /// - /// Event arguments. - protected virtual void OnIsBusyChanged(DependencyPropertyChangedEventArgs e) - { - if (IsBusy) - { - if (DisplayAfter.Equals(TimeSpan.Zero)) - { - // Go visible now - IsContentVisible = true; - } - else - { - // Set a timer to go visible - _displayAfterTimer.Interval = DisplayAfter; - _displayAfterTimer.Start(); - } - } - else - { - // No longer visible - _displayAfterTimer.Stop(); - IsContentVisible = false; - } - - ChangeVisualState(true); - } - - #endregion //IsBusy - - #region Busy Content - - /// - /// Identifies the BusyContent dependency property. - /// - public static readonly DependencyProperty BusyContentProperty = DependencyProperty.Register( - "BusyContent", - typeof(object), - typeof(BusyIndicator), - new PropertyMetadata(null)); - - /// - /// Gets or sets a value indicating the busy content to display to the user. - /// - public object BusyContent - { - get { return (object)GetValue(BusyContentProperty); } - set { SetValue(BusyContentProperty, value); } - } - - #endregion //Busy Content - - #region Busy Content Template - - /// - /// Identifies the BusyTemplate dependency property. - /// - public static readonly DependencyProperty BusyContentTemplateProperty = DependencyProperty.Register( - "BusyContentTemplate", - typeof(DataTemplate), - typeof(BusyIndicator), - new PropertyMetadata(null)); - - /// - /// Gets or sets a value indicating the template to use for displaying the busy content to the user. - /// - public DataTemplate BusyContentTemplate - { - get { return (DataTemplate)GetValue(BusyContentTemplateProperty); } - set { SetValue(BusyContentTemplateProperty, value); } - } - - #endregion //Busy Content Template - - #region Display After - - /// - /// Identifies the DisplayAfter dependency property. - /// - public static readonly DependencyProperty DisplayAfterProperty = DependencyProperty.Register( - "DisplayAfter", - typeof(TimeSpan), - typeof(BusyIndicator), - new PropertyMetadata(TimeSpan.FromSeconds(0.1))); - - /// - /// Gets or sets a value indicating how long to delay before displaying the busy content. - /// - public TimeSpan DisplayAfter - { - get { return (TimeSpan)GetValue(DisplayAfterProperty); } - set { SetValue(DisplayAfterProperty, value); } - } - - #endregion //Display After - - #region Overlay Style - - /// - /// Identifies the OverlayStyle dependency property. - /// - public static readonly DependencyProperty OverlayStyleProperty = DependencyProperty.Register( - "OverlayStyle", - typeof(Style), - typeof(BusyIndicator), - new PropertyMetadata(null)); - - /// - /// Gets or sets a value indicating the style to use for the overlay. - /// - public Style OverlayStyle - { - get { return (Style)GetValue(OverlayStyleProperty); } - set { SetValue(OverlayStyleProperty, value); } - } - #endregion //Overlay Style - - #region ProgressBar Style - - /// - /// Identifies the ProgressBarStyle dependency property. - /// - public static readonly DependencyProperty ProgressBarStyleProperty = DependencyProperty.Register( - "ProgressBarStyle", - typeof(Style), - typeof(BusyIndicator), - new PropertyMetadata(null)); - - /// - /// Gets or sets a value indicating the style to use for the progress bar. - /// - public Style ProgressBarStyle - { - get { return (Style)GetValue(ProgressBarStyleProperty); } - set { SetValue(ProgressBarStyleProperty, value); } - } - - #endregion //ProgressBar Style - - #endregion //Dependency Properties - - #region Methods - - /// - /// Handler for the DisplayAfterTimer. - /// - /// Event sender. - /// Event arguments. - private void DisplayAfterTimerElapsed(object sender, EventArgs e) - { - _displayAfterTimer.Stop(); - IsContentVisible = true; - ChangeVisualState(true); - } - - /// - /// Changes the control's visual state(s). - /// - /// True if state transitions should be used. - protected virtual void ChangeVisualState(bool useTransitions) - { - VisualStateManager.GoToState(this, IsBusy ? VisualStates.StateBusy : VisualStates.StateIdle, useTransitions); - VisualStateManager.GoToState(this, IsContentVisible ? VisualStates.StateVisible : VisualStates.StateHidden, useTransitions); - } - - #endregion //Methods - } -} diff --git a/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/Properties/AssemblyInfo.cs b/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/Properties/AssemblyInfo.cs deleted file mode 100644 index 56321be6..00000000 --- a/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/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("WPFToolkit.Extended")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("WPFToolkit.Extended")] -[assembly: AssemblyCopyright("Copyright © 2010")] -[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/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/Properties/Resources.Designer.cs b/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/Properties/Resources.Designer.cs deleted file mode 100644 index eaf63633..00000000 --- a/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/Properties/Resources.Designer.cs +++ /dev/null @@ -1,63 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.1 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Microsoft.Windows.Controls.Properties { - using System; - - - /// - /// 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 (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Windows.Controls.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/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/Properties/Resources.resx b/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/Properties/Resources.resx deleted file mode 100644 index ffecec85..00000000 --- a/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/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/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/Properties/Settings.Designer.cs b/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/Properties/Settings.Designer.cs deleted file mode 100644 index 4a0f1423..00000000 --- a/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/Properties/Settings.Designer.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.1 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Microsoft.Windows.Controls.Properties { - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.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/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/Properties/Settings.settings b/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/Properties/Settings.settings deleted file mode 100644 index 8f2fd95d..00000000 --- a/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/Themes/Generic.xaml b/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/Themes/Generic.xaml deleted file mode 100644 index b22e5043..00000000 --- a/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/Themes/Generic.xaml +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Collapsed - - - - - - - Collapsed - - - - - - - - - - - Visible - - - - - - - Visible - - - - - - - - - - - - - True - - - - - - - - - - - False - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/VisualStates.cs b/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/VisualStates.cs deleted file mode 100644 index f16e1a22..00000000 --- a/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/VisualStates.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; - -namespace Microsoft.Windows.Controls -{ - internal static class VisualStates - { - /// - /// Busyness group name. - /// - public const string GroupBusyStatus = "BusyStatusStates"; - - /// - /// Busy state for BusyIndicator. - /// - public const string StateBusy = "Busy"; - - /// - /// Idle state for BusyIndicator. - /// - public const string StateIdle = "Idle"; - - /// - /// BusyDisplay group. - /// - public const string GroupVisibility = "VisibilityStates"; - - /// - /// Visible state name for BusyIndicator. - /// - public const string StateVisible = "Visible"; - - /// - /// Hidden state name for BusyIndicator. - /// - public const string StateHidden = "Hidden"; - } -} diff --git a/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/WPFToolkit.Extended.csproj b/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/WPFToolkit.Extended.csproj deleted file mode 100644 index b7d82d8f..00000000 --- a/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/WPFToolkit.Extended.csproj +++ /dev/null @@ -1,95 +0,0 @@ - - - - Debug - AnyCPU - 8.0.30703 - 2.0 - {72E591D6-8F83-4D8C-8F67-9C325E623234} - library - Properties - Microsoft.Windows.Controls - WPFToolkit.Extended - v4.0 - Client - 512 - {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 4 - SAK - SAK - SAK - SAK - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - 4.0 - - - - - - - - MSBuild:Compile - Designer - - - - - - 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/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/WPFToolkit.Extended.csproj.vspscc b/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/WPFToolkit.Extended.csproj.vspscc deleted file mode 100644 index feffdeca..00000000 --- a/Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/WPFToolkit.Extended.csproj.vspscc +++ /dev/null @@ -1,10 +0,0 @@ -"" -{ -"FILE_VERSION" = "9237" -"ENLISTMENT_CHOICE" = "NEVER" -"PROJECT_FILE_RELATIVE_PATH" = "" -"NUMBER_OF_EXCLUDED_FILES" = "0" -"ORIGINAL_PROJECT_FILE_PATH" = "" -"NUMBER_OF_NESTED_PROJECTS" = "0" -"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" -}