diff --git a/.gitignore b/.gitignore
index 89c660548..bc6fc0434 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,295 +1,314 @@
-## Ignore Visual Studio temporary files, build results, and
-## files generated by popular Visual Studio add-ons.
-##
-## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
-
-# User-specific files
-*.suo
-*.user
-*.userosscache
-*.sln.docstates
-
-# User-specific files (MonoDevelop/Xamarin Studio)
-*.userprefs
-
-# Build results
-[Dd]ebug/
-[Dd]ebugPublic/
-[Rr]elease/
-[Rr]eleases/
-x64/
-x86/
-bld/
-[Bb]in/
-[Oo]bj/
-[Ll]og/
-
-# Visual Studio 2015 cache/options directory
-.vs/
-# Uncomment if you have tasks that create the project's static files in wwwroot
-#wwwroot/
-
-# MSTest test Results
-[Tt]est[Rr]esult*/
-[Bb]uild[Ll]og.*
-
-# NUNIT
-*.VisualState.xml
-TestResult.xml
-
-# Build Results of an ATL Project
-[Dd]ebugPS/
-[Rr]eleasePS/
-dlldata.c
-
-# Benchmark Results
-BenchmarkDotNet.Artifacts/
-
-# .NET Core
-project.lock.json
-project.fragment.lock.json
-artifacts/
-**/Properties/launchSettings.json
-
-*_i.c
-*_p.c
-*_i.h
-*.ilk
-*.meta
-*.obj
-*.pch
-*.pdb
-*.pgc
-*.pgd
-*.rsp
-*.sbr
-*.tlb
-*.tli
-*.tlh
-*.tmp
-*.tmp_proj
-*.log
-*.vspscc
-*.vssscc
-.builds
-*.pidb
-*.svclog
-*.scc
-
-# Chutzpah Test files
-_Chutzpah*
-
-# Visual C++ cache files
-ipch/
-*.aps
-*.ncb
-*.opendb
-*.opensdf
-*.sdf
-*.cachefile
-*.VC.db
-*.VC.VC.opendb
-
-# Visual Studio profiler
-*.psess
-*.vsp
-*.vspx
-*.sap
-
-# TFS 2012 Local Workspace
-$tf/
-
-# Guidance Automation Toolkit
-*.gpState
-
-# ReSharper is a .NET coding add-in
-_ReSharper*/
-*.[Rr]e[Ss]harper
-*.DotSettings.user
-
-# JustCode is a .NET coding add-in
-.JustCode
-
-# TeamCity is a build add-in
-_TeamCity*
-
-# DotCover is a Code Coverage Tool
-*.dotCover
-
-# Visual Studio code coverage results
-*.coverage
-*.coveragexml
-
-# NCrunch
-_NCrunch_*
-.*crunch*.local.xml
-nCrunchTemp_*
-
-# MightyMoose
-*.mm.*
-AutoTest.Net/
-
-# Web workbench (sass)
-.sass-cache/
-
-# Installshield output folder
-[Ee]xpress/
-
-# DocProject is a documentation generator add-in
-DocProject/buildhelp/
-DocProject/Help/*.HxT
-DocProject/Help/*.HxC
-DocProject/Help/*.hhc
-DocProject/Help/*.hhk
-DocProject/Help/*.hhp
-DocProject/Help/Html2
-DocProject/Help/html
-
-# Click-Once directory
-publish/
-
-# Publish Web Output
-*.[Pp]ublish.xml
-*.azurePubxml
-# Note: Comment the next line if you want to checkin your web deploy settings,
-# but database connection strings (with potential passwords) will be unencrypted
-*.pubxml
-*.publishproj
-
-# Microsoft Azure Web App publish settings. Comment the next line if you want to
-# checkin your Azure Web App publish settings, but sensitive information contained
-# in these scripts will be unencrypted
-PublishScripts/
-
-# NuGet Packages
-*.nupkg
-# The packages folder can be ignored because of Package Restore
-**/packages/*
-# except build/, which is used as an MSBuild target.
-!**/packages/build/
-# Uncomment if necessary however generally it will be regenerated when needed
-#!**/packages/repositories.config
-# NuGet v3's project.json files produces more ignorable files
-*.nuget.props
-*.nuget.targets
-
-# Microsoft Azure Build Output
-csx/
-*.build.csdef
-
-# Microsoft Azure Emulator
-ecf/
-rcf/
-
-# Windows Store app package directories and files
-AppPackages/
-BundleArtifacts/
-Package.StoreAssociation.xml
-_pkginfo.txt
-*.appx
-
-# Visual Studio cache files
-# files ending in .cache can be ignored
-*.[Cc]ache
-# but keep track of directories ending in .cache
-!*.[Cc]ache/
-
-# Others
-ClientBin/
-~$*
-*~
-*.dbmdl
-*.dbproj.schemaview
-*.jfm
-*.pfx
-*.publishsettings
-orleans.codegen.cs
-
-# Since there are multiple workflows, uncomment next line to ignore bower_components
-# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
-#bower_components/
-
-# RIA/Silverlight projects
-Generated_Code/
-
-# Backup & report files from converting an old project file
-# to a newer Visual Studio version. Backup files are not needed,
-# because we have git ;-)
-_UpgradeReport_Files/
-Backup*/
-UpgradeLog*.XML
-UpgradeLog*.htm
-
-# SQL Server files
-*.mdf
-*.ldf
-*.ndf
-
-# Business Intelligence projects
-*.rdl.data
-*.bim.layout
-*.bim_*.settings
-
-# Microsoft Fakes
-FakesAssemblies/
-
-# GhostDoc plugin setting file
-*.GhostDoc.xml
-
-# Node.js Tools for Visual Studio
-.ntvs_analysis.dat
-node_modules/
-
-# Typescript v1 declaration files
-typings/
-
-# Visual Studio 6 build log
-*.plg
-
-# Visual Studio 6 workspace options file
-*.opt
-
-# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
-*.vbw
-
-# Visual Studio LightSwitch build output
-**/*.HTMLClient/GeneratedArtifacts
-**/*.DesktopClient/GeneratedArtifacts
-**/*.DesktopClient/ModelManifest.xml
-**/*.Server/GeneratedArtifacts
-**/*.Server/ModelManifest.xml
-_Pvt_Extensions
-
-# Paket dependency manager
-.paket/paket.exe
-paket-files/
-
-# FAKE - F# Make
-.fake/
-
-# JetBrains Rider
-.idea/
-*.sln.iml
-
-# CodeRush
-.cr/
-
-# Python Tools for Visual Studio (PTVS)
-__pycache__/
-*.pyc
-
-# Cake - Uncomment if you are using it
-# tools/**
-# !tools/packages.config
-
-# Tabs Studio
-*.tss
-
-# Telerik's JustMock configuration file
-*.jmconfig
-
-# BizTalk build output
-*.btp.cs
-*.btm.cs
-*.odx.cs
-*.xsd.cs
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+##
+## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
+
+# User-specific files
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# User-specific files (MonoDevelop/Xamarin Studio)
+*.userprefs
+
+# Build results
+[Dd]ebug/
+[Dd]ebugPublic/
+[Rr]elease/
+[Rr]eleases/
+x64/
+x86/
+bld/
+[Bb]in/
+[Oo]bj/
+[Ll]og/
+
+# Visual Studio 2015 cache/options directory
+.vs/
+# Uncomment if you have tasks that create the project's static files in wwwroot
+#wwwroot/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+# NUNIT
+*.VisualState.xml
+TestResult.xml
+
+# Build Results of an ATL Project
+[Dd]ebugPS/
+[Rr]eleasePS/
+dlldata.c
+
+# Benchmark Results
+BenchmarkDotNet.Artifacts/
+
+# .NET Core
+project.lock.json
+project.fragment.lock.json
+artifacts/
+**/Properties/launchSettings.json
+
+*_i.c
+*_p.c
+*_i.h
+*.ilk
+*.meta
+*.obj
+*.pch
+*.pdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*.log
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.svclog
+*.scc
+
+# Chutzpah Test files
+_Chutzpah*
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opendb
+*.opensdf
+*.sdf
+*.cachefile
+*.VC.db
+*.VC.VC.opendb
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+*.sap
+
+# TFS 2012 Local Workspace
+$tf/
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+_ReSharper*/
+*.[Rr]e[Ss]harper
+*.DotSettings.user
+
+# JustCode is a .NET coding add-in
+.JustCode
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# Visual Studio code coverage results
+*.coverage
+*.coveragexml
+
+# NCrunch
+_NCrunch_*
+.*crunch*.local.xml
+nCrunchTemp_*
+
+# MightyMoose
+*.mm.*
+AutoTest.Net/
+
+# Web workbench (sass)
+.sass-cache/
+
+# Installshield output folder
+[Ee]xpress/
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.[Pp]ublish.xml
+*.azurePubxml
+# Note: Comment the next line if you want to checkin your web deploy settings,
+# but database connection strings (with potential passwords) will be unencrypted
+*.pubxml
+*.publishproj
+
+# Microsoft Azure Web App publish settings. Comment the next line if you want to
+# checkin your Azure Web App publish settings, but sensitive information contained
+# in these scripts will be unencrypted
+PublishScripts/
+
+# NuGet Packages
+*.nupkg
+# The packages folder can be ignored because of Package Restore
+**/packages/*
+# except build/, which is used as an MSBuild target.
+!**/packages/build/
+# Uncomment if necessary however generally it will be regenerated when needed
+#!**/packages/repositories.config
+# NuGet v3's project.json files produces more ignorable files
+*.nuget.props
+*.nuget.targets
+
+# Microsoft Azure Build Output
+csx/
+*.build.csdef
+
+# Microsoft Azure Emulator
+ecf/
+rcf/
+
+# Windows Store app package directories and files
+AppPackages/
+BundleArtifacts/
+Package.StoreAssociation.xml
+_pkginfo.txt
+*.appx
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!*.[Cc]ache/
+
+# Others
+ClientBin/
+~$*
+*~
+*.dbmdl
+*.dbproj.schemaview
+*.jfm
+*.pfx
+*.publishsettings
+orleans.codegen.cs
+
+# Since there are multiple workflows, uncomment next line to ignore bower_components
+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
+#bower_components/
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file
+# to a newer Visual Studio version. Backup files are not needed,
+# because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+
+# SQL Server files
+*.mdf
+*.ldf
+*.ndf
+
+# Business Intelligence projects
+*.rdl.data
+*.bim.layout
+*.bim_*.settings
+
+# Microsoft Fakes
+FakesAssemblies/
+
+# GhostDoc plugin setting file
+*.GhostDoc.xml
+
+# Node.js Tools for Visual Studio
+.ntvs_analysis.dat
+node_modules/
+
+# Typescript v1 declaration files
+typings/
+
+# Visual Studio 6 build log
+*.plg
+
+# Visual Studio 6 workspace options file
+*.opt
+
+# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
+*.vbw
+
+# Visual Studio LightSwitch build output
+**/*.HTMLClient/GeneratedArtifacts
+**/*.DesktopClient/GeneratedArtifacts
+**/*.DesktopClient/ModelManifest.xml
+**/*.Server/GeneratedArtifacts
+**/*.Server/ModelManifest.xml
+_Pvt_Extensions
+
+# Paket dependency manager
+.paket/paket.exe
+paket-files/
+
+# FAKE - F# Make
+.fake/
+
+# JetBrains Rider
+.idea/
+*.sln.iml
+
+# CodeRush
+.cr/
+
+# Python Tools for Visual Studio (PTVS)
+__pycache__/
+*.pyc
+
+# Cake - Uncomment if you are using it
+# tools/**
+# !tools/packages.config
+
+# Tabs Studio
+*.tss
+
+# Telerik's JustMock configuration file
+*.jmconfig
+
+# BizTalk build output
+*.btp.cs
+*.btm.cs
+*.odx.cs
+*.xsd.cs
+
+### append
+/ExtendedWPFToolkitSolution/.vs/Xceed.Wpf.Toolkit/v15/.suo
+/ExtendedWPFToolkitSolution/.vs/Xceed.Wpf.Toolkit/v15/sqlite3/storage.ide
+/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/bin/*
+/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/obj/*
+/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/bin/*
+/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/obj/*
+/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/bin/*
+/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/obj/*
+/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/bin/*
+/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/obj/*
+/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.DataGrid/bin/*
+/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.DataGrid/obj/*
+/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/bin/*
+/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/*
+/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Xceed.Wpf.Toolkit.LiveExplorer.csproj.user
+/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/bin/*
+/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/obj/*
diff --git a/CHANGELOG_IUEDITOR.md b/CHANGELOG_IUEDITOR.md
new file mode 100644
index 000000000..86aaf7db0
--- /dev/null
+++ b/CHANGELOG_IUEDITOR.md
@@ -0,0 +1,71 @@
+WpfExToolkit for IUEditor
+============
+
+A fork of https://wpftoolkit.codeplex.com/
+
+The "Master" Branch will always be synced to the official Codeplex Version.
+
+"iueditor" Branch is customized from "master" branch
+
+---
+
+## History
+* 2018-09-19
+ * fixed anchorable dock -> auto hide (getSide)
+
+* 2018-08-24
+ * change range slider design (thumb : rectangle -> circle)
+
+* 2018-07-25
+ * merged from [original repository](https://github.com/xceedsoftware/wpftoolkit.git)
+ * (if failed to datagrid)
+ * https://stackoverflow.com/questions/36190601/your-project-is-not-referencing-the-netframework-version-v4-5-framework/41154960
+ * remove file : wpftoolkit directory obj\project.assets.json
+ * rollback avalon dock (fixed in original)
+ * wpf toolkit theme
+ * stayed aero2 theme
+ * rollback generic theme
+
+* 2018-03-06
+ * color picker (recent property -> static)
+ * editor config added
+ * avalondock
+ * change serialization tag <RootPanel> to <LayoutPanel>
+ * disable drop LayoutAnchorable to DocumentPane
+ * bugfix : FixupLayout method
+
+
+* 2018-02-27
+ * property grid
+ * disable horizontal scroll
+ * add designated object (w/ button)
+ * color panel
+ * change design
+
+* 2017-11-22
+ * added EditorEnabled dependency property in PropertyGrid for CanChange function
+
+* 2017-10-20
+ * property grid clear button image change / border color
+ * wizard button style add (binding)
+
+
+* 2017-10-17 : upstream change([https://github.com/xceedsoftware/wpftoolkit](https://github.com/xceedsoftware/wpftoolkit "xceed"))
+ * color applied (no color)
+ * numeric (remove - code 위치 표시)
+
+
+--------------------
+### xceed old github repository (https://github.com/dotnetprojects/WpfExtendedToolkit)
+
+* 2017-10-12 : Extended(upstream) merge
+ > color picker (no color 유지, advanced 복귀)
+
+* 2017-07-12 : CommonNumericUpDown Spinner
+ > Value가 null일 때, increase/decrease를 하는 경우, DefaultValue가 있으면 DefaultValue를 기준으로 변경
+
+* 2017-06-30 : CommonNumericUpDown Spinner for UpdateValueOnEnterKey
+ > UpdateValueOnEnterKey = true 이어도 Spinner로 Update하는 경우에는 Enter key없이 Update 되도록 변경
+
+* 2017-06-22 : ColorPicker design (iueditor customizing)
+ > 일단은 ColorPicker/Themes/Aero2.NormarColor.xaml와 ColorPicker/Themes/Generic.xaml 의 코드를 동일하게유지. Theme관련된 부분은 추후에 다시 논의
diff --git a/ExtendedWPFToolkitSolution/Libs/READ_ME.txt b/ExtendedWPFToolkitSolution/Libs/READ_ME.txt
index 973d2375b..69a49c7ef 100644
--- a/ExtendedWPFToolkitSolution/Libs/READ_ME.txt
+++ b/ExtendedWPFToolkitSolution/Libs/READ_ME.txt
@@ -1,2 +1,2 @@
-The file Xceed.Wpf.Samples.SampleData.dll has been created from Xceed.Silverlight.Samples.SampleData.dll of the Silverlight ListBox.
+The file Xceed.Wpf.Samples.SampleData.dll has been created from Xceed.Silverlight.Samples.SampleData.dll of the Silverlight ListBox.
Only the Silverlight has been changed to Wpf.
\ No newline at end of file
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AeroColors.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AeroColors.cs
index ec5cb4b86..e69fd708f 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AeroColors.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AeroColors.cs
@@ -1,62 +1,62 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Windows;
-using System.Windows.Media;
-
-namespace Xceed.Wpf.AvalonDock.Themes
-{
- public static class AeroColors
- {
- public static readonly ComponentResourceKey BaseColor1Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor1" );
- public static readonly ComponentResourceKey BaseColor2Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor2" );
- public static readonly ComponentResourceKey BaseColor3Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor3" );
- public static readonly ComponentResourceKey BaseColor4Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor4" );
- public static readonly ComponentResourceKey BaseColor5Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor5" );
- public static readonly ComponentResourceKey BaseColor6Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor6" );
- public static readonly ComponentResourceKey BaseColor7Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor7" );
- public static readonly ComponentResourceKey BaseColor8Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor8" );
- public static readonly ComponentResourceKey BaseColor9Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor9" );
- public static readonly ComponentResourceKey BaseColor10Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor10" );
- public static readonly ComponentResourceKey BaseColor11Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor11" );
- public static readonly ComponentResourceKey BaseColor12Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor12" );
- public static readonly ComponentResourceKey BaseColor13Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor13" );
- public static readonly ComponentResourceKey BaseColor14Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor14" );
- public static readonly ComponentResourceKey BaseColor15Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor15" );
- public static readonly ComponentResourceKey BaseColor16Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor16" );
- public static readonly ComponentResourceKey BaseColor17Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor17" );
- //public static readonly ComponentResourceKey BaseColor18Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor18" );
- //public static readonly ComponentResourceKey BaseColor19Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor19" );
- //public static readonly ComponentResourceKey BaseColor20Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor20" );
- //public static readonly ComponentResourceKey BaseColor21Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor21" );
- //public static readonly ComponentResourceKey BaseColor22Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor22" );
- //public static readonly ComponentResourceKey BaseColor23Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor23" );
- public static readonly ComponentResourceKey BaseColor24Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor24" );
- public static readonly ComponentResourceKey BaseColor25Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor25" );
- public static readonly ComponentResourceKey BaseColor26Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor26" );
- public static readonly ComponentResourceKey BaseColor27Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor27" );
- public static readonly ComponentResourceKey BaseColor28Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor28" );
- public static readonly ComponentResourceKey BaseColor29Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor29" );
- public static readonly ComponentResourceKey BaseColor30Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor30" );
- public static readonly ComponentResourceKey BaseColor31Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor31" );
- public static readonly ComponentResourceKey BaseColor32Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor32" );
- public static readonly ComponentResourceKey BaseColor33Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor33" );
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Windows.Media;
+
+namespace Xceed.Wpf.AvalonDock.Themes
+{
+ public static class AeroColors
+ {
+ public static readonly ComponentResourceKey BaseColor1Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor1" );
+ public static readonly ComponentResourceKey BaseColor2Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor2" );
+ public static readonly ComponentResourceKey BaseColor3Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor3" );
+ public static readonly ComponentResourceKey BaseColor4Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor4" );
+ public static readonly ComponentResourceKey BaseColor5Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor5" );
+ public static readonly ComponentResourceKey BaseColor6Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor6" );
+ public static readonly ComponentResourceKey BaseColor7Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor7" );
+ public static readonly ComponentResourceKey BaseColor8Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor8" );
+ public static readonly ComponentResourceKey BaseColor9Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor9" );
+ public static readonly ComponentResourceKey BaseColor10Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor10" );
+ public static readonly ComponentResourceKey BaseColor11Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor11" );
+ public static readonly ComponentResourceKey BaseColor12Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor12" );
+ public static readonly ComponentResourceKey BaseColor13Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor13" );
+ public static readonly ComponentResourceKey BaseColor14Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor14" );
+ public static readonly ComponentResourceKey BaseColor15Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor15" );
+ public static readonly ComponentResourceKey BaseColor16Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor16" );
+ public static readonly ComponentResourceKey BaseColor17Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor17" );
+ //public static readonly ComponentResourceKey BaseColor18Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor18" );
+ //public static readonly ComponentResourceKey BaseColor19Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor19" );
+ //public static readonly ComponentResourceKey BaseColor20Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor20" );
+ //public static readonly ComponentResourceKey BaseColor21Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor21" );
+ //public static readonly ComponentResourceKey BaseColor22Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor22" );
+ //public static readonly ComponentResourceKey BaseColor23Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor23" );
+ public static readonly ComponentResourceKey BaseColor24Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor24" );
+ public static readonly ComponentResourceKey BaseColor25Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor25" );
+ public static readonly ComponentResourceKey BaseColor26Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor26" );
+ public static readonly ComponentResourceKey BaseColor27Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor27" );
+ public static readonly ComponentResourceKey BaseColor28Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor28" );
+ public static readonly ComponentResourceKey BaseColor29Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor29" );
+ public static readonly ComponentResourceKey BaseColor30Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor30" );
+ public static readonly ComponentResourceKey BaseColor31Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor31" );
+ public static readonly ComponentResourceKey BaseColor32Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor32" );
+ public static readonly ComponentResourceKey BaseColor33Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor33" );
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AeroTheme.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AeroTheme.cs
index 0d3b20a4d..3f9b1bc01 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AeroTheme.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AeroTheme.cs
@@ -1,33 +1,33 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace Xceed.Wpf.AvalonDock.Themes
-{
- public class AeroTheme : Theme
- {
- public override Uri GetResourceUri()
- {
- return new Uri(
- "/Xceed.Wpf.AvalonDock.Themes.Aero;component/Theme.xaml",
- UriKind.Relative);
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Xceed.Wpf.AvalonDock.Themes
+{
+ public class AeroTheme : Theme
+ {
+ public override Uri GetResourceUri()
+ {
+ return new Uri(
+ "/Xceed.Wpf.AvalonDock.Themes.Aero;component/Theme.xaml",
+ UriKind.Relative);
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AssemblyVersionInfoCommon.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AssemblyVersionInfoCommon.cs
index 3316fb13a..49ee1682e 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AssemblyVersionInfoCommon.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AssemblyVersionInfoCommon.cs
@@ -1,22 +1,22 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-internal static class _XceedVersionInfoCommon
-{
-[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
- public const string Build = ".*";
-
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+internal static class _XceedVersionInfoCommon
+{
+[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
+ public const string Build = ".*";
+
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Brushes.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Brushes.xaml
index 3606e3ee1..04a24fe13 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Brushes.xaml
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Brushes.xaml
@@ -1,155 +1,155 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Controls/SplineBorder.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Controls/SplineBorder.cs
index 923475556..c3c0e51e5 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Controls/SplineBorder.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Controls/SplineBorder.cs
@@ -1,161 +1,161 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Imaging;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-
-namespace Xceed.Wpf.AvalonDock.Themes.Controls
-{
- public class SplineBorder : Control
- {
-
- public SplineBorder()
- {
- //RenderOptions.SetEdgeMode(this, EdgeMode.Aliased);
- }
-
-
- #region Thickness
-
- ///
- /// Thickness Dependency Property
- ///
- public static readonly DependencyProperty ThicknessProperty =
- DependencyProperty.Register("Thickness", typeof(double), typeof(SplineBorder),
- new FrameworkPropertyMetadata((double)1.0, FrameworkPropertyMetadataOptions.AffectsRender));
-
- ///
- /// Gets or sets the Thickness property. This dependency property
- /// indicates the border thickness.
- ///
- public double Thickness
- {
- get { return (double)GetValue(ThicknessProperty); }
- set { SetValue(ThicknessProperty, value); }
- }
-
- #endregion
-
- #region Fill
-
- ///
- /// Fill Dependency Property
- ///
- public static readonly DependencyProperty FillProperty =
- DependencyProperty.Register("Fill", typeof(Brush), typeof(SplineBorder),
- new FrameworkPropertyMetadata((Brush)null, FrameworkPropertyMetadataOptions.AffectsRender));
-
- ///
- /// Gets or sets the Fill property. This dependency property
- /// indicates the fill color.
- ///
- public Brush Fill
- {
- get { return (Brush)GetValue(FillProperty); }
- set { SetValue(FillProperty, value); }
- }
-
- #endregion
-
- #region Stroke
-
- ///
- /// Stroke Dependency Property
- ///
- public static readonly DependencyProperty StrokeProperty =
- DependencyProperty.Register("Stroke", typeof(Brush), typeof(SplineBorder),
- new FrameworkPropertyMetadata(Brushes.Black, FrameworkPropertyMetadataOptions.AffectsRender));
-
- ///
- /// Gets or sets the Stroke property. This dependency property
- /// indicates the stroke brush.
- ///
- public Brush Stroke
- {
- get { return (Brush)GetValue(StrokeProperty); }
- set { SetValue(StrokeProperty, value); }
- }
-
- #endregion
-
- #region BottomBorderMargin
-
- ///
- /// BottomBorderMargin Dependency Property
- ///
- public static readonly DependencyProperty BottomBorderMarginProperty =
- DependencyProperty.Register("BottomBorderMargin", typeof(double), typeof(SplineBorder),
- new FrameworkPropertyMetadata((double)0.0, FrameworkPropertyMetadataOptions.AffectsRender));
-
- ///
- /// Gets or sets the BottomBorderMargin property. This dependency property
- /// indicates the adjustment for the bottom margin.
- ///
- public double BottomBorderMargin
- {
- get { return (double)GetValue(BottomBorderMarginProperty); }
- set { SetValue(BottomBorderMarginProperty, value); }
- }
-
- #endregion
-
-
-
- protected override void OnRender(DrawingContext drawingContext)
- {
- var pgFill = new PathGeometry();
- var pfFill = new PathFigure() { IsFilled = true, IsClosed = true };
- pfFill.StartPoint = new Point(ActualWidth, 0.0);
-
- var q1Fill = new QuadraticBezierSegment() { Point1 = new Point(ActualWidth * 2 / 3, 0.0), Point2 = new Point(ActualWidth / 2.0, ActualHeight / 2.0), IsStroked = false };
- pfFill.Segments.Add(q1Fill);
- var q2Fill = new QuadraticBezierSegment() { Point1 = new Point(ActualWidth / 3, ActualHeight ), Point2 = new Point(0, ActualHeight ), IsStroked = false };
- pfFill.Segments.Add(q2Fill);
-
- pfFill.Segments.Add(new LineSegment() { Point = new Point(ActualWidth, ActualHeight ), IsStroked = false });
-
- pgFill.Figures.Add(pfFill);
-
- drawingContext.DrawGeometry(Fill, null, pgFill);
-
- var pgBorder = new PathGeometry();
- var pfBorder = new PathFigure() { IsFilled = false, IsClosed = false };
- pfBorder.StartPoint = new Point(ActualWidth, Thickness / 2);
-
- var q1Border = new QuadraticBezierSegment() { Point1 = new Point(ActualWidth * 2 / 3, 0.0), Point2 = new Point(ActualWidth / 2.0, ActualHeight / 2.0) };
- pfBorder.Segments.Add(q1Border);
- var q2Border = new QuadraticBezierSegment() { Point1 = new Point(ActualWidth / 3, ActualHeight), Point2 = new Point(0.0, ActualHeight - BottomBorderMargin) };
- pfBorder.Segments.Add(q2Border);
-
- pgBorder.Figures.Add(pfBorder);
-
- drawingContext.DrawGeometry(null, new Pen(Stroke, Thickness), pgBorder);
-
- base.OnRender(drawingContext);
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace Xceed.Wpf.AvalonDock.Themes.Controls
+{
+ public class SplineBorder : Control
+ {
+
+ public SplineBorder()
+ {
+ //RenderOptions.SetEdgeMode(this, EdgeMode.Aliased);
+ }
+
+
+ #region Thickness
+
+ ///
+ /// Thickness Dependency Property
+ ///
+ public static readonly DependencyProperty ThicknessProperty =
+ DependencyProperty.Register("Thickness", typeof(double), typeof(SplineBorder),
+ new FrameworkPropertyMetadata((double)1.0, FrameworkPropertyMetadataOptions.AffectsRender));
+
+ ///
+ /// Gets or sets the Thickness property. This dependency property
+ /// indicates the border thickness.
+ ///
+ public double Thickness
+ {
+ get { return (double)GetValue(ThicknessProperty); }
+ set { SetValue(ThicknessProperty, value); }
+ }
+
+ #endregion
+
+ #region Fill
+
+ ///
+ /// Fill Dependency Property
+ ///
+ public static readonly DependencyProperty FillProperty =
+ DependencyProperty.Register("Fill", typeof(Brush), typeof(SplineBorder),
+ new FrameworkPropertyMetadata((Brush)null, FrameworkPropertyMetadataOptions.AffectsRender));
+
+ ///
+ /// Gets or sets the Fill property. This dependency property
+ /// indicates the fill color.
+ ///
+ public Brush Fill
+ {
+ get { return (Brush)GetValue(FillProperty); }
+ set { SetValue(FillProperty, value); }
+ }
+
+ #endregion
+
+ #region Stroke
+
+ ///
+ /// Stroke Dependency Property
+ ///
+ public static readonly DependencyProperty StrokeProperty =
+ DependencyProperty.Register("Stroke", typeof(Brush), typeof(SplineBorder),
+ new FrameworkPropertyMetadata(Brushes.Black, FrameworkPropertyMetadataOptions.AffectsRender));
+
+ ///
+ /// Gets or sets the Stroke property. This dependency property
+ /// indicates the stroke brush.
+ ///
+ public Brush Stroke
+ {
+ get { return (Brush)GetValue(StrokeProperty); }
+ set { SetValue(StrokeProperty, value); }
+ }
+
+ #endregion
+
+ #region BottomBorderMargin
+
+ ///
+ /// BottomBorderMargin Dependency Property
+ ///
+ public static readonly DependencyProperty BottomBorderMarginProperty =
+ DependencyProperty.Register("BottomBorderMargin", typeof(double), typeof(SplineBorder),
+ new FrameworkPropertyMetadata((double)0.0, FrameworkPropertyMetadataOptions.AffectsRender));
+
+ ///
+ /// Gets or sets the BottomBorderMargin property. This dependency property
+ /// indicates the adjustment for the bottom margin.
+ ///
+ public double BottomBorderMargin
+ {
+ get { return (double)GetValue(BottomBorderMarginProperty); }
+ set { SetValue(BottomBorderMarginProperty, value); }
+ }
+
+ #endregion
+
+
+
+ protected override void OnRender(DrawingContext drawingContext)
+ {
+ var pgFill = new PathGeometry();
+ var pfFill = new PathFigure() { IsFilled = true, IsClosed = true };
+ pfFill.StartPoint = new Point(ActualWidth, 0.0);
+
+ var q1Fill = new QuadraticBezierSegment() { Point1 = new Point(ActualWidth * 2 / 3, 0.0), Point2 = new Point(ActualWidth / 2.0, ActualHeight / 2.0), IsStroked = false };
+ pfFill.Segments.Add(q1Fill);
+ var q2Fill = new QuadraticBezierSegment() { Point1 = new Point(ActualWidth / 3, ActualHeight ), Point2 = new Point(0, ActualHeight ), IsStroked = false };
+ pfFill.Segments.Add(q2Fill);
+
+ pfFill.Segments.Add(new LineSegment() { Point = new Point(ActualWidth, ActualHeight ), IsStroked = false });
+
+ pgFill.Figures.Add(pfFill);
+
+ drawingContext.DrawGeometry(Fill, null, pgFill);
+
+ var pgBorder = new PathGeometry();
+ var pfBorder = new PathFigure() { IsFilled = false, IsClosed = false };
+ pfBorder.StartPoint = new Point(ActualWidth, Thickness / 2);
+
+ var q1Border = new QuadraticBezierSegment() { Point1 = new Point(ActualWidth * 2 / 3, 0.0), Point2 = new Point(ActualWidth / 2.0, ActualHeight / 2.0) };
+ pfBorder.Segments.Add(q1Border);
+ var q2Border = new QuadraticBezierSegment() { Point1 = new Point(ActualWidth / 3, ActualHeight), Point2 = new Point(0.0, ActualHeight - BottomBorderMargin) };
+ pfBorder.Segments.Add(q2Border);
+
+ pgBorder.Figures.Add(pfBorder);
+
+ drawingContext.DrawGeometry(null, new Pen(Stroke, Thickness), pgBorder);
+
+ base.OnRender(drawingContext);
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Xceed.Wpf.AvalonDock.Themes.Aero.csproj b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Xceed.Wpf.AvalonDock.Themes.Aero.csproj
index 9d14d5b58..94f58017f 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Xceed.Wpf.AvalonDock.Themes.Aero.csproj
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Xceed.Wpf.AvalonDock.Themes.Aero.csproj
@@ -1,194 +1,194 @@
-
-
-
- Debug
- AnyCPU
- 8.0.30703
- 2.0
- {BA72CCE0-A9FB-4995-B496-7FEC5C87B85B}
- library
- Properties
- Xceed.Wpf.AvalonDock.Themes
- Xceed.Wpf.AvalonDock.Themes.Aero
- v4.0
- Client
- 512
- {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- 4
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
-
-
-
-
-
-
-
-
- 4.0
-
-
-
-
-
-
-
-
-
-
-
- Code
-
-
-
-
-
-
- {DB81988F-E0F2-45A0-A1FD-8C37F3D35244}
- Xceed.Wpf.AvalonDock
-
-
-
-
- MSBuild:Compile
- Designer
-
-
- MSBuild:Compile
- Designer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ Debug
+ AnyCPU
+ 8.0.30703
+ 2.0
+ {BA72CCE0-A9FB-4995-B496-7FEC5C87B85B}
+ library
+ Properties
+ Xceed.Wpf.AvalonDock.Themes
+ Xceed.Wpf.AvalonDock.Themes.Aero
+ v4.0
+ Client
+ 512
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 4
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+ 4.0
+
+
+
+
+
+
+
+
+
+
+
+ Code
+
+
+
+
+
+
+ {DB81988F-E0F2-45A0-A1FD-8C37F3D35244}
+ Xceed.Wpf.AvalonDock
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -->
\ No newline at end of file
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/AssemblyVersionInfoCommon.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/AssemblyVersionInfoCommon.cs
index 3316fb13a..49ee1682e 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/AssemblyVersionInfoCommon.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/AssemblyVersionInfoCommon.cs
@@ -1,22 +1,22 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-internal static class _XceedVersionInfoCommon
-{
-[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
- public const string Build = ".*";
-
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+internal static class _XceedVersionInfoCommon
+{
+[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
+ public const string Build = ".*";
+
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Brushes.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Brushes.xaml
index 4a3e67b74..a43106023 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Brushes.xaml
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Brushes.xaml
@@ -1,42 +1,42 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/MetroTheme.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/MetroTheme.cs
index 1223c0966..780bec542 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/MetroTheme.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/MetroTheme.cs
@@ -1,33 +1,33 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace Xceed.Wpf.AvalonDock.Themes
-{
- public class MetroTheme : Theme
- {
- public override Uri GetResourceUri()
- {
- return new Uri(
- "/Xceed.Wpf.AvalonDock.Themes.Metro;component/Theme.xaml",
- UriKind.Relative);
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Xceed.Wpf.AvalonDock.Themes
+{
+ public class MetroTheme : Theme
+ {
+ public override Uri GetResourceUri()
+ {
+ return new Uri(
+ "/Xceed.Wpf.AvalonDock.Themes.Metro;component/Theme.xaml",
+ UriKind.Relative);
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Xceed.Wpf.AvalonDock.Themes.Metro.csproj b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Xceed.Wpf.AvalonDock.Themes.Metro.csproj
index 4b473bc58..73797ddfb 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Xceed.Wpf.AvalonDock.Themes.Metro.csproj
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Xceed.Wpf.AvalonDock.Themes.Metro.csproj
@@ -1,121 +1,121 @@
-
-
-
- Debug
- AnyCPU
- 8.0.30703
- 2.0
- {89286EB4-B4A1-418C-839A-067B00F442D8}
- library
- Properties
- Xceed.Wpf.AvalonDock.Themes.Metro
- Xceed.Wpf.AvalonDock.Themes.Metro
- v4.0
- Client
- 512
- {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- 4
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
-
-
-
-
-
-
-
-
- 4.0
-
-
-
-
-
-
-
-
-
- Code
-
-
-
-
-
-
- MSBuild:Compile
- Designer
-
-
- MSBuild:Compile
- Designer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {DB81988F-E0F2-45A0-A1FD-8C37F3D35244}
- Xceed.Wpf.AvalonDock
-
-
-
+
+
+
+ Debug
+ AnyCPU
+ 8.0.30703
+ 2.0
+ {89286EB4-B4A1-418C-839A-067B00F442D8}
+ library
+ Properties
+ Xceed.Wpf.AvalonDock.Themes.Metro
+ Xceed.Wpf.AvalonDock.Themes.Metro
+ v4.0
+ Client
+ 512
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 4
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+ 4.0
+
+
+
+
+
+
+
+
+
+ Code
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {DB81988F-E0F2-45A0-A1FD-8C37F3D35244}
+ Xceed.Wpf.AvalonDock
+
+
+
+ -->
\ No newline at end of file
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/AssemblyVersionInfoCommon.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/AssemblyVersionInfoCommon.cs
index 3316fb13a..49ee1682e 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/AssemblyVersionInfoCommon.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/AssemblyVersionInfoCommon.cs
@@ -1,22 +1,22 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-internal static class _XceedVersionInfoCommon
-{
-[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
- public const string Build = ".*";
-
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+internal static class _XceedVersionInfoCommon
+{
+[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
+ public const string Build = ".*";
+
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Brushes.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Brushes.xaml
index 98b4b3911..d4ce46c1e 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Brushes.xaml
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Brushes.xaml
@@ -1,195 +1,195 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/VS2010Theme.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/VS2010Theme.cs
index 36d33474e..2d2034023 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/VS2010Theme.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/VS2010Theme.cs
@@ -1,33 +1,33 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace Xceed.Wpf.AvalonDock.Themes
-{
- public class VS2010Theme : Theme
- {
- public override Uri GetResourceUri()
- {
- return new Uri(
- "/Xceed.Wpf.AvalonDock.Themes.VS2010;component/Theme.xaml",
- UriKind.Relative);
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Xceed.Wpf.AvalonDock.Themes
+{
+ public class VS2010Theme : Theme
+ {
+ public override Uri GetResourceUri()
+ {
+ return new Uri(
+ "/Xceed.Wpf.AvalonDock.Themes.VS2010;component/Theme.xaml",
+ UriKind.Relative);
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Xceed.Wpf.AvalonDock.Themes.VS2010.csproj b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Xceed.Wpf.AvalonDock.Themes.VS2010.csproj
index 9cacc0d0a..68fb375df 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Xceed.Wpf.AvalonDock.Themes.VS2010.csproj
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Xceed.Wpf.AvalonDock.Themes.VS2010.csproj
@@ -1,141 +1,141 @@
-
-
-
- Debug
- AnyCPU
- 8.0.30703
- 2.0
- {B3FC3E21-5F2D-4581-AEA2-59F671CFFC21}
- library
- Properties
- Xceed.Wpf.AvalonDock.Themes
- Xceed.Wpf.AvalonDock.Themes.VS2010
- v4.0
- Client
- 512
- {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- 4
- true
- 4.0.20901.0
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
-
-
-
-
-
-
-
-
- 4.0
-
-
-
-
-
-
-
- Designer
- MSBuild:Compile
-
-
- MSBuild:Compile
- Designer
-
-
-
-
-
-
- Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {DB81988F-E0F2-45A0-A1FD-8C37F3D35244}
- Xceed.Wpf.AvalonDock
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ Debug
+ AnyCPU
+ 8.0.30703
+ 2.0
+ {B3FC3E21-5F2D-4581-AEA2-59F671CFFC21}
+ library
+ Properties
+ Xceed.Wpf.AvalonDock.Themes
+ Xceed.Wpf.AvalonDock.Themes.VS2010
+ v4.0
+ Client
+ 512
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 4
+ true
+ 4.0.20901.0
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+ 4.0
+
+
+
+
+
+
+
+ Designer
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+ Designer
+
+
+
+
+
+
+ Code
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {DB81988F-E0F2-45A0-A1FD-8C37F3D35244}
+ Xceed.Wpf.AvalonDock
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -->
\ No newline at end of file
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/.editorconfig b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/.editorconfig
new file mode 100644
index 000000000..ae198a46b
--- /dev/null
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/.editorconfig
@@ -0,0 +1,20 @@
+#
+# formatting document
+# https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference#formatting-conventions
+#
+
+
+# Code files
+[*.xaml]
+indent_size = 3
+
+[*.cs]
+indent_size = 2
+csharp_prefer_braces = true
+
+# spacing options
+csharp_space_after_cast = false
+csharp_space_after_keywords_in_control_flow_statements = true
+csharp_space_between_method_declaration_parameter_list_parentheses = true
+csharp_space_between_method_call_parameter_list_parentheses = true
+csharp_space_between_parentheses = type_casts
\ No newline at end of file
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/AssemblyVersionInfo.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/AssemblyVersionInfo.cs
index 2c57bb8b1..c6ea985d5 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/AssemblyVersionInfo.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/AssemblyVersionInfo.cs
@@ -21,7 +21,7 @@ This program is provided to you under the terms of the Microsoft Public
internal static class _XceedVersionInfo
{
[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
- public const string BaseVersion = "3.5";
+ public const string BaseVersion = "3.4";
[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
public const string Version = BaseVersion +
".0.0";
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneTitle.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneTitle.cs
index 1c8d88671..a4c5c4811 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneTitle.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneTitle.cs
@@ -155,22 +155,6 @@ protected override void OnMouseLeave( System.Windows.Input.MouseEventArgs e )
manager.StartDraggingFloatingWindowForPane( paneModel );
}
- else
- {
- var model = this.Model;
- if( model != null )
- {
- var root = model.Root;
- if( root != null )
- {
- var manager = root.Manager;
- if( manager != null )
- {
- manager.StartDraggingFloatingWindowForContent( model );
- }
- }
- }
- }
}
_isMouseDown = false;
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DragService.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DragService.cs
index 1a5335759..01669d727 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DragService.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DragService.cs
@@ -121,6 +121,10 @@ public void UpdateMouseLocation( Point dragPosition )
{
_currentWindowAreas.ForEach( wa =>
{
+ #region IUEditor
+ if (wa is LayoutDocumentPaneControl)
+ return;
+ #endregion
if( _currentDropTarget != null )
return;
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableFloatingWindowControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableFloatingWindowControl.cs
index e53f1f885..5bd804cf3 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableFloatingWindowControl.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableFloatingWindowControl.cs
@@ -45,8 +45,8 @@ static LayoutAnchorableFloatingWindowControl()
DefaultStyleKeyProperty.OverrideMetadata( typeof( LayoutAnchorableFloatingWindowControl ), new FrameworkPropertyMetadata( typeof( LayoutAnchorableFloatingWindowControl ) ) );
}
- internal LayoutAnchorableFloatingWindowControl( LayoutAnchorableFloatingWindow model, bool isContentImmutable )
- : base( model, isContentImmutable )
+ internal LayoutAnchorableFloatingWindowControl( LayoutAnchorableFloatingWindow model )
+ : base( model )
{
_model = model;
HideWindowCommand = new RelayCommand( ( p ) => OnExecuteHideWindowCommand( p ), ( p ) => CanExecuteHideWindowCommand( p ) );
@@ -54,11 +54,6 @@ internal LayoutAnchorableFloatingWindowControl( LayoutAnchorableFloatingWindow m
UpdateThemeResources();
}
- internal LayoutAnchorableFloatingWindowControl( LayoutAnchorableFloatingWindow model)
- : base( model, false )
- {
- }
-
#endregion
#region Properties
@@ -144,11 +139,8 @@ protected override void OnInitialized( EventArgs e )
protected override void OnClosed( EventArgs e )
{
var root = Model.Root;
- if( root != null )
- {
- root.Manager.RemoveFloatingWindow( this );
- root.CollectGarbage();
- }
+ root.Manager.RemoveFloatingWindow( this );
+ root.CollectGarbage();
if( _overlayWindow != null )
{
_overlayWindow.Close();
@@ -157,7 +149,7 @@ protected override void OnClosed( EventArgs e )
base.OnClosed( e );
- if( !CloseInitiatedByUser && (root != null) )
+ if( !CloseInitiatedByUser )
{
root.FloatingWindows.Remove( _model );
}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableItem.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableItem.cs
index 8a187e0a2..9d68940fc 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableItem.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableItem.cs
@@ -298,15 +298,6 @@ internal override void Detach()
base.Detach();
}
- protected override bool CanExecuteDockAsDocumentCommand()
- {
- var canExecute = base.CanExecuteDockAsDocumentCommand();
- if( canExecute && ( _anchorable != null ) )
- return _anchorable.CanDockAsTabbedDocument;
-
- return canExecute;
- }
-
protected override void Close()
{
if( ( _anchorable.Root != null ) && ( _anchorable.Root.Manager != null ) )
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorablePaneControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorablePaneControl.cs
index 48310de95..3c725619f 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorablePaneControl.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorablePaneControl.cs
@@ -68,7 +68,10 @@ public ILayoutElement Model
protected override void OnGotKeyboardFocus( System.Windows.Input.KeyboardFocusChangedEventArgs e )
{
- _model.SelectedContent.IsActive = true;
+ if( ( _model != null ) && ( _model.SelectedContent != null ) )
+ {
+ _model.SelectedContent.IsActive = true;
+ }
base.OnGotKeyboardFocus( e );
}
@@ -77,17 +80,20 @@ protected override void OnMouseLeftButtonDown( System.Windows.Input.MouseButtonE
{
base.OnMouseLeftButtonDown( e );
- if( !e.Handled && _model.SelectedContent != null )
+ if( !e.Handled && ( _model != null ) && ( _model.SelectedContent != null ) )
+ {
_model.SelectedContent.IsActive = true;
+ }
}
protected override void OnMouseRightButtonDown( System.Windows.Input.MouseButtonEventArgs e )
{
base.OnMouseRightButtonDown( e );
- if( !e.Handled && _model.SelectedContent != null )
+ if( !e.Handled && ( _model != null ) && ( _model.SelectedContent != null ) )
+ {
_model.SelectedContent.IsActive = true;
-
+ }
}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableTabItem.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableTabItem.cs
index cfc75130c..d4856c927 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableTabItem.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableTabItem.cs
@@ -28,6 +28,7 @@ public class LayoutAnchorableTabItem : Control
private bool _isMouseDown = false;
private static LayoutAnchorableTabItem _draggingItem = null;
+ private static bool _cancelMouseLeave = false;
#endregion
@@ -75,7 +76,7 @@ public LayoutContent Model
///
private static void OnModelChanged( DependencyObject d, DependencyPropertyChangedEventArgs e )
{
- ( ( LayoutAnchorableTabItem )d ).OnModelChanged( e );
+ (( LayoutAnchorableTabItem )d).OnModelChanged( e );
}
///
@@ -83,7 +84,7 @@ private static void OnModelChanged( DependencyObject d, DependencyPropertyChange
///
protected virtual void OnModelChanged( DependencyPropertyChangedEventArgs e )
{
- if( Model != null )
+ if (Model != null)
SetLayoutItem( Model.Root.Manager.GetLayoutItemFromModel( Model ) );
else
SetLayoutItem( null );
@@ -141,11 +142,15 @@ protected override void OnMouseMove( System.Windows.Input.MouseEventArgs e )
{
base.OnMouseMove( e );
- if( e.LeftButton != MouseButtonState.Pressed )
+ if (e.LeftButton != MouseButtonState.Pressed)
{
_isMouseDown = false;
_draggingItem = null;
}
+ else
+ {
+ _cancelMouseLeave = false;
+ }
}
protected override void OnMouseLeftButtonUp( System.Windows.Input.MouseButtonEventArgs e )
@@ -161,32 +166,46 @@ protected override void OnMouseLeave( System.Windows.Input.MouseEventArgs e )
{
base.OnMouseLeave( e );
- if( _isMouseDown && e.LeftButton == MouseButtonState.Pressed )
+ if (_isMouseDown && e.LeftButton == MouseButtonState.Pressed)
{
- _draggingItem = this;
+ // drag the item if the mouse leave is not canceled.
+ // Mouse leave should be canceled when selecting a new tab to prevent automatic undock when Panel size is Auto.
+ _draggingItem = !_cancelMouseLeave ? this : null;
}
_isMouseDown = false;
+ _cancelMouseLeave = false;
}
protected override void OnMouseEnter( MouseEventArgs e )
{
base.OnMouseEnter( e );
- if( _draggingItem != null
- && _draggingItem != this
- && e.LeftButton == MouseButtonState.Pressed )
+ if (_draggingItem == null)
+ {
+ // FIXED IUEDITOR 2019-05-23
+ return;
+ }
+
+ if (_draggingItem != this &&
+ e.LeftButton == MouseButtonState.Pressed)
{
var model = Model;
var container = model.Parent as ILayoutContainer;
var containerPane = model.Parent as ILayoutPane;
- if( ( containerPane is LayoutAnchorablePane ) && !( ( LayoutAnchorablePane )containerPane ).CanRepositionItems )
+ if ((containerPane is LayoutAnchorablePane) && !(( LayoutAnchorablePane )containerPane).CanRepositionItems)
return;
- if( ( containerPane.Parent != null ) && ( containerPane.Parent is LayoutAnchorablePaneGroup ) && !( ( LayoutAnchorablePaneGroup )containerPane.Parent ).CanRepositionItems )
+ if ((containerPane.Parent != null) && (containerPane.Parent is LayoutAnchorablePaneGroup) && !(( LayoutAnchorablePaneGroup )containerPane.Parent).CanRepositionItems)
return;
var childrenList = container.Children.ToList();
+
+ // FIXED IUEDITOR 2019-05-23
+ if (_draggingItem.Model == null || model == null)
+ {
+ return;
+ }
containerPane.MoveChild( childrenList.IndexOf( _draggingItem.Model ), childrenList.IndexOf( model ) );
}
}
@@ -214,6 +233,10 @@ internal static void ResetDraggingItem()
{
_draggingItem = null;
}
+ internal static void CancelMouseLeave()
+ {
+ _cancelMouseLeave = true;
+ }
#endregion
}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAutoHideWindowControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAutoHideWindowControl.cs
index 6e6a21ed8..7d97aafe0 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAutoHideWindowControl.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAutoHideWindowControl.cs
@@ -164,6 +164,16 @@ protected override System.Runtime.InteropServices.HandleRef BuildWindowCore( Sys
return new HandleRef( this, _internalHwndSource.Handle );
}
+ protected override IntPtr WndProc( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled )
+ {
+ if( msg == Win32Helper.WM_WINDOWPOSCHANGING )
+ {
+ if( _internalHost_ContentRendered )
+ Win32Helper.SetWindowPos( _internalHwndSource.Handle, Win32Helper.HWND_TOP, 0, 0, 0, 0, Win32Helper.SetWindowPosFlags.IgnoreMove | Win32Helper.SetWindowPosFlags.IgnoreResize );
+ }
+ return base.WndProc( hwnd, msg, wParam, lParam, ref handled );
+ }
+
protected override void DestroyWindowCore( System.Runtime.InteropServices.HandleRef hwnd )
{
if( _internalHwndSource != null )
@@ -174,6 +184,11 @@ protected override void DestroyWindowCore( System.Runtime.InteropServices.Handle
}
}
+ public override void OnApplyTemplate()
+ {
+ base.OnApplyTemplate();
+ }
+
protected override bool HasFocusWithinCore()
{
return false;
@@ -228,7 +243,6 @@ internal void Show( LayoutAnchorControl anchor )
Visibility = System.Windows.Visibility.Visible;
InvalidateMeasure();
UpdateWindowPos();
- Win32Helper.BringWindowToTop( _internalHwndSource.Handle );
}
internal void Hide()
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentFloatingWindowControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentFloatingWindowControl.cs
index 32b49f2b2..77a2f258f 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentFloatingWindowControl.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentFloatingWindowControl.cs
@@ -37,18 +37,13 @@ static LayoutDocumentFloatingWindowControl()
DefaultStyleKeyProperty.OverrideMetadata( typeof( LayoutDocumentFloatingWindowControl ), new FrameworkPropertyMetadata( typeof( LayoutDocumentFloatingWindowControl ) ) );
}
- internal LayoutDocumentFloatingWindowControl( LayoutDocumentFloatingWindow model, bool isContentImmutable )
- : base( model, isContentImmutable )
+ internal LayoutDocumentFloatingWindowControl( LayoutDocumentFloatingWindow model )
+ : base( model )
{
_model = model;
UpdateThemeResources();
}
- internal LayoutDocumentFloatingWindowControl( LayoutDocumentFloatingWindow model )
- : base( model, false )
- {
- }
-
#endregion
#region Properties
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentTabItem.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentTabItem.cs
index eaa1e6af5..951d2c1ee 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentTabItem.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentTabItem.cs
@@ -143,10 +143,6 @@ protected override void OnMouseLeftButtonDown( System.Windows.Input.MouseButtonE
Model.IsActive = true;
- var layoutDocument = Model as LayoutDocument;
- if( ( layoutDocument != null ) && !layoutDocument.CanMove )
- return;
-
if( e.ClickCount == 1 )
{
_mouseDownPoint = e.GetPosition( this );
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutFloatingWindowControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutFloatingWindowControl.cs
index 34637d527..4a8b6a3d5 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutFloatingWindowControl.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutFloatingWindowControl.cs
@@ -41,7 +41,6 @@ public abstract class LayoutFloatingWindowControl : Window, ILayoutControl
private HwndSourceHook _hwndSrcHook;
private DragService _dragService = null;
private bool _internalCloseFlag = false;
- private bool _isClosing = false;
#endregion
@@ -61,12 +60,6 @@ protected LayoutFloatingWindowControl( ILayoutElement model )
_model = model;
}
- protected LayoutFloatingWindowControl( ILayoutElement model, bool isContentImmutable )
- : this( model )
- {
- this.IsContentImmutable = isContentImmutable;
- }
-
#endregion
#region Properties
@@ -80,32 +73,6 @@ public abstract ILayoutElement Model
#endregion
- #region IsContentImmutable
-
- ///
- /// IsContentImmutable Dependency Property
- ///
- public static readonly DependencyProperty IsContentImmutableProperty = DependencyProperty.Register( "IsContentImmutable", typeof( bool ), typeof( LayoutFloatingWindowControl ),
- new FrameworkPropertyMetadata( (bool)false ) );
-
- ///
- /// Gets/sets the IsContentImmutable property. This dependency property
- /// indicates if the content can be modified.
- ///
- public bool IsContentImmutable
- {
- get
- {
- return (bool)GetValue( IsContentImmutableProperty );
- }
- private set
- {
- SetValue( IsContentImmutableProperty, value );
- }
- }
-
- #endregion
-
#region IsDragging
///
@@ -335,7 +302,7 @@ protected virtual IntPtr FilterMessage( IntPtr hwnd, int msg, IntPtr wParam, Int
switch( msg )
{
case Win32Helper.WM_ACTIVATE:
- if( ( (int)wParam & 0xFFFF ) == Win32Helper.WA_INACTIVE )
+ if( ( ( int )wParam & 0xFFFF ) == Win32Helper.WA_INACTIVE )
{
if( lParam == this.GetParentWindowHandle() )
{
@@ -378,7 +345,7 @@ protected virtual IntPtr FilterMessage( IntPtr hwnd, int msg, IntPtr wParam, Int
}
break;
case Win32Helper.WM_SYSCOMMAND:
- int command = (int)wParam & 0xFFF0;
+ int command = ( int )wParam & 0xFFF0;
if( command == Win32Helper.SC_MAXIMIZE || command == Win32Helper.SC_RESTORE )
{
UpdateMaximizedState( command == Win32Helper.SC_MAXIMIZE );
@@ -394,11 +361,7 @@ protected virtual IntPtr FilterMessage( IntPtr hwnd, int msg, IntPtr wParam, Int
internal void InternalClose()
{
_internalCloseFlag = true;
- if( !_isClosing )
- {
- _isClosing = true;
- this.Close();
- }
+ Close();
}
#endregion
@@ -407,14 +370,7 @@ internal void InternalClose()
private static object CoerceContentValue( DependencyObject sender, object content )
{
- var lfwc = sender as LayoutFloatingWindowControl;
- if( lfwc != null )
- {
- if( lfwc.IsLoaded && lfwc.IsContentImmutable )
- return lfwc.Content;
- return new FloatingWindowContentHost( sender as LayoutFloatingWindowControl ) { Content = content as UIElement };
- }
- return null;
+ return new FloatingWindowContentHost( sender as LayoutFloatingWindowControl ) { Content = content as UIElement };
}
private void OnLoaded( object sender, RoutedEventArgs e )
@@ -519,9 +475,6 @@ public FloatingWindowContentHost( LayoutFloatingWindowControl owner )
{
_owner = owner;
var manager = _owner.Model.Root.Manager;
-
- var binding = new Binding( "SizeToContent" ) { Source = _owner };
- BindingOperations.SetBinding( this, FloatingWindowContentHost.SizeToContentProperty, binding );
}
#endregion
@@ -569,72 +522,16 @@ public UIElement Content
///
private static void OnContentChanged( DependencyObject d, DependencyPropertyChangedEventArgs e )
{
- ( ( FloatingWindowContentHost )d ).OnContentChanged( (UIElement)e.OldValue, (UIElement)e.NewValue );
+ ( ( FloatingWindowContentHost )d ).OnContentChanged( e );
}
///
/// Provides derived classes an opportunity to handle changes to the Content property.
///
- protected virtual void OnContentChanged( UIElement oldValue, UIElement newValue )
+ protected virtual void OnContentChanged( DependencyPropertyChangedEventArgs e )
{
if( _rootPresenter != null )
_rootPresenter.Child = Content;
-
- var oldContent = oldValue as FrameworkElement;
- if( oldContent != null )
- {
- oldContent.SizeChanged -= this.Content_SizeChanged;
- }
-
- var newContent = newValue as FrameworkElement;
- if( newContent != null )
- {
- newContent.SizeChanged += this.Content_SizeChanged;
- }
- }
-
- #endregion
-
- #region SizeToContent
-
- ///
- /// SizeToContent Dependency Property
- ///
- public static readonly DependencyProperty SizeToContentProperty = DependencyProperty.Register( "SizeToContent", typeof( SizeToContent ), typeof( FloatingWindowContentHost ),
- new FrameworkPropertyMetadata( SizeToContent.Manual, new PropertyChangedCallback( OnSizeToContentChanged ) ) );
-
- ///
- /// Gets or sets the SizeToContent property.
- ///
- public SizeToContent SizeToContent
- {
- get
- {
- return (SizeToContent)GetValue( SizeToContentProperty );
- }
- set
- {
- SetValue( SizeToContentProperty, value );
- }
- }
-
- ///
- /// Handles changes to the SizeToContent property.
- ///
- private static void OnSizeToContentChanged( DependencyObject d, DependencyPropertyChangedEventArgs e )
- {
- ( (FloatingWindowContentHost)d ).OnSizeToContentChanged( (SizeToContent)e.OldValue, (SizeToContent)e.NewValue );
- }
-
- ///
- /// Provides derived classes an opportunity to handle changes to the SizeToContent property.
- ///
- protected virtual void OnSizeToContentChanged( SizeToContent oldValue, SizeToContent newValue )
- {
- if( _wpfContentHost != null )
- {
- _wpfContentHost.SizeToContent = newValue;
- }
}
#endregion
@@ -656,7 +553,7 @@ protected override System.Runtime.InteropServices.HandleRef BuildWindowCore( Sys
_rootPresenter = new Border() { Child = new AdornerDecorator() { Child = Content }, Focusable = true };
_rootPresenter.SetBinding( Border.BackgroundProperty, new Binding( "Background" ) { Source = _owner } );
_wpfContentHost.RootVisual = _rootPresenter;
-
+ _wpfContentHost.SizeToContent = SizeToContent.Manual;
_manager = _owner.Model.Root.Manager;
_manager.InternalAddLogicalChild( _rootPresenter );
@@ -683,16 +580,6 @@ protected override Size MeasureOverride( Size constraint )
}
#endregion
-
- #region Event Handlers
-
- private void Content_SizeChanged( object sender, SizeChangedEventArgs e )
- {
- this.InvalidateMeasure();
- this.InvalidateArrange();
- }
-
- #endregion
}
#endregion
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutGridControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutGridControl.cs
index d98fad1a1..0f8960d69 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutGridControl.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutGridControl.cs
@@ -415,7 +415,8 @@ private void OnSplitterDragCompleted( object sender, System.Windows.Controls.Pri
}
else
{
- prevChildModel.DockWidth = new GridLength( prevChildModel.DockWidth.Value + delta, GridUnitType.Pixel );
+ var width = ( prevChildModel.DockWidth.IsAuto ) ? prevChildActualSize.Width : prevChildModel.DockWidth.Value;
+ prevChildModel.DockWidth = new GridLength( width + delta, GridUnitType.Pixel );
}
if( nextChildModel.DockWidth.IsStar )
@@ -424,7 +425,8 @@ private void OnSplitterDragCompleted( object sender, System.Windows.Controls.Pri
}
else
{
- nextChildModel.DockWidth = new GridLength( nextChildModel.DockWidth.Value - delta, GridUnitType.Pixel );
+ var width = ( nextChildModel.DockWidth.IsAuto ) ? nextChildActualSize.Width : nextChildModel.DockWidth.Value;
+ nextChildModel.DockWidth = new GridLength( width - delta, GridUnitType.Pixel );
}
}
else
@@ -435,7 +437,8 @@ private void OnSplitterDragCompleted( object sender, System.Windows.Controls.Pri
}
else
{
- prevChildModel.DockHeight = new GridLength( prevChildModel.DockHeight.Value + delta, GridUnitType.Pixel );
+ var height = ( prevChildModel.DockHeight.IsAuto ) ? prevChildActualSize.Height : prevChildModel.DockHeight.Value;
+ prevChildModel.DockHeight = new GridLength( height + delta, GridUnitType.Pixel );
}
if( nextChildModel.DockHeight.IsStar )
@@ -444,7 +447,8 @@ private void OnSplitterDragCompleted( object sender, System.Windows.Controls.Pri
}
else
{
- nextChildModel.DockHeight = new GridLength( nextChildModel.DockHeight.Value - delta, GridUnitType.Pixel );
+ var height = ( nextChildModel.DockHeight.IsAuto ) ? nextChildActualSize.Height : nextChildModel.DockHeight.Value;
+ nextChildModel.DockHeight = new GridLength( height - delta, GridUnitType.Pixel );
}
}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutItem.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutItem.cs
index 997a37b7b..8f61c4a9a 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutItem.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutItem.cs
@@ -94,9 +94,15 @@ public ContentPresenter View
_view = new ContentPresenter();
_view.SetBinding( ContentPresenter.ContentProperty, new Binding( "Content" ) { Source = LayoutElement } );
- _view.SetBinding( ContentPresenter.ContentTemplateProperty, new Binding( "LayoutItemTemplate" ) { Source = LayoutElement.Root.Manager } );
- _view.SetBinding( ContentPresenter.ContentTemplateSelectorProperty, new Binding( "LayoutItemTemplateSelector" ) { Source = LayoutElement.Root.Manager } );
- LayoutElement.Root.Manager.InternalAddLogicalChild( _view );
+ if( ( LayoutElement != null ) && ( LayoutElement.Root != null ) )
+ {
+ _view.SetBinding( ContentPresenter.ContentTemplateProperty, new Binding( "LayoutItemTemplate" ) { Source = LayoutElement.Root.Manager } );
+ _view.SetBinding( ContentPresenter.ContentTemplateSelectorProperty, new Binding( "LayoutItemTemplateSelector" ) { Source = LayoutElement.Root.Manager } );
+ if( LayoutElement.Root.Manager != null )
+ {
+ LayoutElement.Root.Manager.InternalAddLogicalChild( _view );
+ }
+ }
}
return _view;
@@ -599,14 +605,9 @@ private static object CoerceDockAsDocumentCommandValue( DependencyObject d, obje
return value;
}
- protected virtual bool CanExecuteDockAsDocumentCommand()
- {
- return ( LayoutElement != null && LayoutElement.FindParent() == null );
- }
-
private bool CanExecuteDockAsDocumentCommand( object parameter )
{
- return this.CanExecuteDockAsDocumentCommand();
+ return LayoutElement != null && LayoutElement.FindParent() == null;
}
private void ExecuteDockAsDocumentCommand( object parameter )
@@ -850,9 +851,6 @@ private bool CanExecuteNewVerticalTabGroupCommand( object parameter )
{
if( LayoutElement == null )
return false;
- var layoutDocument = LayoutElement as LayoutDocument;
- if( ( layoutDocument != null ) && !layoutDocument.CanMove )
- return false;
var parentDocumentGroup = LayoutElement.FindParent();
var parentDocumentPane = LayoutElement.Parent as LayoutDocumentPane;
return ( ( parentDocumentGroup == null ||
@@ -928,9 +926,6 @@ private bool CanExecuteNewHorizontalTabGroupCommand( object parameter )
{
if( LayoutElement == null )
return false;
- var layoutDocument = LayoutElement as LayoutDocument;
- if( ( layoutDocument != null ) && !layoutDocument.CanMove )
- return false;
var parentDocumentGroup = LayoutElement.FindParent();
var parentDocumentPane = LayoutElement.Parent as LayoutDocumentPane;
return ( ( parentDocumentGroup == null ||
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayWindow.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayWindow.cs
index 2b72ddbb4..d0c9d9236 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayWindow.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayWindow.cs
@@ -385,11 +385,16 @@ IEnumerable IOverlayWindow.GetTargets()
yield return new AnchorablePaneDropTarget( dropAreaAnchorablePane.AreaElement, dropAreaTitle.GetScreenArea(), DropTargetType.AnchorablePaneDockInside );
}
break;
+ #region IUEditor
+ // DocumentPane은 DragEnter 이벤트를 받지않아야하므로 주석처리
+ /*
case DropAreaType.DocumentPane:
{
+
bool isDraggingAnchorables = _floatingWindow.Model is LayoutAnchorableFloatingWindow;
if( isDraggingAnchorables && _gridDocumentPaneFullDropTargets != null )
{
+
var dropAreaDocumentPane = visibleArea as DropArea;
if( _documentPaneFullDropTargetLeft.IsVisible )
yield return new DocumentPaneDropTarget( dropAreaDocumentPane.AreaElement, _documentPaneFullDropTargetLeft.GetScreenArea(), DropTargetType.DocumentPaneDockLeft );
@@ -420,7 +425,6 @@ IEnumerable IOverlayWindow.GetTargets()
if( newAreaTabItemScreenArea.Right < dropAreaDocumentPane.AreaElement.GetScreenArea().Right )
yield return new DocumentPaneDropTarget( dropAreaDocumentPane.AreaElement, newAreaTabItemScreenArea, DropTargetType.DocumentPaneDockInside, parentPaneModel.Children.Count );
}
-
if( _documentPaneDropTargetLeftAsAnchorablePane.IsVisible )
yield return new DocumentPaneDropAsAnchorableTarget( dropAreaDocumentPane.AreaElement, _documentPaneDropTargetLeftAsAnchorablePane.GetScreenArea(), DropTargetType.DocumentPaneDockAsAnchorableLeft );
if( _documentPaneDropTargetTopAsAnchorablePane.IsVisible )
@@ -432,7 +436,6 @@ IEnumerable IOverlayWindow.GetTargets()
}
else
{
-
var dropAreaDocumentPane = visibleArea as DropArea;
if( _documentPaneDropTargetLeft.IsVisible )
yield return new DocumentPaneDropTarget( dropAreaDocumentPane.AreaElement, _documentPaneDropTargetLeft.GetScreenArea(), DropTargetType.DocumentPaneDockLeft );
@@ -473,6 +476,8 @@ IEnumerable IOverlayWindow.GetTargets()
yield return new DocumentPaneGroupDropTarget( dropAreaDocumentPane.AreaElement, _documentPaneDropTargetInto.GetScreenArea(), DropTargetType.DocumentPaneGroupDockInside );
}
break;
+ */
+ #endregion
}
}
@@ -493,20 +498,12 @@ void IOverlayWindow.DragLeave( LayoutFloatingWindowControl floatingWindow )
void IOverlayWindow.DragEnter( IDropArea area )
{
- var floatingWindowManager = _floatingWindow.Model.Root.Manager;
-
_visibleAreas.Add( area );
FrameworkElement areaElement;
switch( area.Type )
{
case DropAreaType.DockingManager:
- var dropAreaDockingManager = area as DropArea;
- if( dropAreaDockingManager.AreaElement != floatingWindowManager )
- {
- _visibleAreas.Remove( area );
- return;
- }
areaElement = _gridDockingManagerDropTargets;
break;
case DropAreaType.AnchorablePane:
@@ -514,11 +511,6 @@ void IOverlayWindow.DragEnter( IDropArea area )
var dropAreaAnchorablePaneGroup = area as DropArea;
var layoutAnchorablePane = dropAreaAnchorablePaneGroup.AreaElement.Model as LayoutAnchorablePane;
- if( layoutAnchorablePane.Root.Manager != floatingWindowManager )
- {
- _visibleAreas.Remove( area );
- return;
- }
SetDropTargetIntoVisibility( layoutAnchorablePane );
break;
case DropAreaType.DocumentPaneGroup:
@@ -527,11 +519,7 @@ void IOverlayWindow.DragEnter( IDropArea area )
var dropAreaDocumentPaneGroup = area as DropArea;
var layoutDocumentPane = ( dropAreaDocumentPaneGroup.AreaElement.Model as LayoutDocumentPaneGroup ).Children.First() as LayoutDocumentPane;
var parentDocumentPaneGroup = layoutDocumentPane.Parent as LayoutDocumentPaneGroup;
- if( parentDocumentPaneGroup.Root.Manager != floatingWindowManager )
- {
- _visibleAreas.Remove( area );
- return;
- }
+
_documentPaneDropTargetLeft.Visibility = Visibility.Hidden;
_documentPaneDropTargetRight.Visibility = Visibility.Hidden;
_documentPaneDropTargetTop.Visibility = Visibility.Hidden;
@@ -548,11 +536,6 @@ void IOverlayWindow.DragEnter( IDropArea area )
var dropAreaDocumentPaneGroup = area as DropArea;
var layoutDocumentPane = dropAreaDocumentPaneGroup.AreaElement.Model as LayoutDocumentPane;
var parentDocumentPaneGroup = layoutDocumentPane.Parent as LayoutDocumentPaneGroup;
- if( layoutDocumentPane.Root.Manager != floatingWindowManager )
- {
- _visibleAreas.Remove( area );
- return;
- }
SetDropTargetIntoVisibility( layoutDocumentPane );
@@ -644,11 +627,6 @@ void IOverlayWindow.DragEnter( IDropArea area )
var dropAreaDocumentPaneGroup = area as DropArea;
var layoutDocumentPane = dropAreaDocumentPaneGroup.AreaElement.Model as LayoutDocumentPane;
var parentDocumentPaneGroup = layoutDocumentPane.Parent as LayoutDocumentPaneGroup;
- if( layoutDocumentPane.Root.Manager != floatingWindowManager )
- {
- _visibleAreas.Remove( area );
- return;
- }
SetDropTargetIntoVisibility( layoutDocumentPane );
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/DockingManager.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/DockingManager.cs
index 00451ccfd..60ac9a053 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/DockingManager.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/DockingManager.cs
@@ -1983,34 +1983,6 @@ public LayoutItem GetLayoutItemFromModel( LayoutContent content )
return _layoutItems.FirstOrDefault( item => item.LayoutElement == content );
}
- public LayoutFloatingWindowControl CreateFloatingWindow( LayoutContent contentModel, bool isContentImmutable )
- {
- LayoutFloatingWindowControl lfwc = null;
-
- if( contentModel is LayoutAnchorable )
- {
- var parent = contentModel.Parent as ILayoutPane;
- if( parent == null )
- {
- var pane = new LayoutAnchorablePane( contentModel as LayoutAnchorable )
- {
- FloatingTop = contentModel.FloatingTop,
- FloatingLeft = contentModel.FloatingLeft,
- FloatingWidth = contentModel.FloatingWidth,
- FloatingHeight = contentModel.FloatingHeight
- };
- lfwc = this.CreateFloatingWindowForLayoutAnchorableWithoutParent( pane, isContentImmutable );
- }
- }
-
- if( lfwc == null )
- {
- lfwc = this.CreateFloatingWindowCore( contentModel, isContentImmutable );
- }
-
- return lfwc;
- }
-
#endregion
#region Internal Methods
@@ -2074,12 +2046,7 @@ internal UIElement CreateUIElementForModel( ILayoutElement model )
}
newFW.ShowInTaskbar = false;
-
- Dispatcher.BeginInvoke( new Action( () =>
- {
- newFW.Show();
- } ), DispatcherPriority.Send );
-
+ newFW.Show();
// Do not set the WindowState before showing or it will be lost
if( paneForExtensions != null && paneForExtensions.IsMaximized )
{
@@ -2161,26 +2128,200 @@ internal FrameworkElement GetAutoHideAreaElement()
internal void StartDraggingFloatingWindowForContent( LayoutContent contentModel, bool startDrag = true )
{
- var fwc = this.CreateFloatingWindow( contentModel, false );
- if( fwc != null )
+ if( !contentModel.CanFloat )
+ return;
+ var contentModelAsAnchorable = contentModel as LayoutAnchorable;
+ if( contentModelAsAnchorable != null &&
+ contentModelAsAnchorable.IsAutoHidden )
+ contentModelAsAnchorable.ToggleAutoHide();
+
+ var parentPane = contentModel.Parent as ILayoutPane;
+ var parentPaneAsPositionableElement = contentModel.Parent as ILayoutPositionableElement;
+ var parentPaneAsWithActualSize = contentModel.Parent as ILayoutPositionableElementWithActualSize;
+ var contentModelParentChildrenIndex = parentPane.Children.ToList().IndexOf( contentModel );
+
+ if( contentModel.FindParent() == null )
{
- Dispatcher.BeginInvoke( new Action( () =>
+ ( ( ILayoutPreviousContainer )contentModel ).PreviousContainer = parentPane;
+ contentModel.PreviousContainerIndex = contentModelParentChildrenIndex;
+ }
+
+ parentPane.RemoveChildAt( contentModelParentChildrenIndex );
+
+ double fwWidth = contentModel.FloatingWidth;
+ double fwHeight = contentModel.FloatingHeight;
+
+ if( fwWidth == 0.0 )
+ fwWidth = parentPaneAsPositionableElement.FloatingWidth;
+ if( fwHeight == 0.0 )
+ fwHeight = parentPaneAsPositionableElement.FloatingHeight;
+
+ if( fwWidth == 0.0 )
+ fwWidth = parentPaneAsWithActualSize.ActualWidth + 10; //10 includes BorderThickness and Margins inside LayoutDocumentFloatingWindowControl.
+ if( fwHeight == 0.0 )
+ fwHeight = parentPaneAsWithActualSize.ActualHeight + 10; //10 includes BorderThickness and Margins inside LayoutDocumentFloatingWindowControl.
+
+ LayoutFloatingWindow fw;
+ LayoutFloatingWindowControl fwc;
+ if( contentModel is LayoutAnchorable )
+ {
+ var anchorableContent = contentModel as LayoutAnchorable;
+ fw = new LayoutAnchorableFloatingWindow()
{
- if( startDrag )
- fwc.AttachDrag();
- fwc.Show();
- } ), DispatcherPriority.Send );
+ RootPanel = new LayoutAnchorablePaneGroup(
+ new LayoutAnchorablePane( anchorableContent )
+ {
+ DockWidth = parentPaneAsPositionableElement.DockWidth,
+ DockHeight = parentPaneAsPositionableElement.DockHeight,
+ DockMinHeight = parentPaneAsPositionableElement.DockMinHeight,
+ DockMinWidth = parentPaneAsPositionableElement.DockMinWidth,
+ FloatingLeft = parentPaneAsPositionableElement.FloatingLeft,
+ FloatingTop = parentPaneAsPositionableElement.FloatingTop,
+ FloatingWidth = parentPaneAsPositionableElement.FloatingWidth,
+ FloatingHeight = parentPaneAsPositionableElement.FloatingHeight,
+ } )
+ };
+
+ Layout.FloatingWindows.Add( fw );
+
+ fwc = new LayoutAnchorableFloatingWindowControl(
+ fw as LayoutAnchorableFloatingWindow )
+ {
+ Width = fwWidth,
+ Height = fwHeight,
+ Left = contentModel.FloatingLeft,
+ Top = contentModel.FloatingTop
+ };
+ }
+ else
+ {
+ var anchorableDocument = contentModel as LayoutDocument;
+ fw = new LayoutDocumentFloatingWindow()
+ {
+ RootDocument = anchorableDocument
+ };
+
+ Layout.FloatingWindows.Add( fw );
+
+ fwc = new LayoutDocumentFloatingWindowControl(
+ fw as LayoutDocumentFloatingWindow )
+ {
+ Width = fwWidth,
+ Height = fwHeight,
+ Left = contentModel.FloatingLeft,
+ Top = contentModel.FloatingTop
+ };
}
+
+
+ //fwc.Owner = Window.GetWindow(this);
+ //fwc.SetParentToMainWindowOf(this);
+
+
+ _fwList.Add( fwc );
+
+ Layout.CollectGarbage();
+
+ UpdateLayout();
+
+ Dispatcher.BeginInvoke( new Action( () =>
+ {
+ if( startDrag )
+ fwc.AttachDrag();
+ fwc.Show();
+ } ), DispatcherPriority.Send );
}
internal void StartDraggingFloatingWindowForPane( LayoutAnchorablePane paneModel )
{
- var fwc = this.CreateFloatingWindowForLayoutAnchorableWithoutParent( paneModel, false );
- if( fwc != null )
+ if( paneModel.Children.Any( c => !c.CanFloat ) )
+ return;
+ var paneAsPositionableElement = paneModel as ILayoutPositionableElement;
+ var paneAsWithActualSize = paneModel as ILayoutPositionableElementWithActualSize;
+
+ double fwWidth = paneAsPositionableElement.FloatingWidth;
+ double fwHeight = paneAsPositionableElement.FloatingHeight;
+ double fwLeft = paneAsPositionableElement.FloatingLeft;
+ double fwTop = paneAsPositionableElement.FloatingTop;
+
+ if( fwWidth == 0.0 )
+ fwWidth = paneAsWithActualSize.ActualWidth + 10; //10 includes BorderThickness and Margins inside LayoutAnchorableFloatingWindowControl.
+ if( fwHeight == 0.0 )
+ fwHeight = paneAsWithActualSize.ActualHeight + 10; //10 includes BorderThickness and Margins inside LayoutAnchorableFloatingWindowControl.
+
+ var destPane = new LayoutAnchorablePane()
{
- fwc.AttachDrag();
- fwc.Show();
+ DockWidth = paneAsPositionableElement.DockWidth,
+ DockHeight = paneAsPositionableElement.DockHeight,
+ DockMinHeight = paneAsPositionableElement.DockMinHeight,
+ DockMinWidth = paneAsPositionableElement.DockMinWidth,
+ FloatingLeft = paneAsPositionableElement.FloatingLeft,
+ FloatingTop = paneAsPositionableElement.FloatingTop,
+ FloatingWidth = paneAsPositionableElement.FloatingWidth,
+ FloatingHeight = paneAsPositionableElement.FloatingHeight,
+ };
+
+ bool savePreviousContainer = paneModel.FindParent() == null;
+ int currentSelectedContentIndex = paneModel.SelectedContentIndex;
+ while( paneModel.Children.Count > 0 )
+ {
+ var contentModel = paneModel.Children[ paneModel.Children.Count - 1 ] as LayoutAnchorable;
+
+ if( savePreviousContainer )
+ {
+ var contentModelAsPreviousContainer = contentModel as ILayoutPreviousContainer;
+ contentModelAsPreviousContainer.PreviousContainer = paneModel;
+ contentModel.PreviousContainerIndex = paneModel.Children.Count - 1;
+ }
+
+ paneModel.RemoveChildAt( paneModel.Children.Count - 1 );
+ destPane.Children.Insert( 0, contentModel );
+ }
+
+ if( destPane.Children.Count > 0 )
+ {
+ destPane.SelectedContentIndex = currentSelectedContentIndex;
}
+
+
+ LayoutFloatingWindow fw;
+ LayoutFloatingWindowControl fwc;
+ fw = new LayoutAnchorableFloatingWindow()
+ {
+ RootPanel = new LayoutAnchorablePaneGroup(
+ destPane )
+ {
+ DockHeight = destPane.DockHeight,
+ DockWidth = destPane.DockWidth,
+ DockMinHeight = destPane.DockMinHeight,
+ DockMinWidth = destPane.DockMinWidth,
+ }
+ };
+
+ Layout.FloatingWindows.Add( fw );
+
+ fwc = new LayoutAnchorableFloatingWindowControl(
+ fw as LayoutAnchorableFloatingWindow )
+ {
+ Width = fwWidth,
+ Height = fwHeight
+ };
+
+
+
+ //fwc.Owner = Window.GetWindow(this);
+ //fwc.SetParentToMainWindowOf(this);
+
+
+ _fwList.Add( fwc );
+
+ Layout.CollectGarbage();
+
+ InvalidateArrange();
+
+ fwc.AttachDrag();
+ fwc.Show();
+
}
internal IEnumerable GetFloatingWindowsByZOrder()
@@ -2373,6 +2514,7 @@ private void DockingManager_Loaded( object sender, RoutedEventArgs e )
private void DockingManager_Unloaded( object sender, RoutedEventArgs e )
{
+
if( !DesignerProperties.GetIsInDesignMode( this ) )
{
if( _autoHideWindowManager != null )
@@ -2381,9 +2523,7 @@ private void DockingManager_Unloaded( object sender, RoutedEventArgs e )
}
if( AutoHideWindow != null )
- {
AutoHideWindow.Dispose();
- }
foreach( var fw in _fwList.ToArray() )
{
@@ -2392,7 +2532,6 @@ private void DockingManager_Unloaded( object sender, RoutedEventArgs e )
fw.KeepContentVisibleOnClose = true;
fw.Close();
}
- _fwList.Clear();
DestroyOverlayWindow();
FocusElementManager.FinalizeFocusManagement( this );
@@ -2407,9 +2546,7 @@ private void SetupAutoHideWindow()
_autoHideWindowManager = new AutoHideWindowManager( this );
if( AutoHideWindow != null )
- {
AutoHideWindow.Dispose();
- }
SetAutoHideWindow( new LayoutAutoHideWindowControl() );
}
@@ -3074,199 +3211,6 @@ private void ShowNavigatorWindow()
_navigatorWindow = null;
}
- private LayoutFloatingWindowControl CreateFloatingWindowForLayoutAnchorableWithoutParent( LayoutAnchorablePane paneModel, bool isContentImmutable )
- {
- if( paneModel.Children.Any( c => !c.CanFloat ) )
- return null;
- var paneAsPositionableElement = paneModel as ILayoutPositionableElement;
- var paneAsWithActualSize = paneModel as ILayoutPositionableElementWithActualSize;
-
- double fwWidth = paneAsPositionableElement.FloatingWidth;
- double fwHeight = paneAsPositionableElement.FloatingHeight;
- double fwLeft = paneAsPositionableElement.FloatingLeft;
- double fwTop = paneAsPositionableElement.FloatingTop;
-
- if( fwWidth == 0.0 )
- fwWidth = paneAsWithActualSize.ActualWidth + 10; //10 includes BorderThickness and Margins inside LayoutAnchorableFloatingWindowControl.
- if( fwHeight == 0.0 )
- fwHeight = paneAsWithActualSize.ActualHeight + 10; //10 includes BorderThickness and Margins inside LayoutAnchorableFloatingWindowControl.
-
- var destPane = new LayoutAnchorablePane()
- {
- DockWidth = paneAsPositionableElement.DockWidth,
- DockHeight = paneAsPositionableElement.DockHeight,
- DockMinHeight = paneAsPositionableElement.DockMinHeight,
- DockMinWidth = paneAsPositionableElement.DockMinWidth,
- FloatingLeft = paneAsPositionableElement.FloatingLeft,
- FloatingTop = paneAsPositionableElement.FloatingTop,
- FloatingWidth = paneAsPositionableElement.FloatingWidth,
- FloatingHeight = paneAsPositionableElement.FloatingHeight,
- };
-
- bool savePreviousContainer = paneModel.FindParent() == null;
- int currentSelectedContentIndex = paneModel.SelectedContentIndex;
- while( paneModel.Children.Count > 0 )
- {
- var contentModel = paneModel.Children[ paneModel.Children.Count - 1 ] as LayoutAnchorable;
-
- if( savePreviousContainer )
- {
- var contentModelAsPreviousContainer = contentModel as ILayoutPreviousContainer;
- contentModelAsPreviousContainer.PreviousContainer = paneModel;
- contentModel.PreviousContainerIndex = paneModel.Children.Count - 1;
- }
-
- paneModel.RemoveChildAt( paneModel.Children.Count - 1 );
- destPane.Children.Insert( 0, contentModel );
- }
-
- if( destPane.Children.Count > 0 )
- {
- destPane.SelectedContentIndex = currentSelectedContentIndex;
- }
-
-
- LayoutFloatingWindow fw;
- LayoutFloatingWindowControl fwc;
- fw = new LayoutAnchorableFloatingWindow()
- {
- RootPanel = new LayoutAnchorablePaneGroup(
- destPane )
- {
- DockHeight = destPane.DockHeight,
- DockWidth = destPane.DockWidth,
- DockMinHeight = destPane.DockMinHeight,
- DockMinWidth = destPane.DockMinWidth,
- }
- };
-
- Layout.FloatingWindows.Add( fw );
-
- fwc = new LayoutAnchorableFloatingWindowControl(
- fw as LayoutAnchorableFloatingWindow, isContentImmutable )
- {
- Width = fwWidth,
- Height = fwHeight,
- Top = fwTop,
- Left = fwLeft
- };
-
-
-
- //fwc.Owner = Window.GetWindow(this);
- //fwc.SetParentToMainWindowOf(this);
-
-
- _fwList.Add( fwc );
-
- Layout.CollectGarbage();
-
- InvalidateArrange();
-
- return fwc;
- }
-
- private LayoutFloatingWindowControl CreateFloatingWindowCore( LayoutContent contentModel, bool isContentImmutable )
- {
- if( !contentModel.CanFloat )
- return null;
- var contentModelAsAnchorable = contentModel as LayoutAnchorable;
- if( contentModelAsAnchorable != null &&
- contentModelAsAnchorable.IsAutoHidden )
- contentModelAsAnchorable.ToggleAutoHide();
-
- var parentPane = contentModel.Parent as ILayoutPane;
- var parentPaneAsPositionableElement = contentModel.Parent as ILayoutPositionableElement;
- var parentPaneAsWithActualSize = contentModel.Parent as ILayoutPositionableElementWithActualSize;
- var contentModelParentChildrenIndex = parentPane.Children.ToList().IndexOf( contentModel );
-
- if( contentModel.FindParent() == null )
- {
- ( (ILayoutPreviousContainer)contentModel ).PreviousContainer = parentPane;
- contentModel.PreviousContainerIndex = contentModelParentChildrenIndex;
- }
-
- parentPane.RemoveChildAt( contentModelParentChildrenIndex );
-
- double fwWidth = contentModel.FloatingWidth;
- double fwHeight = contentModel.FloatingHeight;
-
- if( fwWidth == 0.0 )
- fwWidth = parentPaneAsPositionableElement.FloatingWidth;
- if( fwHeight == 0.0 )
- fwHeight = parentPaneAsPositionableElement.FloatingHeight;
-
- if( fwWidth == 0.0 )
- fwWidth = parentPaneAsWithActualSize.ActualWidth + 10; //10 includes BorderThickness and Margins inside LayoutDocumentFloatingWindowControl.
- if( fwHeight == 0.0 )
- fwHeight = parentPaneAsWithActualSize.ActualHeight + 10; //10 includes BorderThickness and Margins inside LayoutDocumentFloatingWindowControl.
-
- LayoutFloatingWindow fw;
- LayoutFloatingWindowControl fwc;
- if( contentModel is LayoutAnchorable )
- {
- var anchorableContent = contentModel as LayoutAnchorable;
- fw = new LayoutAnchorableFloatingWindow()
- {
- RootPanel = new LayoutAnchorablePaneGroup(
- new LayoutAnchorablePane( anchorableContent )
- {
- DockWidth = parentPaneAsPositionableElement.DockWidth,
- DockHeight = parentPaneAsPositionableElement.DockHeight,
- DockMinHeight = parentPaneAsPositionableElement.DockMinHeight,
- DockMinWidth = parentPaneAsPositionableElement.DockMinWidth,
- FloatingLeft = parentPaneAsPositionableElement.FloatingLeft,
- FloatingTop = parentPaneAsPositionableElement.FloatingTop,
- FloatingWidth = parentPaneAsPositionableElement.FloatingWidth,
- FloatingHeight = parentPaneAsPositionableElement.FloatingHeight,
- } )
- };
-
- Layout.FloatingWindows.Add( fw );
-
- fwc = new LayoutAnchorableFloatingWindowControl(
- fw as LayoutAnchorableFloatingWindow, isContentImmutable )
- {
- Width = fwWidth,
- Height = fwHeight,
- Left = contentModel.FloatingLeft,
- Top = contentModel.FloatingTop
- };
- }
- else
- {
- var anchorableDocument = contentModel as LayoutDocument;
- fw = new LayoutDocumentFloatingWindow()
- {
- RootDocument = anchorableDocument
- };
-
- Layout.FloatingWindows.Add( fw );
-
- fwc = new LayoutDocumentFloatingWindowControl(
- fw as LayoutDocumentFloatingWindow, isContentImmutable )
- {
- Width = fwWidth,
- Height = fwHeight,
- Left = contentModel.FloatingLeft,
- Top = contentModel.FloatingTop
- };
- }
-
-
- //fwc.Owner = Window.GetWindow(this);
- //fwc.SetParentToMainWindowOf(this);
-
-
- _fwList.Add( fwc );
-
- Layout.CollectGarbage();
-
- UpdateLayout();
-
- return fwc;
- }
-
#endregion
#region Events
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Extentions.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Extentions.cs
index 756eac956..ce4914252 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Extentions.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Extentions.cs
@@ -99,8 +99,8 @@ public static AnchorSide GetSide( this ILayoutElement element )
if( (layoutPanel != null) && ( layoutPanel.Children.Count > 0 ) )
{
if( layoutPanel.Orientation == System.Windows.Controls.Orientation.Horizontal )
- return ( layoutPanel.Children[ 0 ].Equals(element) || layoutPanel.Children[ 0 ].Descendents().Contains( element ) ) ? AnchorSide.Left : AnchorSide.Right;
- return ( layoutPanel.Children[ 0 ].Equals( element ) || layoutPanel.Children[ 0 ].Descendents().Contains( element ) ) ? AnchorSide.Top : AnchorSide.Bottom;
+ return layoutPanel.Children[ 0 ].Descendents().Contains( element ) ? AnchorSide.Left : AnchorSide.Right;
+ return layoutPanel.Children[ 0 ].Descendents().Contains( element ) ? AnchorSide.Top : AnchorSide.Bottom;
}
}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorable.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorable.cs
index 89b3b9215..4502e7641 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorable.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorable.cs
@@ -35,7 +35,6 @@ public class LayoutAnchorable : LayoutContent
private double _autohideMinHeight = 100.0;
private bool _canHide = true;
private bool _canAutoHide = true;
- private bool _canDockAsTabbedDocument = true;
private bool _canCloseValueBeforeInternalSet;
#endregion
@@ -182,26 +181,6 @@ public bool CanAutoHide
#endregion
- #region CanDockAsTabbedDocument
-
- public bool CanDockAsTabbedDocument
- {
- get
- {
- return _canDockAsTabbedDocument;
- }
- set
- {
- if( _canDockAsTabbedDocument != value )
- {
- _canDockAsTabbedDocument = value;
- RaisePropertyChanged( "CanDockAsTabbedDocument" );
- }
- }
- }
-
- #endregion
-
#region IsAutoHidden
///
@@ -347,8 +326,6 @@ public override void ReadXml( System.Xml.XmlReader reader )
AutoHideMinWidth = double.Parse( reader.Value, CultureInfo.InvariantCulture );
if( reader.MoveToAttribute( "AutoHideMinHeight" ) )
AutoHideMinHeight = double.Parse( reader.Value, CultureInfo.InvariantCulture );
- if( reader.MoveToAttribute( "CanDockAsTabbedDocument" ) )
- CanDockAsTabbedDocument = bool.Parse( reader.Value );
base.ReadXml( reader );
}
@@ -367,8 +344,7 @@ public override void WriteXml( System.Xml.XmlWriter writer )
writer.WriteAttributeString( "AutoHideMinWidth", AutoHideMinWidth.ToString( CultureInfo.InvariantCulture ) );
if( AutoHideMinHeight != 25.0 )
writer.WriteAttributeString( "AutoHideMinHeight", AutoHideMinHeight.ToString( CultureInfo.InvariantCulture ) );
- if( !CanDockAsTabbedDocument )
- writer.WriteAttributeString( "CanDockAsTabbedDocument", CanDockAsTabbedDocument.ToString( CultureInfo.InvariantCulture ) );
+
base.WriteXml( writer );
}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutContent.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutContent.cs
index 8c6fcc52d..ffa93dbcd 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutContent.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutContent.cs
@@ -22,6 +22,7 @@ This program is provided to you under the terms of the Microsoft Public
using System.Globalization;
using System.Windows.Media;
using System.ComponentModel;
+using Xceed.Wpf.AvalonDock.Controls;
namespace Xceed.Wpf.AvalonDock.Layout
{
@@ -143,6 +144,7 @@ public bool IsSelected
parentSelector.SelectedContentIndex = _isSelected ? parentSelector.IndexOf( this ) : -1;
OnIsSelectedChanged( oldValue, value );
RaisePropertyChanged( "IsSelected" );
+ LayoutAnchorableTabItem.CancelMouseLeave();
}
}
}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocument.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocument.cs
index 66a2d5929..07d4b075d 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocument.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocument.cs
@@ -25,27 +25,6 @@ public class LayoutDocument : LayoutContent
{
#region Properties
- #region CanMove
-
- internal bool _canMove = true;
- public bool CanMove
- {
- get
- {
- return _canMove;
- }
- set
- {
- if( _canMove != value )
- {
- _canMove = value;
- RaisePropertyChanged( "CanMove" );
- }
- }
- }
-
- #endregion
-
#region IsVisible
public bool IsVisible
@@ -95,16 +74,12 @@ public override void WriteXml( System.Xml.XmlWriter writer )
if( !string.IsNullOrWhiteSpace( this.Description ) )
writer.WriteAttributeString( "Description", this.Description );
- if( !CanMove )
- writer.WriteAttributeString( "CanMove", CanMove.ToString() );
}
public override void ReadXml( System.Xml.XmlReader reader )
{
if( reader.MoveToAttribute( "Description" ) )
this.Description = reader.Value;
- if( reader.MoveToAttribute( "CanMove" ) )
- CanMove = bool.Parse( reader.Value );
base.ReadXml( reader );
}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/generic.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/generic.xaml
index af82ccb4e..89dab4ddc 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/generic.xaml
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/generic.xaml
@@ -441,8 +441,7 @@
-
+
@@ -790,19 +789,15 @@
Grid.Row="1" />
+ Grid.Row="1" />
+ Grid.Row="1" />
-
@@ -956,7 +951,7 @@
+ Content="{Binding LayoutItem.View, RelativeSource={RelativeSource TemplatedParent}}" />
+
+
+
+ The ColorCanvas and ColorPicker controls allow the user to input a color. Not shown in the sample are the ColorPicker's Available, Standard and Recent color lists, which are entirely customizable.
+
+
- Toolkit for WPF
+
+
- Copyright (C) 2007-2017 Xceed Software Inc.
+
+
+
+
+
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at https://xceed.com/xceed-toolkit-plus-for-wpf/
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************-->
-
-
-
- The ColorCanvas and ColorPicker controls allow the user to input a color. Not shown in the sample are the ColorPicker's Available, Standard and Recent color lists, which are entirely customizable.
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DisplayLocalizationRes.Designer.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DisplayLocalizationRes.Designer.cs.txt
index 667ee5316..6f3594e07 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DisplayLocalizationRes.Designer.cs.txt
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DisplayLocalizationRes.Designer.cs.txt
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.296
+// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -10,8 +10,8 @@
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
using System;
-
-
+
+
///
/// A strongly-typed resource class, for looking up localized strings, etc.
///
@@ -19,19 +19,19 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
// 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class DisplayLocalizationRes {
-
+
private static global::System.Resources.ResourceManager resourceMan;
-
+
private static global::System.Globalization.CultureInfo resourceCulture;
-
+
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal DisplayLocalizationRes() {
}
-
+
///
/// Returns the cached ResourceManager instance used by this class.
///
@@ -45,7 +45,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
return resourceMan;
}
}
-
+
///
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
@@ -59,7 +59,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
resourceCulture = value;
}
}
-
+
///
/// Looks up a localized string similar to Details.
///
@@ -68,7 +68,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
return ResourceManager.GetString("DetailsCategory", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Favorite actor 1 (no DisplayName).
///
@@ -77,7 +77,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
return ResourceManager.GetString("FavoriteActor1", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to This property's type is an enum whose values have no DisplayName attributes. These values displayed are provided by the ToString() method..
///
@@ -86,7 +86,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
return ResourceManager.GetString("FavoriteActor1Desc", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Favorite actor 2 (with DisplayName).
///
@@ -95,7 +95,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
return ResourceManager.GetString("FavoriteActor2", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to This property's type is an enum whose values are decorated with the ExtendedDisplayName attribute. Combined with the EnumDisplayNameConverter, this allows display values to be customized..
///
@@ -104,7 +104,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
return ResourceManager.GetString("FavoriteActor2Desc", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Favorite actor 3.
///
@@ -113,7 +113,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
return ResourceManager.GetString("FavoriteActor3", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to "(Not listed)" enum value shows that enum values can also be localized..
///
@@ -122,7 +122,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
return ResourceManager.GetString("FavoriteActor3Desc", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to First name.
///
@@ -131,7 +131,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
return ResourceManager.GetString("FirstName", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to First name of that person.
///
@@ -140,7 +140,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
return ResourceManager.GetString("FirstNameDesc", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Information.
///
@@ -149,7 +149,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
return ResourceManager.GetString("InfoCategory", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Last name.
///
@@ -158,7 +158,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
return ResourceManager.GetString("LastName", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Usually the familly name of the person.
///
@@ -167,7 +167,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
return ResourceManager.GetString("LastNameDesc", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to (Not listed).
///
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialDemoView.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialDemoView.cs.txt
index 40d958bc7..701fc775d 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialDemoView.cs.txt
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialDemoView.cs.txt
@@ -1,41 +1,41 @@
-/**************************************************************************************
-
- Toolkit for WPF
-
- Copyright (C) 2007-2017 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at https://xceed.com/xceed-toolkit-plus-for-wpf/
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- **************************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Windows.Media;
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer
-{
- public class MaterialDemoView : DemoView
- {
- #region Constructor
-
- public MaterialDemoView()
- {
-
- }
-
- #endregion
-
-
-
-
-
- }
-}
+/**************************************************************************************
+
+ Toolkit for WPF
+
+ Copyright (C) 2007-2017 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at https://xceed.com/xceed-toolkit-plus-for-wpf/
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ **************************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows.Media;
+
+namespace Xceed.Wpf.Toolkit.LiveExplorer
+{
+ public class MaterialDemoView : DemoView
+ {
+ #region Constructor
+
+ public MaterialDemoView()
+ {
+
+ }
+
+ #endregion
+
+
+
+
+
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MessageBoxView.xaml.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MessageBoxView.xaml.cs.txt
new file mode 100644
index 000000000..f83e772ad
--- /dev/null
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MessageBoxView.xaml.cs.txt
@@ -0,0 +1,35 @@
+using System.Windows;
+using System.Windows.Controls;
+
+namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MessageBox.Views
+{
+ ///
+ /// Interaction logic for MessageBoxView.xaml
+ ///
+ public partial class MessageBoxView : DemoView
+ {
+ public MessageBoxView()
+ {
+ InitializeComponent();
+ }
+
+ private void ErrorButton_Click(object sender, RoutedEventArgs e)
+ {
+ Toolkit.MessageBox.Show("Thanks for clicking me!", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
+ }
+ private void WarnButton_Click(object sender, RoutedEventArgs e)
+ {
+ Toolkit.MessageBox.Show("Thanks for clicking me!", "Warning", MessageBoxButton.OKCancel, MessageBoxImage.Warning);
+
+ }
+ private void InfoButton_Click(object sender, RoutedEventArgs e)
+ {
+ Toolkit.MessageBox.Show("Thanks for clicking me!", "Information", MessageBoxButton.YesNo, MessageBoxImage.Information);
+ }
+ private void QuestionButton_Click(object sender, RoutedEventArgs e)
+ {
+ Toolkit.MessageBox.Show("Thanks for clicking me!", "Question", MessageBoxButton.YesNoCancel, MessageBoxImage.Question);
+
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MessageBoxView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MessageBoxView.xaml.txt
new file mode 100644
index 000000000..251b8fefe
--- /dev/null
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MessageBoxView.xaml.txt
@@ -0,0 +1,29 @@
+
+
+
+ Check Message Boxees (Button/Images)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MultiCalendarView.xaml.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MultiCalendarView.xaml.cs.txt
index 9893c4fe6..803ec3f1f 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MultiCalendarView.xaml.cs.txt
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MultiCalendarView.xaml.cs.txt
@@ -1,45 +1,45 @@
-/*************************************************************************************
-
- Toolkit for WPF
-
- Copyright (C) 2007-2017 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at https://xceed.com/xceed-toolkit-plus-for-wpf/
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System.Windows.Controls;
-using System;
-using System.Windows.Media;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MultiCalendar.Views
-{
- ///
- /// Interaction logic for MultiCalendarView.xaml
- ///
- public partial class MultiCalendarView : DemoView
- {
- public MultiCalendarView()
- {
- InitializeComponent();
- }
-
-
-
-
-
-
-
-
-
-
-
- }
-}
+/*************************************************************************************
+
+ Toolkit for WPF
+
+ Copyright (C) 2007-2017 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at https://xceed.com/xceed-toolkit-plus-for-wpf/
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System.Windows.Controls;
+using System;
+using System.Windows.Media;
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MultiCalendar.Views
+{
+ ///
+ /// Interaction logic for MultiCalendarView.xaml
+ ///
+ public partial class MultiCalendarView : DemoView
+ {
+ public MultiCalendarView()
+ {
+ InitializeComponent();
+ }
+
+
+
+
+
+
+
+
+
+
+
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Core/CodeFormatting/CSharpFormat.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Core/CodeFormatting/CSharpFormat.cs
index 628e5ba4f..b18a43db5 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Core/CodeFormatting/CSharpFormat.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Core/CodeFormatting/CSharpFormat.cs
@@ -1,448 +1,448 @@
-#region Copyright (C) 2001-2003 Jean-Claude Manoli [jc@manoli.net]
-/*
- * This software is provided 'as-is', without any express or implied warranty.
- * In no event will the author(s) be held liable for any damages arising from
- * the use of this software.
- *
- * Permission is granted to anyone to use this software for any purpose,
- * including commercial applications, and to alter it and redistribute it
- * freely, subject to the following restrictions:
- *
- * 1. The origin of this software must not be misrepresented; you must not
- * claim that you wrote the original software. If you use this software
- * in a product, an acknowledgment in the product documentation would be
- * appreciated but is not required.
- *
- * 2. Altered source versions must be plainly marked as such, and must not
- * be misrepresented as being the original software.
- *
- * 3. This notice may not be removed or altered from any source distribution.
- */
-#endregion
-
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Windows.Documents;
-using System.Windows.Media;
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Core.CodeFormatting
-{
- public class CSharpFormat : CLikeFormat
- {
- ///
- /// The list of C# keywords.
- ///
- protected override string Keywords
- {
- get
- {
- return "abstract as base bool break byte case catch char "
- + "checked class const continue decimal default delegate do double else "
- + "enum event explicit extern false finally fixed float for foreach goto "
- + "if implicit in int interface internal is lock long namespace new null "
- + "object operator out override partial params private protected public readonly "
- + "ref return sbyte sealed short sizeof stackalloc static string struct "
- + "switch this throw true try typeof uint ulong unchecked unsafe ushort "
- + "using value virtual void volatile where while yield";
- }
- }
-
- ///
- /// The list of C# preprocessors.
- ///
- protected override string Preprocessors
- {
- get
- {
- return "#if #else #elif #endif #define #undef #warning "
- + "#error #line #region #endregion #pragma";
- }
- }
- }
-
- ///
- /// Provides a base class for formatting languages similar to C.
- ///
- public abstract class CLikeFormat : CodeFormat
- {
- ///
- /// Regular expression string to match single line and multi-line
- /// comments (// and /* */).
- ///
- protected override string CommentRegEx
- {
- get
- {
- return @"/\*.*?\*/|//.*?(?=\r|\n)";
- }
- }
-
- ///
- /// Regular expression string to match string and character literals.
- ///
- protected override string StringRegEx
- {
- get
- {
- return @"@?""""|@?"".*?(?!\\).""|''|'.*?(?!\\).'";
- }
- }
- }
-
- ///
- /// Provides a base class for formatting most programming languages.
- ///
- public abstract class CodeFormat : SourceFormat
- {
- ///
- /// Must be overridden to provide a list of keywords defined in
- /// each language.
- ///
- ///
- /// Keywords must be separated with spaces.
- ///
- protected abstract string Keywords
- {
- get;
- }
-
- ///
- /// Can be overridden to provide a list of preprocessors defined in
- /// each language.
- ///
- ///
- /// Preprocessors must be separated with spaces.
- ///
- protected virtual string Preprocessors
- {
- get
- {
- return "";
- }
- }
-
- ///
- /// Must be overridden to provide a regular expression string
- /// to match strings literals.
- ///
- protected abstract string StringRegEx
- {
- get;
- }
-
- ///
- /// Must be overridden to provide a regular expression string
- /// to match comments.
- ///
- protected abstract string CommentRegEx
- {
- get;
- }
-
- ///
- /// Determines if the language is case sensitive.
- ///
- /// true if the language is case sensitive, false
- /// otherwise. The default is true.
- ///
- /// A case-insensitive language formatter must override this
- /// property to return false.
- ///
- public virtual bool CaseSensitive
- {
- get
- {
- return true;
- }
- }
-
- ///
- protected CodeFormat()
- {
- //generate the keyword and preprocessor regexes from the keyword lists
- Regex r;
- r = new Regex( @"\w+|-\w+|#\w+|@@\w+|#(?:\\(?:s|w)(?:\*|\+)?\w+)+|@\\w\*+" );
- string regKeyword = r.Replace( Keywords, @"(?<=^|\W)$0(?=\W)" );
- string regPreproc = r.Replace( Preprocessors, @"(?<=^|\s)$0(?=\s|$)" );
- r = new Regex( @" +" );
- regKeyword = r.Replace( regKeyword, @"|" );
- regPreproc = r.Replace( regPreproc, @"|" );
-
- if( regPreproc.Length == 0 )
- {
- regPreproc = "(?!.*)_{37}(? 0 )
- {
- regAll.Append( ")|(" );
- regAll.Append( regPreproc );
- }
- regAll.Append( ")|(" );
- regAll.Append( regKeyword );
- regAll.Append( ")" );
-
- RegexOptions caseInsensitive = CaseSensitive ? 0 : RegexOptions.IgnoreCase;
- CodeRegex = new Regex( regAll.ToString(), RegexOptions.Singleline | caseInsensitive );
-
- CodeParagraphGlobal = new List();
- }
-
- ///
- /// Called to evaluate the HTML fragment corresponding to each
- /// matching token in the code.
- ///
- /// The resulting from a
- /// single regular expression match.
- /// A string containing the HTML code fragment.
- protected override string MatchEval( Match match ) //protected override
- {
- if( match.Groups[ 1 ].Success ) //comment
- {
- StringReader reader = new StringReader( match.ToString() );
- StringBuilder sb = new StringBuilder();
- string line;
- bool firstLineRead = false;
- while( ( line = reader.ReadLine() ) != null )
- {
- if( firstLineRead )
- sb.Append( "\r" );
-
- sb.Append( line );
- firstLineRead = true;
- }
-
- if( !string.IsNullOrEmpty( sb.ToString() ) )
- {
- Run r = new Run( sb.ToString() );
- r.Foreground = new SolidColorBrush( Color.FromRgb( 0, 128, 0 ) );
- CodeParagraphGlobal.Add( r );
- }
- return "::::::";
- }
- else if( match.Groups[ 2 ].Success ) //string literal
- {
- Run r = new Run( match.ToString() );
- r.Foreground = new SolidColorBrush( Color.FromRgb( 0, 96, 128 ) );
-
- CodeParagraphGlobal.Add( r );
- return "::::::";
- }
- else if( match.Groups[ 3 ].Success ) //preprocessor keyword
- {
- Run r = new Run( match.ToString() );
- r.Foreground = new SolidColorBrush( Color.FromRgb( 204, 102, 51 ) );
-
- CodeParagraphGlobal.Add( r );
- return "::::::";
- }
- else if( match.Groups[ 4 ].Success ) //keyword
- {
- Run r = new Run( match.ToString() );
- r.Foreground = new SolidColorBrush( Color.FromRgb( 0, 0, 255 ) );
-
- CodeParagraphGlobal.Add( r );
- return "::::::";
- }
- else
- {
- return "";
- }
- }
- }
-
- ///
- /// Provides a base implementation for all code formatters.
- ///
- ///
- ///
- /// To display the formatted code on your web site, the web page must
- /// refer to a stylesheet that defines the formatting for the different
- /// CSS classes generated by CSharpFormat:
- /// .csharpcode, pre, .rem, .kwrd, .str, .op, .preproc, .alt, .lnum.
- ///
- ///
- /// Note that if you have multi-line comments in your source code
- /// (like /* ... */), the "line numbers" or "alternate line background"
- /// options will generate code that is not strictly HTML 4.01 compliant.
- /// The code will still look good with IE5+ or Mozilla 0.8+.
- ///
- ///
- public abstract class SourceFormat
- {
- ///
- protected SourceFormat()
- {
- _tabSpaces = 4;
- _lineNumbers = false;
- _alternate = false;
- _embedStyleSheet = false;
- }
-
- private byte _tabSpaces;
-
- ///
- /// Gets or sets the tabs width.
- ///
- /// The number of space characters to substitute for tab
- /// characters. The default is 4, unless overridden is a
- /// derived class.
- public byte TabSpaces
- {
- get
- {
- return _tabSpaces;
- }
- set
- {
- _tabSpaces = value;
- }
- }
-
- private bool _lineNumbers;
-
- ///
- /// Enables or disables line numbers in output.
- ///
- /// When true, line numbers are generated.
- /// The default is false.
- public bool LineNumbers
- {
- get
- {
- return _lineNumbers;
- }
- set
- {
- _lineNumbers = value;
- }
- }
-
- private bool _alternate;
-
- ///
- /// Enables or disables alternating line background.
- ///
- /// When true, lines background is alternated.
- /// The default is false.
- public bool Alternate
- {
- get
- {
- return _alternate;
- }
- set
- {
- _alternate = value;
- }
- }
-
- private bool _embedStyleSheet;
-
- ///
- /// Enables or disables the embedded CSS style sheet.
- ///
- /// When true, the CSS <style> element is included
- /// in the HTML output. The default is false.
- public bool EmbedStyleSheet
- {
- get
- {
- return _embedStyleSheet;
- }
- set
- {
- _embedStyleSheet = value;
- }
- }
-
- ///
- /// Transforms a source code string to HTML 4.01.
- ///
- /// A string containing the HTML formatted code.
- public Paragraph FormatCode( string source )
- {
- return FormatCode( source, _lineNumbers, _alternate, _embedStyleSheet, false );
- }
-
- private Regex codeRegex;
-
- ///
- /// The regular expression used to capture language tokens.
- ///
- protected Regex CodeRegex
- {
- get
- {
- return codeRegex;
- }
- set
- {
- codeRegex = value;
- }
- }
-
- private List codeParagraphGlobal;
- ///
- /// This is a List of Run's that can be added later to the string of code
- ///
- protected List CodeParagraphGlobal
- {
- get
- {
- return codeParagraphGlobal;
- }
- set
- {
- codeParagraphGlobal = value;
- }
- }
-
- ///
- /// Called to evaluate the HTML fragment corresponding to each
- /// matching token in the code.
- ///
- /// The resulting from a
- /// single regular expression match.
- /// A string containing the HTML code fragment.
- protected abstract string MatchEval( Match match ); //protected abstract
-
- //does the formatting job
- private Paragraph FormatCode( string source, bool lineNumbers,
- bool alternate, bool embedStyleSheet, bool subCode )
- {
- Paragraph codeParagraph = new Paragraph();
- //replace special characters
- StringBuilder sb = new StringBuilder( source );
- //color the code
- source = codeRegex.Replace( sb.ToString(), new MatchEvaluator( this.MatchEval ) );
- //codeRegex.Replace(
- string[] characters = { "::::::" };
-
- string[] split = source.Split( characters, new StringSplitOptions() );
- int currentChunk = 0;
- foreach( string code in split )
- {
- currentChunk++;
- Run r = new Run( code );
- codeParagraph.Inlines.Add( r );
- if( ( currentChunk - 1 ) < codeParagraphGlobal.Count )
- {
- codeParagraph.Inlines.Add( codeParagraphGlobal[ currentChunk - 1 ] );
- }
- }
-
- return codeParagraph;
- }
-
- }
-}
+#region Copyright (C) 2001-2003 Jean-Claude Manoli [jc@manoli.net]
+/*
+ * This software is provided 'as-is', without any express or implied warranty.
+ * In no event will the author(s) be held liable for any damages arising from
+ * the use of this software.
+ *
+ * Permission is granted to anyone to use this software for any purpose,
+ * including commercial applications, and to alter it and redistribute it
+ * freely, subject to the following restrictions:
+ *
+ * 1. The origin of this software must not be misrepresented; you must not
+ * claim that you wrote the original software. If you use this software
+ * in a product, an acknowledgment in the product documentation would be
+ * appreciated but is not required.
+ *
+ * 2. Altered source versions must be plainly marked as such, and must not
+ * be misrepresented as being the original software.
+ *
+ * 3. This notice may not be removed or altered from any source distribution.
+ */
+#endregion
+
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Text;
+using System.Text.RegularExpressions;
+using System.Windows.Documents;
+using System.Windows.Media;
+
+namespace Xceed.Wpf.Toolkit.LiveExplorer.Core.CodeFormatting
+{
+ public class CSharpFormat : CLikeFormat
+ {
+ ///
+ /// The list of C# keywords.
+ ///
+ protected override string Keywords
+ {
+ get
+ {
+ return "abstract as base bool break byte case catch char "
+ + "checked class const continue decimal default delegate do double else "
+ + "enum event explicit extern false finally fixed float for foreach goto "
+ + "if implicit in int interface internal is lock long namespace new null "
+ + "object operator out override partial params private protected public readonly "
+ + "ref return sbyte sealed short sizeof stackalloc static string struct "
+ + "switch this throw true try typeof uint ulong unchecked unsafe ushort "
+ + "using value virtual void volatile where while yield";
+ }
+ }
+
+ ///
+ /// The list of C# preprocessors.
+ ///
+ protected override string Preprocessors
+ {
+ get
+ {
+ return "#if #else #elif #endif #define #undef #warning "
+ + "#error #line #region #endregion #pragma";
+ }
+ }
+ }
+
+ ///
+ /// Provides a base class for formatting languages similar to C.
+ ///
+ public abstract class CLikeFormat : CodeFormat
+ {
+ ///
+ /// Regular expression string to match single line and multi-line
+ /// comments (// and /* */).
+ ///
+ protected override string CommentRegEx
+ {
+ get
+ {
+ return @"/\*.*?\*/|//.*?(?=\r|\n)";
+ }
+ }
+
+ ///
+ /// Regular expression string to match string and character literals.
+ ///
+ protected override string StringRegEx
+ {
+ get
+ {
+ return @"@?""""|@?"".*?(?!\\).""|''|'.*?(?!\\).'";
+ }
+ }
+ }
+
+ ///
+ /// Provides a base class for formatting most programming languages.
+ ///
+ public abstract class CodeFormat : SourceFormat
+ {
+ ///
+ /// Must be overridden to provide a list of keywords defined in
+ /// each language.
+ ///
+ ///
+ /// Keywords must be separated with spaces.
+ ///
+ protected abstract string Keywords
+ {
+ get;
+ }
+
+ ///
+ /// Can be overridden to provide a list of preprocessors defined in
+ /// each language.
+ ///
+ ///
+ /// Preprocessors must be separated with spaces.
+ ///
+ protected virtual string Preprocessors
+ {
+ get
+ {
+ return "";
+ }
+ }
+
+ ///
+ /// Must be overridden to provide a regular expression string
+ /// to match strings literals.
+ ///
+ protected abstract string StringRegEx
+ {
+ get;
+ }
+
+ ///
+ /// Must be overridden to provide a regular expression string
+ /// to match comments.
+ ///
+ protected abstract string CommentRegEx
+ {
+ get;
+ }
+
+ ///
+ /// Determines if the language is case sensitive.
+ ///
+ /// true if the language is case sensitive, false
+ /// otherwise. The default is true.
+ ///
+ /// A case-insensitive language formatter must override this
+ /// property to return false.
+ ///
+ public virtual bool CaseSensitive
+ {
+ get
+ {
+ return true;
+ }
+ }
+
+ ///
+ protected CodeFormat()
+ {
+ //generate the keyword and preprocessor regexes from the keyword lists
+ Regex r;
+ r = new Regex( @"\w+|-\w+|#\w+|@@\w+|#(?:\\(?:s|w)(?:\*|\+)?\w+)+|@\\w\*+" );
+ string regKeyword = r.Replace( Keywords, @"(?<=^|\W)$0(?=\W)" );
+ string regPreproc = r.Replace( Preprocessors, @"(?<=^|\s)$0(?=\s|$)" );
+ r = new Regex( @" +" );
+ regKeyword = r.Replace( regKeyword, @"|" );
+ regPreproc = r.Replace( regPreproc, @"|" );
+
+ if( regPreproc.Length == 0 )
+ {
+ regPreproc = "(?!.*)_{37}(? 0 )
+ {
+ regAll.Append( ")|(" );
+ regAll.Append( regPreproc );
+ }
+ regAll.Append( ")|(" );
+ regAll.Append( regKeyword );
+ regAll.Append( ")" );
+
+ RegexOptions caseInsensitive = CaseSensitive ? 0 : RegexOptions.IgnoreCase;
+ CodeRegex = new Regex( regAll.ToString(), RegexOptions.Singleline | caseInsensitive );
+
+ CodeParagraphGlobal = new List();
+ }
+
+ ///
+ /// Called to evaluate the HTML fragment corresponding to each
+ /// matching token in the code.
+ ///
+ /// The resulting from a
+ /// single regular expression match.
+ /// A string containing the HTML code fragment.
+ protected override string MatchEval( Match match ) //protected override
+ {
+ if( match.Groups[ 1 ].Success ) //comment
+ {
+ StringReader reader = new StringReader( match.ToString() );
+ StringBuilder sb = new StringBuilder();
+ string line;
+ bool firstLineRead = false;
+ while( ( line = reader.ReadLine() ) != null )
+ {
+ if( firstLineRead )
+ sb.Append( "\r" );
+
+ sb.Append( line );
+ firstLineRead = true;
+ }
+
+ if( !string.IsNullOrEmpty( sb.ToString() ) )
+ {
+ Run r = new Run( sb.ToString() );
+ r.Foreground = new SolidColorBrush( Color.FromRgb( 0, 128, 0 ) );
+ CodeParagraphGlobal.Add( r );
+ }
+ return "::::::";
+ }
+ else if( match.Groups[ 2 ].Success ) //string literal
+ {
+ Run r = new Run( match.ToString() );
+ r.Foreground = new SolidColorBrush( Color.FromRgb( 0, 96, 128 ) );
+
+ CodeParagraphGlobal.Add( r );
+ return "::::::";
+ }
+ else if( match.Groups[ 3 ].Success ) //preprocessor keyword
+ {
+ Run r = new Run( match.ToString() );
+ r.Foreground = new SolidColorBrush( Color.FromRgb( 204, 102, 51 ) );
+
+ CodeParagraphGlobal.Add( r );
+ return "::::::";
+ }
+ else if( match.Groups[ 4 ].Success ) //keyword
+ {
+ Run r = new Run( match.ToString() );
+ r.Foreground = new SolidColorBrush( Color.FromRgb( 0, 0, 255 ) );
+
+ CodeParagraphGlobal.Add( r );
+ return "::::::";
+ }
+ else
+ {
+ return "";
+ }
+ }
+ }
+
+ ///
+ /// Provides a base implementation for all code formatters.
+ ///
+ ///
+ ///
+ /// To display the formatted code on your web site, the web page must
+ /// refer to a stylesheet that defines the formatting for the different
+ /// CSS classes generated by CSharpFormat:
+ /// .csharpcode, pre, .rem, .kwrd, .str, .op, .preproc, .alt, .lnum.
+ ///
+ ///
+ /// Note that if you have multi-line comments in your source code
+ /// (like /* ... */), the "line numbers" or "alternate line background"
+ /// options will generate code that is not strictly HTML 4.01 compliant.
+ /// The code will still look good with IE5+ or Mozilla 0.8+.
+ ///
+ ///
+ public abstract class SourceFormat
+ {
+ ///
+ protected SourceFormat()
+ {
+ _tabSpaces = 4;
+ _lineNumbers = false;
+ _alternate = false;
+ _embedStyleSheet = false;
+ }
+
+ private byte _tabSpaces;
+
+ ///
+ /// Gets or sets the tabs width.
+ ///
+ /// The number of space characters to substitute for tab
+ /// characters. The default is 4, unless overridden is a
+ /// derived class.
+ public byte TabSpaces
+ {
+ get
+ {
+ return _tabSpaces;
+ }
+ set
+ {
+ _tabSpaces = value;
+ }
+ }
+
+ private bool _lineNumbers;
+
+ ///
+ /// Enables or disables line numbers in output.
+ ///
+ /// When true, line numbers are generated.
+ /// The default is false.
+ public bool LineNumbers
+ {
+ get
+ {
+ return _lineNumbers;
+ }
+ set
+ {
+ _lineNumbers = value;
+ }
+ }
+
+ private bool _alternate;
+
+ ///
+ /// Enables or disables alternating line background.
+ ///
+ /// When true, lines background is alternated.
+ /// The default is false.
+ public bool Alternate
+ {
+ get
+ {
+ return _alternate;
+ }
+ set
+ {
+ _alternate = value;
+ }
+ }
+
+ private bool _embedStyleSheet;
+
+ ///
+ /// Enables or disables the embedded CSS style sheet.
+ ///
+ /// When true, the CSS <style> element is included
+ /// in the HTML output. The default is false.
+ public bool EmbedStyleSheet
+ {
+ get
+ {
+ return _embedStyleSheet;
+ }
+ set
+ {
+ _embedStyleSheet = value;
+ }
+ }
+
+ ///
+ /// Transforms a source code string to HTML 4.01.
+ ///
+ /// A string containing the HTML formatted code.
+ public Paragraph FormatCode( string source )
+ {
+ return FormatCode( source, _lineNumbers, _alternate, _embedStyleSheet, false );
+ }
+
+ private Regex codeRegex;
+
+ ///
+ /// The regular expression used to capture language tokens.
+ ///
+ protected Regex CodeRegex
+ {
+ get
+ {
+ return codeRegex;
+ }
+ set
+ {
+ codeRegex = value;
+ }
+ }
+
+ private List codeParagraphGlobal;
+ ///
+ /// This is a List of Run's that can be added later to the string of code
+ ///
+ protected List CodeParagraphGlobal
+ {
+ get
+ {
+ return codeParagraphGlobal;
+ }
+ set
+ {
+ codeParagraphGlobal = value;
+ }
+ }
+
+ ///
+ /// Called to evaluate the HTML fragment corresponding to each
+ /// matching token in the code.
+ ///
+ /// The resulting from a
+ /// single regular expression match.
+ /// A string containing the HTML code fragment.
+ protected abstract string MatchEval( Match match ); //protected abstract
+
+ //does the formatting job
+ private Paragraph FormatCode( string source, bool lineNumbers,
+ bool alternate, bool embedStyleSheet, bool subCode )
+ {
+ Paragraph codeParagraph = new Paragraph();
+ //replace special characters
+ StringBuilder sb = new StringBuilder( source );
+ //color the code
+ source = codeRegex.Replace( sb.ToString(), new MatchEvaluator( this.MatchEval ) );
+ //codeRegex.Replace(
+ string[] characters = { "::::::" };
+
+ string[] split = source.Split( characters, new StringSplitOptions() );
+ int currentChunk = 0;
+ foreach( string code in split )
+ {
+ currentChunk++;
+ Run r = new Run( code );
+ codeParagraph.Inlines.Add( r );
+ if( ( currentChunk - 1 ) < codeParagraphGlobal.Count )
+ {
+ codeParagraph.Inlines.Add( codeParagraphGlobal[ currentChunk - 1 ] );
+ }
+ }
+
+ return codeParagraph;
+ }
+
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Core/CodeFormatting/XamlFormat.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Core/CodeFormatting/XamlFormat.cs
index 5b1835328..1c682749c 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Core/CodeFormatting/XamlFormat.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Core/CodeFormatting/XamlFormat.cs
@@ -1,350 +1,350 @@
-//Author: Nick Kramer [MSFT]
-//Source: http://blogs.msdn.com/b/nickkramer/archive/2006/09/22/766934.aspx
-
-using System.Collections.Generic;
-using System.Diagnostics;
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Core.CodeFormatting
-{
- // XML tokenizer, tokens are designed to match Visual Studio syntax highlighting
- class XmlTokenizer
- {
- private string input;
- private int position = 0;
- private XmlTokenizerMode mode = XmlTokenizerMode.OutsideElement;
- public static List Tokenize( string input )
- {
- XmlTokenizerMode mode = XmlTokenizerMode.OutsideElement;
- XmlTokenizer tokenizer = new XmlTokenizer();
- return tokenizer.Tokenize( input, ref mode );
- }
- public List Tokenize( string input, ref XmlTokenizerMode _mode )
- {
- this.input = input;
- this.mode = _mode;
- this.position = 0;
- List result = Tokenize();
- _mode = this.mode;
- return result;
- }
- private List Tokenize()
- {
- List list = new List();
- XmlToken token;
- do
- {
- int previousPosition = position;
- token = NextToken();
- string tokenText = input.Substring( previousPosition, token.Length );
- list.Add( token );
- }
- while( token.Kind != XmlTokenKind.EOF );
- List strings = TokensToStrings( list, input );
- return list;
- }
- private List TokensToStrings( List list, string input )
- {
- List output = new List();
- int position = 0;
- foreach( XmlToken token in list )
- {
- output.Add( input.Substring( position, token.Length ) );
- position += token.Length;
- }
- return output;
- }
- // debugging function
- public string RemainingText
- {
- get
- {
- return input.Substring( position );
- }
- }
- private XmlToken NextToken()
- {
- if( position >= input.Length )
- return new XmlToken( XmlTokenKind.EOF, 0 );
- XmlToken token;
- switch( mode )
- {
- case XmlTokenizerMode.AfterAttributeEquals:
- token = TokenizeAttributeValue();
- break;
- case XmlTokenizerMode.AfterAttributeName:
- token = TokenizeSimple( "=", XmlTokenKind.Equals, XmlTokenizerMode.AfterAttributeEquals );
- break;
- case XmlTokenizerMode.AfterOpen:
- token = TokenizeName( XmlTokenKind.ElementName, XmlTokenizerMode.InsideElement );
- break;
- case XmlTokenizerMode.InsideCData:
- token = TokenizeInsideCData();
- break;
- case XmlTokenizerMode.InsideComment:
- token = TokenizeInsideComment();
- break;
- case XmlTokenizerMode.InsideElement:
- token = TokenizeInsideElement();
- break;
- case XmlTokenizerMode.InsideProcessingInstruction:
- token = TokenizeInsideProcessingInstruction();
- break;
- case XmlTokenizerMode.OutsideElement:
- token = TokenizeOutsideElement();
- break;
- default:
- token = new XmlToken( XmlTokenKind.EOF, 0 );
- Debug.Fail( "missing case" );
- break;
- }
- return token;
- }
- private bool IsNameCharacter( char character )
- {
- // XML rule: Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender
- bool result = char.IsLetterOrDigit( character ) || character == '.' | character == '-' | character == '_' | character == ':';
- return result;
- }
- private XmlToken TokenizeAttributeValue()
- {
- Debug.Assert( mode == XmlTokenizerMode.AfterAttributeEquals );
- int closePosition = input.IndexOf( input[ position ], position + 1 );
- XmlToken token = new XmlToken( XmlTokenKind.AttributeValue, closePosition + 1 - position );
- position = closePosition + 1;
- mode = XmlTokenizerMode.InsideElement;
- return token;
- }
- private XmlToken TokenizeName( XmlTokenKind kind, XmlTokenizerMode nextMode )
- {
- Debug.Assert( mode == XmlTokenizerMode.AfterOpen || mode == XmlTokenizerMode.InsideElement );
- int i;
- for( i = position; i < input.Length; i++ )
- if( !IsNameCharacter( input[ i ] ) )
- break;
- XmlToken token = new XmlToken( kind, i - position );
- mode = nextMode;
- position = i;
- return token;
- }
- private XmlToken TokenizeElementWhitespace()
- {
- int i;
- for( i = position; i < input.Length; i++ )
- if( !char.IsWhiteSpace( input[ i ] ) )
- break;
- XmlToken token = new XmlToken( XmlTokenKind.ElementWhitespace, i - position );
- position = i;
- return token;
- }
- private bool StartsWith( string text )
- {
- if( position + text.Length > input.Length )
- return false;
- else
- return input.Substring( position, text.Length ) == text;
- }
- private XmlToken TokenizeInsideElement()
- {
- if( char.IsWhiteSpace( input[ position ] ) )
- return TokenizeElementWhitespace();
- else
- if( StartsWith( "/>" ) )
- return TokenizeSimple( "/>", XmlTokenKind.SelfClose, XmlTokenizerMode.OutsideElement );
- else
- if( StartsWith( ">" ) )
- return TokenizeSimple( ">", XmlTokenKind.Close, XmlTokenizerMode.OutsideElement );
- else
- return TokenizeName( XmlTokenKind.AttributeName, XmlTokenizerMode.AfterAttributeName );
- }
- private XmlToken TokenizeText()
- {
- Debug.Assert( input[ position ] != '<' );
- Debug.Assert( input[ position ] != '&' );
- Debug.Assert( mode == XmlTokenizerMode.OutsideElement );
- int i;
- for( i = position; i < input.Length; i++ )
- if( input[ i ] == '<' || input[ i ] == '&' )
- break;
- XmlToken token = new XmlToken( XmlTokenKind.TextContent, i - position );
- position = i;
- return token;
- }
- private XmlToken TokenizeOutsideElement()
- {
- Debug.Assert( mode == XmlTokenizerMode.OutsideElement );
- if( position >= input.Length )
- return new XmlToken( XmlTokenKind.EOF, 0 );
- switch( input[ position ] )
- {
- case '<':
- return TokenizeOpen();
- case '&':
- return TokenizeEntity();
- default:
- return TokenizeText();
- }
- }
- private XmlToken TokenizeSimple( string text, XmlTokenKind kind, XmlTokenizerMode nextMode )
- {
- XmlToken token = new XmlToken( kind, text.Length );
- position += text.Length;
- mode = nextMode;
- return token;
- }
- private XmlToken TokenizeOpen()
- {
- Debug.Assert( input[ position ] == '<' );
- if( StartsWith( "", position );
- if( position == tokenend )
- {
- position += "-->".Length;
- mode = XmlTokenizerMode.OutsideElement;
- return new XmlToken( XmlTokenKind.CommentEnd, "-->".Length );
- }
- else
- {
- XmlToken token = new XmlToken( XmlTokenKind.CommentText, tokenend - position );
- position = tokenend;
- return token;
- }
- }
- }
-
- // Used so you can restart the tokenizer for the next line of XML
- enum XmlTokenizerMode
- {
- InsideComment,
- InsideProcessingInstruction,
- AfterOpen,
- AfterAttributeName,
- AfterAttributeEquals,
- InsideElement,
- // after element name, before attribute or />
- OutsideElement,
- InsideCData
- }
-
- struct XmlToken
- {
- public XmlTokenKind Kind;
- public short Length;
- public XmlToken( XmlTokenKind kind, int length )
- {
- Kind = kind;
- Length = ( short )length;
- }
- }
-
- /*
- * this file implements a mostly correct XML tokenizer. The token boundaries
- * have been chosen to match Visual Studio syntax highlighting, so a few of
- * the boundaries are little weird. (Especially comments) known issues:
- *
- * Doesn't handle DTD's
- * mediocre handling of processing instructions ?> -- it won't crash,
- * but the token boundaries are wrong
- * Doesn't enforce correct XML
- * there's probably a few cases where it will die if given in valid XML
- *
- *
- * This tokenizer has been designed to be restartable, so you can tokenize
- * one line of XML at a time.
- */
- enum XmlTokenKind
- {
- Open,
- // <
- Close,
- //>
- SelfClose,
- // />
- OpenClose,
- //
- ElementName,
- ElementWhitespace,
- //whitespace between attributes
- AttributeName,
- Equals,
- // inside attribute
- AttributeValue,
- // attribute value
- CommentBegin,
- //
- Entity,
- // >
- OpenProcessingInstruction,
- //
- CloseProcessingInstruction,
- // ?>
- CDataBegin,
- //
- TextContent,
- //WhitespaceContent, // text content that's whitespace. Space is embedded inside
- EOF,
- // end of file
- }
-}
+//Author: Nick Kramer [MSFT]
+//Source: http://blogs.msdn.com/b/nickkramer/archive/2006/09/22/766934.aspx
+
+using System.Collections.Generic;
+using System.Diagnostics;
+
+namespace Xceed.Wpf.Toolkit.LiveExplorer.Core.CodeFormatting
+{
+ // XML tokenizer, tokens are designed to match Visual Studio syntax highlighting
+ class XmlTokenizer
+ {
+ private string input;
+ private int position = 0;
+ private XmlTokenizerMode mode = XmlTokenizerMode.OutsideElement;
+ public static List Tokenize( string input )
+ {
+ XmlTokenizerMode mode = XmlTokenizerMode.OutsideElement;
+ XmlTokenizer tokenizer = new XmlTokenizer();
+ return tokenizer.Tokenize( input, ref mode );
+ }
+ public List Tokenize( string input, ref XmlTokenizerMode _mode )
+ {
+ this.input = input;
+ this.mode = _mode;
+ this.position = 0;
+ List result = Tokenize();
+ _mode = this.mode;
+ return result;
+ }
+ private List Tokenize()
+ {
+ List list = new List();
+ XmlToken token;
+ do
+ {
+ int previousPosition = position;
+ token = NextToken();
+ string tokenText = input.Substring( previousPosition, token.Length );
+ list.Add( token );
+ }
+ while( token.Kind != XmlTokenKind.EOF );
+ List strings = TokensToStrings( list, input );
+ return list;
+ }
+ private List TokensToStrings( List list, string input )
+ {
+ List output = new List();
+ int position = 0;
+ foreach( XmlToken token in list )
+ {
+ output.Add( input.Substring( position, token.Length ) );
+ position += token.Length;
+ }
+ return output;
+ }
+ // debugging function
+ public string RemainingText
+ {
+ get
+ {
+ return input.Substring( position );
+ }
+ }
+ private XmlToken NextToken()
+ {
+ if( position >= input.Length )
+ return new XmlToken( XmlTokenKind.EOF, 0 );
+ XmlToken token;
+ switch( mode )
+ {
+ case XmlTokenizerMode.AfterAttributeEquals:
+ token = TokenizeAttributeValue();
+ break;
+ case XmlTokenizerMode.AfterAttributeName:
+ token = TokenizeSimple( "=", XmlTokenKind.Equals, XmlTokenizerMode.AfterAttributeEquals );
+ break;
+ case XmlTokenizerMode.AfterOpen:
+ token = TokenizeName( XmlTokenKind.ElementName, XmlTokenizerMode.InsideElement );
+ break;
+ case XmlTokenizerMode.InsideCData:
+ token = TokenizeInsideCData();
+ break;
+ case XmlTokenizerMode.InsideComment:
+ token = TokenizeInsideComment();
+ break;
+ case XmlTokenizerMode.InsideElement:
+ token = TokenizeInsideElement();
+ break;
+ case XmlTokenizerMode.InsideProcessingInstruction:
+ token = TokenizeInsideProcessingInstruction();
+ break;
+ case XmlTokenizerMode.OutsideElement:
+ token = TokenizeOutsideElement();
+ break;
+ default:
+ token = new XmlToken( XmlTokenKind.EOF, 0 );
+ Debug.Fail( "missing case" );
+ break;
+ }
+ return token;
+ }
+ private bool IsNameCharacter( char character )
+ {
+ // XML rule: Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender
+ bool result = char.IsLetterOrDigit( character ) || character == '.' | character == '-' | character == '_' | character == ':';
+ return result;
+ }
+ private XmlToken TokenizeAttributeValue()
+ {
+ Debug.Assert( mode == XmlTokenizerMode.AfterAttributeEquals );
+ int closePosition = input.IndexOf( input[ position ], position + 1 );
+ XmlToken token = new XmlToken( XmlTokenKind.AttributeValue, closePosition + 1 - position );
+ position = closePosition + 1;
+ mode = XmlTokenizerMode.InsideElement;
+ return token;
+ }
+ private XmlToken TokenizeName( XmlTokenKind kind, XmlTokenizerMode nextMode )
+ {
+ Debug.Assert( mode == XmlTokenizerMode.AfterOpen || mode == XmlTokenizerMode.InsideElement );
+ int i;
+ for( i = position; i < input.Length; i++ )
+ if( !IsNameCharacter( input[ i ] ) )
+ break;
+ XmlToken token = new XmlToken( kind, i - position );
+ mode = nextMode;
+ position = i;
+ return token;
+ }
+ private XmlToken TokenizeElementWhitespace()
+ {
+ int i;
+ for( i = position; i < input.Length; i++ )
+ if( !char.IsWhiteSpace( input[ i ] ) )
+ break;
+ XmlToken token = new XmlToken( XmlTokenKind.ElementWhitespace, i - position );
+ position = i;
+ return token;
+ }
+ private bool StartsWith( string text )
+ {
+ if( position + text.Length > input.Length )
+ return false;
+ else
+ return input.Substring( position, text.Length ) == text;
+ }
+ private XmlToken TokenizeInsideElement()
+ {
+ if( char.IsWhiteSpace( input[ position ] ) )
+ return TokenizeElementWhitespace();
+ else
+ if( StartsWith( "/>" ) )
+ return TokenizeSimple( "/>", XmlTokenKind.SelfClose, XmlTokenizerMode.OutsideElement );
+ else
+ if( StartsWith( ">" ) )
+ return TokenizeSimple( ">", XmlTokenKind.Close, XmlTokenizerMode.OutsideElement );
+ else
+ return TokenizeName( XmlTokenKind.AttributeName, XmlTokenizerMode.AfterAttributeName );
+ }
+ private XmlToken TokenizeText()
+ {
+ Debug.Assert( input[ position ] != '<' );
+ Debug.Assert( input[ position ] != '&' );
+ Debug.Assert( mode == XmlTokenizerMode.OutsideElement );
+ int i;
+ for( i = position; i < input.Length; i++ )
+ if( input[ i ] == '<' || input[ i ] == '&' )
+ break;
+ XmlToken token = new XmlToken( XmlTokenKind.TextContent, i - position );
+ position = i;
+ return token;
+ }
+ private XmlToken TokenizeOutsideElement()
+ {
+ Debug.Assert( mode == XmlTokenizerMode.OutsideElement );
+ if( position >= input.Length )
+ return new XmlToken( XmlTokenKind.EOF, 0 );
+ switch( input[ position ] )
+ {
+ case '<':
+ return TokenizeOpen();
+ case '&':
+ return TokenizeEntity();
+ default:
+ return TokenizeText();
+ }
+ }
+ private XmlToken TokenizeSimple( string text, XmlTokenKind kind, XmlTokenizerMode nextMode )
+ {
+ XmlToken token = new XmlToken( kind, text.Length );
+ position += text.Length;
+ mode = nextMode;
+ return token;
+ }
+ private XmlToken TokenizeOpen()
+ {
+ Debug.Assert( input[ position ] == '<' );
+ if( StartsWith( "", position );
+ if( position == tokenend )
+ {
+ position += "-->".Length;
+ mode = XmlTokenizerMode.OutsideElement;
+ return new XmlToken( XmlTokenKind.CommentEnd, "-->".Length );
+ }
+ else
+ {
+ XmlToken token = new XmlToken( XmlTokenKind.CommentText, tokenend - position );
+ position = tokenend;
+ return token;
+ }
+ }
+ }
+
+ // Used so you can restart the tokenizer for the next line of XML
+ enum XmlTokenizerMode
+ {
+ InsideComment,
+ InsideProcessingInstruction,
+ AfterOpen,
+ AfterAttributeName,
+ AfterAttributeEquals,
+ InsideElement,
+ // after element name, before attribute or />
+ OutsideElement,
+ InsideCData
+ }
+
+ struct XmlToken
+ {
+ public XmlTokenKind Kind;
+ public short Length;
+ public XmlToken( XmlTokenKind kind, int length )
+ {
+ Kind = kind;
+ Length = ( short )length;
+ }
+ }
+
+ /*
+ * this file implements a mostly correct XML tokenizer. The token boundaries
+ * have been chosen to match Visual Studio syntax highlighting, so a few of
+ * the boundaries are little weird. (Especially comments) known issues:
+ *
+ * Doesn't handle DTD's
+ * mediocre handling of processing instructions ?> -- it won't crash,
+ * but the token boundaries are wrong
+ * Doesn't enforce correct XML
+ * there's probably a few cases where it will die if given in valid XML
+ *
+ *
+ * This tokenizer has been designed to be restartable, so you can tokenize
+ * one line of XML at a time.
+ */
+ enum XmlTokenKind
+ {
+ Open,
+ // <
+ Close,
+ //>
+ SelfClose,
+ // />
+ OpenClose,
+ //
+ ElementName,
+ ElementWhitespace,
+ //whitespace between attributes
+ AttributeName,
+ Equals,
+ // inside attribute
+ AttributeValue,
+ // attribute value
+ CommentBegin,
+ //
+ Entity,
+ // >
+ OpenProcessingInstruction,
+ //
+ CloseProcessingInstruction,
+ // ?>
+ CDataBegin,
+ //
+ TextContent,
+ //WhitespaceContent, // text content that's whitespace. Space is embedded inside
+ EOF,
+ // end of file
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/MainWindow.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/MainWindow.xaml
index 30dca2e75..96cfce704 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/MainWindow.xaml
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/MainWindow.xaml
@@ -1,518 +1,386 @@
-
-
-
-
-
-
-
-
- #FFC72035
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ BorderThickness="0" SelectedItemChanged="OnTreeViewSelectionChanged">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Toolkit Plus
-
-
-
-
+ VerticalScrollBarVisibility="{Binding View.VerticalScrollBarVisibility, RelativeSource={RelativeSource AncestorType={x:Type Window}}}">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Toolkit Plus
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/Resources.Designer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/Resources.Designer.cs
index 04d2a42da..3d7b2a349 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/Resources.Designer.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/Resources.Designer.cs
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.296
+// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -10,8 +10,8 @@
namespace Xceed.Wpf.Toolkit.LiveExplorer.Properties {
using System;
-
-
+
+
///
/// A strongly-typed resource class, for looking up localized strings, etc.
///
@@ -19,19 +19,19 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Properties {
// 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.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.
///
@@ -45,7 +45,7 @@ internal Resources() {
return resourceMan;
}
}
-
+
///
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/Settings.Designer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/Settings.Designer.cs
index 398729531..f306a584d 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/Settings.Designer.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/Settings.Designer.cs
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.296
+// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -9,20 +9,20 @@
//------------------------------------------------------------------------------
namespace Xceed.Wpf.Toolkit.LiveExplorer.Properties {
-
-
+
+
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.5.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;
}
}
-
+
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/Settings.settings b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/Settings.settings
index 3b16385f8..1786c5b43 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/Settings.settings
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/Settings.settings
@@ -1,9 +1,9 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/app.manifest b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/app.manifest
index 8df620839..285640398 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/app.manifest
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/app.manifest
@@ -1,47 +1,47 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Color/Views/ColorView.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Color/Views/ColorView.xaml
index 4dd5e5753..e0982c864 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Color/Views/ColorView.xaml
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Color/Views/ColorView.xaml
@@ -1,344 +1,272 @@
-
+
+
+
+ The ColorCanvas and ColorPicker controls allow the user to input a color. Not shown in the sample are the ColorPicker's Available, Standard and Recent color lists, which are entirely customizable.
+
+
- Toolkit for WPF
+
+
- Copyright (C) 2007-2017 Xceed Software Inc.
+
+
+
+
+
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at https://xceed.com/xceed-toolkit-plus-for-wpf/
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************-->
-
-
-
- The ColorCanvas and ColorPicker controls allow the user to input a color. Not shown in the sample are the ColorPicker's Available, Standard and Recent color lists, which are entirely customizable.
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Magnifier/Resources/SampleText.rtf b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Magnifier/Resources/SampleText.rtf
index fcd8739bc..45650e815 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Magnifier/Resources/SampleText.rtf
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Magnifier/Resources/SampleText.rtf
@@ -1,9 +1,9 @@
-{\rtf1\ansi\ansicpg1252\uc1\htmautsp\deff2{\fonttbl{\f0\fcharset0 Times New Roman;}{\f2\fcharset0 Segoe UI;}}{\colortbl\red0\green0\blue0;\red255\green255\blue255;}\loch\hich\dbch\pard\plain\ltrpar\itap0{\lang1033\fs18\f2\cf0 \cf0\ql{\fs15\f2 {\b\ltrch "Using Xceed DataGrid for WPF Professional Edition in Microsoft Visual Studio Team System 2010 helped us greatly reduce the time and resources necessary for developing all the data presentation features we needed. Working with Xceed has been a pleasure, and they update the product often and provide innovative new features such as 3D views for visualizing data. We will certainly continue to look at their technology in the future as a complement to our products."}\li0\ri0\sa0\sb0\fi0\ql\par}
-{\fs15\f2 {\ltrch }\li0\ri0\sa0\sb0\fi0\ql\par}
-{\fs15\f2 {\ltrch - Norman Guadagno, director of product marketing for Microsoft Visual Studio Team System, October 27, 2008}\li0\ri0\sa0\sb0\fi0\ql\par}
-{\fs15\f2 {\ltrch }\li0\ri0\sa0\sb0\fi0\ql\par}
-{\fs15\f2 {\b\ltrch "IBM U2 researched existing third-party solutions and identified Xceed DataGrid for WPF as the most suitable tool. The datagrid\rquote s performance and solid foundation take true advantage of WPF and provide the extensibility required for IBM U2 customers to take their applications to the next level in presentation design and styling."}\li0\ri0\sa0\sb0\fi0\ql\par}
-{\fs15\f2 {\ltrch }\li0\ri0\sa0\sb0\fi0\ql\par}
-{\fs15\f2 {\ltrch - Vinnie Smith, U2 Tools product manager at IBM, October 27, 2008}\li0\ri0\sa0\sb0\fi0\ql\par}
-}
+{\rtf1\ansi\ansicpg1252\uc1\htmautsp\deff2{\fonttbl{\f0\fcharset0 Times New Roman;}{\f2\fcharset0 Segoe UI;}}{\colortbl\red0\green0\blue0;\red255\green255\blue255;}\loch\hich\dbch\pard\plain\ltrpar\itap0{\lang1033\fs18\f2\cf0 \cf0\ql{\fs15\f2 {\b\ltrch "Using Xceed DataGrid for WPF Professional Edition in Microsoft Visual Studio Team System 2010 helped us greatly reduce the time and resources necessary for developing all the data presentation features we needed. Working with Xceed has been a pleasure, and they update the product often and provide innovative new features such as 3D views for visualizing data. We will certainly continue to look at their technology in the future as a complement to our products."}\li0\ri0\sa0\sb0\fi0\ql\par}
+{\fs15\f2 {\ltrch }\li0\ri0\sa0\sb0\fi0\ql\par}
+{\fs15\f2 {\ltrch - Norman Guadagno, director of product marketing for Microsoft Visual Studio Team System, October 27, 2008}\li0\ri0\sa0\sb0\fi0\ql\par}
+{\fs15\f2 {\ltrch }\li0\ri0\sa0\sb0\fi0\ql\par}
+{\fs15\f2 {\b\ltrch "IBM U2 researched existing third-party solutions and identified Xceed DataGrid for WPF as the most suitable tool. The datagrid\rquote s performance and solid foundation take true advantage of WPF and provide the extensibility required for IBM U2 customers to take their applications to the next level in presentation design and styling."}\li0\ri0\sa0\sb0\fi0\ql\par}
+{\fs15\f2 {\ltrch }\li0\ri0\sa0\sb0\fi0\ql\par}
+{\fs15\f2 {\ltrch - Vinnie Smith, U2 Tools product manager at IBM, October 27, 2008}\li0\ri0\sa0\sb0\fi0\ql\par}
+}
}
\ No newline at end of file
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MessageBox/Views/MessageBoxView.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MessageBox/Views/MessageBoxView.xaml
new file mode 100644
index 000000000..251b8fefe
--- /dev/null
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MessageBox/Views/MessageBoxView.xaml
@@ -0,0 +1,29 @@
+
+
+
+ Check Message Boxees (Button/Images)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MessageBox/Views/MessageBoxView.xaml.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MessageBox/Views/MessageBoxView.xaml.cs
new file mode 100644
index 000000000..f83e772ad
--- /dev/null
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MessageBox/Views/MessageBoxView.xaml.cs
@@ -0,0 +1,35 @@
+using System.Windows;
+using System.Windows.Controls;
+
+namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MessageBox.Views
+{
+ ///
+ /// Interaction logic for MessageBoxView.xaml
+ ///
+ public partial class MessageBoxView : DemoView
+ {
+ public MessageBoxView()
+ {
+ InitializeComponent();
+ }
+
+ private void ErrorButton_Click(object sender, RoutedEventArgs e)
+ {
+ Toolkit.MessageBox.Show("Thanks for clicking me!", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
+ }
+ private void WarnButton_Click(object sender, RoutedEventArgs e)
+ {
+ Toolkit.MessageBox.Show("Thanks for clicking me!", "Warning", MessageBoxButton.OKCancel, MessageBoxImage.Warning);
+
+ }
+ private void InfoButton_Click(object sender, RoutedEventArgs e)
+ {
+ Toolkit.MessageBox.Show("Thanks for clicking me!", "Information", MessageBoxButton.YesNo, MessageBoxImage.Information);
+ }
+ private void QuestionButton_Click(object sender, RoutedEventArgs e)
+ {
+ Toolkit.MessageBox.Show("Thanks for clicking me!", "Question", MessageBoxButton.YesNoCancel, MessageBoxImage.Question);
+
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MultiCalendar/Views/MultiCalendarView.xaml.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MultiCalendar/Views/MultiCalendarView.xaml.cs
index 9893c4fe6..803ec3f1f 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MultiCalendar/Views/MultiCalendarView.xaml.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MultiCalendar/Views/MultiCalendarView.xaml.cs
@@ -1,45 +1,45 @@
-/*************************************************************************************
-
- Toolkit for WPF
-
- Copyright (C) 2007-2017 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at https://xceed.com/xceed-toolkit-plus-for-wpf/
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System.Windows.Controls;
-using System;
-using System.Windows.Media;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MultiCalendar.Views
-{
- ///
- /// Interaction logic for MultiCalendarView.xaml
- ///
- public partial class MultiCalendarView : DemoView
- {
- public MultiCalendarView()
- {
- InitializeComponent();
- }
-
-
-
-
-
-
-
-
-
-
-
- }
-}
+/*************************************************************************************
+
+ Toolkit for WPF
+
+ Copyright (C) 2007-2017 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at https://xceed.com/xceed-toolkit-plus-for-wpf/
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System.Windows.Controls;
+using System;
+using System.Windows.Media;
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MultiCalendar.Views
+{
+ ///
+ /// Interaction logic for MultiCalendarView.xaml
+ ///
+ public partial class MultiCalendarView : DemoView
+ {
+ public MultiCalendarView()
+ {
+ InitializeComponent();
+ }
+
+
+
+
+
+
+
+
+
+
+
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/CustomProperty.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/CustomProperty.xaml.txt
index 84860462b..de4a0e128 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/CustomProperty.xaml.txt
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/CustomProperty.xaml.txt
@@ -1,21 +1,21 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/DefinitionKey.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/DefinitionKey.cs.txt
index b81c8d402..5345365a1 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/DefinitionKey.cs.txt
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/DefinitionKey.cs.txt
@@ -1,10 +1,10 @@
-
-private class Person
-{
- [DefinitionKey( "nameType" )]
- public string FirstName { get; set; }
- [DefinitionKey( "nameType" )]
- public string LastName { get; set; }
- [DefinitionKey( typeof( int? ) )]
- public object ReferenceNo { get; set; }
-}
+
+private class Person
+{
+ [DefinitionKey( "nameType" )]
+ public string FirstName { get; set; }
+ [DefinitionKey( "nameType" )]
+ public string LastName { get; set; }
+ [DefinitionKey( typeof( int? ) )]
+ public object ReferenceNo { get; set; }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/DefinitionKey.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/DefinitionKey.xaml.txt
index 6ca85062e..43754a7a5 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/DefinitionKey.xaml.txt
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/DefinitionKey.xaml.txt
@@ -1,12 +1,12 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/EditorDefinitions.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/EditorDefinitions.xaml.txt
index e04d94c9d..5a8d4bc27 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/EditorDefinitions.xaml.txt
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/EditorDefinitions.xaml.txt
@@ -1,23 +1,23 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/Properties.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/Properties.cs.txt
index 71d70be0a..52cd5127d 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/Properties.cs.txt
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/Properties.cs.txt
@@ -1,8 +1,8 @@
-
-public class Employee
-{
- public string Name { get; set; }
- public bool IsConfirmed { get; set; }
- public string Department { get; set; }
-}
-
+
+public class Employee
+{
+ public string Name { get; set; }
+ public bool IsConfirmed { get; set; }
+ public string Department { get; set; }
+}
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/Properties.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/Properties.xaml.txt
index c134db16d..095197975 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/Properties.xaml.txt
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/Properties.xaml.txt
@@ -1,20 +1,20 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/PropertiesSource.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/PropertiesSource.cs.txt
index d5acd2acd..c4255b9d5 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/PropertiesSource.cs.txt
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/PropertiesSource.cs.txt
@@ -1,6 +1,6 @@
-
-private class MyData
-{
- public string MyName { get; set; }
- public object MyValue { get; set; }
-}
+
+private class MyData
+{
+ public string MyName { get; set; }
+ public object MyValue { get; set; }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/PropertiesSource.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/PropertiesSource.xaml.txt
index e7c46b009..b6d30416a 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/PropertiesSource.xaml.txt
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/OpenSourceImages/PropertiesSource.xaml.txt
@@ -1,5 +1,5 @@
-
-
-
+
+
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/Views/DisplayLocalizationRes.Designer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/Views/DisplayLocalizationRes.Designer.cs
index 667ee5316..6f3594e07 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/Views/DisplayLocalizationRes.Designer.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/Views/DisplayLocalizationRes.Designer.cs
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.296
+// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -10,8 +10,8 @@
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
using System;
-
-
+
+
///
/// A strongly-typed resource class, for looking up localized strings, etc.
///
@@ -19,19 +19,19 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
// 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class DisplayLocalizationRes {
-
+
private static global::System.Resources.ResourceManager resourceMan;
-
+
private static global::System.Globalization.CultureInfo resourceCulture;
-
+
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal DisplayLocalizationRes() {
}
-
+
///
/// Returns the cached ResourceManager instance used by this class.
///
@@ -45,7 +45,7 @@ internal DisplayLocalizationRes() {
return resourceMan;
}
}
-
+
///
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
@@ -59,7 +59,7 @@ internal DisplayLocalizationRes() {
resourceCulture = value;
}
}
-
+
///
/// Looks up a localized string similar to Details.
///
@@ -68,7 +68,7 @@ internal static string DetailsCategory {
return ResourceManager.GetString("DetailsCategory", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Favorite actor 1 (no DisplayName).
///
@@ -77,7 +77,7 @@ internal static string FavoriteActor1 {
return ResourceManager.GetString("FavoriteActor1", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to This property's type is an enum whose values have no DisplayName attributes. These values displayed are provided by the ToString() method..
///
@@ -86,7 +86,7 @@ internal static string FavoriteActor1Desc {
return ResourceManager.GetString("FavoriteActor1Desc", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Favorite actor 2 (with DisplayName).
///
@@ -95,7 +95,7 @@ internal static string FavoriteActor2 {
return ResourceManager.GetString("FavoriteActor2", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to This property's type is an enum whose values are decorated with the ExtendedDisplayName attribute. Combined with the EnumDisplayNameConverter, this allows display values to be customized..
///
@@ -104,7 +104,7 @@ internal static string FavoriteActor2Desc {
return ResourceManager.GetString("FavoriteActor2Desc", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Favorite actor 3.
///
@@ -113,7 +113,7 @@ internal static string FavoriteActor3 {
return ResourceManager.GetString("FavoriteActor3", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to "(Not listed)" enum value shows that enum values can also be localized..
///
@@ -122,7 +122,7 @@ internal static string FavoriteActor3Desc {
return ResourceManager.GetString("FavoriteActor3Desc", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to First name.
///
@@ -131,7 +131,7 @@ internal static string FirstName {
return ResourceManager.GetString("FirstName", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to First name of that person.
///
@@ -140,7 +140,7 @@ internal static string FirstNameDesc {
return ResourceManager.GetString("FirstNameDesc", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Information.
///
@@ -149,7 +149,7 @@ internal static string InfoCategory {
return ResourceManager.GetString("InfoCategory", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Last name.
///
@@ -158,7 +158,7 @@ internal static string LastName {
return ResourceManager.GetString("LastName", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Usually the familly name of the person.
///
@@ -167,7 +167,7 @@ internal static string LastNameDesc {
return ResourceManager.GetString("LastNameDesc", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to (Not listed).
///
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/Views/DisplayLocalizationRes.fr.resx b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/Views/DisplayLocalizationRes.fr.resx
index c162964dd..3c7a52ca7 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/Views/DisplayLocalizationRes.fr.resx
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/Views/DisplayLocalizationRes.fr.resx
@@ -1,159 +1,159 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- Détails
-
-
- Acteur favori 1 (aucun DisplayName)
-
-
- Le type de cette propriété est un enum où les valeurs n'ont aucun attribut "DisplayName". Les valeurs affichées sont retournées par la méthode ToString().
-
-
- Acteur favori 2 (avec DisplayName)
-
-
- Le type de cette propriété est un enum où les valeurs sont décorés avec l'attribut "DisplayName". Les valeurs affichées sont celles spécifiées par l'attribut ExtendedDisplayName.
-
-
- Acteur favori 3
-
-
- La valeur "(Non proposé)" démontre que les valeurs des enums peuvent aussi être localisées.
-
-
- Prénom
-
-
- Prénom de la personne
-
-
- Information
-
-
- Nom de famille
-
-
- Le nom de famille de la personne
-
-
- (Non proposé)
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Détails
+
+
+ Acteur favori 1 (aucun DisplayName)
+
+
+ Le type de cette propriété est un enum où les valeurs n'ont aucun attribut "DisplayName". Les valeurs affichées sont retournées par la méthode ToString().
+
+
+ Acteur favori 2 (avec DisplayName)
+
+
+ Le type de cette propriété est un enum où les valeurs sont décorés avec l'attribut "DisplayName". Les valeurs affichées sont celles spécifiées par l'attribut ExtendedDisplayName.
+
+
+ Acteur favori 3
+
+
+ La valeur "(Non proposé)" démontre que les valeurs des enums peuvent aussi être localisées.
+
+
+ Prénom
+
+
+ Prénom de la personne
+
+
+ Information
+
+
+ Nom de famille
+
+
+ Le nom de famille de la personne
+
+
+ (Non proposé)
+
\ No newline at end of file
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/Views/DisplayLocalizationRes.resx b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/Views/DisplayLocalizationRes.resx
index d4a8948e4..c38138ff0 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/Views/DisplayLocalizationRes.resx
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/Views/DisplayLocalizationRes.resx
@@ -1,159 +1,159 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- Details
-
-
- Favorite actor 1 (no DisplayName)
-
-
- This property's type is an enum whose values have no DisplayName attributes. These values displayed are provided by the ToString() method.
-
-
- Favorite actor 2 (with DisplayName)
-
-
- This property's type is an enum whose values are decorated with the ExtendedDisplayName attribute. Combined with the EnumDisplayNameConverter, this allows display values to be customized.
-
-
- Favorite actor 3
-
-
- "(Not listed)" enum value shows that enum values can also be localized.
-
-
- First name
-
-
- First name of that person
-
-
- Information
-
-
- Last name
-
-
- Usually the familly name of the person
-
-
- (Not listed)
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Details
+
+
+ Favorite actor 1 (no DisplayName)
+
+
+ This property's type is an enum whose values have no DisplayName attributes. These values displayed are provided by the ToString() method.
+
+
+ Favorite actor 2 (with DisplayName)
+
+
+ This property's type is an enum whose values are decorated with the ExtendedDisplayName attribute. Combined with the EnumDisplayNameConverter, this allows display values to be customized.
+
+
+ Favorite actor 3
+
+
+ "(Not listed)" enum value shows that enum values can also be localized.
+
+
+ First name
+
+
+ First name of that person
+
+
+ Information
+
+
+ Last name
+
+
+ Usually the familly name of the person
+
+
+ (Not listed)
+
\ No newline at end of file
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Zoombox/Resources/ZoomboxProperties.xml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Zoombox/Resources/ZoomboxProperties.xml
index 1fca13598..f9f107287 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Zoombox/Resources/ZoomboxProperties.xml
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Zoombox/Resources/ZoomboxProperties.xml
@@ -1,154 +1,154 @@
-
-
-Gets or sets the acceleration ratio used for scale and pan animations.
-
-By default, transitions from one view to another are animated. This property determines the acceleration ratio of that animation.
-Gets or sets the deceleration ratio used for scale and pan animations.
-
-By default, transitions from one view to another are animated. This property determines the deceleration ratio of that animation.
-Gets or sets the duration used for scale and pan animations.
-
-By default, transitions from one view to another are animated. This property determines the duration of that animation.
-Gets a Boolean value that specifies whether the keys in the DragModifiers collection are currently pressed. It is updated only when the Zoombox has keyboard or cursor focus.
-
-This value is intended for use as a trigger within the Zoombox style. It can be used to change the appearance of the cursor to show that it’s possible to drag (or pan) the content.
-
-This value is not updated in partial trust.
-Gets a Boolean value that specifies whether the keys in the RelativeZoomModifiers collection are currently pressed. It is updated only when the Zoombox has keyboard or cursor focus.
-
-This value is intended for use as a trigger within the Zoombox style. It can be used to change the appearance of the cursor to show that it’s possible to scale the content relative to the cursor position. This allows the user to zoom in on a specific point within the content.
-
-This value is not updated in partial trust.
-Gets a Boolean value that specifies whether the keys in the ZoomModifiers collection are currently pressed. It is updated only when the Zoombox has keyboard or cursor focus.
-
-This value is intended for use as a trigger within the Zoombox style. It can be used within the Zoombox control’s style to change the appearance of the cursor to show that it’s possible to zoom in or out using the mouse wheel. The zoom operation occurs relative to the ZoomOrigin point (by default, the center of the content).
-
-This value is not updated in partial trust.
-Gets a Boolean value that specifies whether the keys in the ZoomToSelectionModifiers collection are currently pressed. It is updated only when the Zoombox has keyboard or cursor focus.
-
-This value is intended for use as a trigger within the Zoombox style. It can be used to show that it’s possible to select a zoom region by pressing the left mouse button and dragging the mouse. Upon release of the mouse button, the Zoombox control will zoom in to the selected region.
-
-By default, the selected region will be centered within the Zoombox control, but this can be changed by altering the HorizontalContentAlignment and VerticalContentAlignment properties.
-
-This value is not updated in partial trust.
-Gets or sets a Boolean value that determines if the content of the Zoombox is wrapped in a Viewbox.
-
-By default, the content of the Zoombox control will be wrapped within a Viewbox element (unless the content is already a Viewbox). The viewbox ensures that the content does not get clipped by its parent and that it renders correctly within the visual brush used in the view finder.
-
-Some elements, like Image, have built-in viewbox behaviors. This property can be set to False for such elements to prevent the extra wrapping layer. However, if this causes the content to appear incorrectly in the view finder, try setting this property back to True.
-Gets the current view for the Zoombox. This is an object of type ZoomboxView.
-
-This property may return an absolute view (given by a position and/or scale value), a region-based view (given by a Rect within the content), or a predefined view, given by one of the static ZoomboxView properties: Center, Empty, Fill, or Fit.
-Gets the index of the current view (see the CurrentView property) within the Zoombox control's view stack (see the ViewStack property).
-
-If the current view is not a member of the view stack, the CurrentViewIndex property returns -1. This will happen if the Zoombox control has a manual view stack (see the ViewStackMode property) and the control has been zoomed or panned away from the selected view. In this case, the ViewStackIndex property can be used to get the index of the selected view. Also, the RefocusView() method can be used to zoom back to the selected view.
-
-If the view stack is disabled, the CurrentViewIndex property always returns -1.
-Gets or sets a collection of KeyModifier values representing keys that must be pressed to pan the content by dragging it.
-
-All keys must be pressed in order for the operation to occur. If None is specified, the content will be dragged without any modifier keys. If the collection includes Blocked, the content cannot be dragged.
-
-The default value includes only the Ctrl key.
-Gets or sets a Boolean value that specifies whether the Zoombox responds to tunneled mouse events (PreviewMouseDown, PreviewMouseMove, and PreviewMouseUp) to pan the content via a mouse drag. If false, panning occurs in response to the bubbled events (MouseDown, MouseMove, and MouseUp).
-
-The default value is false.
-Gets a ZoomboxViewStackMode value representing the mode that is currently in effect for the view stack. The effective mode will be either Auto, Manual, or Disabled.
-
-For more information, see the ViewStackMode property.
-Gets a Boolean value that specifies whether there are views on the back side of the view stack (see the ViewStack property).
-Gets a Boolean value that specifies whether there are views on the forward side of the view stack (see the ViewStack property).
-Gets or sets a Boolean value specifying whether transitions between views (scale and pan operations) are animated.
-
-The default value is true.
-Gets a Boolean value that specifies whether the content is currently being panned via a drag operation.
-Gets a Boolean value that specifies whether a zoom region is currently being selected.
-Gets/Sets a Boolean value that specifies whether the zoombox's scrollbars are enabled to move the content of the zoombox.
-Gets or sets a Double value representing the maximum scale factor (or zoom level) that can be applied to the content.
-Gets or sets a Double value representing the minimum scale factor (or zoom level) that can be applied to the content.
-Gets or sets a Boolean value that specifies whether the Zoombox responds to tunneled mouse events (PreviewMouseDown) to navigate through the view stack. If false, navigation occurs in response to bubbled mouse events (MouseDown).
-
-The default value is false.
-
-This setting only impacts the control's response to the forward (XButton2) and back (XButton1) mouse buttons. Note that the control will also navigate in response to the forward (BrowserForward) and back (BrowserBack or Backspace) keyboard keys, but this is enabled via key bindings in an InputBindingCollection within the Resources section of the Zoombox template.
-Gets or sets a Double value that is used to determine how many pixels the content will pan using the PanLeft, PanUp, PanRight, or PanDown Zoombox commands.
-
-The pan commands are hooked up to key strokes using an InputBindingCollection within the Resources section of the Zoombox template. The default key bindings map Shift+Ctrl+Left, Shift+Ctrl+Up, Shift+Ctrl+Right, and Shift+Ctrl+Down to their respective Pan commands.
-
-The keyboard focus must be within the Zoombox to pan the content via the key bindings.
-
-The default value is 5 pixels.
-Gets or sets the top-left point of the content within the Zoombox control.
-
-The Position is expressed as a Point within the coordinate space of the Zoombox control.
-Gets or sets a collection of KeyModifier values representing keys that must be pressed to zoom the content relative to the current mouse position using the mouse wheel.
-
-All keys must be pressed in order for the operation to occur. If None is specified, the content will be zoomed without any modifier keys. If the collection includes Blocked, the content cannot be zoomed.
-
-The default value is the Ctrl+Alt combination.
-Gets or sets a Double value representing the scale factor (or zoom level) for the content.
-
-A scale value of 1.0 represents the actual content size.
-Gets a reference to the view finder element within the visual tree of the Zoombox.
-
-The view finder element typically serves as the root of a subtree that contains a ViewFinderDisplay element and several command buttons for changing views. The ViewFinderDisplay element is the element that renders the thumbnail image of the Zoombox content.
-
-The view finder element, if present in the control template, must be named "ViewFinder". The visibility of the view finder element is typically bound to the ViewFinderVisibility attached property.
-Gets a Visibility value for the ViewFinder.
-
-This property is typically leveraged by the Zoombox template to control the visibility of the view finder element. In the default Zoombox template, this property is also bound to a toggle button that is used to show and hide the view finder.
-
-This is an attached property because the Zoombox control, itself, does not directly use the property.
-Gets a Rect identifying the portion of the content that is visible in the Zoombox. The viewport is expressed in the coordinate space of the content.
-Gets the view stack for the Zoombox. This stack can be manually specified, automatically maintained, or disabled entirely, depending on the ViewStackMode property.
-
-The view stack is maintained in an instance of the ZoomboxViewStack class.
-Gets an integer value representing the number of views in the view stack.
-Gets or sets the index of the selected view within the view stack.
-
-For a manual stack, a positive ViewStackIndex value does not necessarily indicate that the specified view is the current view. The user may have zoomed or panned away from the view represented by the ViewStackIndex property. The CurrentView property can be used to determine the actual current view. In this case, the CurrentViewIndex will be -1 but the ViewStackIndex will be a positive value. The Refocus command or the RefocusView() method can be used to refocus the selected view on the stack.
-Gets or sets the mode for the view stack.
-
-The ViewStackMode property determines how the Zoombox will maintain its stack of views for back and forward view navigation. It can be set to any of the following values from the ZoomboxViewStackMode enumeration:
-
-Auto: The control automatically tracks view changes and adds them to the view stack. In this case, every view selected is added to the view stack (in the same manner that visited URLs are added to a browser stack).
-
-Manual: The control uses a manually specified view stack. The views can be directly added to the ViewStack in markup or programmatically. They can also be bound to the Zoombox using the ViewStackSource property.
-
-Default: The control will use one of the other ZoomboxViewStackMode values at runtime. The EffectiveViewStackMode property can be used to determine which mode is actually in effect. If the views in the stack come from a ViewStackSource, then the default mode is Manual; otherwise, the default mode is Auto.
-
-Disabled: The view stack is disabled altogether. In this mode, the ViewStack property will return null. An attempt to add views manually will result in an exception.
-Gets or sets an IEnumerable value representing a collection used to generate a view stack for the Zoombox.
-
-The view stack of a Zoombox is either explicitly set using the ViewStack property or auto-generated based on members of the ViewStackSource collection. In this sense, the ViewStackSource property is analogous to the ItemsSource property for an ItemsControl.
-
-This property can be used to bind the view stack to an observable collection of ZoomboxView objects (or a collection of objects of type string, Point, double, or Rect, which can be directly converted to ZoomboxView objects via the ZoomboxViewConverter class).
-
-When the ViewStackSource property is in use, the ViewStack property is effectively read-only. An attempt to directly modify the ViewStack will result in an exception.
-
-When the ViewStackSource property is set to a non-null collection, the contents of the ViewStack collection is replaced with the views generated from the ViewStackSource.
-
-If the ViewStackSource property is already set, explicitly setting it to null will remove the auto-generated collection of views and the Zoombox will have an empty ViewStack collection. If ViewStackSource is already null, setting it to null has no effect.
-Gets or sets a collection of KeyModifier values representing keys that must be pressed to zoom the content relative to its ZoomOrigin (by default, the center of the content) using the mouse wheel.
-
-All specified keys must be pressed in order for the operation to occur. If None is specified, the relative zoom will occur without any modifier keys. If the collection includes Blocked, a zoom cannot be performed.
-
-The default value includes only the Ctrl key.
-Gets or sets a Boolean value that specifies whether the Zoombox responds to tunneled mouse events (PreviewMouseWheel) to zoom the content via the mouse wheel. If false, zooming occurs in response to the bubbled events (MouseWheel).
-
-The default value is true.
-Gets or sets the relative position within the content around which Zoom operations occur by default.
-
-This value is used when zooming via the mouse wheel, ZoomIn or ZoomOut commands, or the Zoom() method.
-Gets or sets a Double value that is used to determine how much the content will zoom when using the ZoomIn or ZoomOut commands or when zooming via the mouse wheel.
-
-The zoom commands are hooked up to key strokes using an InputBindingCollection within the Resources section of the Zoombox template. The default key bindings map Ctrl+Left and Ctrl+Up to the ZoomOut command and Ctrl+Right and Ctrl+Down to the ZoomIn command.
-
-Keyboard focus must be within the Zoombox to scale the content via the key bindings.
-
-The default value is 5%.
-Gets or sets a collection of KeyModifier values representing keys that must be pressed to select and zoom to a location of the content using the mouse.
-
-All specified keys must be pressed in order for the operation to occur. If None is specified, the zoom operation will occur without any modifier keys. If the collection includes Blocked, the zoom operation cannot be performed.
-
-The default value includes only the Alt key.
-
+
+
+Gets or sets the acceleration ratio used for scale and pan animations.
+
+By default, transitions from one view to another are animated. This property determines the acceleration ratio of that animation.
+Gets or sets the deceleration ratio used for scale and pan animations.
+
+By default, transitions from one view to another are animated. This property determines the deceleration ratio of that animation.
+Gets or sets the duration used for scale and pan animations.
+
+By default, transitions from one view to another are animated. This property determines the duration of that animation.
+Gets a Boolean value that specifies whether the keys in the DragModifiers collection are currently pressed. It is updated only when the Zoombox has keyboard or cursor focus.
+
+This value is intended for use as a trigger within the Zoombox style. It can be used to change the appearance of the cursor to show that it’s possible to drag (or pan) the content.
+
+This value is not updated in partial trust.
+Gets a Boolean value that specifies whether the keys in the RelativeZoomModifiers collection are currently pressed. It is updated only when the Zoombox has keyboard or cursor focus.
+
+This value is intended for use as a trigger within the Zoombox style. It can be used to change the appearance of the cursor to show that it’s possible to scale the content relative to the cursor position. This allows the user to zoom in on a specific point within the content.
+
+This value is not updated in partial trust.
+Gets a Boolean value that specifies whether the keys in the ZoomModifiers collection are currently pressed. It is updated only when the Zoombox has keyboard or cursor focus.
+
+This value is intended for use as a trigger within the Zoombox style. It can be used within the Zoombox control’s style to change the appearance of the cursor to show that it’s possible to zoom in or out using the mouse wheel. The zoom operation occurs relative to the ZoomOrigin point (by default, the center of the content).
+
+This value is not updated in partial trust.
+Gets a Boolean value that specifies whether the keys in the ZoomToSelectionModifiers collection are currently pressed. It is updated only when the Zoombox has keyboard or cursor focus.
+
+This value is intended for use as a trigger within the Zoombox style. It can be used to show that it’s possible to select a zoom region by pressing the left mouse button and dragging the mouse. Upon release of the mouse button, the Zoombox control will zoom in to the selected region.
+
+By default, the selected region will be centered within the Zoombox control, but this can be changed by altering the HorizontalContentAlignment and VerticalContentAlignment properties.
+
+This value is not updated in partial trust.
+Gets or sets a Boolean value that determines if the content of the Zoombox is wrapped in a Viewbox.
+
+By default, the content of the Zoombox control will be wrapped within a Viewbox element (unless the content is already a Viewbox). The viewbox ensures that the content does not get clipped by its parent and that it renders correctly within the visual brush used in the view finder.
+
+Some elements, like Image, have built-in viewbox behaviors. This property can be set to False for such elements to prevent the extra wrapping layer. However, if this causes the content to appear incorrectly in the view finder, try setting this property back to True.
+Gets the current view for the Zoombox. This is an object of type ZoomboxView.
+
+This property may return an absolute view (given by a position and/or scale value), a region-based view (given by a Rect within the content), or a predefined view, given by one of the static ZoomboxView properties: Center, Empty, Fill, or Fit.
+Gets the index of the current view (see the CurrentView property) within the Zoombox control's view stack (see the ViewStack property).
+
+If the current view is not a member of the view stack, the CurrentViewIndex property returns -1. This will happen if the Zoombox control has a manual view stack (see the ViewStackMode property) and the control has been zoomed or panned away from the selected view. In this case, the ViewStackIndex property can be used to get the index of the selected view. Also, the RefocusView() method can be used to zoom back to the selected view.
+
+If the view stack is disabled, the CurrentViewIndex property always returns -1.
+Gets or sets a collection of KeyModifier values representing keys that must be pressed to pan the content by dragging it.
+
+All keys must be pressed in order for the operation to occur. If None is specified, the content will be dragged without any modifier keys. If the collection includes Blocked, the content cannot be dragged.
+
+The default value includes only the Ctrl key.
+Gets or sets a Boolean value that specifies whether the Zoombox responds to tunneled mouse events (PreviewMouseDown, PreviewMouseMove, and PreviewMouseUp) to pan the content via a mouse drag. If false, panning occurs in response to the bubbled events (MouseDown, MouseMove, and MouseUp).
+
+The default value is false.
+Gets a ZoomboxViewStackMode value representing the mode that is currently in effect for the view stack. The effective mode will be either Auto, Manual, or Disabled.
+
+For more information, see the ViewStackMode property.
+Gets a Boolean value that specifies whether there are views on the back side of the view stack (see the ViewStack property).
+Gets a Boolean value that specifies whether there are views on the forward side of the view stack (see the ViewStack property).
+Gets or sets a Boolean value specifying whether transitions between views (scale and pan operations) are animated.
+
+The default value is true.
+Gets a Boolean value that specifies whether the content is currently being panned via a drag operation.
+Gets a Boolean value that specifies whether a zoom region is currently being selected.
+Gets/Sets a Boolean value that specifies whether the zoombox's scrollbars are enabled to move the content of the zoombox.
+Gets or sets a Double value representing the maximum scale factor (or zoom level) that can be applied to the content.
+Gets or sets a Double value representing the minimum scale factor (or zoom level) that can be applied to the content.
+Gets or sets a Boolean value that specifies whether the Zoombox responds to tunneled mouse events (PreviewMouseDown) to navigate through the view stack. If false, navigation occurs in response to bubbled mouse events (MouseDown).
+
+The default value is false.
+
+This setting only impacts the control's response to the forward (XButton2) and back (XButton1) mouse buttons. Note that the control will also navigate in response to the forward (BrowserForward) and back (BrowserBack or Backspace) keyboard keys, but this is enabled via key bindings in an InputBindingCollection within the Resources section of the Zoombox template.
+Gets or sets a Double value that is used to determine how many pixels the content will pan using the PanLeft, PanUp, PanRight, or PanDown Zoombox commands.
+
+The pan commands are hooked up to key strokes using an InputBindingCollection within the Resources section of the Zoombox template. The default key bindings map Shift+Ctrl+Left, Shift+Ctrl+Up, Shift+Ctrl+Right, and Shift+Ctrl+Down to their respective Pan commands.
+
+The keyboard focus must be within the Zoombox to pan the content via the key bindings.
+
+The default value is 5 pixels.
+Gets or sets the top-left point of the content within the Zoombox control.
+
+The Position is expressed as a Point within the coordinate space of the Zoombox control.
+Gets or sets a collection of KeyModifier values representing keys that must be pressed to zoom the content relative to the current mouse position using the mouse wheel.
+
+All keys must be pressed in order for the operation to occur. If None is specified, the content will be zoomed without any modifier keys. If the collection includes Blocked, the content cannot be zoomed.
+
+The default value is the Ctrl+Alt combination.
+Gets or sets a Double value representing the scale factor (or zoom level) for the content.
+
+A scale value of 1.0 represents the actual content size.
+Gets a reference to the view finder element within the visual tree of the Zoombox.
+
+The view finder element typically serves as the root of a subtree that contains a ViewFinderDisplay element and several command buttons for changing views. The ViewFinderDisplay element is the element that renders the thumbnail image of the Zoombox content.
+
+The view finder element, if present in the control template, must be named "ViewFinder". The visibility of the view finder element is typically bound to the ViewFinderVisibility attached property.
+Gets a Visibility value for the ViewFinder.
+
+This property is typically leveraged by the Zoombox template to control the visibility of the view finder element. In the default Zoombox template, this property is also bound to a toggle button that is used to show and hide the view finder.
+
+This is an attached property because the Zoombox control, itself, does not directly use the property.
+Gets a Rect identifying the portion of the content that is visible in the Zoombox. The viewport is expressed in the coordinate space of the content.
+Gets the view stack for the Zoombox. This stack can be manually specified, automatically maintained, or disabled entirely, depending on the ViewStackMode property.
+
+The view stack is maintained in an instance of the ZoomboxViewStack class.
+Gets an integer value representing the number of views in the view stack.
+Gets or sets the index of the selected view within the view stack.
+
+For a manual stack, a positive ViewStackIndex value does not necessarily indicate that the specified view is the current view. The user may have zoomed or panned away from the view represented by the ViewStackIndex property. The CurrentView property can be used to determine the actual current view. In this case, the CurrentViewIndex will be -1 but the ViewStackIndex will be a positive value. The Refocus command or the RefocusView() method can be used to refocus the selected view on the stack.
+Gets or sets the mode for the view stack.
+
+The ViewStackMode property determines how the Zoombox will maintain its stack of views for back and forward view navigation. It can be set to any of the following values from the ZoomboxViewStackMode enumeration:
+
+Auto: The control automatically tracks view changes and adds them to the view stack. In this case, every view selected is added to the view stack (in the same manner that visited URLs are added to a browser stack).
+
+Manual: The control uses a manually specified view stack. The views can be directly added to the ViewStack in markup or programmatically. They can also be bound to the Zoombox using the ViewStackSource property.
+
+Default: The control will use one of the other ZoomboxViewStackMode values at runtime. The EffectiveViewStackMode property can be used to determine which mode is actually in effect. If the views in the stack come from a ViewStackSource, then the default mode is Manual; otherwise, the default mode is Auto.
+
+Disabled: The view stack is disabled altogether. In this mode, the ViewStack property will return null. An attempt to add views manually will result in an exception.
+Gets or sets an IEnumerable value representing a collection used to generate a view stack for the Zoombox.
+
+The view stack of a Zoombox is either explicitly set using the ViewStack property or auto-generated based on members of the ViewStackSource collection. In this sense, the ViewStackSource property is analogous to the ItemsSource property for an ItemsControl.
+
+This property can be used to bind the view stack to an observable collection of ZoomboxView objects (or a collection of objects of type string, Point, double, or Rect, which can be directly converted to ZoomboxView objects via the ZoomboxViewConverter class).
+
+When the ViewStackSource property is in use, the ViewStack property is effectively read-only. An attempt to directly modify the ViewStack will result in an exception.
+
+When the ViewStackSource property is set to a non-null collection, the contents of the ViewStack collection is replaced with the views generated from the ViewStackSource.
+
+If the ViewStackSource property is already set, explicitly setting it to null will remove the auto-generated collection of views and the Zoombox will have an empty ViewStack collection. If ViewStackSource is already null, setting it to null has no effect.
+Gets or sets a collection of KeyModifier values representing keys that must be pressed to zoom the content relative to its ZoomOrigin (by default, the center of the content) using the mouse wheel.
+
+All specified keys must be pressed in order for the operation to occur. If None is specified, the relative zoom will occur without any modifier keys. If the collection includes Blocked, a zoom cannot be performed.
+
+The default value includes only the Ctrl key.
+Gets or sets a Boolean value that specifies whether the Zoombox responds to tunneled mouse events (PreviewMouseWheel) to zoom the content via the mouse wheel. If false, zooming occurs in response to the bubbled events (MouseWheel).
+
+The default value is true.
+Gets or sets the relative position within the content around which Zoom operations occur by default.
+
+This value is used when zooming via the mouse wheel, ZoomIn or ZoomOut commands, or the Zoom() method.
+Gets or sets a Double value that is used to determine how much the content will zoom when using the ZoomIn or ZoomOut commands or when zooming via the mouse wheel.
+
+The zoom commands are hooked up to key strokes using an InputBindingCollection within the Resources section of the Zoombox template. The default key bindings map Ctrl+Left and Ctrl+Up to the ZoomOut command and Ctrl+Right and Ctrl+Down to the ZoomIn command.
+
+Keyboard focus must be within the Zoombox to scale the content via the key bindings.
+
+The default value is 5%.
+Gets or sets a collection of KeyModifier values representing keys that must be pressed to select and zoom to a location of the content using the mouse.
+
+All specified keys must be pressed in order for the operation to occur. If None is specified, the zoom operation will occur without any modifier keys. If the collection includes Blocked, the zoom operation cannot be performed.
+
+The default value includes only the Alt key.
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Service References/NorthwindDataService/Reference.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Service References/NorthwindDataService/Reference.cs
index 04304ad38..c5740ee77 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Service References/NorthwindDataService/Reference.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Service References/NorthwindDataService/Reference.cs
@@ -1,7 +1,7 @@
-//------------------------------------------------------------------------------
+//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.296
+// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -9,10 +9,10 @@
//------------------------------------------------------------------------------
// Original file name:
-// Generation date: 5/3/2013 1:33:16 PM
+// Generation date: 2018-02-22 오후 5:05:51
namespace Xceed.Wpf.Toolkit.LiveExplorer.NorthwindDataService
{
-
+
///
/// There are no comments for NorthwindEntities in the schema.
///
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Service References/NorthwindDataService/Reference.datasvcmap b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Service References/NorthwindDataService/Reference.datasvcmap
index 37e8e7084..736598b95 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Service References/NorthwindDataService/Reference.datasvcmap
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Service References/NorthwindDataService/Reference.datasvcmap
@@ -1,14 +1,14 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Service References/NorthwindDataService/service.edmx b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Service References/NorthwindDataService/service.edmx
index 6364ecbdf..102f7e94d 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Service References/NorthwindDataService/service.edmx
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Service References/NorthwindDataService/service.edmx
@@ -1,287 +1,287 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Xceed.Wpf.Toolkit.LiveExplorer.csproj b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Xceed.Wpf.Toolkit.LiveExplorer.csproj
index 8b58b09ad..e9f5af18c 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Xceed.Wpf.Toolkit.LiveExplorer.csproj
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Xceed.Wpf.Toolkit.LiveExplorer.csproj
@@ -1,5 +1,5 @@
-
+
Debug
x86
@@ -10,8 +10,9 @@
Properties
Xceed.Wpf.Toolkit.LiveExplorer
Xceed.Wpf.Toolkit.LiveExplorer
- v4.0
- Client
+ v4.5.2
+
+
512
{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
4
@@ -43,6 +44,7 @@
DEBUG;TRACE
prompt
4
+ false
x86
@@ -52,6 +54,7 @@
TRACE
prompt
4
+ false
true
@@ -255,6 +258,9 @@
MaterialControlsView.xaml
+
+ MessageBoxView.xaml
+
MultiCalendarView.xaml
@@ -634,6 +640,10 @@
MSBuild:Compile
Designer
+
+ Designer
+ MSBuild:Compile
+
MSBuild:Compile
Designer
@@ -1430,21 +1440,21 @@
- echo Deleting old CodeFiles directory...
-@if exist "$(ProjectDir)CodeFiles" rmdir /s /q "$(ProjectDir)CodeFiles"
-echo Copying sample code files...
-for /d /r "$(ProjectDir)Samples" %25%25a in (Views) do @if exist "%25%25a" xcopy "%25%25a" "$(ProjectDir)CodeFiles" /s /Y /I /q > NUL
-echo Renaming sample code files...
-for /f "tokens=*" %25%25f in ('dir "$(ProjectDir)CodeFiles\*.*" /b') do (
-move /y "$(ProjectDir)CodeFiles\%25%25f" "$(ProjectDir)CodeFiles\%25%25f.txt" > NUL
-)
+ echo Deleting old CodeFiles directory...
+@if exist "$(ProjectDir)CodeFiles" rmdir /s /q "$(ProjectDir)CodeFiles"
+echo Copying sample code files...
+for /d /r "$(ProjectDir)Samples" %25%25a in (Views) do @if exist "%25%25a" xcopy "%25%25a" "$(ProjectDir)CodeFiles" /s /Y /I /q > NUL
+echo Renaming sample code files...
+for /f "tokens=*" %25%25f in ('dir "$(ProjectDir)CodeFiles\*.*" /b') do (
+move /y "$(ProjectDir)CodeFiles\%25%25f" "$(ProjectDir)CodeFiles\%25%25f.txt" > NUL
+)
-
\ No newline at end of file
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/app.config b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/app.config
index a5dd41546..1e31c57c2 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/app.config
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/app.config
@@ -20,4 +20,4 @@
-
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/bin/Debug/Xceed.Wpf.Toolkit.LiveExplorer.exe.config b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/bin/Debug/Xceed.Wpf.Toolkit.LiveExplorer.exe.config
deleted file mode 100644
index 233661711..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/bin/Debug/Xceed.Wpf.Toolkit.LiveExplorer.exe.config
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/App.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/App.g.i.cs
deleted file mode 100644
index d1818617b..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/App.g.i.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "390A483377036FCDA29DB7DD54DF5E9AF95187A7"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer {
-
-
- ///
- /// App
- ///
- public partial class App : System.Windows.Application {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
-
- #line 19 "..\..\..\App.xaml"
- this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
-
- #line default
- #line hidden
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/app.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\App.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- ///
- /// Application Entry Point.
- ///
- [System.STAThreadAttribute()]
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public static void Main() {
- Xceed.Wpf.Toolkit.LiveExplorer.App app = new Xceed.Wpf.Toolkit.LiveExplorer.App();
- app.InitializeComponent();
- app.Run();
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/GeneratedInternalTypeHelper.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/GeneratedInternalTypeHelper.g.i.cs
deleted file mode 100644
index 136dd1ba9..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/GeneratedInternalTypeHelper.g.i.cs
+++ /dev/null
@@ -1,62 +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 XamlGeneratedNamespace {
-
-
- ///
- /// GeneratedInternalTypeHelper
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
-
- ///
- /// CreateInstance
- ///
- protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
- return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
- | (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
- }
-
- ///
- /// GetPropertyValue
- ///
- protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
- return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
- }
-
- ///
- /// SetPropertyValue
- ///
- protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
- propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
- }
-
- ///
- /// CreateDelegate
- ///
- protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
- return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
- | (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
- delegateType,
- handler}, null)));
- }
-
- ///
- /// AddEventHandler
- ///
- protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
- eventInfo.AddEventHandler(target, handler);
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartAxisView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartAxisView.g.i.cs
deleted file mode 100644
index 7995e4fc6..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartAxisView.g.i.cs
+++ /dev/null
@@ -1,119 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\Chart\Views\ChartAxisView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8C804BAC059DE6A9167F0B4AE0B8060C1EC1752D"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Converters;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views {
-
-
- ///
- /// ChartAxisView
- ///
- public partial class ChartAxisView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
-
- #line 23 "..\..\..\..\..\..\Samples\Chart\Views\ChartAxisView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views.ChartAxisView _demo;
-
- #line default
- #line hidden
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/chart/views/chartaxisview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\Chart\Views\ChartAxisView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
- this._demo = ((Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views.ChartAxisView)(target));
- return;
- case 2:
-
- #line 32 "..\..\..\..\..\..\Samples\Chart\Views\ChartAxisView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartLegendView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartLegendView.g.i.cs
deleted file mode 100644
index e658c1285..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartLegendView.g.i.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\Chart\Views\ChartLegendView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5B3473F047D9EBA09D5F80EEF14CBE425E00C9A2"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Converters;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views {
-
-
- ///
- /// ChartLegendView
- ///
- public partial class ChartLegendView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/chart/views/chartlegendview.xam" +
- "l", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\Chart\Views\ChartLegendView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 34 "..\..\..\..\..\..\Samples\Chart\Views\ChartLegendView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartSeriesBasicTypesView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartSeriesBasicTypesView.g.i.cs
deleted file mode 100644
index dc0f46690..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartSeriesBasicTypesView.g.i.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\Chart\Views\ChartSeriesBasicTypesView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "F42D42595B29EAC4CA2F06846B044A39E9A19EF1"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Converters;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views {
-
-
- ///
- /// ChartSeriesBasicTypesView
- ///
- public partial class ChartSeriesBasicTypesView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/chart/views/chartseriesbasictyp" +
- "esview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\Chart\Views\ChartSeriesBasicTypesView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 31 "..\..\..\..\..\..\Samples\Chart\Views\ChartSeriesBasicTypesView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartSeriesDataPointsBindingView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartSeriesDataPointsBindingView.g.i.cs
deleted file mode 100644
index e303e8cfc..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartSeriesDataPointsBindingView.g.i.cs
+++ /dev/null
@@ -1,110 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\Chart\Views\ChartSeriesDataPointsBindingView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "BF7F10BC81C29636C39143B45DEB7CD3DDA62579"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Converters;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views {
-
-
- ///
- /// ChartSeriesDataPointsBindingView
- ///
- public partial class ChartSeriesDataPointsBindingView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/chart/views/chartseriesdatapoin" +
- "tsbindingview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\Chart\Views\ChartSeriesDataPointsBindingView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 32 "..\..\..\..\..\..\Samples\Chart\Views\ChartSeriesDataPointsBindingView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartStylingAxesGridView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartStylingAxesGridView.g.i.cs
deleted file mode 100644
index 161135378..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartStylingAxesGridView.g.i.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\Chart\Views\ChartStylingAxesGridView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5EFECE7A64E470F596F4AAC0D11813D8AD5AE1BC"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Converters;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views {
-
-
- ///
- /// ChartStylingAxesGridView
- ///
- public partial class ChartStylingAxesGridView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/chart/views/chartstylingaxesgri" +
- "dview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\Chart\Views\ChartStylingAxesGridView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 30 "..\..\..\..\..\..\Samples\Chart\Views\ChartStylingAxesGridView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartStylingColumnSeriesView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartStylingColumnSeriesView.g.i.cs
deleted file mode 100644
index 07f1b0514..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartStylingColumnSeriesView.g.i.cs
+++ /dev/null
@@ -1,110 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\Chart\Views\ChartStylingColumnSeriesView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "C9998F13EBC3CEE5609463ED34AD14CD16A0D678"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Converters;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views {
-
-
- ///
- /// ChartStylingColumnSeriesView
- ///
- public partial class ChartStylingColumnSeriesView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/chart/views/chartstylingcolumns" +
- "eriesview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\Chart\Views\ChartStylingColumnSeriesView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 32 "..\..\..\..\..\..\Samples\Chart\Views\ChartStylingColumnSeriesView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartStylingLineSeriesView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartStylingLineSeriesView.g.i.cs
deleted file mode 100644
index 7b330a82e..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartStylingLineSeriesView.g.i.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\Chart\Views\ChartStylingLineSeriesView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "C07A3C4DE4E22FC130473B09CE7667D8AE629495"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Converters;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views {
-
-
- ///
- /// ChartStylingLineSeriesView
- ///
- public partial class ChartStylingLineSeriesView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/chart/views/chartstylinglineser" +
- "iesview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\Chart\Views\ChartStylingLineSeriesView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 31 "..\..\..\..\..\..\Samples\Chart\Views\ChartStylingLineSeriesView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartStylingPieSeriesView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartStylingPieSeriesView.g.i.cs
deleted file mode 100644
index 6d05c33b6..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Chart/Views/ChartStylingPieSeriesView.g.i.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\Chart\Views\ChartStylingPieSeriesView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "DA9803CB2637FF8978B290CD5C36E0D1C2BE40EE"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Converters;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views {
-
-
- ///
- /// ChartStylingPieSeriesView
- ///
- public partial class ChartStylingPieSeriesView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/chart/views/chartstylingpieseri" +
- "esview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\Chart\Views\ChartStylingPieSeriesView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 31 "..\..\..\..\..\..\Samples\Chart\Views\ChartStylingPieSeriesView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/DataGrid/Views/MultiColumnComboBoxView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/DataGrid/Views/MultiColumnComboBoxView.g.i.cs
deleted file mode 100644
index 785733638..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/DataGrid/Views/MultiColumnComboBoxView.g.i.cs
+++ /dev/null
@@ -1,106 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\DataGrid\Views\MultiColumnComboBoxView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2C46586B1B83E9616A3E806F86D6795F97D1B157"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.DataGrid.Converters;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.DataGrid.Views {
-
-
- ///
- /// MultiColumnComboBoxView
- ///
- public partial class MultiColumnComboBoxView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
-
- #line 22 "..\..\..\..\..\..\Samples\DataGrid\Views\MultiColumnComboBoxView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal Xceed.Wpf.Toolkit.LiveExplorer.Samples.DataGrid.Views.MultiColumnComboBoxView _demo;
-
- #line default
- #line hidden
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/datagrid/views/multicolumncombo" +
- "boxview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\DataGrid\Views\MultiColumnComboBoxView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
- this._demo = ((Xceed.Wpf.Toolkit.LiveExplorer.Samples.DataGrid.Views.MultiColumnComboBoxView)(target));
- return;
- case 2:
-
- #line 30 "..\..\..\..\..\..\Samples\DataGrid\Views\MultiColumnComboBoxView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/FilePicker/Views/FilePickerView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/FilePicker/Views/FilePickerView.g.i.cs
deleted file mode 100644
index cfab40ce0..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/FilePicker/Views/FilePickerView.g.i.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\FilePicker\Views\FilePickerView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "FFD1E0CB98576A25E937EAADC5FAC5693319EA61"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.FilePicker.Views;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.FilePicker.Views {
-
-
- ///
- /// FilePickerView
- ///
- public partial class FilePickerView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/filepicker/views/filepickerview" +
- ".xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\FilePicker\Views\FilePickerView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 33 "..\..\..\..\..\..\Samples\FilePicker\Views\FilePickerView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Gauge/Views/RadialGaugeView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Gauge/Views/RadialGaugeView.g.i.cs
deleted file mode 100644
index 5a25360fc..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Gauge/Views/RadialGaugeView.g.i.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\Gauge\Views\RadialGaugeView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1B8C9103AC8493381EA7BFE7B224823C95071389"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Converters;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Gauge.Views {
-
-
- ///
- /// RadialGaugeView
- ///
- public partial class RadialGaugeView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/gauge/views/radialgaugeview.xam" +
- "l", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\Gauge\Views\RadialGaugeView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 34 "..\..\..\..\..\..\Samples\Gauge\Views\RadialGaugeView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/ListBox/Views/ListBoxView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/ListBox/Views/ListBoxView.g.i.cs
deleted file mode 100644
index 526a9a8ed..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/ListBox/Views/ListBoxView.g.i.cs
+++ /dev/null
@@ -1,94 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\ListBox\Views\ListBoxView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "D6CD32989CB3B4DE3FB3B90B4A6070685E2A40B1"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.ListBox.Converters;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.ListBox.Views {
-
-
- ///
- /// ListBoxView
- ///
- public partial class ListBoxView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/listbox/views/listboxview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\ListBox\Views\ListBoxView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 37 "..\..\..\..\..\..\Samples\ListBox\Views\ListBoxView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialButtonView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialButtonView.g.i.cs
deleted file mode 100644
index ff22ae66b..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialButtonView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialButtonView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2EAC5164A682FB91B6846992E5B20D52BAB354A9"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views {
-
-
- ///
- /// MaterialButtonView
- ///
- public partial class MaterialButtonView : Xceed.Wpf.Toolkit.LiveExplorer.MaterialDemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/materialcontrols/views/material" +
- "buttonview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialButtonView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 31 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialButtonView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialCheckBoxView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialCheckBoxView.g.i.cs
deleted file mode 100644
index e0e9d2761..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialCheckBoxView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialCheckBoxView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8BF9F38F89D04BC0EC062D65DCCB906E733D357B"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views {
-
-
- ///
- /// MaterialCheckBoxView
- ///
- public partial class MaterialCheckBoxView : Xceed.Wpf.Toolkit.LiveExplorer.MaterialDemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/materialcontrols/views/material" +
- "checkboxview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialCheckBoxView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 31 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialCheckBoxView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialComboBoxView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialComboBoxView.g.i.cs
deleted file mode 100644
index 3795f30e0..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialComboBoxView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialComboBoxView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0C9E22FDA71295E0D3EAFD589A1496F4D57B980A"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views {
-
-
- ///
- /// MaterialComboBoxView
- ///
- public partial class MaterialComboBoxView : Xceed.Wpf.Toolkit.LiveExplorer.MaterialDemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/materialcontrols/views/material" +
- "comboboxview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialComboBoxView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 33 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialComboBoxView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialControlsView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialControlsView.g.i.cs
deleted file mode 100644
index 55d02931f..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialControlsView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialControlsView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "868969B88088DD7201358BBA6922D086A7A39939"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views {
-
-
- ///
- /// MaterialControlsView
- ///
- public partial class MaterialControlsView : Xceed.Wpf.Toolkit.LiveExplorer.MaterialDemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/materialcontrols/views/material" +
- "controlsview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialControlsView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 34 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialControlsView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialDropDownView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialDropDownView.g.i.cs
deleted file mode 100644
index 6867ad05f..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialDropDownView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialDropDownView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "800D4D72EE7A2FEF6622191EB396B2EBBD00A4DA"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views {
-
-
- ///
- /// MaterialDropDownView
- ///
- public partial class MaterialDropDownView : Xceed.Wpf.Toolkit.LiveExplorer.MaterialDemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/materialcontrols/views/material" +
- "dropdownview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialDropDownView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 31 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialDropDownView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialFrameView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialFrameView.g.i.cs
deleted file mode 100644
index bc5e64f7b..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialFrameView.g.i.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialFrameView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "51E00456169AE2C251A2FCFD1961C5DE88301C33"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Converters;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views {
-
-
- ///
- /// MaterialFrameView
- ///
- public partial class MaterialFrameView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/materialcontrols/views/material" +
- "frameview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialFrameView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 32 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialFrameView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialHamburgerView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialHamburgerView.g.i.cs
deleted file mode 100644
index 0dbbd96c7..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialHamburgerView.g.i.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialHamburgerView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "413281F20C1136C4FA605EC5668DEEE815490490"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.Converters;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views {
-
-
- ///
- /// MaterialHamburgerView
- ///
- public partial class MaterialHamburgerView : Xceed.Wpf.Toolkit.LiveExplorer.MaterialDemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/materialcontrols/views/material" +
- "hamburgerview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialHamburgerView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 32 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialHamburgerView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialListBoxView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialListBoxView.g.i.cs
deleted file mode 100644
index 34fbc2ff1..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialListBoxView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialListBoxView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0F28EC1AF2E636ACBE6BC2FA713AE3449A619D53"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views {
-
-
- ///
- /// MaterialListBoxView
- ///
- public partial class MaterialListBoxView : Xceed.Wpf.Toolkit.LiveExplorer.MaterialDemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/materialcontrols/views/material" +
- "listboxview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialListBoxView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 33 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialListBoxView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialProgressBarCircularView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialProgressBarCircularView.g.i.cs
deleted file mode 100644
index 96eb72541..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialProgressBarCircularView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialProgressBarCircularView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6CD67C33DF6EB4F77817E02C1C0019D4148D49CE"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views {
-
-
- ///
- /// MaterialProgressBarCircularView
- ///
- public partial class MaterialProgressBarCircularView : Xceed.Wpf.Toolkit.LiveExplorer.MaterialDemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/materialcontrols/views/material" +
- "progressbarcircularview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialProgressBarCircularView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 31 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialProgressBarCircularView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialProgressBarView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialProgressBarView.g.i.cs
deleted file mode 100644
index 4ebc13c20..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialProgressBarView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialProgressBarView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A4F97A3BCD49F6ECB5DA19B3E4DE4E1F6F3086B0"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views {
-
-
- ///
- /// MaterialProgressBarView
- ///
- public partial class MaterialProgressBarView : Xceed.Wpf.Toolkit.LiveExplorer.MaterialDemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/materialcontrols/views/material" +
- "progressbarview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialProgressBarView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 31 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialProgressBarView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialRadioButtonView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialRadioButtonView.g.i.cs
deleted file mode 100644
index 42652a160..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialRadioButtonView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialRadioButtonView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "94F13CA33AEC1D0FD87E6D178368EE63FF929112"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views {
-
-
- ///
- /// MaterialRadioButtonView
- ///
- public partial class MaterialRadioButtonView : Xceed.Wpf.Toolkit.LiveExplorer.MaterialDemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/materialcontrols/views/material" +
- "radiobuttonview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialRadioButtonView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 31 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialRadioButtonView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialSliderView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialSliderView.g.i.cs
deleted file mode 100644
index acac5c787..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialSliderView.g.i.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialSliderView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "DD445FA49F35D1A0C4A698CE9DA3611C6FA7A06E"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.Window.Converters;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views {
-
-
- ///
- /// MaterialSliderView
- ///
- public partial class MaterialSliderView : Xceed.Wpf.Toolkit.LiveExplorer.MaterialDemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/materialcontrols/views/material" +
- "sliderview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialSliderView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 32 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialSliderView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialSwitchView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialSwitchView.g.i.cs
deleted file mode 100644
index f0f407a9c..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialSwitchView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialSwitchView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "04E9529C35C75B82D3098D7B039CA367F8B0B4B8"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views {
-
-
- ///
- /// MaterialSwitchView
- ///
- public partial class MaterialSwitchView : Xceed.Wpf.Toolkit.LiveExplorer.MaterialDemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/materialcontrols/views/material" +
- "switchview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialSwitchView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 31 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialSwitchView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialTabsView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialTabsView.g.i.cs
deleted file mode 100644
index cabc08e28..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialTabsView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialTabsView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "E1359ECF655E5AC17BE759F5FE1CC6A5406B599C"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views {
-
-
- ///
- /// MaterialTabsView
- ///
- public partial class MaterialTabsView : Xceed.Wpf.Toolkit.LiveExplorer.MaterialDemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/materialcontrols/views/material" +
- "tabsview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialTabsView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 33 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialTabsView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialTextFieldView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialTextFieldView.g.i.cs
deleted file mode 100644
index c816fba9d..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialTextFieldView.g.i.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialTextFieldView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "523655B7A7BAF4A19B08674CB7A7F7C0053149F8"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Data;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views {
-
-
- ///
- /// MaterialTextFieldView
- ///
- public partial class MaterialTextFieldView : Xceed.Wpf.Toolkit.LiveExplorer.MaterialDemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/materialcontrols/views/material" +
- "textfieldview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialTextFieldView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 32 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialTextFieldView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialToastView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialToastView.g.i.cs
deleted file mode 100644
index 897ae98e7..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialToastView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialToastView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "AA5522E305807B3D55CBC030AB353704C816C2F3"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views {
-
-
- ///
- /// MaterialToastView
- ///
- public partial class MaterialToastView : Xceed.Wpf.Toolkit.LiveExplorer.MaterialDemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/materialcontrols/views/material" +
- "toastview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialToastView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 31 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialToastView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialToolTipView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialToolTipView.g.i.cs
deleted file mode 100644
index 467aacb55..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MaterialControls/Views/MaterialToolTipView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialToolTipView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "BECDDE7ED3349FD930612718F2AE6FB156CFE773"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views {
-
-
- ///
- /// MaterialToolTipView
- ///
- public partial class MaterialToolTipView : Xceed.Wpf.Toolkit.LiveExplorer.MaterialDemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/materialcontrols/views/material" +
- "tooltipview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialToolTipView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 31 "..\..\..\..\..\..\Samples\MaterialControls\Views\MaterialToolTipView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MultiCalendar/Views/MultiCalendarView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MultiCalendar/Views/MultiCalendarView.g.i.cs
deleted file mode 100644
index 30fe588f6..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/MultiCalendar/Views/MultiCalendarView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\MultiCalendar\Views\MultiCalendarView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "57605BFC1725C0AFBE73E0F01CCD82CC3BA674C9"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MultiCalendar.Views {
-
-
- ///
- /// MultiCalendarView
- ///
- public partial class MultiCalendarView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/multicalendar/views/multicalend" +
- "arview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\MultiCalendar\Views\MultiCalendarView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 36 "..\..\..\..\..\..\Samples\MultiCalendar\Views\MultiCalendarView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PileFlowPanel/Views/PileFlowPanelView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PileFlowPanel/Views/PileFlowPanelView.g.i.cs
deleted file mode 100644
index 9f046c8a8..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PileFlowPanel/Views/PileFlowPanelView.g.i.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\PileFlowPanel\Views\PileFlowPanelView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "960DB9D59449C43DA09D49AF885A6357AF4BDD78"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.PileFlowPanel.Converters;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PileFlowPanel.Views {
-
-
- ///
- /// PileFlowPanelView
- ///
- public partial class PileFlowPanelView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/pileflowpanel/views/pileflowpan" +
- "elview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\PileFlowPanel\Views\PileFlowPanelView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 37 "..\..\..\..\..\..\Samples\PileFlowPanel\Views\PileFlowPanelView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Resources/LastNameUserControlEditor.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Resources/LastNameUserControlEditor.g.i.cs
deleted file mode 100644
index 636771dad..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Resources/LastNameUserControlEditor.g.i.cs
+++ /dev/null
@@ -1,97 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\PropertyGrid\Resources\LastNameUserControlEditor.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "E913F61FB79656ACEDB64F70D561FECC48D3A631"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid {
-
-
- ///
- /// LastNameUserControlEditor
- ///
- public partial class LastNameUserControlEditor : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
-
-
- #line 19 "..\..\..\..\..\..\Samples\PropertyGrid\Resources\LastNameUserControlEditor.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.LastNameUserControlEditor _uc;
-
- #line default
- #line hidden
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/propertygrid/resources/lastname" +
- "usercontroleditor.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\PropertyGrid\Resources\LastNameUserControlEditor.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
- this._uc = ((Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.LastNameUserControlEditor)(target));
- return;
- case 2:
-
- #line 22 "..\..\..\..\..\..\Samples\PropertyGrid\Resources\LastNameUserControlEditor.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridCustomPropertyView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridCustomPropertyView.g.i.cs
deleted file mode 100644
index 727bff33f..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridCustomPropertyView.g.i.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridCustomPropertyView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "46F8C3EBEE66E5EC040BF1AAE9049BFBDDD3762C"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
-
-
- ///
- /// PropertyGridCustomPropertyView
- ///
- public partial class PropertyGridCustomPropertyView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/propertygrid/views/propertygrid" +
- "custompropertyview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridCustomPropertyView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 33 "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridCustomPropertyView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridDefinitionKeyView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridDefinitionKeyView.g.i.cs
deleted file mode 100644
index 180256ff7..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridDefinitionKeyView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridDefinitionKeyView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "BCB180E70ECD503761A3F4063E2CA8A71AE77F19"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
-
-
- ///
- /// PropertyGridDefinitionKeyView
- ///
- public partial class PropertyGridDefinitionKeyView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/propertygrid/views/propertygrid" +
- "definitionkeyview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridDefinitionKeyView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 39 "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridDefinitionKeyView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridDisplayLocalizationView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridDisplayLocalizationView.g.i.cs
deleted file mode 100644
index b62d47993..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridDisplayLocalizationView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridDisplayLocalizationView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "EFD087F8ABF8FDFA82CD8FA41C1FE34C65D62994"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
-
-
- ///
- /// PropertyGridDisplayLocalizationView
- ///
- public partial class PropertyGridDisplayLocalizationView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/propertygrid/views/propertygrid" +
- "displaylocalizationview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridDisplayLocalizationView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 37 "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridDisplayLocalizationView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridEditorDefinitionsView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridEditorDefinitionsView.g.i.cs
deleted file mode 100644
index 792baaf9c..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridEditorDefinitionsView.g.i.cs
+++ /dev/null
@@ -1,110 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridEditorDefinitionsView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "33A79C6B1B3142604623BDA581F80AE11866AB28"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.IO;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
-
-
- ///
- /// PropertyGridEditorDefinitionsView
- ///
- public partial class PropertyGridEditorDefinitionsView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/propertygrid/views/propertygrid" +
- "editordefinitionsview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridEditorDefinitionsView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 61 "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridEditorDefinitionsView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridExpandingNonPrimitivesView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridExpandingNonPrimitivesView.g.i.cs
deleted file mode 100644
index f3f2ce22b..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridExpandingNonPrimitivesView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridExpandingNonPrimitivesView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4BF5D94B7BB623B62713F09D4DA03D484A8220D4"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
-
-
- ///
- /// PropertyGridExpandingNonPrimitivesView
- ///
- public partial class PropertyGridExpandingNonPrimitivesView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/propertygrid/views/propertygrid" +
- "expandingnonprimitivesview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridExpandingNonPrimitivesView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 31 "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridExpandingNonPrimitivesView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridMultiSelectedObjectsView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridMultiSelectedObjectsView.g.i.cs
deleted file mode 100644
index 928e1a620..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridMultiSelectedObjectsView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridMultiSelectedObjectsView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4DE5E5CA8B922893CA1724AD8094B1426C28B70D"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
-
-
- ///
- /// PropertyGridMultiSelectedObjectsView
- ///
- public partial class PropertyGridMultiSelectedObjectsView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/propertygrid/views/propertygrid" +
- "multiselectedobjectsview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridMultiSelectedObjectsView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 30 "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridMultiSelectedObjectsView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridPropertiesSourceView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridPropertiesSourceView.g.i.cs
deleted file mode 100644
index 54a4f1448..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridPropertiesSourceView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridPropertiesSourceView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "23C8E55B4A654EACD0BBCEAA36E41076AA4A7CC6"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
-
-
- ///
- /// PropertyGridPropertiesSourceView
- ///
- public partial class PropertyGridPropertiesSourceView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/propertygrid/views/propertygrid" +
- "propertiessourceview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridPropertiesSourceView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 31 "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridPropertiesSourceView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridPropertiesView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridPropertiesView.g.i.cs
deleted file mode 100644
index 5130e396a..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/PropertyGrid/Views/PropertyGridPropertiesView.g.i.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridPropertiesView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "AB81972AB4BC2D28D735DB40BB9D7252F71594DA"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views {
-
-
- ///
- /// PropertyGridPropertiesView
- ///
- public partial class PropertyGridPropertiesView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/propertygrid/views/propertygrid" +
- "propertiesview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridPropertiesView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 35 "..\..\..\..\..\..\Samples\PropertyGrid\Views\PropertyGridPropertiesView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Rating/Views/RatingView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Rating/Views/RatingView.g.i.cs
deleted file mode 100644
index 551e9db62..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Rating/Views/RatingView.g.i.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\Rating\Views\RatingView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5A1C21CC0397875A9917B805332328A1D330BB9C"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Rating.Views {
-
-
- ///
- /// RatingView
- ///
- public partial class RatingView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/rating/views/ratingview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\Rating\Views\RatingView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 33 "..\..\..\..\..\..\Samples\Rating\Views\RatingView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/SlideShow/Views/SlideShowView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/SlideShow/Views/SlideShowView.g.i.cs
deleted file mode 100644
index d7625a4eb..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/SlideShow/Views/SlideShowView.g.i.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\SlideShow\Views\SlideShowView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "95DC33002323CD8863E7794C4357D04911AF93CA"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Converters;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.SlideShow.Views {
-
-
- ///
- /// SlideShowView
- ///
- public partial class SlideShowView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/slideshow/views/slideshowview.x" +
- "aml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\SlideShow\Views\SlideShowView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 33 "..\..\..\..\..\..\Samples\SlideShow\Views\SlideShowView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Text/Views/TokenizedTextBoxView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Text/Views/TokenizedTextBoxView.g.i.cs
deleted file mode 100644
index d9c0cfed2..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Text/Views/TokenizedTextBoxView.g.i.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\Text\Views\TokenizedTextBoxView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "B7A4A38FD147D6CBC1DE881ABABA24AF9A6B8AD1"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.TokenizedTextBox.Views {
-
-
- ///
- /// TokenizedTextBoxView
- ///
- public partial class TokenizedTextBoxView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/text/views/tokenizedtextboxview" +
- ".xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\Text\Views\TokenizedTextBoxView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 33 "..\..\..\..\..\..\Samples\Text\Views\TokenizedTextBoxView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Theming/Views/ThemingCoreWPFView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Theming/Views/ThemingCoreWPFView.g.i.cs
deleted file mode 100644
index e579aa8b4..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Theming/Views/ThemingCoreWPFView.g.i.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\Theming\Views\ThemingCoreWPFView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "817B998ADF733508201A9FE809A7651EA52C2D46"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.Theming.Views;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Theming.Views {
-
-
- ///
- /// ThemingCoreWPFView
- ///
- public partial class ThemingCoreWPFView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/theming/views/themingcorewpfvie" +
- "w.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\Theming\Views\ThemingCoreWPFView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 31 "..\..\..\..\..\..\Samples\Theming\Views\ThemingCoreWPFView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Theming/Views/ThemingDataGridView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Theming/Views/ThemingDataGridView.g.i.cs
deleted file mode 100644
index 679666228..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Theming/Views/ThemingDataGridView.g.i.cs
+++ /dev/null
@@ -1,120 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\Theming\Views\ThemingDataGridView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "FA74512DA66E62CADC6D0DD3067E440B8CA6D3A3"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.Theming.Converters;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Theming.Views {
-
-
- ///
- /// ThemingDataGridView
- ///
- public partial class ThemingDataGridView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
-
- #line 26 "..\..\..\..\..\..\Samples\Theming\Views\ThemingDataGridView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal Xceed.Wpf.Toolkit.LiveExplorer.Samples.Theming.Views.ThemingDataGridView _demo;
-
- #line default
- #line hidden
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/theming/views/themingdatagridvi" +
- "ew.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\Theming\Views\ThemingDataGridView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
- this._demo = ((Xceed.Wpf.Toolkit.LiveExplorer.Samples.Theming.Views.ThemingDataGridView)(target));
- return;
- case 2:
-
- #line 33 "..\..\..\..\..\..\Samples\Theming\Views\ThemingDataGridView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Theming/Views/ThemingExtendedToolkitView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Theming/Views/ThemingExtendedToolkitView.g.i.cs
deleted file mode 100644
index 23c361272..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Theming/Views/ThemingExtendedToolkitView.g.i.cs
+++ /dev/null
@@ -1,119 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\Theming\Views\ThemingExtendedToolkitView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "13799909F50AB8C1245CC79DD8B2B1F1FC4E55D8"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Theming.Views {
-
-
- ///
- /// ThemingExtendedToolkitView
- ///
- public partial class ThemingExtendedToolkitView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
-
- #line 24 "..\..\..\..\..\..\Samples\Theming\Views\ThemingExtendedToolkitView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal Xceed.Wpf.Toolkit.LiveExplorer.Samples.Theming.Views.ThemingExtendedToolkitView _demo;
-
- #line default
- #line hidden
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/theming/views/themingextendedto" +
- "olkitview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\Theming\Views\ThemingExtendedToolkitView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
- this._demo = ((Xceed.Wpf.Toolkit.LiveExplorer.Samples.Theming.Views.ThemingExtendedToolkitView)(target));
- return;
- case 2:
-
- #line 31 "..\..\..\..\..\..\Samples\Theming\Views\ThemingExtendedToolkitView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Theming/Views/ThemingListBoxView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Theming/Views/ThemingListBoxView.g.i.cs
deleted file mode 100644
index 6dcbc6bee..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/Theming/Views/ThemingListBoxView.g.i.cs
+++ /dev/null
@@ -1,120 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\Theming\Views\ThemingListBoxView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0F14F712321498B8682B879374B0D502200425F6"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.Theming.Views;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Theming.Views {
-
-
- ///
- /// ThemingListBoxView
- ///
- public partial class ThemingListBoxView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
-
- #line 26 "..\..\..\..\..\..\Samples\Theming\Views\ThemingListBoxView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal Xceed.Wpf.Toolkit.LiveExplorer.Samples.Theming.Views.ThemingListBoxView _demo;
-
- #line default
- #line hidden
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/theming/views/theminglistboxvie" +
- "w.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\Theming\Views\ThemingListBoxView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
- this._demo = ((Xceed.Wpf.Toolkit.LiveExplorer.Samples.Theming.Views.ThemingListBoxView)(target));
- return;
- case 2:
-
- #line 36 "..\..\..\..\..\..\Samples\Theming\Views\ThemingListBoxView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/ToggleSwitch/Views/ToggleSwitchView.g.i.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/ToggleSwitch/Views/ToggleSwitchView.g.i.cs
deleted file mode 100644
index 77e452303..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Samples/ToggleSwitch/Views/ToggleSwitchView.g.i.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-#pragma checksum "..\..\..\..\..\..\Samples\ToggleSwitch\Views\ToggleSwitchView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "05845D13BC86D961F313D3780DCB5AF0BE102725"
-//------------------------------------------------------------------------------
-//
-// 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.
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using Xceed.Wpf.Toolkit;
-using Xceed.Wpf.Toolkit.Chromes;
-using Xceed.Wpf.Toolkit.Core.Converters;
-using Xceed.Wpf.Toolkit.Core.Input;
-using Xceed.Wpf.Toolkit.Core.Media;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.LiveExplorer;
-using Xceed.Wpf.Toolkit.LiveExplorer.Samples.Converters;
-using Xceed.Wpf.Toolkit.Panels;
-using Xceed.Wpf.Toolkit.Primitives;
-using Xceed.Wpf.Toolkit.PropertyGrid;
-using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
-using Xceed.Wpf.Toolkit.PropertyGrid.Commands;
-using Xceed.Wpf.Toolkit.PropertyGrid.Converters;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-using Xceed.Wpf.Toolkit.Zoombox;
-
-
-namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.ToggleSwitch.Views {
-
-
- ///
- /// ToggleSwitchView
- ///
- public partial class ToggleSwitchView : Xceed.Wpf.Toolkit.LiveExplorer.DemoView, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/Xceed.Wpf.Toolkit.LiveExplorer;component/samples/toggleswitch/views/toggleswitch" +
- "view.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\..\Samples\ToggleSwitch\Views\ToggleSwitchView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
-
- #line 34 "..\..\..\..\..\..\Samples\ToggleSwitch\Views\ToggleSwitchView.xaml"
- ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Xceed.Wpf.Toolkit.LiveExplorer.csproj.FileListAbsolute.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Xceed.Wpf.Toolkit.LiveExplorer.csproj.FileListAbsolute.txt
deleted file mode 100644
index fcd77f019..000000000
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/obj/x86/Debug/Xceed.Wpf.Toolkit.LiveExplorer.csproj.FileListAbsolute.txt
+++ /dev/null
@@ -1,239 +0,0 @@
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\Xceed.Wpf.Toolkit.LiveExplorer.exe.config
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\Xceed.Wpf.Toolkit.LiveExplorer.exe.manifest
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\Xceed.Wpf.Toolkit.LiveExplorer.application
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\Xceed.Wpf.Toolkit.LiveExplorer.exe
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\Xceed.Wpf.Toolkit.LiveExplorer.pdb
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\fr\Xceed.Wpf.Toolkit.LiveExplorer.resources.dll
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\Xceed.Wpf.AvalonDock.dll
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\Xceed.Wpf.AvalonDock.Themes.Aero.dll
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\Xceed.Wpf.AvalonDock.Themes.Metro.dll
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\Xceed.Wpf.AvalonDock.Themes.VS2010.dll
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\Xceed.Wpf.Samples.SampleData.dll
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\Xceed.Wpf.Toolkit.dll
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\Xceed.Wpf.AvalonDock.Themes.Aero.pdb
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\Xceed.Wpf.AvalonDock.Themes.Metro.pdb
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\Xceed.Wpf.AvalonDock.Themes.VS2010.pdb
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\Xceed.Wpf.AvalonDock.pdb
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\Xceed.Wpf.Toolkit.pdb
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\de\Xceed.Wpf.AvalonDock.resources.dll
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\es\Xceed.Wpf.AvalonDock.resources.dll
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\fr\Xceed.Wpf.AvalonDock.resources.dll
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\hu\Xceed.Wpf.AvalonDock.resources.dll
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\it\Xceed.Wpf.AvalonDock.resources.dll
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\pt-BR\Xceed.Wpf.AvalonDock.resources.dll
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\ro\Xceed.Wpf.AvalonDock.resources.dll
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\ru\Xceed.Wpf.AvalonDock.resources.dll
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\sv\Xceed.Wpf.AvalonDock.resources.dll
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\bin\Debug\zh-Hans\Xceed.Wpf.AvalonDock.resources.dll
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Xceed.Wpf.Toolkit.LiveExplorer.csprojAssemblyReference.cache
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Resources\LiveExplorerScrollViewer.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Resources\TextBlockStyles.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\BusyIndicator\Resources\Common.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Resources\CommonResources.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Resources\LastNameUserControlEditor.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Theming\ItemTemplates\Common.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Window\Resources\FancyStyles.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Window\Resources\WindowModelEditor.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\App.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\HomeView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\MainWindow.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\AvalonDock\Views\AvalonDockView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\BusyIndicator\Views\BusyIndicatorCustomContentTemplateView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\BusyIndicator\Views\BusyIndicatorCustomContentView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\BusyIndicator\Views\BusyIndicatorView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Button\Views\IconButtonView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Button\Views\ButtonSpinnerView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Button\Views\DropDownSplitButtonView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Calculator\Views\CalculatorView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Chart\Views\ChartAxisView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Chart\Views\ChartLegendView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Chart\Views\ChartSeriesBasicTypesView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Chart\Views\ChartSeriesDataPointsBindingView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Chart\Views\ChartStylingAxesGridView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Chart\Views\ChartStylingColumnSeriesView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Chart\Views\ChartStylingLineSeriesView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Chart\Views\ChartStylingPieSeriesView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\CheckLists\Views\CheckListsView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Color\Views\ColorView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\DataGrid\Views\DataGridView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\DataGrid\Views\MultiColumnComboBoxView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\DateTime\Views\DateTimeView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\FilePicker\Views\FilePickerView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Gauge\Views\RadialGaugeView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\ListBox\Views\ListBoxView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Magnifier\Views\MagnifierView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialHamburgerView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialComboBoxView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialListBoxView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialToolTipView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialDropDownView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialSwitchView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialFrameView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialTabsView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialProgressBarCircularView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialProgressBarView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialRadioButtonView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialCheckBoxView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialToastView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialSliderView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialTextFieldView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialButtonView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialControlsView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MultiCalendar\Views\MultiCalendarView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Numeric\Views\NumericView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Panels\Views\SwitchPanelView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Pie\Views\PieChartView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Pie\Views\PieProgressView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Pie\Views\PieView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PileFlowPanel\Views\PileFlowPanelView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Resources\LastNameUserControlEditor.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridPropertyItemStyleView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridDefinitionKeyView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridEditorDefinitionsView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridAttributesView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridSelectedObjectView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridCustomPropertyView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridPropertiesView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridPropertiesSourceView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridBindingToStructsView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridCategoryOrderView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridCustomEditorsView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridDefaultEditorsView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridDisplayLocalizationView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridMultiSelectedObjectsView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridSpecifyingPropertiesView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridExpandingNonPrimitivesView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\RangeSlider\Views\RangeSliderView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Rating\Views\RatingView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\SlideShow\Views\SlideShowView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Text\Views\AutoSelectTextboxView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Text\Views\MaskedTextboxView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Text\Views\MultiLineTextEditorView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Text\Views\RichTextboxView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Text\Views\WatermarkPasswordBoxView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Text\Views\WatermarkTextboxView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Theming\Views\ThemingAvalonDockView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Theming\Views\ThemingCoreWPFView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Theming\Views\ThemingDataGridView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Theming\Views\ThemingExtendedToolkitView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Theming\Views\ThemingListBoxView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\TimelinePanel\Views\TimelinePanelView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\TimeSpan\Views\TimeSpanView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\ToggleSwitch\Views\ToggleSwitchView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Text\Views\TokenizedTextBoxView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\WatermarkComboBox\Views\WatermarkComboBoxView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Window\Resources\WindowModelEditor.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Window\Views\ChildWindowView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Window\Views\StyleableWindowView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Window\Views\WindowContainerView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Wizard\Views\WizardView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Zoombox\Views\ZoomboxView.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\App.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\GeneratedInternalTypeHelper.g.cs
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Xceed.Wpf.Toolkit.LiveExplorer_MarkupCompile.cache
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Xceed.Wpf.Toolkit.LiveExplorer_MarkupCompile.lref
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\HomeView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\MainWindow.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\AvalonDock\Views\AvalonDockView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\BusyIndicator\Views\BusyIndicatorCustomContentTemplateView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\BusyIndicator\Views\BusyIndicatorCustomContentView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\BusyIndicator\Views\BusyIndicatorView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Button\Views\IconButtonView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Button\Views\ButtonSpinnerView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Button\Views\DropDownSplitButtonView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Calculator\Views\CalculatorView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Chart\Views\ChartAxisView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Chart\Views\ChartLegendView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Chart\Views\ChartSeriesBasicTypesView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Chart\Views\ChartSeriesDataPointsBindingView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Chart\Views\ChartStylingAxesGridView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Chart\Views\ChartStylingColumnSeriesView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Chart\Views\ChartStylingLineSeriesView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Chart\Views\ChartStylingPieSeriesView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\CheckLists\Views\CheckListsView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Color\Views\ColorView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\DataGrid\Views\DataGridView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\DataGrid\Views\MultiColumnComboBoxView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\DateTime\Views\DateTimeView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\FilePicker\Views\FilePickerView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Gauge\Views\RadialGaugeView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\ListBox\Views\ListBoxView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Magnifier\Views\MagnifierView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialHamburgerView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialComboBoxView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialListBoxView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialToolTipView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialDropDownView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialSwitchView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialFrameView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialTabsView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialProgressBarCircularView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialProgressBarView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialRadioButtonView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialCheckBoxView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialToastView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialSliderView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialTextFieldView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialButtonView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MaterialControls\Views\MaterialControlsView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\MultiCalendar\Views\MultiCalendarView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Numeric\Views\NumericView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Panels\Views\SwitchPanelView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Pie\Views\PieChartView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Pie\Views\PieProgressView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Pie\Views\PieView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PileFlowPanel\Views\PileFlowPanelView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridPropertyItemStyleView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridDefinitionKeyView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridEditorDefinitionsView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridAttributesView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridSelectedObjectView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridCustomPropertyView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridPropertiesView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridPropertiesSourceView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridBindingToStructsView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridCategoryOrderView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridCustomEditorsView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridDefaultEditorsView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridDisplayLocalizationView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridMultiSelectedObjectsView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridSpecifyingPropertiesView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridExpandingNonPrimitivesView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\PropertyGrid\Views\PropertyGridView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\RangeSlider\Views\RangeSliderView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Rating\Views\RatingView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\SlideShow\Views\SlideShowView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Text\Views\AutoSelectTextboxView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Text\Views\MaskedTextboxView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Text\Views\MultiLineTextEditorView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Text\Views\RichTextboxView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Text\Views\WatermarkPasswordBoxView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Text\Views\WatermarkTextboxView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Theming\Views\ThemingAvalonDockView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Theming\Views\ThemingCoreWPFView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Theming\Views\ThemingDataGridView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Theming\Views\ThemingExtendedToolkitView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Theming\Views\ThemingListBoxView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\TimelinePanel\Views\TimelinePanelView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\TimeSpan\Views\TimeSpanView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\ToggleSwitch\Views\ToggleSwitchView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Text\Views\TokenizedTextBoxView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\WatermarkComboBox\Views\WatermarkComboBoxView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Window\Views\ChildWindowView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Window\Views\StyleableWindowView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Window\Views\WindowContainerView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Wizard\Views\WizardView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Samples\Zoombox\Views\ZoomboxView.baml
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Xceed.Wpf.Toolkit.LiveExplorer.g.resources
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Xceed.Wpf.Toolkit.LiveExplorer.Properties.Resources.resources
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views.DisplayLocalizationRes.resources
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views.DisplayLocalizationRes.fr.resources
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Xceed.Wpf.Toolkit.LiveExplorer.csproj.GenerateResource.cache
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Xceed.Wpf.Toolkit.LiveExplorer.csproj.CoreCompileInputs.cache
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\fr\Xceed.Wpf.Toolkit.LiveExplorer.resources.dll
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Xceed.Wpf.Toolkit.LiveExplorer.exe.manifest
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Xceed.Wpf.Toolkit.LiveExplorer.application
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Xceed.Wpf.Toolkit.LiveExplorer.csproj.CopyComplete
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Xceed.Wpf.Toolkit.LiveExplorer.exe
-D:\Dev\ExtendedWPFToolkit\Release\3.5.0\OpenSource\Generated\Src\Xceed.Wpf.Toolkit.LiveExplorer\obj\x86\Debug\Xceed.Wpf.Toolkit.LiveExplorer.pdb
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/.editorconfig b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/.editorconfig
new file mode 100644
index 000000000..ae198a46b
--- /dev/null
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/.editorconfig
@@ -0,0 +1,20 @@
+#
+# formatting document
+# https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference#formatting-conventions
+#
+
+
+# Code files
+[*.xaml]
+indent_size = 3
+
+[*.cs]
+indent_size = 2
+csharp_prefer_braces = true
+
+# spacing options
+csharp_space_after_cast = false
+csharp_space_after_keywords_in_control_flow_statements = true
+csharp_space_between_method_declaration_parameter_list_parentheses = true
+csharp_space_between_method_call_parameter_list_parentheses = true
+csharp_space_between_parentheses = type_casts
\ No newline at end of file
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/AssemblyVersionInfoCommon.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/AssemblyVersionInfoCommon.cs
index 3316fb13a..49ee1682e 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/AssemblyVersionInfoCommon.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/AssemblyVersionInfoCommon.cs
@@ -1,22 +1,22 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-internal static class _XceedVersionInfoCommon
-{
-[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
- public const string Build = ".*";
-
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+internal static class _XceedVersionInfoCommon
+{
+[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
+ public const string Build = ".*";
+
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/AutoSelectTextBox/Implementation/AutoSelectBehaviorEnum.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/AutoSelectTextBox/Implementation/AutoSelectBehaviorEnum.cs
index 0b2738c97..1a99643a3 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/AutoSelectTextBox/Implementation/AutoSelectBehaviorEnum.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/AutoSelectTextBox/Implementation/AutoSelectBehaviorEnum.cs
@@ -1,28 +1,28 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-namespace Xceed.Wpf.Toolkit
-{
- public enum AutoSelectBehavior
- {
- Never,
- OnFocus
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Xceed.Wpf.Toolkit
+{
+ public enum AutoSelectBehavior
+ {
+ Never,
+ OnFocus
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/AutoSelectTextBox/Implementation/QueryMoveFocusEventArgs.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/AutoSelectTextBox/Implementation/QueryMoveFocusEventArgs.cs
index 141fbab99..6c5251d0d 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/AutoSelectTextBox/Implementation/QueryMoveFocusEventArgs.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/AutoSelectTextBox/Implementation/QueryMoveFocusEventArgs.cs
@@ -1,73 +1,73 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System.Windows;
-using System.Windows.Input;
-
-namespace Xceed.Wpf.Toolkit
-{
- [System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Design", "CA1003:UseGenericEventHandlerInstances" )]
- public delegate void QueryMoveFocusEventHandler( object sender, QueryMoveFocusEventArgs e );
-
- public class QueryMoveFocusEventArgs : RoutedEventArgs
- {
- //default CTOR private to prevent its usage.
- private QueryMoveFocusEventArgs()
- {
- }
-
- //internal to prevent anybody from building this type of event.
- internal QueryMoveFocusEventArgs( FocusNavigationDirection direction, bool reachedMaxLength )
- : base( AutoSelectTextBox.QueryMoveFocusEvent )
- {
- m_navigationDirection = direction;
- m_reachedMaxLength = reachedMaxLength;
- }
-
- public FocusNavigationDirection FocusNavigationDirection
- {
- get
- {
- return m_navigationDirection;
- }
- }
-
- public bool ReachedMaxLength
- {
- get
- {
- return m_reachedMaxLength;
- }
- }
-
- public bool CanMoveFocus
- {
- get
- {
- return m_canMove;
- }
- set
- {
- m_canMove = value;
- }
- }
-
- private FocusNavigationDirection m_navigationDirection;
- private bool m_reachedMaxLength;
- private bool m_canMove = true; //defaults to true... if nobody does nothing, then its capable of moving focus.
-
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System.Windows;
+using System.Windows.Input;
+
+namespace Xceed.Wpf.Toolkit
+{
+ [System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Design", "CA1003:UseGenericEventHandlerInstances" )]
+ public delegate void QueryMoveFocusEventHandler( object sender, QueryMoveFocusEventArgs e );
+
+ public class QueryMoveFocusEventArgs : RoutedEventArgs
+ {
+ //default CTOR private to prevent its usage.
+ private QueryMoveFocusEventArgs()
+ {
+ }
+
+ //internal to prevent anybody from building this type of event.
+ internal QueryMoveFocusEventArgs( FocusNavigationDirection direction, bool reachedMaxLength )
+ : base( AutoSelectTextBox.QueryMoveFocusEvent )
+ {
+ m_navigationDirection = direction;
+ m_reachedMaxLength = reachedMaxLength;
+ }
+
+ public FocusNavigationDirection FocusNavigationDirection
+ {
+ get
+ {
+ return m_navigationDirection;
+ }
+ }
+
+ public bool ReachedMaxLength
+ {
+ get
+ {
+ return m_reachedMaxLength;
+ }
+ }
+
+ public bool CanMoveFocus
+ {
+ get
+ {
+ return m_canMove;
+ }
+ set
+ {
+ m_canMove = value;
+ }
+ }
+
+ private FocusNavigationDirection m_navigationDirection;
+ private bool m_reachedMaxLength;
+ private bool m_canMove = true; //defaults to true... if nobody does nothing, then its capable of moving focus.
+
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/BusyIndicator/Implementation/Converters/ProgressBarWidthConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/BusyIndicator/Implementation/Converters/ProgressBarWidthConverter.cs
index de6b01201..e53acbc90 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/BusyIndicator/Implementation/Converters/ProgressBarWidthConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/BusyIndicator/Implementation/Converters/ProgressBarWidthConverter.cs
@@ -1,41 +1,41 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-using System.Linq;
-using System.Text;
-using System.Windows.Data;
-
-namespace Xceed.Wpf.Toolkit.Converters
-{
- public class ProgressBarWidthConverter : IMultiValueConverter
- {
- public object Convert( object[] values, Type targetType, object parameter, CultureInfo culture )
- {
- var contentWidth = ( double )values[ 0 ];
- var parentMinWidth = ( double )values[ 1 ];
-
- return Math.Max( contentWidth, parentMinWidth );
- }
-
- public object[] ConvertBack( object value, Type[] targetTypes, object parameter, CultureInfo culture )
- {
- throw new NotImplementedException();
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.Linq;
+using System.Text;
+using System.Windows.Data;
+
+namespace Xceed.Wpf.Toolkit.Converters
+{
+ public class ProgressBarWidthConverter : IMultiValueConverter
+ {
+ public object Convert( object[] values, Type targetType, object parameter, CultureInfo culture )
+ {
+ var contentWidth = ( double )values[ 0 ];
+ var parentMinWidth = ( double )values[ 1 ];
+
+ return Math.Max( contentWidth, parentMinWidth );
+ }
+
+ public object[] ConvertBack( object value, Type[] targetTypes, object parameter, CultureInfo culture )
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/BusyIndicator/Implementation/VisualStates.BusyIndicator.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/BusyIndicator/Implementation/VisualStates.BusyIndicator.cs
index b218170f9..5e1c41ff1 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/BusyIndicator/Implementation/VisualStates.BusyIndicator.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/BusyIndicator/Implementation/VisualStates.BusyIndicator.cs
@@ -1,51 +1,51 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-namespace Xceed.Wpf.Toolkit
-{
- internal static partial 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";
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+namespace Xceed.Wpf.Toolkit
+{
+ internal static partial 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/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Implementation/SpinDirection.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Implementation/SpinDirection.cs
index b9d009969..4e962dcbb 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Implementation/SpinDirection.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Implementation/SpinDirection.cs
@@ -1,35 +1,35 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-namespace Xceed.Wpf.Toolkit
-{
- ///
- /// Represents spin directions that could be initiated by the end-user.
- ///
- /// Preview
- public enum SpinDirection
- {
- ///
- /// Represents a spin initiated by the end-user in order to Increase a value.
- ///
- Increase = 0,
-
- ///
- /// Represents a spin initiated by the end-user in order to Decrease a value.
- ///
- Decrease = 1
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+namespace Xceed.Wpf.Toolkit
+{
+ ///
+ /// Represents spin directions that could be initiated by the end-user.
+ ///
+ /// Preview
+ public enum SpinDirection
+ {
+ ///
+ /// Represents a spin initiated by the end-user in order to Increase a value.
+ ///
+ Increase = 0,
+
+ ///
+ /// Represents a spin initiated by the end-user in order to Decrease a value.
+ ///
+ Decrease = 1
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Implementation/SpinEventArgs.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Implementation/SpinEventArgs.cs
index a9b30b08e..6b501c639 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Implementation/SpinEventArgs.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Implementation/SpinEventArgs.cs
@@ -1,76 +1,76 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit
-{
- ///
- /// Provides data for the Spinner.Spin event.
- ///
- /// Preview
- public class SpinEventArgs : RoutedEventArgs
- {
- ///
- /// Gets the SpinDirection for the spin that has been initiated by the
- /// end-user.
- ///
- public SpinDirection Direction
- {
- get;
- private set;
- }
-
- ///
- /// Get or set whheter the spin event originated from a mouse wheel event.
- ///
- public bool UsingMouseWheel
- {
- get;
- private set;
- }
-
- ///
- /// Initializes a new instance of the SpinEventArgs class.
- ///
- /// Spin direction.
- public SpinEventArgs( SpinDirection direction )
- : base()
- {
- Direction = direction;
- }
-
- public SpinEventArgs( RoutedEvent routedEvent, SpinDirection direction )
- : base( routedEvent )
- {
- Direction = direction;
- }
-
- public SpinEventArgs( SpinDirection direction, bool usingMouseWheel )
- : base()
- {
- Direction = direction;
- UsingMouseWheel = usingMouseWheel;
- }
-
- public SpinEventArgs( RoutedEvent routedEvent, SpinDirection direction, bool usingMouseWheel )
- : base( routedEvent )
- {
- Direction = direction;
- UsingMouseWheel = usingMouseWheel;
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit
+{
+ ///
+ /// Provides data for the Spinner.Spin event.
+ ///
+ /// Preview
+ public class SpinEventArgs : RoutedEventArgs
+ {
+ ///
+ /// Gets the SpinDirection for the spin that has been initiated by the
+ /// end-user.
+ ///
+ public SpinDirection Direction
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// Get or set whheter the spin event originated from a mouse wheel event.
+ ///
+ public bool UsingMouseWheel
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// Initializes a new instance of the SpinEventArgs class.
+ ///
+ /// Spin direction.
+ public SpinEventArgs( SpinDirection direction )
+ : base()
+ {
+ Direction = direction;
+ }
+
+ public SpinEventArgs( RoutedEvent routedEvent, SpinDirection direction )
+ : base( routedEvent )
+ {
+ Direction = direction;
+ }
+
+ public SpinEventArgs( SpinDirection direction, bool usingMouseWheel )
+ : base()
+ {
+ Direction = direction;
+ UsingMouseWheel = usingMouseWheel;
+ }
+
+ public SpinEventArgs( RoutedEvent routedEvent, SpinDirection direction, bool usingMouseWheel )
+ : base( routedEvent )
+ {
+ Direction = direction;
+ UsingMouseWheel = usingMouseWheel;
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Implementation/Spinner.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Implementation/Spinner.cs
index b71397d0c..030eab83e 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Implementation/Spinner.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Implementation/Spinner.cs
@@ -1,119 +1,119 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Windows;
-using System.Windows.Controls;
-
-namespace Xceed.Wpf.Toolkit
-{
- ///
- /// Base class for controls that represents controls that can spin.
- ///
- public abstract class Spinner : Control
- {
- #region Properties
-
- ///
- /// Identifies the ValidSpinDirection dependency property.
- ///
- public static readonly DependencyProperty ValidSpinDirectionProperty = DependencyProperty.Register( "ValidSpinDirection", typeof( ValidSpinDirections ), typeof( Spinner ), new PropertyMetadata( ValidSpinDirections.Increase | ValidSpinDirections.Decrease, OnValidSpinDirectionPropertyChanged ) );
- public ValidSpinDirections ValidSpinDirection
- {
- get
- {
- return ( ValidSpinDirections )GetValue( ValidSpinDirectionProperty );
- }
- set
- {
- SetValue( ValidSpinDirectionProperty, value );
- }
- }
-
- ///
- /// ValidSpinDirectionProperty property changed handler.
- ///
- /// ButtonSpinner that changed its ValidSpinDirection.
- /// Event arguments.
- private static void OnValidSpinDirectionPropertyChanged( DependencyObject d, DependencyPropertyChangedEventArgs e )
- {
- Spinner source = ( Spinner )d;
- ValidSpinDirections oldvalue = ( ValidSpinDirections )e.OldValue;
- ValidSpinDirections newvalue = ( ValidSpinDirections )e.NewValue;
- source.OnValidSpinDirectionChanged( oldvalue, newvalue );
- }
-
- #endregion //Properties
-
- ///
- /// Occurs when spinning is initiated by the end-user.
- ///
- public event EventHandler Spin;
-
- #region Events
-
- public static readonly RoutedEvent SpinnerSpinEvent = EventManager.RegisterRoutedEvent( "SpinnerSpin", RoutingStrategy.Bubble, typeof( RoutedEventHandler ), typeof( Spinner ) );
-
- public event RoutedEventHandler SpinnerSpin
- {
- add
- {
- AddHandler( SpinnerSpinEvent, value );
- }
- remove
- {
- RemoveHandler( SpinnerSpinEvent, value );
- }
- }
-
- #endregion
-
- ///
- /// Initializes a new instance of the Spinner class.
- ///
- protected Spinner()
- {
- }
-
- ///
- /// Raises the OnSpin event when spinning is initiated by the end-user.
- ///
- /// Spin event args.
- protected virtual void OnSpin( SpinEventArgs e )
- {
- ValidSpinDirections valid = e.Direction == SpinDirection.Increase ? ValidSpinDirections.Increase : ValidSpinDirections.Decrease;
-
- //Only raise the event if spin is allowed.
- if( ( ValidSpinDirection & valid ) == valid )
- {
- EventHandler handler = Spin;
- if( handler != null )
- {
- handler( this, e );
- }
- }
- }
-
- ///
- /// Called when valid spin direction changed.
- ///
- /// The old value.
- /// The new value.
- protected virtual void OnValidSpinDirectionChanged( ValidSpinDirections oldValue, ValidSpinDirections newValue )
- {
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Windows;
+using System.Windows.Controls;
+
+namespace Xceed.Wpf.Toolkit
+{
+ ///
+ /// Base class for controls that represents controls that can spin.
+ ///
+ public abstract class Spinner : Control
+ {
+ #region Properties
+
+ ///
+ /// Identifies the ValidSpinDirection dependency property.
+ ///
+ public static readonly DependencyProperty ValidSpinDirectionProperty = DependencyProperty.Register( "ValidSpinDirection", typeof( ValidSpinDirections ), typeof( Spinner ), new PropertyMetadata( ValidSpinDirections.Increase | ValidSpinDirections.Decrease, OnValidSpinDirectionPropertyChanged ) );
+ public ValidSpinDirections ValidSpinDirection
+ {
+ get
+ {
+ return ( ValidSpinDirections )GetValue( ValidSpinDirectionProperty );
+ }
+ set
+ {
+ SetValue( ValidSpinDirectionProperty, value );
+ }
+ }
+
+ ///
+ /// ValidSpinDirectionProperty property changed handler.
+ ///
+ /// ButtonSpinner that changed its ValidSpinDirection.
+ /// Event arguments.
+ private static void OnValidSpinDirectionPropertyChanged( DependencyObject d, DependencyPropertyChangedEventArgs e )
+ {
+ Spinner source = ( Spinner )d;
+ ValidSpinDirections oldvalue = ( ValidSpinDirections )e.OldValue;
+ ValidSpinDirections newvalue = ( ValidSpinDirections )e.NewValue;
+ source.OnValidSpinDirectionChanged( oldvalue, newvalue );
+ }
+
+ #endregion //Properties
+
+ ///
+ /// Occurs when spinning is initiated by the end-user.
+ ///
+ public event EventHandler Spin;
+
+ #region Events
+
+ public static readonly RoutedEvent SpinnerSpinEvent = EventManager.RegisterRoutedEvent( "SpinnerSpin", RoutingStrategy.Bubble, typeof( RoutedEventHandler ), typeof( Spinner ) );
+
+ public event RoutedEventHandler SpinnerSpin
+ {
+ add
+ {
+ AddHandler( SpinnerSpinEvent, value );
+ }
+ remove
+ {
+ RemoveHandler( SpinnerSpinEvent, value );
+ }
+ }
+
+ #endregion
+
+ ///
+ /// Initializes a new instance of the Spinner class.
+ ///
+ protected Spinner()
+ {
+ }
+
+ ///
+ /// Raises the OnSpin event when spinning is initiated by the end-user.
+ ///
+ /// Spin event args.
+ protected virtual void OnSpin( SpinEventArgs e )
+ {
+ ValidSpinDirections valid = e.Direction == SpinDirection.Increase ? ValidSpinDirections.Increase : ValidSpinDirections.Decrease;
+
+ //Only raise the event if spin is allowed.
+ if( ( ValidSpinDirection & valid ) == valid )
+ {
+ EventHandler handler = Spin;
+ if( handler != null )
+ {
+ handler( this, e );
+ }
+ }
+ }
+
+ ///
+ /// Called when valid spin direction changed.
+ ///
+ /// The old value.
+ /// The new value.
+ protected virtual void OnValidSpinDirectionChanged( ValidSpinDirections oldValue, ValidSpinDirections newValue )
+ {
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Implementation/ValidSpinDirections.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Implementation/ValidSpinDirections.cs
index 0a7aba235..ecd478662 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Implementation/ValidSpinDirections.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Implementation/ValidSpinDirections.cs
@@ -1,42 +1,42 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-
-namespace Xceed.Wpf.Toolkit
-{
- ///
- /// Represents spin directions that are valid.
- ///
- [Flags]
- public enum ValidSpinDirections
- {
- ///
- /// Can not increase nor decrease.
- ///
- None = 0,
-
- ///
- /// Can increase.
- ///
- Increase = 1,
-
- ///
- /// Can decrease.
- ///
- Decrease = 2
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+
+namespace Xceed.Wpf.Toolkit
+{
+ ///
+ /// Represents spin directions that are valid.
+ ///
+ [Flags]
+ public enum ValidSpinDirections
+ {
+ ///
+ /// Can not increase nor decrease.
+ ///
+ None = 0,
+
+ ///
+ /// Can increase.
+ ///
+ Increase = 1,
+
+ ///
+ /// Can decrease.
+ ///
+ Decrease = 2
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Themes/Aero2.NormalColor.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Themes/Aero2.NormalColor.xaml
index ed8ad4120..52049875b 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Themes/Aero2.NormalColor.xaml
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ButtonSpinner/Themes/Aero2.NormalColor.xaml
@@ -1,150 +1,131 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
+ Focusable="False"
+ SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Calculator/Implementation/CalculatorCommands.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Calculator/Implementation/CalculatorCommands.cs
index d24c8e08d..df187c3d0 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Calculator/Implementation/CalculatorCommands.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Calculator/Implementation/CalculatorCommands.cs
@@ -1,33 +1,33 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System.Windows.Input;
-
-namespace Xceed.Wpf.Toolkit
-{
- public static class CalculatorCommands
- {
- private static RoutedCommand _calculatorButtonClickCommand = new RoutedCommand();
-
- public static RoutedCommand CalculatorButtonClick
- {
- get
- {
- return _calculatorButtonClickCommand;
- }
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System.Windows.Input;
+
+namespace Xceed.Wpf.Toolkit
+{
+ public static class CalculatorCommands
+ {
+ private static RoutedCommand _calculatorButtonClickCommand = new RoutedCommand();
+
+ public static RoutedCommand CalculatorButtonClick
+ {
+ get
+ {
+ return _calculatorButtonClickCommand;
+ }
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ChildWindow/Implementation/WindowStartupLocation.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ChildWindow/Implementation/WindowStartupLocation.cs
index 690c92328..757f4a892 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ChildWindow/Implementation/WindowStartupLocation.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ChildWindow/Implementation/WindowStartupLocation.cs
@@ -1,24 +1,24 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-namespace Xceed.Wpf.Toolkit
-{
- public enum WindowStartupLocation
- {
- Center,
- Manual
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+namespace Xceed.Wpf.Toolkit
+{
+ public enum WindowStartupLocation
+ {
+ Center,
+ Manual
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ChildWindow/Implementation/WindowState.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ChildWindow/Implementation/WindowState.cs
index 072097080..6cf14e8ca 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ChildWindow/Implementation/WindowState.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ChildWindow/Implementation/WindowState.cs
@@ -1,24 +1,24 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-namespace Xceed.Wpf.Toolkit
-{
- public enum WindowState
- {
- Closed,
- Open
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+namespace Xceed.Wpf.Toolkit
+{
+ public enum WindowState
+ {
+ Closed,
+ Open
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ChildWindow/Themes/Aero2.NormalColor.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ChildWindow/Themes/Aero2.NormalColor.xaml
index 2a5bd5efb..a42e3450e 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ChildWindow/Themes/Aero2.NormalColor.xaml
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ChildWindow/Themes/Aero2.NormalColor.xaml
@@ -1,110 +1,110 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ChildWindow/Themes/Generic.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ChildWindow/Themes/Generic.xaml
index 7256260de..464f443a9 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ChildWindow/Themes/Generic.xaml
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ChildWindow/Themes/Generic.xaml
@@ -1,105 +1,105 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Chromes/Implementation/ButtonChrome.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Chromes/Implementation/ButtonChrome.cs
index 89c66d096..4bcd3689c 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Chromes/Implementation/ButtonChrome.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Chromes/Implementation/ButtonChrome.cs
@@ -1,272 +1,272 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Windows;
-using System.Windows.Controls;
-
-namespace Xceed.Wpf.Toolkit.Chromes
-{
- public class ButtonChrome : ContentControl
- {
- #region CornerRadius
-
- public static readonly DependencyProperty CornerRadiusProperty = DependencyProperty.Register( "CornerRadius", typeof( CornerRadius ), typeof( ButtonChrome ), new UIPropertyMetadata( default( CornerRadius ), new PropertyChangedCallback( OnCornerRadiusChanged ) ) );
- public CornerRadius CornerRadius
- {
- get
- {
- return ( CornerRadius )GetValue( CornerRadiusProperty );
- }
- set
- {
- SetValue( CornerRadiusProperty, value );
- }
- }
-
- private static void OnCornerRadiusChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
- {
- ButtonChrome buttonChrome = o as ButtonChrome;
- if( buttonChrome != null )
- buttonChrome.OnCornerRadiusChanged( ( CornerRadius )e.OldValue, ( CornerRadius )e.NewValue );
- }
-
- protected virtual void OnCornerRadiusChanged( CornerRadius oldValue, CornerRadius newValue )
- {
- //we always want the InnerBorderRadius to be one less than the CornerRadius
- CornerRadius newInnerCornerRadius = new CornerRadius( Math.Max( 0, newValue.TopLeft - 1 ),
- Math.Max( 0, newValue.TopRight - 1 ),
- Math.Max( 0, newValue.BottomRight - 1 ),
- Math.Max( 0, newValue.BottomLeft - 1 ) );
-
- InnerCornerRadius = newInnerCornerRadius;
- }
-
- #endregion //CornerRadius
-
- #region InnerCornerRadius
-
- public static readonly DependencyProperty InnerCornerRadiusProperty = DependencyProperty.Register( "InnerCornerRadius", typeof( CornerRadius ), typeof( ButtonChrome ), new UIPropertyMetadata( default( CornerRadius ), new PropertyChangedCallback( OnInnerCornerRadiusChanged ) ) );
- public CornerRadius InnerCornerRadius
- {
- get
- {
- return ( CornerRadius )GetValue( InnerCornerRadiusProperty );
- }
- set
- {
- SetValue( InnerCornerRadiusProperty, value );
- }
- }
-
- private static void OnInnerCornerRadiusChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
- {
- ButtonChrome buttonChrome = o as ButtonChrome;
- if( buttonChrome != null )
- buttonChrome.OnInnerCornerRadiusChanged( ( CornerRadius )e.OldValue, ( CornerRadius )e.NewValue );
- }
-
- protected virtual void OnInnerCornerRadiusChanged( CornerRadius oldValue, CornerRadius newValue )
- {
- // TODO: Add your property changed side-effects. Descendants can override as well.
- }
-
- #endregion //InnerCornerRadius
-
- #region RenderChecked
-
- public static readonly DependencyProperty RenderCheckedProperty = DependencyProperty.Register( "RenderChecked", typeof( bool ), typeof( ButtonChrome ), new UIPropertyMetadata( false, OnRenderCheckedChanged ) );
- public bool RenderChecked
- {
- get
- {
- return ( bool )GetValue( RenderCheckedProperty );
- }
- set
- {
- SetValue( RenderCheckedProperty, value );
- }
- }
-
- private static void OnRenderCheckedChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
- {
- ButtonChrome buttonChrome = o as ButtonChrome;
- if( buttonChrome != null )
- buttonChrome.OnRenderCheckedChanged( ( bool )e.OldValue, ( bool )e.NewValue );
- }
-
- protected virtual void OnRenderCheckedChanged( bool oldValue, bool newValue )
- {
- // TODO: Add your property changed side-effects. Descendants can override as well.
- }
-
- #endregion //RenderChecked
-
- #region RenderEnabled
-
- public static readonly DependencyProperty RenderEnabledProperty = DependencyProperty.Register( "RenderEnabled", typeof( bool ), typeof( ButtonChrome ), new UIPropertyMetadata( true, OnRenderEnabledChanged ) );
- public bool RenderEnabled
- {
- get
- {
- return ( bool )GetValue( RenderEnabledProperty );
- }
- set
- {
- SetValue( RenderEnabledProperty, value );
- }
- }
-
- private static void OnRenderEnabledChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
- {
- ButtonChrome buttonChrome = o as ButtonChrome;
- if( buttonChrome != null )
- buttonChrome.OnRenderEnabledChanged( ( bool )e.OldValue, ( bool )e.NewValue );
- }
-
- protected virtual void OnRenderEnabledChanged( bool oldValue, bool newValue )
- {
- // TODO: Add your property changed side-effects. Descendants can override as well.
- }
-
- #endregion //RenderEnabled
-
- #region RenderFocused
-
- public static readonly DependencyProperty RenderFocusedProperty = DependencyProperty.Register( "RenderFocused", typeof( bool ), typeof( ButtonChrome ), new UIPropertyMetadata( false, OnRenderFocusedChanged ) );
- public bool RenderFocused
- {
- get
- {
- return ( bool )GetValue( RenderFocusedProperty );
- }
- set
- {
- SetValue( RenderFocusedProperty, value );
- }
- }
-
- private static void OnRenderFocusedChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
- {
- ButtonChrome buttonChrome = o as ButtonChrome;
- if( buttonChrome != null )
- buttonChrome.OnRenderFocusedChanged( ( bool )e.OldValue, ( bool )e.NewValue );
- }
-
- protected virtual void OnRenderFocusedChanged( bool oldValue, bool newValue )
- {
- // TODO: Add your property changed side-effects. Descendants can override as well.
- }
-
- #endregion //RenderFocused
-
- #region RenderMouseOver
-
- public static readonly DependencyProperty RenderMouseOverProperty = DependencyProperty.Register( "RenderMouseOver", typeof( bool ), typeof( ButtonChrome ), new UIPropertyMetadata( false, OnRenderMouseOverChanged ) );
- public bool RenderMouseOver
- {
- get
- {
- return ( bool )GetValue( RenderMouseOverProperty );
- }
- set
- {
- SetValue( RenderMouseOverProperty, value );
- }
- }
-
- private static void OnRenderMouseOverChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
- {
- ButtonChrome buttonChrome = o as ButtonChrome;
- if( buttonChrome != null )
- buttonChrome.OnRenderMouseOverChanged( ( bool )e.OldValue, ( bool )e.NewValue );
- }
-
- protected virtual void OnRenderMouseOverChanged( bool oldValue, bool newValue )
- {
- // TODO: Add your property changed side-effects. Descendants can override as well.
- }
-
- #endregion //RenderMouseOver
-
- #region RenderNormal
-
- public static readonly DependencyProperty RenderNormalProperty = DependencyProperty.Register( "RenderNormal", typeof( bool ), typeof( ButtonChrome ), new UIPropertyMetadata( true, OnRenderNormalChanged ) );
- public bool RenderNormal
- {
- get
- {
- return ( bool )GetValue( RenderNormalProperty );
- }
- set
- {
- SetValue( RenderNormalProperty, value );
- }
- }
-
- private static void OnRenderNormalChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
- {
- ButtonChrome buttonChrome = o as ButtonChrome;
- if( buttonChrome != null )
- buttonChrome.OnRenderNormalChanged( ( bool )e.OldValue, ( bool )e.NewValue );
- }
-
- protected virtual void OnRenderNormalChanged( bool oldValue, bool newValue )
- {
- // TODO: Add your property changed side-effects. Descendants can override as well.
- }
-
- #endregion //RenderNormal
-
- #region RenderPressed
-
- public static readonly DependencyProperty RenderPressedProperty = DependencyProperty.Register( "RenderPressed", typeof( bool ), typeof( ButtonChrome ), new UIPropertyMetadata( false, OnRenderPressedChanged ) );
- public bool RenderPressed
- {
- get
- {
- return ( bool )GetValue( RenderPressedProperty );
- }
- set
- {
- SetValue( RenderPressedProperty, value );
- }
- }
-
- private static void OnRenderPressedChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
- {
- ButtonChrome buttonChrome = o as ButtonChrome;
- if( buttonChrome != null )
- buttonChrome.OnRenderPressedChanged( ( bool )e.OldValue, ( bool )e.NewValue );
- }
-
- protected virtual void OnRenderPressedChanged( bool oldValue, bool newValue )
- {
- // TODO: Add your property changed side-effects. Descendants can override as well.
- }
-
- #endregion //RenderPressed
-
- #region Contsructors
-
- static ButtonChrome()
- {
- DefaultStyleKeyProperty.OverrideMetadata( typeof( ButtonChrome ), new FrameworkPropertyMetadata( typeof( ButtonChrome ) ) );
- }
-
- #endregion //Contsructors
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Windows;
+using System.Windows.Controls;
+
+namespace Xceed.Wpf.Toolkit.Chromes
+{
+ public class ButtonChrome : ContentControl
+ {
+ #region CornerRadius
+
+ public static readonly DependencyProperty CornerRadiusProperty = DependencyProperty.Register( "CornerRadius", typeof( CornerRadius ), typeof( ButtonChrome ), new UIPropertyMetadata( default( CornerRadius ), new PropertyChangedCallback( OnCornerRadiusChanged ) ) );
+ public CornerRadius CornerRadius
+ {
+ get
+ {
+ return ( CornerRadius )GetValue( CornerRadiusProperty );
+ }
+ set
+ {
+ SetValue( CornerRadiusProperty, value );
+ }
+ }
+
+ private static void OnCornerRadiusChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
+ {
+ ButtonChrome buttonChrome = o as ButtonChrome;
+ if( buttonChrome != null )
+ buttonChrome.OnCornerRadiusChanged( ( CornerRadius )e.OldValue, ( CornerRadius )e.NewValue );
+ }
+
+ protected virtual void OnCornerRadiusChanged( CornerRadius oldValue, CornerRadius newValue )
+ {
+ //we always want the InnerBorderRadius to be one less than the CornerRadius
+ CornerRadius newInnerCornerRadius = new CornerRadius( Math.Max( 0, newValue.TopLeft - 1 ),
+ Math.Max( 0, newValue.TopRight - 1 ),
+ Math.Max( 0, newValue.BottomRight - 1 ),
+ Math.Max( 0, newValue.BottomLeft - 1 ) );
+
+ InnerCornerRadius = newInnerCornerRadius;
+ }
+
+ #endregion //CornerRadius
+
+ #region InnerCornerRadius
+
+ public static readonly DependencyProperty InnerCornerRadiusProperty = DependencyProperty.Register( "InnerCornerRadius", typeof( CornerRadius ), typeof( ButtonChrome ), new UIPropertyMetadata( default( CornerRadius ), new PropertyChangedCallback( OnInnerCornerRadiusChanged ) ) );
+ public CornerRadius InnerCornerRadius
+ {
+ get
+ {
+ return ( CornerRadius )GetValue( InnerCornerRadiusProperty );
+ }
+ set
+ {
+ SetValue( InnerCornerRadiusProperty, value );
+ }
+ }
+
+ private static void OnInnerCornerRadiusChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
+ {
+ ButtonChrome buttonChrome = o as ButtonChrome;
+ if( buttonChrome != null )
+ buttonChrome.OnInnerCornerRadiusChanged( ( CornerRadius )e.OldValue, ( CornerRadius )e.NewValue );
+ }
+
+ protected virtual void OnInnerCornerRadiusChanged( CornerRadius oldValue, CornerRadius newValue )
+ {
+ // TODO: Add your property changed side-effects. Descendants can override as well.
+ }
+
+ #endregion //InnerCornerRadius
+
+ #region RenderChecked
+
+ public static readonly DependencyProperty RenderCheckedProperty = DependencyProperty.Register( "RenderChecked", typeof( bool ), typeof( ButtonChrome ), new UIPropertyMetadata( false, OnRenderCheckedChanged ) );
+ public bool RenderChecked
+ {
+ get
+ {
+ return ( bool )GetValue( RenderCheckedProperty );
+ }
+ set
+ {
+ SetValue( RenderCheckedProperty, value );
+ }
+ }
+
+ private static void OnRenderCheckedChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
+ {
+ ButtonChrome buttonChrome = o as ButtonChrome;
+ if( buttonChrome != null )
+ buttonChrome.OnRenderCheckedChanged( ( bool )e.OldValue, ( bool )e.NewValue );
+ }
+
+ protected virtual void OnRenderCheckedChanged( bool oldValue, bool newValue )
+ {
+ // TODO: Add your property changed side-effects. Descendants can override as well.
+ }
+
+ #endregion //RenderChecked
+
+ #region RenderEnabled
+
+ public static readonly DependencyProperty RenderEnabledProperty = DependencyProperty.Register( "RenderEnabled", typeof( bool ), typeof( ButtonChrome ), new UIPropertyMetadata( true, OnRenderEnabledChanged ) );
+ public bool RenderEnabled
+ {
+ get
+ {
+ return ( bool )GetValue( RenderEnabledProperty );
+ }
+ set
+ {
+ SetValue( RenderEnabledProperty, value );
+ }
+ }
+
+ private static void OnRenderEnabledChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
+ {
+ ButtonChrome buttonChrome = o as ButtonChrome;
+ if( buttonChrome != null )
+ buttonChrome.OnRenderEnabledChanged( ( bool )e.OldValue, ( bool )e.NewValue );
+ }
+
+ protected virtual void OnRenderEnabledChanged( bool oldValue, bool newValue )
+ {
+ // TODO: Add your property changed side-effects. Descendants can override as well.
+ }
+
+ #endregion //RenderEnabled
+
+ #region RenderFocused
+
+ public static readonly DependencyProperty RenderFocusedProperty = DependencyProperty.Register( "RenderFocused", typeof( bool ), typeof( ButtonChrome ), new UIPropertyMetadata( false, OnRenderFocusedChanged ) );
+ public bool RenderFocused
+ {
+ get
+ {
+ return ( bool )GetValue( RenderFocusedProperty );
+ }
+ set
+ {
+ SetValue( RenderFocusedProperty, value );
+ }
+ }
+
+ private static void OnRenderFocusedChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
+ {
+ ButtonChrome buttonChrome = o as ButtonChrome;
+ if( buttonChrome != null )
+ buttonChrome.OnRenderFocusedChanged( ( bool )e.OldValue, ( bool )e.NewValue );
+ }
+
+ protected virtual void OnRenderFocusedChanged( bool oldValue, bool newValue )
+ {
+ // TODO: Add your property changed side-effects. Descendants can override as well.
+ }
+
+ #endregion //RenderFocused
+
+ #region RenderMouseOver
+
+ public static readonly DependencyProperty RenderMouseOverProperty = DependencyProperty.Register( "RenderMouseOver", typeof( bool ), typeof( ButtonChrome ), new UIPropertyMetadata( false, OnRenderMouseOverChanged ) );
+ public bool RenderMouseOver
+ {
+ get
+ {
+ return ( bool )GetValue( RenderMouseOverProperty );
+ }
+ set
+ {
+ SetValue( RenderMouseOverProperty, value );
+ }
+ }
+
+ private static void OnRenderMouseOverChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
+ {
+ ButtonChrome buttonChrome = o as ButtonChrome;
+ if( buttonChrome != null )
+ buttonChrome.OnRenderMouseOverChanged( ( bool )e.OldValue, ( bool )e.NewValue );
+ }
+
+ protected virtual void OnRenderMouseOverChanged( bool oldValue, bool newValue )
+ {
+ // TODO: Add your property changed side-effects. Descendants can override as well.
+ }
+
+ #endregion //RenderMouseOver
+
+ #region RenderNormal
+
+ public static readonly DependencyProperty RenderNormalProperty = DependencyProperty.Register( "RenderNormal", typeof( bool ), typeof( ButtonChrome ), new UIPropertyMetadata( true, OnRenderNormalChanged ) );
+ public bool RenderNormal
+ {
+ get
+ {
+ return ( bool )GetValue( RenderNormalProperty );
+ }
+ set
+ {
+ SetValue( RenderNormalProperty, value );
+ }
+ }
+
+ private static void OnRenderNormalChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
+ {
+ ButtonChrome buttonChrome = o as ButtonChrome;
+ if( buttonChrome != null )
+ buttonChrome.OnRenderNormalChanged( ( bool )e.OldValue, ( bool )e.NewValue );
+ }
+
+ protected virtual void OnRenderNormalChanged( bool oldValue, bool newValue )
+ {
+ // TODO: Add your property changed side-effects. Descendants can override as well.
+ }
+
+ #endregion //RenderNormal
+
+ #region RenderPressed
+
+ public static readonly DependencyProperty RenderPressedProperty = DependencyProperty.Register( "RenderPressed", typeof( bool ), typeof( ButtonChrome ), new UIPropertyMetadata( false, OnRenderPressedChanged ) );
+ public bool RenderPressed
+ {
+ get
+ {
+ return ( bool )GetValue( RenderPressedProperty );
+ }
+ set
+ {
+ SetValue( RenderPressedProperty, value );
+ }
+ }
+
+ private static void OnRenderPressedChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
+ {
+ ButtonChrome buttonChrome = o as ButtonChrome;
+ if( buttonChrome != null )
+ buttonChrome.OnRenderPressedChanged( ( bool )e.OldValue, ( bool )e.NewValue );
+ }
+
+ protected virtual void OnRenderPressedChanged( bool oldValue, bool newValue )
+ {
+ // TODO: Add your property changed side-effects. Descendants can override as well.
+ }
+
+ #endregion //RenderPressed
+
+ #region Contsructors
+
+ static ButtonChrome()
+ {
+ DefaultStyleKeyProperty.OverrideMetadata( typeof( ButtonChrome ), new FrameworkPropertyMetadata( typeof( ButtonChrome ) ) );
+ }
+
+ #endregion //Contsructors
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Chromes/Themes/Aero2.NormalColor.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Chromes/Themes/Aero2.NormalColor.xaml
index d1f499f6b..aab8abc09 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Chromes/Themes/Aero2.NormalColor.xaml
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Chromes/Themes/Aero2.NormalColor.xaml
@@ -1,177 +1,177 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Chromes/Themes/Generic.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Chromes/Themes/Generic.xaml
index 2ee81a1a2..8580cd10c 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Chromes/Themes/Generic.xaml
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Chromes/Themes/Generic.xaml
@@ -1,228 +1,228 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/CollectionControl/Implementation/Converters/NewItemTypesComboBoxConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/CollectionControl/Implementation/Converters/NewItemTypesComboBoxConverter.cs
index d0ccf3e48..2f40d1197 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/CollectionControl/Implementation/Converters/NewItemTypesComboBoxConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/CollectionControl/Implementation/Converters/NewItemTypesComboBoxConverter.cs
@@ -1,74 +1,74 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Windows.Data;
-using System.Globalization;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-
-namespace Xceed.Wpf.Toolkit.Converters
-{
- ///
- /// This multi-value converter is used in the CollectionControl template
- /// to determine the list of possible new item types that will be shown in the combo box.
- ///
- /// If the second value (i.e., CollectionControl.NewItemTypes) is not null, this list will be used.
- /// Otherwise, if the first value (i.e., CollectionControl.ItemsSourceType) is a "IList<T>"
- /// type, the new item type list will contain "T".
- ///
- ///
- public class NewItemTypesComboBoxConverter : IMultiValueConverter
- {
- public object Convert( object[] values, Type targetType, object parameter, CultureInfo culture )
- {
-
- if( values.Length != 2 )
- throw new ArgumentException("The 'values' argument should contain 2 objects.");
-
- if( values[ 1 ] != null )
- {
- if( !values[ 1 ].GetType().IsGenericType || !(values[ 1 ].GetType().GetGenericArguments().First().GetType() is Type) )
- throw new ArgumentException( "The 'value' argument is not of the correct type." );
-
- return values[ 1 ];
- }
- else if( values[ 0 ] != null )
- {
- if( !( values[ 0 ].GetType() is Type ) )
- throw new ArgumentException( "The 'value' argument is not of the correct type." );
-
- List types = new List();
- Type listType = ListUtilities.GetListItemType( ( Type )values[ 0 ] );
- if( listType != null )
- {
- types.Add( listType );
- }
-
- return types;
- }
-
- return null;
- }
-
- public object[] ConvertBack( object value, Type[] targetTypes, object parameter, CultureInfo culture )
- {
- throw new NotImplementedException();
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows.Data;
+using System.Globalization;
+using Xceed.Wpf.Toolkit.Core.Utilities;
+
+namespace Xceed.Wpf.Toolkit.Converters
+{
+ ///
+ /// This multi-value converter is used in the CollectionControl template
+ /// to determine the list of possible new item types that will be shown in the combo box.
+ ///
+ /// If the second value (i.e., CollectionControl.NewItemTypes) is not null, this list will be used.
+ /// Otherwise, if the first value (i.e., CollectionControl.ItemsSourceType) is a "IList<T>"
+ /// type, the new item type list will contain "T".
+ ///
+ ///
+ public class NewItemTypesComboBoxConverter : IMultiValueConverter
+ {
+ public object Convert( object[] values, Type targetType, object parameter, CultureInfo culture )
+ {
+
+ if( values.Length != 2 )
+ throw new ArgumentException("The 'values' argument should contain 2 objects.");
+
+ if( values[ 1 ] != null )
+ {
+ if( !values[ 1 ].GetType().IsGenericType || !(values[ 1 ].GetType().GetGenericArguments().First().GetType() is Type) )
+ throw new ArgumentException( "The 'value' argument is not of the correct type." );
+
+ return values[ 1 ];
+ }
+ else if( values[ 0 ] != null )
+ {
+ if( !( values[ 0 ].GetType() is Type ) )
+ throw new ArgumentException( "The 'value' argument is not of the correct type." );
+
+ List types = new List();
+ Type listType = ListUtilities.GetListItemType( ( Type )values[ 0 ] );
+ if( listType != null )
+ {
+ types.Add( listType );
+ }
+
+ return types;
+ }
+
+ return null;
+ }
+
+ public object[] ConvertBack( object value, Type[] targetTypes, object parameter, CultureInfo culture )
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/CollectionControl/Implementation/ItemAddingEventArgs.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/CollectionControl/Implementation/ItemAddingEventArgs.cs
index 12d3bb479..7d2213fcb 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/CollectionControl/Implementation/ItemAddingEventArgs.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/CollectionControl/Implementation/ItemAddingEventArgs.cs
@@ -1,52 +1,52 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Xceed.Wpf.Toolkit.Core;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit
-{
- public class ItemAddingEventArgs : CancelRoutedEventArgs
- {
- #region Constructor
-
- public ItemAddingEventArgs( RoutedEvent itemAddingEvent, object itemAdding )
- : base( itemAddingEvent )
- {
- Item = itemAdding;
- }
-
- #endregion
-
- #region Properties
-
- #region Item Property
-
- public object Item
- {
- get;
- set;
- }
-
- #endregion
-
- #endregion //Properties
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using Xceed.Wpf.Toolkit.Core;
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit
+{
+ public class ItemAddingEventArgs : CancelRoutedEventArgs
+ {
+ #region Constructor
+
+ public ItemAddingEventArgs( RoutedEvent itemAddingEvent, object itemAdding )
+ : base( itemAddingEvent )
+ {
+ Item = itemAdding;
+ }
+
+ #endregion
+
+ #region Properties
+
+ #region Item Property
+
+ public object Item
+ {
+ get;
+ set;
+ }
+
+ #endregion
+
+ #endregion //Properties
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/CollectionControl/Implementation/ItemDeletingEventArgs.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/CollectionControl/Implementation/ItemDeletingEventArgs.cs
index d8343bdd6..8b9a8eec0 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/CollectionControl/Implementation/ItemDeletingEventArgs.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/CollectionControl/Implementation/ItemDeletingEventArgs.cs
@@ -1,56 +1,56 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Xceed.Wpf.Toolkit.Core;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit
-{
- public class ItemDeletingEventArgs : CancelRoutedEventArgs
- {
- #region Private Members
-
- private object _item;
-
- #endregion
-
- #region Constructor
-
- public ItemDeletingEventArgs( RoutedEvent itemDeletingEvent, object itemDeleting )
- : base( itemDeletingEvent )
- {
- _item = itemDeleting;
- }
-
- #region Property Item
-
- public object Item
- {
- get
- {
- return _item;
- }
- }
-
- #endregion
-
- #endregion
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using Xceed.Wpf.Toolkit.Core;
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit
+{
+ public class ItemDeletingEventArgs : CancelRoutedEventArgs
+ {
+ #region Private Members
+
+ private object _item;
+
+ #endregion
+
+ #region Constructor
+
+ public ItemDeletingEventArgs( RoutedEvent itemDeletingEvent, object itemDeleting )
+ : base( itemDeletingEvent )
+ {
+ _item = itemDeleting;
+ }
+
+ #region Property Item
+
+ public object Item
+ {
+ get
+ {
+ return _item;
+ }
+ }
+
+ #endregion
+
+ #endregion
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/CollectionControl/Implementation/ItemEventArgs.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/CollectionControl/Implementation/ItemEventArgs.cs
index aa45304a6..7eabee0d6 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/CollectionControl/Implementation/ItemEventArgs.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/CollectionControl/Implementation/ItemEventArgs.cs
@@ -1,55 +1,55 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit
-{
- public class ItemEventArgs : RoutedEventArgs
- {
- #region Protected Members
-
- private object _item;
-
- #endregion
-
- #region Constructor
-
- internal ItemEventArgs( RoutedEvent routedEvent, object newItem )
- : base( routedEvent )
- {
- _item = newItem;
- }
-
- #endregion
-
- #region Property Item
-
- public object Item
- {
- get
- {
- return _item;
- }
- }
-
- #endregion
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit
+{
+ public class ItemEventArgs : RoutedEventArgs
+ {
+ #region Protected Members
+
+ private object _item;
+
+ #endregion
+
+ #region Constructor
+
+ internal ItemEventArgs( RoutedEvent routedEvent, object newItem )
+ : base( routedEvent )
+ {
+ _item = newItem;
+ }
+
+ #endregion
+
+ #region Property Item
+
+ public object Item
+ {
+ get
+ {
+ return _item;
+ }
+ }
+
+ #endregion
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Images/color_picker_active.cur b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Images/color_picker_active.cur
new file mode 100644
index 000000000..08ab63d34
Binary files /dev/null and b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Images/color_picker_active.cur differ
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Images/color_picker_default.cur b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Images/color_picker_default.cur
new file mode 100644
index 000000000..6502a963e
Binary files /dev/null and b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Images/color_picker_default.cur differ
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Images/ic_eye_dropper.png b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Images/ic_eye_dropper.png
new file mode 100644
index 000000000..13955ff85
Binary files /dev/null and b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Images/ic_eye_dropper.png differ
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Implementation/AlphaSpectrumSlider.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Implementation/AlphaSpectrumSlider.cs
new file mode 100644
index 000000000..856b27ffa
--- /dev/null
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Implementation/AlphaSpectrumSlider.cs
@@ -0,0 +1,106 @@
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Media;
+using System.Windows.Shapes;
+using Xceed.Wpf.Toolkit.Core.Utilities;
+
+namespace Xceed.Wpf.Toolkit
+{
+ [TemplatePart( Name = PART_SpectrumDisplay, Type = typeof( Rectangle ) )]
+ public class AlphaSpectrumSlider : Slider
+ {
+ private const string PART_SpectrumDisplay = "PART_SpectrumDisplay";
+
+ #region Private Members
+
+ private Rectangle _spectrumDisplay;
+ private LinearGradientBrush _pickerBrush;
+ private Color? _selectedColor;
+
+ #endregion //Private Members
+
+ #region Constructors
+
+ static AlphaSpectrumSlider()
+ {
+ DefaultStyleKeyProperty.OverrideMetadata( typeof( AlphaSpectrumSlider ), new FrameworkPropertyMetadata( typeof( AlphaSpectrumSlider ) ) );
+ }
+
+ #endregion //Constructors
+
+ #region Dependency Properties
+
+
+ public Color? SelectedColor
+ {
+ get
+ {
+ return _selectedColor;
+ }
+ set
+ {
+ Value = value.HasValue ? value.Value.ScA * 100 : 100;
+ _selectedColor = value;
+ UpdateSpectrum();
+ }
+ }
+
+ #endregion //Dependency Properties
+
+ #region Base Class Overrides
+
+ public override void OnApplyTemplate()
+ {
+ base.OnApplyTemplate();
+
+ _spectrumDisplay = ( Rectangle )GetTemplateChild( PART_SpectrumDisplay );
+ UpdateSpectrum();
+ OnValueChanged( Double.NaN, Value );
+ }
+
+
+ #endregion //Base Class Overrides
+
+ #region Methods
+
+ private void UpdateSpectrum()
+ {
+ _pickerBrush = new LinearGradientBrush();
+
+ Color currentcolor = SelectedColor ?? Colors.Black;
+
+ // This gradient stop is partially transparent.
+ _pickerBrush.GradientStops.Add(
+ new GradientStop( Color.FromArgb( 255, currentcolor.R, currentcolor.G, currentcolor.B ), 0.0 ) );
+
+ // This gradient stop is fully opaque.
+ _pickerBrush.GradientStops.Add(
+ new GradientStop( Color.FromArgb( 0, currentcolor.R, currentcolor.G, currentcolor.B ), 1.0 ) );
+
+ if (_spectrumDisplay != null)
+ {
+ _spectrumDisplay.Fill = _pickerBrush;
+ }
+ }
+
+ #endregion //Methods
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Implementation/ColorCanvas.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Implementation/ColorCanvas.cs
index 8ad8ec1e9..b91050f6c 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Implementation/ColorCanvas.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Implementation/ColorCanvas.cs
@@ -25,16 +25,25 @@ This program is provided to you under the terms of the Microsoft Public
namespace Xceed.Wpf.Toolkit
{
+ public delegate void ColorOutsideClickStartedHandler( object sender );
+
[TemplatePart( Name = PART_ColorShadingCanvas, Type = typeof( Canvas ) )]
[TemplatePart( Name = PART_ColorShadeSelector, Type = typeof( Canvas ) )]
[TemplatePart( Name = PART_SpectrumSlider, Type = typeof( ColorSpectrumSlider ) )]
[TemplatePart( Name = PART_HexadecimalTextBox, Type = typeof( TextBox ) )]
+ [TemplatePart( Name = PART_NullColorButton, Type = typeof( Button ) )]
+ [TemplatePart( Name = PART_SpoidButton, Type = typeof( Button ) )]
+ [TemplatePart( Name = PART_AlphaSlider, Type = typeof( AlphaSpectrumSlider ) )]
public class ColorCanvas : Control
{
private const string PART_ColorShadingCanvas = "PART_ColorShadingCanvas";
private const string PART_ColorShadeSelector = "PART_ColorShadeSelector";
private const string PART_SpectrumSlider = "PART_SpectrumSlider";
private const string PART_HexadecimalTextBox = "PART_HexadecimalTextBox";
+ private const string PART_NullColorButton = "PART_NullColorButton";
+ //@IUEditor 20181101
+ private const string PART_SpoidButton = "PART_SpoidButton";
+ private const string PART_AlphaSlider = "PART_AlphaSlider";
#region Private Members
@@ -47,6 +56,11 @@ public class ColorCanvas : Control
private bool _surpressPropertyChanged;
private bool _updateSpectrumSliderValue = true;
+ // created by iueditor
+ private Button _nullColorButton, _spoidButton;
+ private AlphaSpectrumSlider _alphaSlider;
+ private bool _updateAlphaSliderColor = true;
+
#endregion //Private Members
#region Properties
@@ -69,7 +83,7 @@ public Color? SelectedColor
private static void OnSelectedColorChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
{
ColorCanvas colorCanvas = o as ColorCanvas;
- if( colorCanvas != null )
+ if (colorCanvas != null)
colorCanvas.OnSelectedColorChanged( ( Color? )e.OldValue, ( Color? )e.NewValue );
}
@@ -88,9 +102,58 @@ protected virtual void OnSelectedColorChanged( Color? oldValue, Color? newValue
#region RGB
+ #region DecA
+
+ public static readonly DependencyProperty DecAProperty = DependencyProperty.Register( "DecA", typeof( int ), typeof( ColorCanvas ), new UIPropertyMetadata( 100, OnDecAChanged, OnDecACoerceCallback ) );
+
+ private static object OnDecACoerceCallback( DependencyObject d, object baseValue )
+ {
+ int decA = ( int )baseValue;
+ if (decA < 0)
+ {
+ return 0;
+ }
+ else if (decA > 100)
+ {
+ return 100;
+ }
+ else
+ {
+ return decA;
+ }
+ }
+
+ public int DecA
+ {
+ get
+ {
+ return ( int )GetValue( DecAProperty );
+ }
+ set
+ {
+ SetValue( DecAProperty, value );
+ }
+ }
+
+ private static void OnDecAChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
+ {
+ ColorCanvas colorCanvas = o as ColorCanvas;
+ if (colorCanvas != null)
+ colorCanvas.OnDecAChanged( ( int )e.OldValue, ( int )e.NewValue );
+ }
+
+ protected virtual void OnDecAChanged( int oldValue, int newValue )
+ {
+ if (!_surpressPropertyChanged)
+ UpdateSelectedColor();
+ }
+
+ #endregion //DecA
+
#region A
public static readonly DependencyProperty AProperty = DependencyProperty.Register( "A", typeof( byte ), typeof( ColorCanvas ), new UIPropertyMetadata( ( byte )255, OnAChanged ) );
+ [Obsolete( "Use DecA Instead" )]
public byte A
{
get
@@ -106,13 +169,13 @@ public byte A
private static void OnAChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
{
ColorCanvas colorCanvas = o as ColorCanvas;
- if( colorCanvas != null )
+ if (colorCanvas != null)
colorCanvas.OnAChanged( ( byte )e.OldValue, ( byte )e.NewValue );
}
protected virtual void OnAChanged( byte oldValue, byte newValue )
{
- if( !_surpressPropertyChanged )
+ if (!_surpressPropertyChanged)
UpdateSelectedColor();
}
@@ -136,13 +199,13 @@ public byte R
private static void OnRChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
{
ColorCanvas colorCanvas = o as ColorCanvas;
- if( colorCanvas != null )
+ if (colorCanvas != null)
colorCanvas.OnRChanged( ( byte )e.OldValue, ( byte )e.NewValue );
}
protected virtual void OnRChanged( byte oldValue, byte newValue )
{
- if( !_surpressPropertyChanged )
+ if (!_surpressPropertyChanged)
UpdateSelectedColor();
}
@@ -166,13 +229,13 @@ public byte G
private static void OnGChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
{
ColorCanvas colorCanvas = o as ColorCanvas;
- if( colorCanvas != null )
+ if (colorCanvas != null)
colorCanvas.OnGChanged( ( byte )e.OldValue, ( byte )e.NewValue );
}
protected virtual void OnGChanged( byte oldValue, byte newValue )
{
- if( !_surpressPropertyChanged )
+ if (!_surpressPropertyChanged)
UpdateSelectedColor();
}
@@ -196,13 +259,13 @@ public byte B
private static void OnBChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
{
ColorCanvas colorCanvas = o as ColorCanvas;
- if( colorCanvas != null )
+ if (colorCanvas != null)
colorCanvas.OnBChanged( ( byte )e.OldValue, ( byte )e.NewValue );
}
protected virtual void OnBChanged( byte oldValue, byte newValue )
{
- if( !_surpressPropertyChanged )
+ if (!_surpressPropertyChanged)
UpdateSelectedColor();
}
@@ -228,7 +291,7 @@ public string HexadecimalString
private static void OnHexadecimalStringChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
{
ColorCanvas colorCanvas = o as ColorCanvas;
- if( colorCanvas != null )
+ if (colorCanvas != null)
colorCanvas.OnHexadecimalStringChanged( ( string )e.OldValue, ( string )e.NewValue );
}
@@ -236,12 +299,12 @@ protected virtual void OnHexadecimalStringChanged( string oldValue, string newVa
{
string newColorString = GetFormatedColorString( newValue );
string currentColorString = GetFormatedColorString( SelectedColor );
- if( !currentColorString.Equals( newColorString ) )
+ if (!currentColorString.Equals( newColorString ))
{
Color? col = null;
- if( !string.IsNullOrEmpty( newColorString ) )
+ if (!string.IsNullOrEmpty( newColorString ))
{
- col = ( Color )ColorConverter.ConvertFromString( newColorString );
+ col = ( Color )ColorConverter.ConvertFromString( newColorString );
}
UpdateSelectedColor( col );
}
@@ -252,7 +315,7 @@ protected virtual void OnHexadecimalStringChanged( string oldValue, string newVa
private static object OnCoerceHexadecimalString( DependencyObject d, object basevalue )
{
var colorCanvas = ( ColorCanvas )d;
- if( colorCanvas == null )
+ if (colorCanvas == null)
return basevalue;
return colorCanvas.OnCoerceHexadecimalString( basevalue );
@@ -265,11 +328,11 @@ private object OnCoerceHexadecimalString( object newValue )
try
{
- if( !string.IsNullOrEmpty( retValue ) )
+ if (!string.IsNullOrEmpty( retValue ))
{
int outValue;
// User has entered an hexadecimal value (without the "#" character)... add it.
- if( Int32.TryParse( retValue, System.Globalization.NumberStyles.HexNumber, null, out outValue ) )
+ if (Int32.TryParse( retValue, System.Globalization.NumberStyles.HexNumber, null, out outValue ))
{
retValue = "#" + retValue;
}
@@ -289,7 +352,8 @@ private object OnCoerceHexadecimalString( object newValue )
#region UsingAlphaChannel
- public static readonly DependencyProperty UsingAlphaChannelProperty = DependencyProperty.Register( "UsingAlphaChannel", typeof( bool ), typeof( ColorCanvas ), new FrameworkPropertyMetadata( true, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, new PropertyChangedCallback( OnUsingAlphaChannelPropertyChanged ) ) );
+ public static readonly DependencyProperty UsingAlphaChannelProperty = DependencyProperty.Register( "UsingAlphaChannel", typeof( bool ),
+ typeof( ColorCanvas ), new FrameworkPropertyMetadata( true, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, new PropertyChangedCallback( OnUsingAlphaChannelPropertyChanged ) ) );
public bool UsingAlphaChannel
{
get
@@ -305,7 +369,7 @@ public bool UsingAlphaChannel
private static void OnUsingAlphaChannelPropertyChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
{
ColorCanvas colorCanvas = o as ColorCanvas;
- if( colorCanvas != null )
+ if (colorCanvas != null)
colorCanvas.OnUsingAlphaChannelChanged();
}
@@ -327,6 +391,7 @@ static ColorCanvas()
public ColorCanvas()
{
+ Mouse.AddPreviewMouseDownOutsideCapturedElementHandler( this, OnPreviewMouseDownOutsideCapturedElement );
}
#endregion //Constructors
@@ -337,7 +402,7 @@ public override void OnApplyTemplate()
{
base.OnApplyTemplate();
- if( _colorShadingCanvas != null )
+ if (_colorShadingCanvas != null)
{
_colorShadingCanvas.MouseLeftButtonDown -= ColorShadingCanvas_MouseLeftButtonDown;
_colorShadingCanvas.MouseLeftButtonUp -= ColorShadingCanvas_MouseLeftButtonUp;
@@ -347,7 +412,7 @@ public override void OnApplyTemplate()
_colorShadingCanvas = GetTemplateChild( PART_ColorShadingCanvas ) as Canvas;
- if( _colorShadingCanvas != null )
+ if (_colorShadingCanvas != null)
{
_colorShadingCanvas.MouseLeftButtonDown += ColorShadingCanvas_MouseLeftButtonDown;
_colorShadingCanvas.MouseLeftButtonUp += ColorShadingCanvas_MouseLeftButtonUp;
@@ -357,25 +422,44 @@ public override void OnApplyTemplate()
_colorShadeSelector = GetTemplateChild( PART_ColorShadeSelector ) as Canvas;
- if( _colorShadeSelector != null )
+ if (_colorShadeSelector != null)
_colorShadeSelector.RenderTransform = _colorShadeSelectorTransform;
- if( _spectrumSlider != null )
- _spectrumSlider.ValueChanged -= SpectrumSlider_ValueChanged;
-
_spectrumSlider = GetTemplateChild( PART_SpectrumSlider ) as ColorSpectrumSlider;
- if( _spectrumSlider != null )
+ if (_spectrumSlider != null)
_spectrumSlider.ValueChanged += SpectrumSlider_ValueChanged;
- if( _hexadecimalTextBox != null )
+ if (_hexadecimalTextBox != null)
_hexadecimalTextBox.LostFocus -= new RoutedEventHandler( HexadecimalTextBox_LostFocus );
_hexadecimalTextBox = GetTemplateChild( PART_HexadecimalTextBox ) as TextBox;
- if( _hexadecimalTextBox != null )
+ if (_hexadecimalTextBox != null)
_hexadecimalTextBox.LostFocus += new RoutedEventHandler( HexadecimalTextBox_LostFocus );
+
+ #region IUEditor custom button
+ // IUEditor added
+ _nullColorButton = GetTemplateChild( PART_NullColorButton ) as Button;
+
+ if (_nullColorButton != null)
+ _nullColorButton.Click += NullColorButton_Click; ;
+
+ _spoidButton = GetTemplateChild( PART_SpoidButton ) as Button;
+ if (_spoidButton != null)
+ {
+ _spoidButton.Click += SpoidButton_Click;
+ }
+ #endregion
+
+ _alphaSlider = GetTemplateChild( PART_AlphaSlider ) as AlphaSpectrumSlider;
+ if (_alphaSlider != null)
+ _alphaSlider.ValueChanged += AlphaSlider_ValueChanged;
+
+
+
+
UpdateRGBValues( SelectedColor );
UpdateColorShadeSelectorPosition( SelectedColor );
@@ -383,15 +467,17 @@ public override void OnApplyTemplate()
SetHexadecimalTextBoxTextProperty( GetFormatedColorString( SelectedColor ) );
}
+
+
protected override void OnKeyDown( KeyEventArgs e )
{
base.OnKeyDown( e );
//hitting enter on textbox will update Hexadecimal string
- if( e.Key == Key.Enter && e.OriginalSource is TextBox )
+ if (e.Key == Key.Enter && e.OriginalSource is TextBox)
{
TextBox textBox = ( TextBox )e.OriginalSource;
- if( textBox.Name == PART_HexadecimalTextBox )
+ if (textBox.Name == PART_HexadecimalTextBox)
SetHexadecimalStringProperty( textBox.Text, true );
}
}
@@ -405,7 +491,7 @@ protected override void OnKeyDown( KeyEventArgs e )
void ColorShadingCanvas_MouseLeftButtonDown( object sender, MouseButtonEventArgs e )
{
- if( _colorShadingCanvas != null )
+ if (_colorShadingCanvas != null)
{
Point p = e.GetPosition( _colorShadingCanvas );
UpdateColorShadeSelectorPositionAndCalculateColor( p, true );
@@ -417,7 +503,7 @@ void ColorShadingCanvas_MouseLeftButtonDown( object sender, MouseButtonEventArgs
void ColorShadingCanvas_MouseLeftButtonUp( object sender, MouseButtonEventArgs e )
{
- if( _colorShadingCanvas != null )
+ if (_colorShadingCanvas != null)
{
_colorShadingCanvas.ReleaseMouseCapture();
}
@@ -425,9 +511,9 @@ void ColorShadingCanvas_MouseLeftButtonUp( object sender, MouseButtonEventArgs e
void ColorShadingCanvas_MouseMove( object sender, MouseEventArgs e )
{
- if( _colorShadingCanvas != null )
+ if (_colorShadingCanvas != null)
{
- if( e.LeftButton == MouseButtonState.Pressed )
+ if (e.LeftButton == MouseButtonState.Pressed)
{
Point p = e.GetPosition( _colorShadingCanvas );
UpdateColorShadeSelectorPositionAndCalculateColor( p, true );
@@ -438,12 +524,12 @@ void ColorShadingCanvas_MouseMove( object sender, MouseEventArgs e )
void ColorShadingCanvas_SizeChanged( object sender, SizeChangedEventArgs e )
{
- if( _currentColorPosition != null )
+ if (_currentColorPosition != null)
{
Point _newPoint = new Point
{
- X = ( ( Point )_currentColorPosition ).X * e.NewSize.Width,
- Y = ( ( Point )_currentColorPosition ).Y * e.NewSize.Height
+ X = (( Point )_currentColorPosition).X * e.NewSize.Width,
+ Y = (( Point )_currentColorPosition).Y * e.NewSize.Height
};
UpdateColorShadeSelectorPositionAndCalculateColor( _newPoint, false );
@@ -452,18 +538,82 @@ void ColorShadingCanvas_SizeChanged( object sender, SizeChangedEventArgs e )
void SpectrumSlider_ValueChanged( object sender, RoutedPropertyChangedEventArgs e )
{
- if( (_currentColorPosition != null) && (this.SelectedColor != null) )
+ if ((_currentColorPosition != null) && (this.SelectedColor != null))
{
CalculateColor( ( Point )_currentColorPosition );
}
}
+ private void AlphaSlider_ValueChanged( object sender, RoutedPropertyChangedEventArgs e )
+ {
+ if ((_currentColorPosition != null) && (this.SelectedColor != null))
+ {
+ CalculateColor( ( Point )_currentColorPosition );
+ }
+ }
+
+
void HexadecimalTextBox_LostFocus( object sender, RoutedEventArgs e )
{
TextBox textbox = sender as TextBox;
SetHexadecimalStringProperty( textbox.Text, true );
}
+
+
+ #region IUEditor
+
+ private void NullColorButton_Click( object sender, RoutedEventArgs e )
+ {
+ SetColor( null );
+ }
+
+ public static readonly DependencyProperty IsActivatedSpoidProperty = DependencyProperty.Register( "IsActivatedSpoid", typeof( bool ), typeof( ColorCanvas ),
+ new FrameworkPropertyMetadata( false, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault ) );
+ public bool IsActivatedSpoid
+ {
+ get
+ {
+ return ( bool )GetValue( IsActivatedSpoidProperty );
+ }
+ set
+ {
+ SetValue( IsActivatedSpoidProperty, value );
+ }
+ }
+
+
+ private void SpoidButton_Click( object sender, RoutedEventArgs e )
+ {
+ IsActivatedSpoid = true;
+ CaptureMouse();
+ Mouse.OverrideCursor = new Cursor( new System.IO.MemoryStream( Properties.Resources.ColorPickerCursor ) );
+ }
+
+ private bool TryAndSetSpoidColorFromPoint( Point point )
+ {
+ if (IsActivatedSpoid)
+ {
+ Point pointToScreen = PointToScreen( point );
+
+ var color = ColorSpoid.GetPixel( pointToScreen );
+ SetColor( color );
+ ReleaseMouseCapture();
+ Mouse.OverrideCursor = null;
+ return true;
+ }
+ return false;
+ }
+
+ private void OnPreviewMouseDownOutsideCapturedElement( object sender, MouseButtonEventArgs e )
+ {
+ e.Handled = TryAndSetSpoidColorFromPoint( e.GetPosition( this ) );
+ }
+
+
+
+ #endregion
+
#endregion //Event Handlers
#region Events
@@ -487,24 +637,27 @@ public event RoutedPropertyChangedEventHandler SelectedColorChanged
private void UpdateSelectedColor()
{
- SelectedColor = Color.FromArgb( A, R, G, B );
+ Color updatedColor = Color.FromRgb( R, G, B );
+ updatedColor.ScA = ( float )(DecA / 100);
+ SelectedColor = updatedColor;
}
private void UpdateSelectedColor( Color? color )
{
- SelectedColor = ( ( color != null ) && color.HasValue )
- ? (Color?)Color.FromArgb( color.Value.A, color.Value.R, color.Value.G, color.Value.B )
+ SelectedColor = ((color != null) && color.HasValue)
+ ? ( Color? )Color.FromArgb( color.Value.A, color.Value.R, color.Value.G, color.Value.B )
: null;
}
private void UpdateRGBValues( Color? color )
{
- if( ( color == null ) || !color.HasValue )
+ if ((color == null) || !color.HasValue)
return;
_surpressPropertyChanged = true;
A = color.Value.A;
+ DecA = ( int )(color.Value.ScA * 100);
R = color.Value.R;
G = color.Value.G;
B = color.Value.B;
@@ -514,58 +667,64 @@ private void UpdateRGBValues( Color? color )
private void UpdateColorShadeSelectorPositionAndCalculateColor( Point p, bool calculateColor )
{
- if( (_colorShadingCanvas == null) || ( _colorShadeSelector == null) )
+ if ((_colorShadingCanvas == null) || (_colorShadeSelector == null))
return;
- if( p.Y < 0 )
+ if (p.Y < 0)
p.Y = 0;
- if( p.X < 0 )
+ if (p.X < 0)
p.X = 0;
- if( p.X > _colorShadingCanvas.ActualWidth )
+ if (p.X > _colorShadingCanvas.ActualWidth)
p.X = _colorShadingCanvas.ActualWidth;
- if( p.Y > _colorShadingCanvas.ActualHeight )
+ if (p.Y > _colorShadingCanvas.ActualHeight)
p.Y = _colorShadingCanvas.ActualHeight;
- _colorShadeSelectorTransform.X = p.X - ( _colorShadeSelector.Width / 2 );
- _colorShadeSelectorTransform.Y = p.Y - ( _colorShadeSelector.Height / 2 );
+ _colorShadeSelectorTransform.X = p.X - (_colorShadeSelector.Width / 2);
+ _colorShadeSelectorTransform.Y = p.Y - (_colorShadeSelector.Height / 2);
p.X = p.X / _colorShadingCanvas.ActualWidth;
p.Y = p.Y / _colorShadingCanvas.ActualHeight;
_currentColorPosition = p;
- if( calculateColor )
+ if (calculateColor)
CalculateColor( p );
}
private void UpdateColorShadeSelectorPosition( Color? color )
{
- if( (_spectrumSlider == null) || (_colorShadingCanvas == null) || (color == null) || !color.HasValue)
+ if ((_spectrumSlider == null) || (_colorShadingCanvas == null) || (color == null) || !color.HasValue
+ || (_alphaSlider == null))
return;
_currentColorPosition = null;
var hsv = ColorUtilities.ConvertRgbToHsv( color.Value.R, color.Value.G, color.Value.B );
- if( _updateSpectrumSliderValue )
+ if (_updateSpectrumSliderValue)
{
_spectrumSlider.Value = 360 - hsv.H;
}
+ if (_updateAlphaSliderColor)
+ {
+ _alphaSlider.SelectedColor = color;
+ }
+
Point p = new Point( hsv.S, 1 - hsv.V );
_currentColorPosition = p;
- _colorShadeSelectorTransform.X = ( p.X * _colorShadingCanvas.Width ) - 5;
- _colorShadeSelectorTransform.Y = ( p.Y * _colorShadingCanvas.Height ) - 5;
+ _colorShadeSelectorTransform.X = (p.X * _colorShadingCanvas.Width) - 5;
+ _colorShadeSelectorTransform.Y = (p.Y * _colorShadingCanvas.Height) - 5;
}
private void CalculateColor( Point p )
{
- if( _spectrumSlider == null )
+ if (_spectrumSlider == null)
return;
HsvColor hsv = new HsvColor( 360 - _spectrumSlider.Value, 1, 1 )
@@ -574,36 +733,48 @@ private void CalculateColor( Point p )
V = 1 - p.Y
};
var currentColor = ColorUtilities.ConvertHsvToRgb( hsv.H, hsv.S, hsv.V );
- currentColor.A = A;
- _updateSpectrumSliderValue = false;
- SelectedColor = currentColor;
- _updateSpectrumSliderValue = true;
+
+ // alpha update
+ var alpha = _alphaSlider != null ? _alphaSlider.Value / 100 : DecA / 100;
+ currentColor.ScA = ( float )alpha;
+
+ SetColor( currentColor );
+ }
+
+ private void SetColor( Color? color )
+ {
+ _updateAlphaSliderColor = false;
+ SelectedColor = color;
+ _updateAlphaSliderColor = true;
SetHexadecimalStringProperty( GetFormatedColorString( SelectedColor ), false );
- }
-
+ }
+
private string GetFormatedColorString( Color? colorToFormat )
{
- if( ( colorToFormat == null ) || !colorToFormat.HasValue )
+ if ((colorToFormat == null) || !colorToFormat.HasValue)
return string.Empty;
- return ColorUtilities.FormatColorString( colorToFormat.ToString(), UsingAlphaChannel );
+
+ ///@note
+ // do not use alpha string in IUEditor
+ return ColorUtilities.FormatColorString( colorToFormat.ToString(), false );
}
private string GetFormatedColorString( string stringToFormat )
{
- return ColorUtilities.FormatColorString( stringToFormat, UsingAlphaChannel );
+ return ColorUtilities.FormatColorString( stringToFormat, false );
}
private void SetHexadecimalStringProperty( string newValue, bool modifyFromUI )
{
- if( modifyFromUI )
+ if (modifyFromUI)
{
try
{
- if( !string.IsNullOrEmpty( newValue ) )
+ if (!string.IsNullOrEmpty( newValue ))
{
int outValue;
// User has entered an hexadecimal value (without the "#" character)... add it.
- if( Int32.TryParse( newValue, System.Globalization.NumberStyles.HexNumber, null, out outValue ) )
+ if (Int32.TryParse( newValue, System.Globalization.NumberStyles.HexNumber, null, out outValue ))
{
newValue = "#" + newValue;
}
@@ -624,9 +795,10 @@ private void SetHexadecimalStringProperty( string newValue, bool modifyFromUI )
}
}
+
private void SetHexadecimalTextBoxTextProperty( string newValue )
{
- if( _hexadecimalTextBox != null )
+ if (_hexadecimalTextBox != null)
_hexadecimalTextBox.Text = newValue;
}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Implementation/ColorSpoid.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Implementation/ColorSpoid.cs
new file mode 100644
index 000000000..dc80025d4
--- /dev/null
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Implementation/ColorSpoid.cs
@@ -0,0 +1,27 @@
+using System.Drawing;
+
+namespace Xceed.Wpf.Toolkit
+{
+ class ColorSpoid
+ {
+ public static System.Windows.Media.Color GetPixel( System.Windows.Point point )
+ {
+ Point position = new Point( ( int )point.X, ( int )point.Y );
+ using (var bitmap = new Bitmap( 1, 1 ))
+ {
+ using (var graphics = Graphics.FromImage( bitmap ))
+ {
+ graphics.CopyFromScreen( position, new Point( 0, 0 ), new Size( 1, 1 ) );
+ }
+
+ var color = bitmap.GetPixel( 0, 0 );
+
+ // drawing color to media color
+ System.Windows.Media.Color convertedColor = System.Windows.Media.Color.FromArgb(
+ color.A, color.R, color.G, color.B );
+ return convertedColor;
+ }
+ }
+
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Themes/Aero2.NormalColor.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Themes/Aero2.NormalColor.xaml
index e0261713b..7082675e5 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Themes/Aero2.NormalColor.xaml
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Themes/Aero2.NormalColor.xaml
@@ -1,472 +1,474 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ MinWidth="180"
+ Margin="0,10,0,0"
+ BorderThickness="1" ClipToBounds="True">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Themes/Generic.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Themes/Generic.xaml
index caf671697..d20867c01 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Themes/Generic.xaml
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorCanvas/Themes/Generic.xaml
@@ -1,613 +1,576 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Implementation/ColorItem.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Implementation/ColorItem.cs
index 883ef47e9..0926207fe 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Implementation/ColorItem.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Implementation/ColorItem.cs
@@ -1,53 +1,53 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System.Windows.Media;
-
-namespace Xceed.Wpf.Toolkit
-{
- public class ColorItem
- {
- public Color? Color
- {
- get;
- set;
- }
- public string Name
- {
- get;
- set;
- }
-
- public ColorItem( Color? color, string name )
- {
- Color = color;
- Name = name;
- }
-
- public override bool Equals(object obj)
- {
- var ci = obj as ColorItem;
- if (ci == null)
- return false;
- return ( ci.Color.Equals( Color ) && ci.Name.Equals( Name ) );
- }
-
- public override int GetHashCode()
- {
- return this.Color.GetHashCode() ^ this.Name.GetHashCode();
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System.Windows.Media;
+
+namespace Xceed.Wpf.Toolkit
+{
+ public class ColorItem
+ {
+ public Color? Color
+ {
+ get;
+ set;
+ }
+ public string Name
+ {
+ get;
+ set;
+ }
+
+ public ColorItem( Color? color, string name )
+ {
+ Color = color;
+ Name = name;
+ }
+
+ public override bool Equals(object obj)
+ {
+ var ci = obj as ColorItem;
+ if (ci == null)
+ return false;
+ return ( ci.Color.Equals( Color ) && ci.Name.Equals( Name ) );
+ }
+
+ public override int GetHashCode()
+ {
+ return this.Color.GetHashCode() ^ this.Name.GetHashCode();
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Implementation/ColorPicker.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Implementation/ColorPicker.cs
index 23c0a4698..c06c1a9db 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Implementation/ColorPicker.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Implementation/ColorPicker.cs
@@ -67,7 +67,7 @@ public class ColorPicker : Control
#region AdvancedButtonHeader
- public static readonly DependencyProperty AdvancedButtonHeaderProperty = DependencyProperty.Register( "AdvancedButtonHeader", typeof( string ), typeof( ColorPicker ), new UIPropertyMetadata( "Advanced" ) );
+ public static readonly DependencyProperty AdvancedButtonHeaderProperty = DependencyProperty.Register( "AdvancedButtonHeader", typeof( string ), typeof( ColorPicker ), new UIPropertyMetadata( "Web Colors" ) );
public string AdvancedButtonHeader
{
get
@@ -117,16 +117,16 @@ public ColorSortingMode AvailableColorsSortingMode
private static void OnAvailableColorsSortingModeChanged( DependencyObject d, DependencyPropertyChangedEventArgs e )
{
ColorPicker colorPicker = ( ColorPicker )d;
- if( colorPicker != null )
+ if (colorPicker != null)
colorPicker.OnAvailableColorsSortingModeChanged( ( ColorSortingMode )e.OldValue, ( ColorSortingMode )e.NewValue );
}
private void OnAvailableColorsSortingModeChanged( ColorSortingMode oldValue, ColorSortingMode newValue )
{
- ListCollectionView lcv = ( ListCollectionView )( CollectionViewSource.GetDefaultView( this.AvailableColors ) );
- if( lcv != null )
+ ListCollectionView lcv = ( ListCollectionView )(CollectionViewSource.GetDefaultView( this.AvailableColors ));
+ if (lcv != null)
{
- lcv.CustomSort = ( AvailableColorsSortingMode == ColorSortingMode.HueSaturationBrightness )
+ lcv.CustomSort = (AvailableColorsSortingMode == ColorSortingMode.HueSaturationBrightness)
? new ColorSorter()
: null;
}
@@ -136,7 +136,7 @@ private void OnAvailableColorsSortingModeChanged( ColorSortingMode oldValue, Col
#region AvailableColorsHeader
- public static readonly DependencyProperty AvailableColorsHeaderProperty = DependencyProperty.Register( "AvailableColorsHeader", typeof( string ), typeof( ColorPicker ), new UIPropertyMetadata( "Available Colors" ) );
+ public static readonly DependencyProperty AvailableColorsHeaderProperty = DependencyProperty.Register( "AvailableColorsHeader", typeof( string ), typeof( ColorPicker ), new UIPropertyMetadata( "Colors" ) );
public string AvailableColorsHeader
{
get
@@ -236,14 +236,14 @@ public bool IsOpen
private static void OnIsOpenChanged( DependencyObject d, DependencyPropertyChangedEventArgs e )
{
- ColorPicker colorPicker = (ColorPicker)d;
- if( colorPicker != null )
- colorPicker.OnIsOpenChanged( (bool)e.OldValue, (bool)e.NewValue );
+ ColorPicker colorPicker = ( ColorPicker )d;
+ if (colorPicker != null)
+ colorPicker.OnIsOpenChanged( ( bool )e.OldValue, ( bool )e.NewValue );
}
private void OnIsOpenChanged( bool oldValue, bool newValue )
{
- if( newValue )
+ if (newValue)
{
_initialColor = this.SelectedColor;
}
@@ -256,7 +256,7 @@ private void OnIsOpenChanged( bool oldValue, bool newValue )
#region MaxDropDownWidth
public static readonly DependencyProperty MaxDropDownWidthProperty = DependencyProperty.Register( "MaxDropDownWidth", typeof( double )
- , typeof( ColorPicker ), new UIPropertyMetadata( 214d ) );
+ , typeof( ColorPicker ), new UIPropertyMetadata( 275d ) );
public double MaxDropDownWidth
{
get
@@ -272,7 +272,7 @@ public double MaxDropDownWidth
private static void OnMaxDropDownWidthChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
{
var colorPicker = o as ColorPicker;
- if( colorPicker != null )
+ if (colorPicker != null)
colorPicker.OnMaxDropDownWidthChanged( ( double )e.OldValue, ( double )e.NewValue );
}
@@ -285,7 +285,7 @@ protected virtual void OnMaxDropDownWidthChanged( double oldValue, double newVal
#region RecentColors
- public static readonly DependencyProperty RecentColorsProperty = DependencyProperty.Register( "RecentColors", typeof( ObservableCollection ), typeof( ColorPicker ), new UIPropertyMetadata( null ) );
+ public static readonly DependencyProperty RecentColorsProperty = DependencyProperty.Register( "RecentColors", typeof( ObservableCollection ), typeof( ColorPicker ), new UIPropertyMetadata( new ObservableCollection() ) );
public ObservableCollection RecentColors
{
get
@@ -335,7 +335,7 @@ public Color? SelectedColor
private static void OnSelectedColorPropertyChanged( DependencyObject d, DependencyPropertyChangedEventArgs e )
{
ColorPicker colorPicker = ( ColorPicker )d;
- if( colorPicker != null )
+ if (colorPicker != null)
colorPicker.OnSelectedColorChanged( ( Color? )e.OldValue, ( Color? )e.NewValue );
}
@@ -386,7 +386,7 @@ public bool ShowTabHeaders
#region ShowAvailableColors
- public static readonly DependencyProperty ShowAvailableColorsProperty = DependencyProperty.Register( "ShowAvailableColors", typeof( bool ), typeof( ColorPicker ), new UIPropertyMetadata( true ) );
+ public static readonly DependencyProperty ShowAvailableColorsProperty = DependencyProperty.Register( "ShowAvailableColors", typeof( bool ), typeof( ColorPicker ), new UIPropertyMetadata( false ) );
public bool ShowAvailableColors
{
get
@@ -403,7 +403,7 @@ public bool ShowAvailableColors
#region ShowRecentColors
- public static readonly DependencyProperty ShowRecentColorsProperty = DependencyProperty.Register( "ShowRecentColors", typeof( bool ), typeof( ColorPicker ), new UIPropertyMetadata( false ) );
+ public static readonly DependencyProperty ShowRecentColorsProperty = DependencyProperty.Register( "ShowRecentColors", typeof( bool ), typeof( ColorPicker ), new UIPropertyMetadata( true ) );
public bool ShowRecentColors
{
get
@@ -454,7 +454,7 @@ public bool ShowDropDownButton
#region StandardButtonHeader
- public static readonly DependencyProperty StandardButtonHeaderProperty = DependencyProperty.Register( "StandardButtonHeader", typeof( string ), typeof( ColorPicker ), new UIPropertyMetadata( "Standard" ) );
+ public static readonly DependencyProperty StandardButtonHeaderProperty = DependencyProperty.Register( "StandardButtonHeader", typeof( string ), typeof( ColorPicker ), new UIPropertyMetadata( "Color" ) );
public string StandardButtonHeader
{
get
@@ -521,7 +521,7 @@ public bool UsingAlphaChannel
private static void OnUsingAlphaChannelPropertyChanged( DependencyObject d, DependencyPropertyChangedEventArgs e )
{
ColorPicker colorPicker = ( ColorPicker )d;
- if( colorPicker != null )
+ if (colorPicker != null)
colorPicker.OnUsingAlphaChannelChanged();
}
@@ -532,6 +532,23 @@ private void OnUsingAlphaChannelChanged()
#endregion //UsingAlphaChannel
+ #region IsActivatedSpoid / IUEditor
+ public static readonly DependencyProperty IsActivatedSpoidProperty = DependencyProperty.Register( "IsActivatedSpoid", typeof( bool ), typeof( ColorPicker ),
+ new FrameworkPropertyMetadata( false, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault ) );
+ public bool IsActivatedSpoid
+ {
+ get
+ {
+ return ( bool )GetValue( IsActivatedSpoidProperty );
+ }
+ set
+ {
+ SetValue( IsActivatedSpoidProperty, value );
+ }
+ }
+
+ #endregion
+
#endregion //Properties
#region Constructors
@@ -543,13 +560,13 @@ static ColorPicker()
public ColorPicker()
{
-
+ /* IUEditor- shared recent color
#if VS2008
this.RecentColors = new ObservableCollection();
#else
- this.SetCurrentValue( ColorPicker.RecentColorsProperty, new ObservableCollection() );
+ this.SetCurrentValue(ColorPicker.RecentColorsProperty, new ObservableCollection());
#endif
-
+*/
Keyboard.AddKeyDownHandler( this, OnKeyDown );
Mouse.AddPreviewMouseDownOutsideCapturedElementHandler( this, OnMouseDownOutsideCapturedElement );
}
@@ -562,43 +579,54 @@ public override void OnApplyTemplate()
{
base.OnApplyTemplate();
- if( _availableColors != null )
+ if (_availableColors != null)
_availableColors.SelectionChanged -= Color_SelectionChanged;
_availableColors = GetTemplateChild( PART_AvailableColors ) as ListBox;
- if( _availableColors != null )
+ if (_availableColors != null)
_availableColors.SelectionChanged += Color_SelectionChanged;
- if( _standardColors != null )
+ if (_standardColors != null)
_standardColors.SelectionChanged -= Color_SelectionChanged;
_standardColors = GetTemplateChild( PART_StandardColors ) as ListBox;
- if( _standardColors != null )
+ if (_standardColors != null)
_standardColors.SelectionChanged += Color_SelectionChanged;
- if( _recentColors != null )
+ if (_recentColors != null)
_recentColors.SelectionChanged -= Color_SelectionChanged;
_recentColors = GetTemplateChild( PART_RecentColors ) as ListBox;
- if( _recentColors != null )
+ if (_recentColors != null)
_recentColors.SelectionChanged += Color_SelectionChanged;
- if( _popup != null )
+ if (_popup != null)
+ {
_popup.Opened -= Popup_Opened;
+ _popup.Opened -= Popup_Closed;
+ }
_popup = GetTemplateChild( PART_ColorPickerPalettePopup ) as Popup;
- if( _popup != null )
+ if (_popup != null)
+ {
_popup.Opened += Popup_Opened;
+ _popup.Closed += Popup_Closed;
+ }
_toggleButton = this.Template.FindName( PART_ColorPickerToggleButton, this ) as ToggleButton;
}
+ private void Popup_Closed( object sender, EventArgs e )
+ {
+ // do nothing for debugging
+ }
+
protected override void OnMouseUp( MouseButtonEventArgs e )
{
base.OnMouseUp( e );
// Close ColorPicker on MouseUp to prevent action of MouseUp on controls behind the ColorPicker.
- if( _selectionChanged )
+ if (_selectionChanged)
{
CloseColorPicker( true );
_selectionChanged = false;
@@ -606,15 +634,15 @@ protected override void OnMouseUp( MouseButtonEventArgs e )
}
-#endregion //Base Class Overrides
+ #endregion //Base Class Overrides
#region Event Handlers
private void OnKeyDown( object sender, KeyEventArgs e )
{
- if( !IsOpen )
+ if (!IsOpen)
{
- if( KeyboardUtilities.IsKeyModifyingPopupState( e ) )
+ if (KeyboardUtilities.IsKeyModifyingPopupState( e ))
{
IsOpen = true;
// Focus will be on ListBoxItem in Popup_Opened().
@@ -623,12 +651,12 @@ private void OnKeyDown( object sender, KeyEventArgs e )
}
else
{
- if( KeyboardUtilities.IsKeyModifyingPopupState( e ) )
+ if (KeyboardUtilities.IsKeyModifyingPopupState( e ))
{
CloseColorPicker( true );
e.Handled = true;
}
- else if( e.Key == Key.Escape )
+ else if (e.Key == Key.Escape)
{
this.SelectedColor = _initialColor;
CloseColorPicker( true );
@@ -639,18 +667,21 @@ private void OnKeyDown( object sender, KeyEventArgs e )
private void OnMouseDownOutsideCapturedElement( object sender, MouseButtonEventArgs e )
{
- CloseColorPicker( true );
+ if (IsActivatedSpoid == false)
+ {
+ CloseColorPicker( true );
+ }
}
private void Color_SelectionChanged( object sender, SelectionChangedEventArgs e )
{
ListBox lb = ( ListBox )sender;
- if( e.AddedItems.Count > 0 )
+ if (e.AddedItems.Count > 0)
{
- var colorItem = ( ColorItem )e.AddedItems[ 0 ];
+ var colorItem = ( ColorItem )e.AddedItems[0];
SelectedColor = colorItem.Color;
- if( !string.IsNullOrEmpty( colorItem.Name ) )
+ if (!string.IsNullOrEmpty( colorItem.Name ))
{
this.SelectedColorText = colorItem.Name;
}
@@ -662,22 +693,22 @@ private void Color_SelectionChanged( object sender, SelectionChangedEventArgs e
private void Popup_Opened( object sender, EventArgs e )
{
- if( ( _availableColors != null ) && ShowAvailableColors )
+ if ((_availableColors != null) && ShowAvailableColors)
{
FocusOnListBoxItem( _availableColors );
}
- else if( ( _standardColors != null ) && ShowStandardColors )
+ else if ((_standardColors != null) && ShowStandardColors)
FocusOnListBoxItem( _standardColors );
- else if( ( _recentColors != null ) && ShowRecentColors )
+ else if ((_recentColors != null) && ShowRecentColors)
FocusOnListBoxItem( _recentColors );
}
private void FocusOnListBoxItem( ListBox listBox )
{
ListBoxItem listBoxItem = ( ListBoxItem )listBox.ItemContainerGenerator.ContainerFromItem( listBox.SelectedItem );
- if( ( listBoxItem == null ) && ( listBox.Items.Count > 0 ) )
- listBoxItem = ( ListBoxItem )listBox.ItemContainerGenerator.ContainerFromItem( listBox.Items[ 0 ] );
- if( listBoxItem != null )
+ if ((listBoxItem == null) && (listBox.Items.Count > 0))
+ listBoxItem = ( ListBoxItem )listBox.ItemContainerGenerator.ContainerFromItem( listBox.Items[0] );
+ if (listBoxItem != null)
listBoxItem.Focus();
}
@@ -742,27 +773,27 @@ public event RoutedEventHandler Closed
private void CloseColorPicker( bool isFocusOnColorPicker )
{
- if( IsOpen )
+ if (IsOpen)
IsOpen = false;
ReleaseMouseCapture();
- if( isFocusOnColorPicker && ( _toggleButton != null) )
+ if (isFocusOnColorPicker && (_toggleButton != null))
_toggleButton.Focus();
this.UpdateRecentColors( new ColorItem( SelectedColor, SelectedColorText ) );
}
private void UpdateRecentColors( ColorItem colorItem )
{
- if( !RecentColors.Contains( colorItem ) )
+ if (!RecentColors.Contains( colorItem ))
RecentColors.Add( colorItem );
- if( RecentColors.Count > 10 ) //don't allow more than ten, maybe make a property that can be set by the user.
+ if (RecentColors.Count > 20) //don't allow more than 20 (10->20 IUEditor) , maybe make a property that can be set by the user.
RecentColors.RemoveAt( 0 );
}
private string GetFormatedColorString( Color? colorToFormat )
{
- if( ( colorToFormat == null ) || !colorToFormat.HasValue )
+ if ((colorToFormat == null) || !colorToFormat.HasValue)
return string.Empty;
return ColorUtilities.FormatColorString( colorToFormat.Value.GetColorName(), UsingAlphaChannel );
@@ -770,17 +801,170 @@ private string GetFormatedColorString( Color? colorToFormat )
private static ObservableCollection CreateStandardColors()
{
- ObservableCollection standardColors = new ObservableCollection();
- standardColors.Add( new ColorItem( Colors.Transparent, "Transparent" ) );
- standardColors.Add( new ColorItem( Colors.White, "White" ) );
- standardColors.Add( new ColorItem( Colors.Gray, "Gray" ) );
- standardColors.Add( new ColorItem( Colors.Black, "Black" ) );
- standardColors.Add( new ColorItem( Colors.Red, "Red" ) );
- standardColors.Add( new ColorItem( Colors.Green, "Green" ) );
- standardColors.Add( new ColorItem( Colors.Blue, "Blue" ) );
- standardColors.Add( new ColorItem( Colors.Yellow, "Yellow" ) );
- standardColors.Add( new ColorItem( Colors.Orange, "Orange" ) );
- standardColors.Add( new ColorItem( Colors.Purple, "Purple" ) );
+ // use standard colors as web colors
+ ObservableCollection standardColors = new ObservableCollection
+ {
+ // IUEditor 2017-10-23, added null color
+ // new ColorItem( null, "No color" ),
+ // new ColorItem(Colors.Transparent, "Transparent"),
+
+ // black 1
+ new ColorItem(Color.FromRgb(248, 249, 250), "Black1"),
+ new ColorItem(Color.FromRgb(241, 243, 245), "Black2"),
+ new ColorItem(Color.FromRgb(233, 236, 239), "Black3"),
+ new ColorItem(Color.FromRgb(226, 226, 230), "Black4"),
+ new ColorItem(Color.FromRgb(206, 212, 218), "Black5"),
+
+ new ColorItem(Color.FromRgb(173, 181, 189), "Black6"),
+ new ColorItem(Color.FromRgb(134, 142, 150), "Black7"),
+ new ColorItem(Color.FromRgb(73, 80, 87), "Black8"),
+ new ColorItem(Color.FromRgb(52, 58, 64), "Black9"),
+ new ColorItem(Color.FromRgb(33, 37, 41), "Black10"),
+
+ // red
+ new ColorItem(Color.FromRgb(255, 245, 245), "Red1"),
+ new ColorItem(Color.FromRgb(255, 227, 227), "Red2"),
+ new ColorItem(Color.FromRgb(255, 201, 201), "Red3"),
+ new ColorItem(Color.FromRgb(255, 168, 168), "Red4"),
+ new ColorItem(Color.FromRgb(255, 135, 135), "Red5"),
+
+ new ColorItem(Color.FromRgb(255, 107, 107), "Red6"),
+ new ColorItem(Color.FromRgb(250, 82, 82), "Red7"),
+ new ColorItem(Color.FromRgb(240, 62, 62), "Red8"),
+ new ColorItem(Color.FromRgb(224, 49, 49), "Red9"),
+ new ColorItem(Color.FromRgb(201, 42, 42), "Red10"),
+
+ // pink
+ new ColorItem(Color.FromRgb(255, 240, 246), "Pink1"),
+ new ColorItem(Color.FromRgb(255, 222, 235), "Pink2"),
+ new ColorItem(Color.FromRgb(252, 194, 215), "Pink3"),
+ new ColorItem(Color.FromRgb(250, 162, 193), "Pink4"),
+ new ColorItem(Color.FromRgb(242, 131, 172), "Pink5"),
+
+ new ColorItem(Color.FromRgb(240, 101, 139), "Pink6"),
+ new ColorItem(Color.FromRgb(230, 73, 128), "Pink7"),
+ new ColorItem(Color.FromRgb(194, 37, 92), "Pink8"),
+ new ColorItem(Color.FromRgb(166, 30, 77), "Pink9"),
+ new ColorItem(Color.FromRgb(160, 30, 77), "Pink10"),
+
+ // purple
+ new ColorItem(Color.FromRgb(248, 240, 252), "Purple1"),
+ new ColorItem(Color.FromRgb(243, 217, 250), "Purple2"),
+ new ColorItem(Color.FromRgb(238, 190, 250), "Purple3"),
+ new ColorItem(Color.FromRgb(229, 153, 247), "Purple4"),
+ new ColorItem(Color.FromRgb(218, 119, 242), "Purple5"),
+
+ new ColorItem(Color.FromRgb(204, 93, 232), "Purple6"),
+ new ColorItem(Color.FromRgb(190, 75, 219), "Purple7"),
+ new ColorItem(Color.FromRgb(174, 62, 201), "Purple8"),
+ new ColorItem(Color.FromRgb(156, 54, 181), "Purple9"),
+ new ColorItem(Color.FromRgb(134, 46, 156), "Purple10"),
+
+ // BlueyPurple
+ new ColorItem(Color.FromRgb(243, 240, 255), "BlueyPurple1"),
+ new ColorItem(Color.FromRgb(229, 219, 255), "BlueyPurple2"),
+ new ColorItem(Color.FromRgb(208, 191, 255), "BlueyPurple3"),
+ new ColorItem(Color.FromRgb(177, 151, 252), "BlueyPurple4"),
+ new ColorItem(Color.FromRgb(151, 117, 250), "BlueyPurple5"),
+
+ new ColorItem(Color.FromRgb(132, 94, 247), "BlueyPurple6"),
+ new ColorItem(Color.FromRgb(121, 80, 242), "BlueyPurple7"),
+ new ColorItem(Color.FromRgb(112, 72, 232), "BlueyPurple8"),
+ new ColorItem(Color.FromRgb(103, 65, 217), "BlueyPurple9"),
+ new ColorItem(Color.FromRgb(95, 61, 196), "BlueyPurple10"),
+
+
+ // WarmBlue
+ new ColorItem(Color.FromRgb(237, 242, 255), "WarmBlue1"),
+ new ColorItem(Color.FromRgb(219, 228, 255), "WarmBlue2"),
+ new ColorItem(Color.FromRgb(186, 200, 255), "WarmBlue3"),
+ new ColorItem(Color.FromRgb(145, 167, 255), "WarmBlue4"),
+ new ColorItem(Color.FromRgb(116, 143, 252), "WarmBlue5"),
+
+ new ColorItem(Color.FromRgb(92, 124, 250), "WarmBlue6"),
+ new ColorItem(Color.FromRgb(76, 110, 245), "WarmBlue7"),
+ new ColorItem(Color.FromRgb(66, 99, 235), "WarmBlue8"),
+ new ColorItem(Color.FromRgb(59, 91, 219), "WarmBlue9"),
+ new ColorItem(Color.FromRgb(54, 79, 199), "WarmBlue10"),
+
+ // WaterBlue
+ new ColorItem(Color.FromRgb(232, 247, 255), "WaterBlue1"),
+ new ColorItem(Color.FromRgb(204, 237, 255), "WaterBlue2"),
+ new ColorItem(Color.FromRgb(163, 218, 255), "WaterBlue3"),
+ new ColorItem(Color.FromRgb(114, 195, 252), "WaterBlue4"),
+ new ColorItem(Color.FromRgb(77, 173, 247), "WaterBlue5"),
+
+ new ColorItem(Color.FromRgb(50, 154, 240), "WaterBlue6"),
+ new ColorItem(Color.FromRgb(34, 138, 230), "WaterBlue7"),
+ new ColorItem(Color.FromRgb(28, 124, 214), "WaterBlue8"),
+ new ColorItem(Color.FromRgb(27, 110, 194), "WaterBlue9"),
+ new ColorItem(Color.FromRgb(24, 98, 171), "WaterBlue10"),
+
+ // DeepAqua
+ new ColorItem(Color.FromRgb(227, 250, 252), "DeepAqua1"),
+ new ColorItem(Color.FromRgb(197, 246, 250), "DeepAqua2"),
+ new ColorItem(Color.FromRgb(153, 233, 242), "DeepAqua3"),
+ new ColorItem(Color.FromRgb(102, 217, 232), "DeepAqua4"),
+ new ColorItem(Color.FromRgb(59, 201, 219), "DeepAqua5"),
+
+ new ColorItem(Color.FromRgb(34, 184, 207), "DeepAqua6"),
+ new ColorItem(Color.FromRgb(21, 170, 191), "DeepAqua7"),
+ new ColorItem(Color.FromRgb(16, 152, 173), "DeepAqua8"),
+ new ColorItem(Color.FromRgb(12, 133, 153), "DeepAqua9"),
+ new ColorItem(Color.FromRgb(11, 114, 133), "DeepAqua10"),
+
+ // JungleGreen
+ new ColorItem(Color.FromRgb(230, 252, 245), "JungleGreen1"),
+ new ColorItem(Color.FromRgb(195, 250, 232), "JungleGreen2"),
+ new ColorItem(Color.FromRgb(150, 242, 215), "JungleGreen3"),
+ new ColorItem(Color.FromRgb(66, 230, 190), "JungleGreen4"),
+ new ColorItem(Color.FromRgb(56, 217, 169), "JungleGreen5"),
+
+ new ColorItem(Color.FromRgb(32, 201, 151), "JungleGreen6"),
+ new ColorItem(Color.FromRgb(18, 184, 134), "JungleGreen7"),
+ new ColorItem(Color.FromRgb(12, 166, 120), "JungleGreen8"),
+ new ColorItem(Color.FromRgb(9, 146, 104), "JungleGreen9"),
+ new ColorItem(Color.FromRgb(8, 127, 91), "JungleGreen10"),
+
+ // Green
+ new ColorItem(Color.FromRgb(235, 251, 238), "Green1"),
+ new ColorItem(Color.FromRgb(211, 249, 216), "Green2"),
+ new ColorItem(Color.FromRgb(178, 242, 187), "Green3"),
+ new ColorItem(Color.FromRgb(140, 233, 154), "Green4"),
+ new ColorItem(Color.FromRgb(105, 219, 124), "Green5"),
+
+ new ColorItem(Color.FromRgb(81, 207, 102), "Green6"),
+ new ColorItem(Color.FromRgb(64, 192, 87), "Green7"),
+ new ColorItem(Color.FromRgb(55, 178, 77), "Green8"),
+ new ColorItem(Color.FromRgb(47, 158, 68), "Green9"),
+ new ColorItem(Color.FromRgb(43, 138, 62), "Green10"),
+
+ // LawnGreen
+ new ColorItem(Color.FromRgb(244, 252, 227), "LawnGreen1"),
+ new ColorItem(Color.FromRgb(233, 250, 200), "LawnGreen2"),
+ new ColorItem(Color.FromRgb(216, 245, 162), "LawnGreen3"),
+ new ColorItem(Color.FromRgb(192, 235, 117), "LawnGreen4"),
+ new ColorItem(Color.FromRgb(169, 227, 75), "LawnGreen5"),
+
+ new ColorItem(Color.FromRgb(148, 215, 45), "LawnGreen6"),
+ new ColorItem(Color.FromRgb(130, 201, 30), "LawnGreen7"),
+ new ColorItem(Color.FromRgb(116, 184, 22), "LawnGreen8"),
+ new ColorItem(Color.FromRgb(102, 168, 15), "LawnGreen9"),
+ new ColorItem(Color.FromRgb(92, 148, 13), "LawnGreen10"),
+
+ // Orange
+ new ColorItem(Color.FromRgb(255, 249, 219), "Orange1"),
+ new ColorItem(Color.FromRgb(255, 243, 191), "Orange2"),
+ new ColorItem(Color.FromRgb(255, 236, 153), "Orange3"),
+ new ColorItem(Color.FromRgb(255, 224, 102), "Orange4"),
+ new ColorItem(Color.FromRgb(255, 212, 59), "Orange5"),
+
+ new ColorItem(Color.FromRgb(252, 196, 25), "Orange6"),
+ new ColorItem(Color.FromRgb(250, 176, 5), "Orange7"),
+ new ColorItem(Color.FromRgb(245, 159, 0), "Orange8"),
+ new ColorItem(Color.FromRgb(240, 140, 0), "Orange9"),
+ new ColorItem(Color.FromRgb(230, 119, 0), "Orange10")
+ };
return standardColors;
}
@@ -788,12 +972,12 @@ private static ObservableCollection CreateAvailableColors()
{
ObservableCollection standardColors = new ObservableCollection();
- foreach( var item in ColorUtilities.KnownColors )
+ foreach (var item in ColorUtilities.KnownColors)
{
- if( !String.Equals( item.Key, "Transparent" ) )
+ if (!String.Equals( item.Key, "Transparent" ))
{
var colorItem = new ColorItem( item.Value, item.Key );
- if( !standardColors.Contains( colorItem ) )
+ if (!standardColors.Contains( colorItem ))
standardColors.Add( colorItem );
}
}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Implementation/ColorSorter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Implementation/ColorSorter.cs
index 30fa8ec55..01ea87ef1 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Implementation/ColorSorter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Implementation/ColorSorter.cs
@@ -1,77 +1,77 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Windows.Media;
-
-namespace Xceed.Wpf.Toolkit
-{
- internal class ColorSorter : IComparer
- {
- public int Compare( object firstItem, object secondItem )
- {
- if( firstItem == null || secondItem == null )
- return -1;
-
- ColorItem colorItem1 = ( ColorItem )firstItem;
- ColorItem colorItem2 = ( ColorItem )secondItem;
-
- if( (colorItem1.Color == null) || !colorItem1.Color.HasValue ||
- (colorItem2.Color == null) || !colorItem2.Color.HasValue )
- return -1;
-
- System.Drawing.Color drawingColor1 = System.Drawing.Color.FromArgb( colorItem1.Color.Value.A, colorItem1.Color.Value.R, colorItem1.Color.Value.G, colorItem1.Color.Value.B );
- System.Drawing.Color drawingColor2 = System.Drawing.Color.FromArgb( colorItem2.Color.Value.A, colorItem2.Color.Value.R, colorItem2.Color.Value.G, colorItem2.Color.Value.B );
-
- // Compare Hue
- double hueColor1 = Math.Round( ( double )drawingColor1.GetHue(), 3 );
- double hueColor2 = Math.Round( ( double )drawingColor2.GetHue(), 3 );
-
- if( hueColor1 > hueColor2 )
- return 1;
- else if( hueColor1 < hueColor2 )
- return -1;
- else
- {
- // Hue is equal, compare Saturation
- double satColor1 = Math.Round( ( double )drawingColor1.GetSaturation(), 3 );
- double satColor2 = Math.Round( ( double )drawingColor2.GetSaturation(), 3 );
-
- if( satColor1 > satColor2 )
- return 1;
- else if( satColor1 < satColor2 )
- return -1;
- else
- {
- // Saturation is equal, compare Brightness
- double brightColor1 = Math.Round( ( double )drawingColor1.GetBrightness(), 3 );
- double brightColor2 = Math.Round( ( double )drawingColor2.GetBrightness(), 3 );
-
- if( brightColor1 > brightColor2 )
- return 1;
- else if( brightColor1 < brightColor2 )
- return -1;
- }
- }
-
- return 0;
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows.Media;
+
+namespace Xceed.Wpf.Toolkit
+{
+ internal class ColorSorter : IComparer
+ {
+ public int Compare( object firstItem, object secondItem )
+ {
+ if( firstItem == null || secondItem == null )
+ return -1;
+
+ ColorItem colorItem1 = ( ColorItem )firstItem;
+ ColorItem colorItem2 = ( ColorItem )secondItem;
+
+ if( (colorItem1.Color == null) || !colorItem1.Color.HasValue ||
+ (colorItem2.Color == null) || !colorItem2.Color.HasValue )
+ return -1;
+
+ System.Drawing.Color drawingColor1 = System.Drawing.Color.FromArgb( colorItem1.Color.Value.A, colorItem1.Color.Value.R, colorItem1.Color.Value.G, colorItem1.Color.Value.B );
+ System.Drawing.Color drawingColor2 = System.Drawing.Color.FromArgb( colorItem2.Color.Value.A, colorItem2.Color.Value.R, colorItem2.Color.Value.G, colorItem2.Color.Value.B );
+
+ // Compare Hue
+ double hueColor1 = Math.Round( ( double )drawingColor1.GetHue(), 3 );
+ double hueColor2 = Math.Round( ( double )drawingColor2.GetHue(), 3 );
+
+ if( hueColor1 > hueColor2 )
+ return 1;
+ else if( hueColor1 < hueColor2 )
+ return -1;
+ else
+ {
+ // Hue is equal, compare Saturation
+ double satColor1 = Math.Round( ( double )drawingColor1.GetSaturation(), 3 );
+ double satColor2 = Math.Round( ( double )drawingColor2.GetSaturation(), 3 );
+
+ if( satColor1 > satColor2 )
+ return 1;
+ else if( satColor1 < satColor2 )
+ return -1;
+ else
+ {
+ // Saturation is equal, compare Brightness
+ double brightColor1 = Math.Round( ( double )drawingColor1.GetBrightness(), 3 );
+ double brightColor2 = Math.Round( ( double )drawingColor2.GetBrightness(), 3 );
+
+ if( brightColor1 > brightColor2 )
+ return 1;
+ else if( brightColor1 < brightColor2 )
+ return -1;
+ }
+ }
+
+ return 0;
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Themes/Aero2.NormalColor.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Themes/Aero2.NormalColor.xaml
index cbea59b80..153eb2b2b 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Themes/Aero2.NormalColor.xaml
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Themes/Aero2.NormalColor.xaml
@@ -1,207 +1,180 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ -->
+
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ BorderBrush="{TemplateBinding BorderBrush}"
+ BorderThickness="1,1,1,0">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Themes/Generic.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Themes/Generic.xaml
index 45a41ad6e..f86dd1911 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Themes/Generic.xaml
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/ColorPicker/Themes/Generic.xaml
@@ -1,247 +1,203 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ -->
+
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ BorderBrush="{TemplateBinding BorderBrush}"
+ BorderThickness="1,1,1,0">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
+
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/CancelRoutedEventArgs.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/CancelRoutedEventArgs.cs
index d58c61e50..6f98714f4 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/CancelRoutedEventArgs.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/CancelRoutedEventArgs.cs
@@ -1,59 +1,59 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit.Core
-{
- public delegate void CancelRoutedEventHandler( object sender, CancelRoutedEventArgs e );
-
- ///
- /// An event data class that allows to inform the sender that the handler wants to cancel
- /// the ongoing action.
- ///
- /// The handler can set the "Cancel" property to false to cancel the action.
- ///
- public class CancelRoutedEventArgs : RoutedEventArgs
- {
- public CancelRoutedEventArgs()
- : base()
- {
- }
-
- public CancelRoutedEventArgs( RoutedEvent routedEvent )
- : base( routedEvent )
- {
- }
-
- public CancelRoutedEventArgs( RoutedEvent routedEvent, object source )
- : base( routedEvent, source )
- {
- }
-
- #region Cancel Property
-
- public bool Cancel
- {
- get;
- set;
- }
-
- #endregion Cancel Property
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit.Core
+{
+ public delegate void CancelRoutedEventHandler( object sender, CancelRoutedEventArgs e );
+
+ ///
+ /// An event data class that allows to inform the sender that the handler wants to cancel
+ /// the ongoing action.
+ ///
+ /// The handler can set the "Cancel" property to false to cancel the action.
+ ///
+ public class CancelRoutedEventArgs : RoutedEventArgs
+ {
+ public CancelRoutedEventArgs()
+ : base()
+ {
+ }
+
+ public CancelRoutedEventArgs( RoutedEvent routedEvent )
+ : base( routedEvent )
+ {
+ }
+
+ public CancelRoutedEventArgs( RoutedEvent routedEvent, object source )
+ : base( routedEvent, source )
+ {
+ }
+
+ #region Cancel Property
+
+ public bool Cancel
+ {
+ get;
+ set;
+ }
+
+ #endregion Cancel Property
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/AditionConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/AditionConverter.cs
index dcd4f140b..d31107e6a 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/AditionConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/AditionConverter.cs
@@ -27,12 +27,14 @@ public class AdditionConverter : IValueConverter
{
public object Convert( object value, Type targetType, object parameter, CultureInfo culture )
{
- if( ( value != null ) && ( parameter != null ) )
+ if ((value != null) && (parameter != null))
{
var firstValue = ( double )value;
var secondValue = double.Parse( parameter as string );
- return firstValue + secondValue;
+ var result = firstValue + secondValue;
+ return result < 0 ? 0d : result;
+
}
return 0d;
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/BorderThicknessToStrokeThicknessConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/BorderThicknessToStrokeThicknessConverter.cs
index cda549e12..2ab99ece4 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/BorderThicknessToStrokeThicknessConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/BorderThicknessToStrokeThicknessConverter.cs
@@ -1,43 +1,43 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Windows;
-using System.Windows.Data;
-
-namespace Xceed.Wpf.Toolkit.Core.Converters
-{
- public class BorderThicknessToStrokeThicknessConverter : IValueConverter
- {
- #region IValueConverter Members
-
- public object Convert( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
- {
- Thickness thickness = ( Thickness )value;
- return ( thickness.Bottom + thickness.Left + thickness.Right + thickness.Top ) / 4;
- }
-
- public object ConvertBack( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
- {
- int? thick = ( int? )value;
- int thickValue = thick.HasValue ? thick.Value : 0;
-
- return new Thickness( thickValue, thickValue, thickValue, thickValue );
- }
-
- #endregion
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Windows;
+using System.Windows.Data;
+
+namespace Xceed.Wpf.Toolkit.Core.Converters
+{
+ public class BorderThicknessToStrokeThicknessConverter : IValueConverter
+ {
+ #region IValueConverter Members
+
+ public object Convert( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
+ {
+ Thickness thickness = ( Thickness )value;
+ return ( thickness.Bottom + thickness.Left + thickness.Right + thickness.Top ) / 4;
+ }
+
+ public object ConvertBack( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
+ {
+ int? thick = ( int? )value;
+ int thickValue = thick.HasValue ? thick.Value : 0;
+
+ return new Thickness( thickValue, thickValue, thickValue, thickValue );
+ }
+
+ #endregion
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/CalculatorMemoryToVisibilityConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/CalculatorMemoryToVisibilityConverter.cs
index 5d8ff3756..f1e1e16ca 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/CalculatorMemoryToVisibilityConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/CalculatorMemoryToVisibilityConverter.cs
@@ -1,35 +1,35 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Windows;
-using System.Windows.Data;
-
-namespace Xceed.Wpf.Toolkit.Core.Converters
-{
- public class CalculatorMemoryToVisibilityConverter : IValueConverter
- {
- public object Convert( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
- {
- return ( decimal )value == decimal.Zero ? Visibility.Hidden : Visibility.Visible;
- }
-
- public object ConvertBack( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
- {
- throw new NotImplementedException();
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Windows;
+using System.Windows.Data;
+
+namespace Xceed.Wpf.Toolkit.Core.Converters
+{
+ public class CalculatorMemoryToVisibilityConverter : IValueConverter
+ {
+ public object Convert( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
+ {
+ return ( decimal )value == decimal.Zero ? Visibility.Hidden : Visibility.Visible;
+ }
+
+ public object ConvertBack( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/CenterTitleConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/CenterTitleConverter.cs
index e1711fe9a..ab771fe2f 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/CenterTitleConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/CenterTitleConverter.cs
@@ -1,59 +1,59 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Windows.Data;
-using System.Globalization;
-using System.Windows;
-using System.Windows.Media;
-using System.Windows.Controls;
-
-namespace Xceed.Wpf.Toolkit.Core.Converters
-{
- public class CenterTitleConverter : IMultiValueConverter
- {
- public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
- {
- // Parameters: DesiredSize, WindowWidth, HeaderColumns
- double titleTextWidth = ((Size)values[0]).Width;
- double windowWidth = (double)values[1];
-
- ColumnDefinitionCollection headerColumns = (ColumnDefinitionCollection)values[2];
- double titleColWidth = headerColumns[2].ActualWidth;
- double buttonsColWidth = headerColumns[3].ActualWidth;
-
-
- // Result (1) Title is Centered across all HeaderColumns
- if ((titleTextWidth + buttonsColWidth * 2) < windowWidth)
- return 1;
-
- // Result (2) Title is Centered in HeaderColumns[2]
- if (titleTextWidth < titleColWidth)
- return 2;
-
- // Result (3) Title is Left-Aligned in HeaderColumns[2]
- return 3;
- }
-
- public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
- {
- throw new NotImplementedException();
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows.Data;
+using System.Globalization;
+using System.Windows;
+using System.Windows.Media;
+using System.Windows.Controls;
+
+namespace Xceed.Wpf.Toolkit.Core.Converters
+{
+ public class CenterTitleConverter : IMultiValueConverter
+ {
+ public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
+ {
+ // Parameters: DesiredSize, WindowWidth, HeaderColumns
+ double titleTextWidth = ((Size)values[0]).Width;
+ double windowWidth = (double)values[1];
+
+ ColumnDefinitionCollection headerColumns = (ColumnDefinitionCollection)values[2];
+ double titleColWidth = headerColumns[2].ActualWidth;
+ double buttonsColWidth = headerColumns[3].ActualWidth;
+
+
+ // Result (1) Title is Centered across all HeaderColumns
+ if ((titleTextWidth + buttonsColWidth * 2) < windowWidth)
+ return 1;
+
+ // Result (2) Title is Centered in HeaderColumns[2]
+ if (titleTextWidth < titleColWidth)
+ return 2;
+
+ // Result (3) Title is Left-Aligned in HeaderColumns[2]
+ return 3;
+ }
+
+ public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/ColorToSolidColorBrushConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/ColorToSolidColorBrushConverter.cs
index efe72b021..e7e7225d6 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/ColorToSolidColorBrushConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/ColorToSolidColorBrushConverter.cs
@@ -1,67 +1,67 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Windows.Data;
-using System.Windows.Media;
-
-namespace Xceed.Wpf.Toolkit.Core.Converters
-{
- public class ColorToSolidColorBrushConverter : IValueConverter
- {
- #region IValueConverter Members
-
- ///
- /// Converts a Color to a SolidColorBrush.
- ///
- /// The Color produced by the binding source.
- /// The type of the binding target property.
- /// The converter parameter to use.
- /// The culture to use in the converter.
- ///
- /// A converted SolidColorBrush. If the method returns null, the valid null value is used.
- ///
- public object Convert( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
- {
- if( value != null )
- return new SolidColorBrush( ( Color )value );
-
- return value;
- }
-
-
- ///
- /// Converts a SolidColorBrush to a Color.
- ///
- /// Currently not used in toolkit, but provided for developer use in their own projects
- /// The SolidColorBrush that is produced by the binding target.
- /// The type to convert to.
- /// The converter parameter to use.
- /// The culture to use in the converter.
- ///
- /// A converted value. If the method returns null, the valid null value is used.
- ///
- public object ConvertBack( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
- {
- if( value != null )
- return ( ( SolidColorBrush )value ).Color;
-
- return value;
- }
-
- #endregion
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Windows.Data;
+using System.Windows.Media;
+
+namespace Xceed.Wpf.Toolkit.Core.Converters
+{
+ public class ColorToSolidColorBrushConverter : IValueConverter
+ {
+ #region IValueConverter Members
+
+ ///
+ /// Converts a Color to a SolidColorBrush.
+ ///
+ /// The Color produced by the binding source.
+ /// The type of the binding target property.
+ /// The converter parameter to use.
+ /// The culture to use in the converter.
+ ///
+ /// A converted SolidColorBrush. If the method returns null, the valid null value is used.
+ ///
+ public object Convert( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
+ {
+ if( value != null )
+ return new SolidColorBrush( ( Color )value );
+
+ return value;
+ }
+
+
+ ///
+ /// Converts a SolidColorBrush to a Color.
+ ///
+ /// Currently not used in toolkit, but provided for developer use in their own projects
+ /// The SolidColorBrush that is produced by the binding target.
+ /// The type to convert to.
+ /// The converter parameter to use.
+ /// The culture to use in the converter.
+ ///
+ /// A converted value. If the method returns null, the valid null value is used.
+ ///
+ public object ConvertBack( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
+ {
+ if( value != null )
+ return ( ( SolidColorBrush )value ).Color;
+
+ return value;
+ }
+
+ #endregion
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/CornerRadiusToDoubleConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/CornerRadiusToDoubleConverter.cs
index 1eb772bcc..098c58be2 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/CornerRadiusToDoubleConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/CornerRadiusToDoubleConverter.cs
@@ -1,48 +1,48 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Windows.Data;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit.Core.Converters
-{
- public class CornerRadiusToDoubleConverter : IValueConverter
- {
- public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- double radius = 0.0;
-
- if (value != null)
- radius = ((CornerRadius)value).TopLeft;
-
- return radius;
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- double radius = 0.0;
-
- if (value != null)
- radius = (double)value;
-
- return new CornerRadius(radius);
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows.Data;
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit.Core.Converters
+{
+ public class CornerRadiusToDoubleConverter : IValueConverter
+ {
+ public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
+ {
+ double radius = 0.0;
+
+ if (value != null)
+ radius = ((CornerRadius)value).TopLeft;
+
+ return radius;
+ }
+
+ public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
+ {
+ double radius = 0.0;
+
+ if (value != null)
+ radius = (double)value;
+
+ return new CornerRadius(radius);
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/HalfConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/HalfConverter.cs
index 390da4cd8..cd0717f5e 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/HalfConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/HalfConverter.cs
@@ -1,43 +1,43 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-using System.Linq;
-using System.Text;
-using System.Windows.Data;
-
-namespace Xceed.Wpf.Toolkit.Core.Converters
-{
- public class HalfConverter : IValueConverter
- {
- public object Convert( object value, Type targetType, object parameter, CultureInfo culture )
- {
- double size = ( double )value;
- double modifier = (parameter != null) ? double.Parse( ( string )parameter ) : 0d;
- if( modifier != 0 )
- return Math.Max(0, size - modifier) / 2;
-
- return ( size / 2 );
- }
-
- public object ConvertBack( object value, Type targetType, object parameter, CultureInfo culture )
- {
- throw new NotImplementedException();
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.Linq;
+using System.Text;
+using System.Windows.Data;
+
+namespace Xceed.Wpf.Toolkit.Core.Converters
+{
+ public class HalfConverter : IValueConverter
+ {
+ public object Convert( object value, Type targetType, object parameter, CultureInfo culture )
+ {
+ double size = ( double )value;
+ double modifier = (parameter != null) ? double.Parse( ( string )parameter ) : 0d;
+ if( modifier != 0 )
+ return Math.Max(0, size - modifier) / 2;
+
+ return ( size / 2 );
+ }
+
+ public object ConvertBack( object value, Type targetType, object parameter, CultureInfo culture )
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/IntToThicknessConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/IntToThicknessConverter.cs
index 8a906ad9a..e1df5ea77 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/IntToThicknessConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/IntToThicknessConverter.cs
@@ -1,48 +1,48 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Windows.Data;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit.Core.Converters
-{
- public class IntToThicknessConverter : IValueConverter
- {
- public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- int thickValue = 0;
- if (value != null)
- thickValue = (int)value;
-
- if (parameter != null)
- {
- if (parameter.ToString().ToUpper() == "LEFT")
- return new Thickness(thickValue, 0, 0, 0);
- }
-
- return new Thickness(thickValue);
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- throw new NotImplementedException();
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows.Data;
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit.Core.Converters
+{
+ public class IntToThicknessConverter : IValueConverter
+ {
+ public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
+ {
+ int thickValue = 0;
+ if (value != null)
+ thickValue = (int)value;
+
+ if (parameter != null)
+ {
+ if (parameter.ToString().ToUpper() == "LEFT")
+ return new Thickness(thickValue, 0, 0, 0);
+ }
+
+ return new Thickness(thickValue);
+ }
+
+ public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/InverseBoolConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/InverseBoolConverter.cs
index 56a6d0c2c..8f2c7de71 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/InverseBoolConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/InverseBoolConverter.cs
@@ -1,38 +1,38 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Windows.Data;
-
-namespace Xceed.Wpf.Toolkit.Core.Converters
-{
- public class InverseBoolConverter : IValueConverter
- {
- #region IValueConverter Members
-
- public object Convert( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
- {
- return !( bool )value;
- }
-
- public object ConvertBack( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
- {
- throw new NotImplementedException();
- }
-
- #endregion
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Windows.Data;
+
+namespace Xceed.Wpf.Toolkit.Core.Converters
+{
+ public class InverseBoolConverter : IValueConverter
+ {
+ #region IValueConverter Members
+
+ public object Convert( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
+ {
+ return !( bool )value;
+ }
+
+ public object ConvertBack( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
+ {
+ throw new NotImplementedException();
+ }
+
+ #endregion
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/NullToBoolConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/NullToBoolConverter.cs
index 75650e124..4316423f4 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/NullToBoolConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/NullToBoolConverter.cs
@@ -1,35 +1,35 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Globalization;
-using System.Windows.Data;
-
-namespace Xceed.Wpf.Toolkit.Core.Converters
-{
- public class NullToBoolConverter : IValueConverter
- {
- public object Convert( object value, Type targetType, object parameter, CultureInfo culture )
- {
- return (value == null);
- }
-
- public object ConvertBack( object value, Type targetType, object parameter, CultureInfo culture )
- {
- throw new NotImplementedException();
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Globalization;
+using System.Windows.Data;
+
+namespace Xceed.Wpf.Toolkit.Core.Converters
+{
+ public class NullToBoolConverter : IValueConverter
+ {
+ public object Convert( object value, Type targetType, object parameter, CultureInfo culture )
+ {
+ return (value == null);
+ }
+
+ public object ConvertBack( object value, Type targetType, object parameter, CultureInfo culture )
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/RoundedValueConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/RoundedValueConverter.cs
index ed3c07f83..61764e41d 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/RoundedValueConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/RoundedValueConverter.cs
@@ -1,65 +1,65 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Globalization;
-using System.Windows;
-using System.Windows.Data;
-
-namespace Xceed.Wpf.Toolkit.Core.Converters
-{
- public class RoundedValueConverter : IValueConverter
- {
- #region Precision Property
-
- public int Precision
- {
- get
- {
- return _precision;
- }
- set
- {
- _precision = value;
- }
- }
-
- private int _precision = 0;
-
- #endregion
-
- public object Convert( object value, Type targetType, object parameter, CultureInfo culture )
- {
- if( value is double )
- {
- return Math.Round( ( double )value, _precision );
- }
- else if( value is Point )
- {
- return new Point( Math.Round( ( ( Point )value ).X, _precision ), Math.Round( ( ( Point )value ).Y, _precision ) );
- }
- else
- {
- return value;
- }
- }
-
- public object ConvertBack( object value, Type targetType, object parameter, CultureInfo culture )
- {
- return value;
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Globalization;
+using System.Windows;
+using System.Windows.Data;
+
+namespace Xceed.Wpf.Toolkit.Core.Converters
+{
+ public class RoundedValueConverter : IValueConverter
+ {
+ #region Precision Property
+
+ public int Precision
+ {
+ get
+ {
+ return _precision;
+ }
+ set
+ {
+ _precision = value;
+ }
+ }
+
+ private int _precision = 0;
+
+ #endregion
+
+ public object Convert( object value, Type targetType, object parameter, CultureInfo culture )
+ {
+ if( value is double )
+ {
+ return Math.Round( ( double )value, _precision );
+ }
+ else if( value is Point )
+ {
+ return new Point( Math.Round( ( ( Point )value ).X, _precision ), Math.Round( ( ( Point )value ).Y, _precision ) );
+ }
+ else
+ {
+ return value;
+ }
+ }
+
+ public object ConvertBack( object value, Type targetType, object parameter, CultureInfo culture )
+ {
+ return value;
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/SolidColorBrushToColorConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/SolidColorBrushToColorConverter.cs
index 86cc37b8d..9c67af76e 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/SolidColorBrushToColorConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/SolidColorBrushToColorConverter.cs
@@ -1,49 +1,49 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Windows.Data;
-using System.Windows.Media;
-
-namespace Xceed.Wpf.Toolkit.Core.Converters
-{
- public class SolidColorBrushToColorConverter : IValueConverter
- {
- #region IValueConverter Members
-
- public object Convert( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
- {
- SolidColorBrush brush = value as SolidColorBrush;
- if( brush != null )
- return brush.Color;
-
- return default( Color? );
- }
-
- public object ConvertBack( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
- {
- if( value != null )
- {
- Color color = ( Color )value;
- return new SolidColorBrush( color );
- }
-
- return default( SolidColorBrush );
- }
-
- #endregion
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Windows.Data;
+using System.Windows.Media;
+
+namespace Xceed.Wpf.Toolkit.Core.Converters
+{
+ public class SolidColorBrushToColorConverter : IValueConverter
+ {
+ #region IValueConverter Members
+
+ public object Convert( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
+ {
+ SolidColorBrush brush = value as SolidColorBrush;
+ if( brush != null )
+ return brush.Color;
+
+ return default( Color? );
+ }
+
+ public object ConvertBack( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture )
+ {
+ if( value != null )
+ {
+ Color color = ( Color )value;
+ return new SolidColorBrush( color );
+ }
+
+ return default( SolidColorBrush );
+ }
+
+ #endregion
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/ThicknessSideRemovalConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/ThicknessSideRemovalConverter.cs
index fdcefa481..17cbe053e 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/ThicknessSideRemovalConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/ThicknessSideRemovalConverter.cs
@@ -1,50 +1,50 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Globalization;
-using System.Windows;
-using System.Windows.Data;
-
-namespace Xceed.Wpf.Toolkit.Core.Converters
-{
- public class ThicknessSideRemovalConverter : IValueConverter
- {
- #region IValueConverter Members
-
- public object Convert( object value, Type targetType, object parameter, CultureInfo culture )
- {
- var thickness = (Thickness)value;
- var sideToRemove = int.Parse( (string)parameter );
- switch( sideToRemove )
- {
- case 0: thickness.Left = 0d; break;
- case 1: thickness.Top = 0d; break;
- case 2: thickness.Right = 0d; break;
- case 3: thickness.Bottom = 0d; break;
- default: throw new InvalidContentException("parameter should be from 0 to 3 to specify the side to remove.");
- }
- return thickness;
- }
-
- public object ConvertBack( object value, Type targetType, object parameter, CultureInfo culture )
- {
- throw new NotImplementedException();
- }
-
- #endregion
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Globalization;
+using System.Windows;
+using System.Windows.Data;
+
+namespace Xceed.Wpf.Toolkit.Core.Converters
+{
+ public class ThicknessSideRemovalConverter : IValueConverter
+ {
+ #region IValueConverter Members
+
+ public object Convert( object value, Type targetType, object parameter, CultureInfo culture )
+ {
+ var thickness = (Thickness)value;
+ var sideToRemove = int.Parse( (string)parameter );
+ switch( sideToRemove )
+ {
+ case 0: thickness.Left = 0d; break;
+ case 1: thickness.Top = 0d; break;
+ case 2: thickness.Right = 0d; break;
+ case 3: thickness.Bottom = 0d; break;
+ default: throw new InvalidContentException("parameter should be from 0 to 3 to specify the side to remove.");
+ }
+ return thickness;
+ }
+
+ public object ConvertBack( object value, Type targetType, object parameter, CultureInfo culture )
+ {
+ throw new NotImplementedException();
+ }
+
+ #endregion
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/ThicknessToDoubleConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/ThicknessToDoubleConverter.cs
index f78807d09..80dfd8c35 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/ThicknessToDoubleConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/ThicknessToDoubleConverter.cs
@@ -1,48 +1,48 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Windows.Data;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit.Core.Converters
-{
- public class ThicknessToDoubleConverter : IValueConverter
- {
- public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- double thickness = 1.0;
-
- if (value != null)
- thickness = ((Thickness)value).Top;
-
- return thickness;
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- double thickness = 1.0;
-
- if (value != null)
- thickness = (double)value;
-
- return new Thickness(thickness);
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows.Data;
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit.Core.Converters
+{
+ public class ThicknessToDoubleConverter : IValueConverter
+ {
+ public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
+ {
+ double thickness = 1.0;
+
+ if (value != null)
+ thickness = ((Thickness)value).Top;
+
+ return thickness;
+ }
+
+ public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
+ {
+ double thickness = 1.0;
+
+ if (value != null)
+ thickness = (double)value;
+
+ return new Thickness(thickness);
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/VisibilityToBoolConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/VisibilityToBoolConverter.cs
index e535f3b09..391f377dd 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/VisibilityToBoolConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/VisibilityToBoolConverter.cs
@@ -1,89 +1,89 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Globalization;
-using System.Windows;
-using System.Windows.Data;
-using Xceed.Wpf.Toolkit.Core;
-
-namespace Xceed.Wpf.Toolkit.Core.Converters
-{
- public class VisibilityToBoolConverter : IValueConverter
- {
- #region Inverted Property
-
- public bool Inverted
- {
- get
- {
- return _inverted;
- }
- set
- {
- _inverted = value;
- }
- }
-
- private bool _inverted; //false
-
- #endregion
-
- #region Not Property
-
- public bool Not
- {
- get
- {
- return _not;
- }
- set
- {
- _not = value;
- }
- }
-
- private bool _not; //false
-
- #endregion
-
- public object Convert( object value, Type targetType, object parameter, CultureInfo culture )
- {
- return this.Inverted ? this.BoolToVisibility( value ) : this.VisibilityToBool( value );
- }
-
- public object ConvertBack( object value, Type targetType, object parameter, CultureInfo culture )
- {
- return this.Inverted ? this.VisibilityToBool( value ) : this.BoolToVisibility( value );
- }
-
- private object VisibilityToBool( object value )
- {
- if( !( value is Visibility ) )
- throw new InvalidOperationException( ErrorMessages.GetMessage( "SuppliedValueWasNotVisibility" ) );
-
- return ( ( ( Visibility )value ) == Visibility.Visible ) ^ Not;
- }
-
- private object BoolToVisibility( object value )
- {
- if( !( value is bool ) )
- throw new InvalidOperationException( ErrorMessages.GetMessage( "SuppliedValueWasNotBool" ) );
-
- return ( ( bool )value ^ Not ) ? Visibility.Visible : Visibility.Collapsed;
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Globalization;
+using System.Windows;
+using System.Windows.Data;
+using Xceed.Wpf.Toolkit.Core;
+
+namespace Xceed.Wpf.Toolkit.Core.Converters
+{
+ public class VisibilityToBoolConverter : IValueConverter
+ {
+ #region Inverted Property
+
+ public bool Inverted
+ {
+ get
+ {
+ return _inverted;
+ }
+ set
+ {
+ _inverted = value;
+ }
+ }
+
+ private bool _inverted; //false
+
+ #endregion
+
+ #region Not Property
+
+ public bool Not
+ {
+ get
+ {
+ return _not;
+ }
+ set
+ {
+ _not = value;
+ }
+ }
+
+ private bool _not; //false
+
+ #endregion
+
+ public object Convert( object value, Type targetType, object parameter, CultureInfo culture )
+ {
+ return this.Inverted ? this.BoolToVisibility( value ) : this.VisibilityToBool( value );
+ }
+
+ public object ConvertBack( object value, Type targetType, object parameter, CultureInfo culture )
+ {
+ return this.Inverted ? this.VisibilityToBool( value ) : this.BoolToVisibility( value );
+ }
+
+ private object VisibilityToBool( object value )
+ {
+ if( !( value is Visibility ) )
+ throw new InvalidOperationException( ErrorMessages.GetMessage( "SuppliedValueWasNotVisibility" ) );
+
+ return ( ( ( Visibility )value ) == Visibility.Visible ) ^ Not;
+ }
+
+ private object BoolToVisibility( object value )
+ {
+ if( !( value is bool ) )
+ throw new InvalidOperationException( ErrorMessages.GetMessage( "SuppliedValueWasNotBool" ) );
+
+ return ( ( bool )value ^ Not ) ? Visibility.Visible : Visibility.Collapsed;
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/WindowContentBorderMarginConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/WindowContentBorderMarginConverter.cs
index e09d4cffc..7cc968786 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/WindowContentBorderMarginConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/WindowContentBorderMarginConverter.cs
@@ -1,67 +1,67 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Windows.Data;
-using System.Globalization;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit.Core.Converters
-{
- ///
- /// Sets the margin for the thumb grip, the top buttons, or for the content border in the WindowControl.
- ///
- public class WindowContentBorderMarginConverter : IMultiValueConverter
- {
- public object Convert( object[] values, Type targetType, object parameter, CultureInfo culture )
- {
- double horizontalContentBorderOffset = ( double )values[ 0 ];
- double verticalContentBorderOffset = ( double )values[ 1 ];
-
- switch( ( string )parameter )
- {
- // Content Border Margin in the WindowControl
- case "0":
- return new Thickness( horizontalContentBorderOffset
- , 0d
- , horizontalContentBorderOffset
- , verticalContentBorderOffset );
- // Thumb Grip Margin in the WindowControl
- case "1":
- return new Thickness( 0d
- , 0d
- , horizontalContentBorderOffset
- , verticalContentBorderOffset );
- // Header Buttons Margin in the WindowControl
- case "2":
- return new Thickness( 0d
- , 0d
- , horizontalContentBorderOffset
- , 0d );
- default:
- throw new NotSupportedException( "'parameter' for WindowContentBorderMarginConverter is not valid." );
- }
- }
-
- public object[] ConvertBack( object value, Type[] targetTypes, object parameter, CultureInfo culture )
- {
- throw new NotImplementedException();
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows.Data;
+using System.Globalization;
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit.Core.Converters
+{
+ ///
+ /// Sets the margin for the thumb grip, the top buttons, or for the content border in the WindowControl.
+ ///
+ public class WindowContentBorderMarginConverter : IMultiValueConverter
+ {
+ public object Convert( object[] values, Type targetType, object parameter, CultureInfo culture )
+ {
+ double horizontalContentBorderOffset = ( double )values[ 0 ];
+ double verticalContentBorderOffset = ( double )values[ 1 ];
+
+ switch( ( string )parameter )
+ {
+ // Content Border Margin in the WindowControl
+ case "0":
+ return new Thickness( horizontalContentBorderOffset
+ , 0d
+ , horizontalContentBorderOffset
+ , verticalContentBorderOffset );
+ // Thumb Grip Margin in the WindowControl
+ case "1":
+ return new Thickness( 0d
+ , 0d
+ , horizontalContentBorderOffset
+ , verticalContentBorderOffset );
+ // Header Buttons Margin in the WindowControl
+ case "2":
+ return new Thickness( 0d
+ , 0d
+ , horizontalContentBorderOffset
+ , 0d );
+ default:
+ throw new NotSupportedException( "'parameter' for WindowContentBorderMarginConverter is not valid." );
+ }
+ }
+
+ public object[] ConvertBack( object value, Type[] targetTypes, object parameter, CultureInfo culture )
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/WindowControlBackgroundConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/WindowControlBackgroundConverter.cs
index 1135f2f3e..1a663c044 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/WindowControlBackgroundConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/WindowControlBackgroundConverter.cs
@@ -1,61 +1,61 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Windows.Data;
-using System.Globalization;
-using System.Windows.Media;
-
-namespace Xceed.Wpf.Toolkit.Core.Converters
-{
- public class WindowControlBackgroundConverter : IMultiValueConverter
- {
- ///
- /// Used in the WindowContainer Template to calculate the resulting background brush
- /// from the WindowBackground (values[0]) and WindowOpacity (values[1]) propreties.
- ///
- ///
- ///
- ///
- ///
- ///
- public object Convert( object[] values, Type targetType, object parameter, CultureInfo culture )
- {
- Brush backgroundColor = ( Brush )values[ 0 ];
- double opacity = ( double )values[ 1 ];
-
- if( backgroundColor != null )
- {
- // Do not override any possible opacity value specifically set by the user.
- // Only use WindowOpacity value if the user did not set an opacity first.
- if( backgroundColor.ReadLocalValue( Brush.OpacityProperty ) == System.Windows.DependencyProperty.UnsetValue )
- {
- backgroundColor = backgroundColor.Clone();
- backgroundColor.Opacity = opacity;
- }
- }
- return backgroundColor;
- }
-
- public object[] ConvertBack( object value, Type[] targetTypes, object parameter, CultureInfo culture )
- {
- throw new NotImplementedException();
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows.Data;
+using System.Globalization;
+using System.Windows.Media;
+
+namespace Xceed.Wpf.Toolkit.Core.Converters
+{
+ public class WindowControlBackgroundConverter : IMultiValueConverter
+ {
+ ///
+ /// Used in the WindowContainer Template to calculate the resulting background brush
+ /// from the WindowBackground (values[0]) and WindowOpacity (values[1]) propreties.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public object Convert( object[] values, Type targetType, object parameter, CultureInfo culture )
+ {
+ Brush backgroundColor = ( Brush )values[ 0 ];
+ double opacity = ( double )values[ 1 ];
+
+ if( backgroundColor != null )
+ {
+ // Do not override any possible opacity value specifically set by the user.
+ // Only use WindowOpacity value if the user did not set an opacity first.
+ if( backgroundColor.ReadLocalValue( Brush.OpacityProperty ) == System.Windows.DependencyProperty.UnsetValue )
+ {
+ backgroundColor = backgroundColor.Clone();
+ backgroundColor.Opacity = opacity;
+ }
+ }
+ return backgroundColor;
+ }
+
+ public object[] ConvertBack( object value, Type[] targetTypes, object parameter, CultureInfo culture )
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/WizardPageButtonVisibilityConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/WizardPageButtonVisibilityConverter.cs
index bfec6ea89..19acf9cec 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/WizardPageButtonVisibilityConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Converters/WizardPageButtonVisibilityConverter.cs
@@ -1,64 +1,64 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Windows;
-using System.Windows.Data;
-
-namespace Xceed.Wpf.Toolkit.Core.Converters
-{
- public class WizardPageButtonVisibilityConverter : IMultiValueConverter
- {
- public object Convert( object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture )
- {
- if( values == null || values.Length != 2 )
- throw new ArgumentException( "Wrong number of arguments for WizardPageButtonVisibilityConverter." );
-
- Visibility wizardVisibility = ( (values[ 0 ] == null) || (values[ 0 ] == DependencyProperty.UnsetValue) )
- ? Visibility.Hidden
- : ( Visibility )values[ 0 ];
-
- WizardPageButtonVisibility wizardPageVisibility = ( (values[ 1 ] == null) || (values[ 1 ] == DependencyProperty.UnsetValue) )
- ? WizardPageButtonVisibility.Hidden
- : ( WizardPageButtonVisibility )values[ 1 ];
-
- Visibility visibility = Visibility.Visible;
-
- switch( wizardPageVisibility )
- {
- case WizardPageButtonVisibility.Inherit:
- visibility = wizardVisibility;
- break;
- case WizardPageButtonVisibility.Collapsed:
- visibility = Visibility.Collapsed;
- break;
- case WizardPageButtonVisibility.Hidden:
- visibility = Visibility.Hidden;
- break;
- case WizardPageButtonVisibility.Visible:
- visibility = Visibility.Visible;
- break;
- }
-
- return visibility;
- }
-
- public object[] ConvertBack( object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture )
- {
- throw new NotImplementedException();
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Windows;
+using System.Windows.Data;
+
+namespace Xceed.Wpf.Toolkit.Core.Converters
+{
+ public class WizardPageButtonVisibilityConverter : IMultiValueConverter
+ {
+ public object Convert( object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture )
+ {
+ if( values == null || values.Length != 2 )
+ throw new ArgumentException( "Wrong number of arguments for WizardPageButtonVisibilityConverter." );
+
+ Visibility wizardVisibility = ( (values[ 0 ] == null) || (values[ 0 ] == DependencyProperty.UnsetValue) )
+ ? Visibility.Hidden
+ : ( Visibility )values[ 0 ];
+
+ WizardPageButtonVisibility wizardPageVisibility = ( (values[ 1 ] == null) || (values[ 1 ] == DependencyProperty.UnsetValue) )
+ ? WizardPageButtonVisibility.Hidden
+ : ( WizardPageButtonVisibility )values[ 1 ];
+
+ Visibility visibility = Visibility.Visible;
+
+ switch( wizardPageVisibility )
+ {
+ case WizardPageButtonVisibility.Inherit:
+ visibility = wizardVisibility;
+ break;
+ case WizardPageButtonVisibility.Collapsed:
+ visibility = Visibility.Collapsed;
+ break;
+ case WizardPageButtonVisibility.Hidden:
+ visibility = Visibility.Hidden;
+ break;
+ case WizardPageButtonVisibility.Visible:
+ visibility = Visibility.Visible;
+ break;
+ }
+
+ return visibility;
+ }
+
+ public object[] ConvertBack( object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture )
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/EditableKeyValuePair.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/EditableKeyValuePair.cs
index ae3aaceb0..39e2e2499 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/EditableKeyValuePair.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/EditableKeyValuePair.cs
@@ -1,96 +1,96 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-
-namespace Xceed.Wpf.Toolkit.Core
-{
- public class EditableKeyValuePair : CustomTypeDescriptor
- {
- #region Members
-
- private PropertyDescriptorCollection _properties;
-
- #endregion
-
- #region Properties
-
- public TKey Key
- {
- get;
- set;
- }
-
- public TValue Value
- {
- get;
- set;
- }
-
- #endregion
-
- #region Constructors
-
- //Necessary for adding new items in CollectionEditor
- public EditableKeyValuePair()
- {
- var propertyList = new List();
-
- var KeyDescriptor = TypeDescriptor.CreateProperty( this.GetType(), "Key", typeof( TKey ) );
- propertyList.Add( KeyDescriptor );
-
- var ValueDescriptor = TypeDescriptor.CreateProperty( this.GetType(), "Value", typeof( TValue ) );
- propertyList.Add( ValueDescriptor );
-
- _properties = new PropertyDescriptorCollection( propertyList.ToArray() );
- }
-
- public EditableKeyValuePair( TKey key, TValue value )
- : this()
- {
- this.Key = key;
- this.Value = value;
- }
-
- #endregion
-
- #region Overrides
-
- public override PropertyDescriptorCollection GetProperties( Attribute[] attributes )
- {
- return this.GetProperties();
- }
-
- public override PropertyDescriptorCollection GetProperties()
- {
- return _properties;
- }
-
- public override object GetPropertyOwner( PropertyDescriptor pd )
- {
- return this;
- }
-
- public override string ToString()
- {
- return "[" + this.Key + "," + this.Value + "]";
- }
-
- #endregion
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+
+namespace Xceed.Wpf.Toolkit.Core
+{
+ public class EditableKeyValuePair : CustomTypeDescriptor
+ {
+ #region Members
+
+ private PropertyDescriptorCollection _properties;
+
+ #endregion
+
+ #region Properties
+
+ public TKey Key
+ {
+ get;
+ set;
+ }
+
+ public TValue Value
+ {
+ get;
+ set;
+ }
+
+ #endregion
+
+ #region Constructors
+
+ //Necessary for adding new items in CollectionEditor
+ public EditableKeyValuePair()
+ {
+ var propertyList = new List();
+
+ var KeyDescriptor = TypeDescriptor.CreateProperty( this.GetType(), "Key", typeof( TKey ) );
+ propertyList.Add( KeyDescriptor );
+
+ var ValueDescriptor = TypeDescriptor.CreateProperty( this.GetType(), "Value", typeof( TValue ) );
+ propertyList.Add( ValueDescriptor );
+
+ _properties = new PropertyDescriptorCollection( propertyList.ToArray() );
+ }
+
+ public EditableKeyValuePair( TKey key, TValue value )
+ : this()
+ {
+ this.Key = key;
+ this.Value = value;
+ }
+
+ #endregion
+
+ #region Overrides
+
+ public override PropertyDescriptorCollection GetProperties( Attribute[] attributes )
+ {
+ return this.GetProperties();
+ }
+
+ public override PropertyDescriptorCollection GetProperties()
+ {
+ return _properties;
+ }
+
+ public override object GetPropertyOwner( PropertyDescriptor pd )
+ {
+ return this;
+ }
+
+ public override string ToString()
+ {
+ return "[" + this.Key + "," + this.Value + "]";
+ }
+
+ #endregion
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/ErrorMessages.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/ErrorMessages.cs
index c44e86f96..159227dd7 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/ErrorMessages.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/ErrorMessages.cs
@@ -1,88 +1,88 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System.Resources;
-
-namespace Xceed.Wpf.Toolkit.Core
-{
- internal static class ErrorMessages
- {
- #region Static Fields
-
-
- public const string EndAngleCannotBeSetDirectlyInSlice = "EndAngleCannotBeSetDirectlyInSlice";
- public const string SliceCannotBeSetDirectlyInEndAngle = "SliceCannotBeSetDirectlyInEndAngle";
- public const string SliceOOR = "SliceOOR";
- public const string AnimationAccelerationRatioOOR = "AnimationAccelerationRatioOOR";
- public const string AnimationDecelerationRatioOOR = "AnimationDecelerationRatioOOR";
- public const string ZoomboxContentMustBeUIElement = "ZoomboxContentMustBeUIElement";
- public const string ViewModeInvalidForSource = "ViewModeInvalidForSource";
- public const string ZoomboxTemplateNeedsContent = "ZoomboxTemplateNeedsContent";
- public const string ZoomboxHasViewFinderButNotDisplay = "ZoomboxHasViewFinderButNotDisplay";
- public const string PositionOnlyAccessibleOnAbsolute = "PositionOnlyAccessibleOnAbsolute";
- public const string ZoomboxViewAlreadyInitialized = "ZoomboxViewAlreadyInitialized";
- public const string ScaleOnlyAccessibleOnAbsolute = "ScaleOnlyAccessibleOnAbsolute";
- public const string RegionOnlyAccessibleOnRegionalView = "RegionOnlyAccessibleOnRegionalView";
- public const string UnableToConvertToZoomboxView = "UnableToConvertToZoomboxView";
- public const string ViewStackCannotBeManipulatedNow = "ViewStackCannotBeManipulatedNow";
-
-
- public const string SuppliedValueWasNotVisibility = "SuppliedValueWasNotVisibility";
- public const string NegativeTimeSpanNotSupported = "NegativeTimeSpanNotSupported";
- public const string NegativeSpeedNotSupported = "NegativeSpeedNotSupported";
- public const string InvalidRatePropertyAccessed = "InvalidRatePropertyAccessed";
-
- public const string AlreadyInColumnCollection = "Value already belongs to another 'ColumnDefinitionCollection'.";
- public const string AlreadyInRowCollection = "Value already belongs to another 'RowDefinitionCollection'.";
- public const string AlreadyInStackDefinition = "Value already belongs to another 'StackDefinitionCollection'.";
- public const string ArrayDestTooShort = "'array' destination not long enough.";
- public const string CollectionDisposed = "Collection was disposed, enumerator operations not valid.";
- public const string CollectionModified = "Collection was modified; enumeration operation may not execute.";
- public const string ColumnValueIsReadOnly = "Cannot modify 'ColumnDefinitionCollection' in read-only state.";
- public const string DefaultAnimatorCantAnimate = "DefaultAnimatorCantAnimate";
- public const string DefaultAnimationRateAnimationRateDefault = "DefaultAnimationRateAnimationRateDefault";
- public const string DefaultAnimatorIterativeAnimationDefault = "DefaultAnimatorIterativeAnimationDefault";
- public const string DestMultidimensional = "Destination is multidimensional. Expected array of rank 1.";
- public const string EnumerationFinished = "Enumeration already finished.";
- public const string EnumerationNotStarted = "Enumeration has not started. Call MoveNext.";
- public const string InvalidDefaultStackLength = "The default stack length must be Auto or an explicit value.";
- public const string MustBeColumnDefinition = "'ColumnDefinitionCollection' must be type 'ColumnDefinition'.";
- public const string MustBeRowDefinition = "'RowDefinitionCollection' must be type 'RowDefinition'.";
- public const string MustBeStackDefinition = "'StackDefinitionCollection' must be type 'StackDefinition'.";
- public const string RowValueIsReadOnly = "Cannot modify 'StackDefinitionCollection' in read-only state.";
- public const string StackValueIsReadOnly = "Cannot modify 'StackDefinitionCollection' in read-only state.";
- public const string UnexpectedType = "Expected type '{0}', got '{1}'.";
-
-
- private static readonly ResourceManager _resourceManager;
-
- #endregion
-
- #region Constructor
-
- static ErrorMessages()
- {
- _resourceManager = new ResourceManager( "Xceed.Wpf.Toolkit.Core.ErrorMessages", typeof( ErrorMessages ).Assembly );
- }
-
- #endregion
-
- public static string GetMessage( string msgId )
- {
- return _resourceManager.GetString( msgId );
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System.Resources;
+
+namespace Xceed.Wpf.Toolkit.Core
+{
+ internal static class ErrorMessages
+ {
+ #region Static Fields
+
+
+ public const string EndAngleCannotBeSetDirectlyInSlice = "EndAngleCannotBeSetDirectlyInSlice";
+ public const string SliceCannotBeSetDirectlyInEndAngle = "SliceCannotBeSetDirectlyInEndAngle";
+ public const string SliceOOR = "SliceOOR";
+ public const string AnimationAccelerationRatioOOR = "AnimationAccelerationRatioOOR";
+ public const string AnimationDecelerationRatioOOR = "AnimationDecelerationRatioOOR";
+ public const string ZoomboxContentMustBeUIElement = "ZoomboxContentMustBeUIElement";
+ public const string ViewModeInvalidForSource = "ViewModeInvalidForSource";
+ public const string ZoomboxTemplateNeedsContent = "ZoomboxTemplateNeedsContent";
+ public const string ZoomboxHasViewFinderButNotDisplay = "ZoomboxHasViewFinderButNotDisplay";
+ public const string PositionOnlyAccessibleOnAbsolute = "PositionOnlyAccessibleOnAbsolute";
+ public const string ZoomboxViewAlreadyInitialized = "ZoomboxViewAlreadyInitialized";
+ public const string ScaleOnlyAccessibleOnAbsolute = "ScaleOnlyAccessibleOnAbsolute";
+ public const string RegionOnlyAccessibleOnRegionalView = "RegionOnlyAccessibleOnRegionalView";
+ public const string UnableToConvertToZoomboxView = "UnableToConvertToZoomboxView";
+ public const string ViewStackCannotBeManipulatedNow = "ViewStackCannotBeManipulatedNow";
+
+
+ public const string SuppliedValueWasNotVisibility = "SuppliedValueWasNotVisibility";
+ public const string NegativeTimeSpanNotSupported = "NegativeTimeSpanNotSupported";
+ public const string NegativeSpeedNotSupported = "NegativeSpeedNotSupported";
+ public const string InvalidRatePropertyAccessed = "InvalidRatePropertyAccessed";
+
+ public const string AlreadyInColumnCollection = "Value already belongs to another 'ColumnDefinitionCollection'.";
+ public const string AlreadyInRowCollection = "Value already belongs to another 'RowDefinitionCollection'.";
+ public const string AlreadyInStackDefinition = "Value already belongs to another 'StackDefinitionCollection'.";
+ public const string ArrayDestTooShort = "'array' destination not long enough.";
+ public const string CollectionDisposed = "Collection was disposed, enumerator operations not valid.";
+ public const string CollectionModified = "Collection was modified; enumeration operation may not execute.";
+ public const string ColumnValueIsReadOnly = "Cannot modify 'ColumnDefinitionCollection' in read-only state.";
+ public const string DefaultAnimatorCantAnimate = "DefaultAnimatorCantAnimate";
+ public const string DefaultAnimationRateAnimationRateDefault = "DefaultAnimationRateAnimationRateDefault";
+ public const string DefaultAnimatorIterativeAnimationDefault = "DefaultAnimatorIterativeAnimationDefault";
+ public const string DestMultidimensional = "Destination is multidimensional. Expected array of rank 1.";
+ public const string EnumerationFinished = "Enumeration already finished.";
+ public const string EnumerationNotStarted = "Enumeration has not started. Call MoveNext.";
+ public const string InvalidDefaultStackLength = "The default stack length must be Auto or an explicit value.";
+ public const string MustBeColumnDefinition = "'ColumnDefinitionCollection' must be type 'ColumnDefinition'.";
+ public const string MustBeRowDefinition = "'RowDefinitionCollection' must be type 'RowDefinition'.";
+ public const string MustBeStackDefinition = "'StackDefinitionCollection' must be type 'StackDefinition'.";
+ public const string RowValueIsReadOnly = "Cannot modify 'StackDefinitionCollection' in read-only state.";
+ public const string StackValueIsReadOnly = "Cannot modify 'StackDefinitionCollection' in read-only state.";
+ public const string UnexpectedType = "Expected type '{0}', got '{1}'.";
+
+
+ private static readonly ResourceManager _resourceManager;
+
+ #endregion
+
+ #region Constructor
+
+ static ErrorMessages()
+ {
+ _resourceManager = new ResourceManager( "Xceed.Wpf.Toolkit.Core.ErrorMessages", typeof( ErrorMessages ).Assembly );
+ }
+
+ #endregion
+
+ public static string GetMessage( string msgId )
+ {
+ return _resourceManager.GetString( msgId );
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/ErrorMessages.resx b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/ErrorMessages.resx
index 8addfd76d..6ca192b38 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/ErrorMessages.resx
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/ErrorMessages.resx
@@ -1,228 +1,228 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- AnimationAccelerationRatio must be between 0.0 and 1.0.
-
-
- AnimationDecelerationRatio must be between 0.0 and 1.0.
-
-
- ItemAnimationState can only be used once the animation helper has been assigned
-
-
- Cannot convert back to a range.
-
-
- Container model was already removed from children collection.
-
-
- The DefaultAnimationRate property cannot be set to AnimationRate.Default. It must have a valid AnimationRate value.
-
-
- The DefaultAnimator cannot actually be used for animation.
-
-
- The DefaultAnimator property cannot be set to IterativeAnimation.Default. It must be a valid IterativeAnimator value or null.
-
-
- The EndAngle property cannot be set directly while a Pie's Mode is Slice. You must set the Slice property instead.
-
-
- GlassEnabled can be set only in Full Trust enviornments
-
-
- Unable to return a {0} value for an AnimationRate value of '{1}'. This AnimationRate is represented as a {2} value.
-
-
- item must be a Visual
-
-
- item must be either a Model3D or a Visual3D.
-
-
- The method or operation is not implemented.
-
-
- Speed must be greater than or equal to zero.
-
-
- Duration (TimeSpan) must be greater than or equal to zero.
-
-
- Operation not supported on the platform
-
-
- orderedItems must contain every item in the visible items.
-
-
- The Position property can only be accessed on an absolute view.
-
-
- The Region property can only be accessed on a region-based view.
-
-
- The Scale property can only be accessed on an absolute view.
-
-
- SetNewToValue set on a completed animation helper
-
-
- The Slice property cannot be set directly while a Pie's Mode is EndAngle. You must set the EndAngle property instead.
-
-
- Slice must be between 0.0 and 1.0.
-
-
- Error converting from bool value to Visibility value. Supplied value was not of type bool.
-
-
- Error converting from Visibility value to bool value. Supplied value was not of type Visibility.
-
-
- To and from matrix are equal
-
-
- Unable to convert object '{0}' to ZoomboxView.
-
-
- Value to convert must be a number.
-
-
- The ViewStackMode must be Default or Manual while ViewStackSource is in use.
-
-
- The ViewStack cannot be directly manipulated. Operation is not valid while ViewStackSource is in use. Access and modify members of the Zoombox.ViewStackSource instead.
-
-
- VisibleItemCount and orderedItems count must be equal.
-
-
- The Content property of a Zoombox control must specify a UIElement.
-
-
- The Zoombox template contains a ViewFinder element but it does not contain a ZoomboxViewFinderDisplay element
-
-
- The Zoombox template does not contain a content presenter.
-
-
- The ZoomboxView instance is already initialized for a different type of view: {0}
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ AnimationAccelerationRatio must be between 0.0 and 1.0.
+
+
+ AnimationDecelerationRatio must be between 0.0 and 1.0.
+
+
+ ItemAnimationState can only be used once the animation helper has been assigned
+
+
+ Cannot convert back to a range.
+
+
+ Container model was already removed from children collection.
+
+
+ The DefaultAnimationRate property cannot be set to AnimationRate.Default. It must have a valid AnimationRate value.
+
+
+ The DefaultAnimator cannot actually be used for animation.
+
+
+ The DefaultAnimator property cannot be set to IterativeAnimation.Default. It must be a valid IterativeAnimator value or null.
+
+
+ The EndAngle property cannot be set directly while a Pie's Mode is Slice. You must set the Slice property instead.
+
+
+ GlassEnabled can be set only in Full Trust enviornments
+
+
+ Unable to return a {0} value for an AnimationRate value of '{1}'. This AnimationRate is represented as a {2} value.
+
+
+ item must be a Visual
+
+
+ item must be either a Model3D or a Visual3D.
+
+
+ The method or operation is not implemented.
+
+
+ Speed must be greater than or equal to zero.
+
+
+ Duration (TimeSpan) must be greater than or equal to zero.
+
+
+ Operation not supported on the platform
+
+
+ orderedItems must contain every item in the visible items.
+
+
+ The Position property can only be accessed on an absolute view.
+
+
+ The Region property can only be accessed on a region-based view.
+
+
+ The Scale property can only be accessed on an absolute view.
+
+
+ SetNewToValue set on a completed animation helper
+
+
+ The Slice property cannot be set directly while a Pie's Mode is EndAngle. You must set the EndAngle property instead.
+
+
+ Slice must be between 0.0 and 1.0.
+
+
+ Error converting from bool value to Visibility value. Supplied value was not of type bool.
+
+
+ Error converting from Visibility value to bool value. Supplied value was not of type Visibility.
+
+
+ To and from matrix are equal
+
+
+ Unable to convert object '{0}' to ZoomboxView.
+
+
+ Value to convert must be a number.
+
+
+ The ViewStackMode must be Default or Manual while ViewStackSource is in use.
+
+
+ The ViewStack cannot be directly manipulated. Operation is not valid while ViewStackSource is in use. Access and modify members of the Zoombox.ViewStackSource instead.
+
+
+ VisibleItemCount and orderedItems count must be equal.
+
+
+ The Content property of a Zoombox control must specify a UIElement.
+
+
+ The Zoombox template contains a ViewFinder element but it does not contain a ZoomboxViewFinderDisplay element
+
+
+ The Zoombox template does not contain a content presenter.
+
+
+ The ZoomboxView instance is already initialized for a different type of view: {0}
+
\ No newline at end of file
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/IndexChangedEventArgs.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/IndexChangedEventArgs.cs
index 7c3767260..edcc7d85e 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/IndexChangedEventArgs.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/IndexChangedEventArgs.cs
@@ -1,38 +1,38 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit.Core
-{
- public class IndexChangedEventArgs : PropertyChangedEventArgs
- {
- #region Constructors
-
- public IndexChangedEventArgs( RoutedEvent routedEvent, int oldIndex, int newIndex )
- : base( routedEvent, oldIndex, newIndex )
- {
- }
-
- #endregion
-
- protected override void InvokeEventHandler( Delegate genericHandler, object genericTarget )
- {
- ( ( IndexChangedEventHandler )genericHandler )( genericTarget, this );
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit.Core
+{
+ public class IndexChangedEventArgs : PropertyChangedEventArgs
+ {
+ #region Constructors
+
+ public IndexChangedEventArgs( RoutedEvent routedEvent, int oldIndex, int newIndex )
+ : base( routedEvent, oldIndex, newIndex )
+ {
+ }
+
+ #endregion
+
+ protected override void InvokeEventHandler( Delegate genericHandler, object genericTarget )
+ {
+ ( ( IndexChangedEventHandler )genericHandler )( genericTarget, this );
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/IndexChangedEventHandler.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/IndexChangedEventHandler.cs
index 9a81349f5..e91053346 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/IndexChangedEventHandler.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/IndexChangedEventHandler.cs
@@ -1,20 +1,20 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-namespace Xceed.Wpf.Toolkit.Core
-{
- public delegate void IndexChangedEventHandler( object sender, IndexChangedEventArgs e );
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+namespace Xceed.Wpf.Toolkit.Core
+{
+ public delegate void IndexChangedEventHandler( object sender, IndexChangedEventArgs e );
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/IValidateInput.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/IValidateInput.cs
index 83d0562a0..b6b16c6b8 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/IValidateInput.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/IValidateInput.cs
@@ -1,29 +1,29 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace Xceed.Wpf.Toolkit.Core.Input
-{
- public interface IValidateInput
- {
- event InputValidationErrorEventHandler InputValidationError;
- bool CommitInput();
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Xceed.Wpf.Toolkit.Core.Input
+{
+ public interface IValidateInput
+ {
+ event InputValidationErrorEventHandler InputValidationError;
+ bool CommitInput();
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/InputValidationErrorEventArgs.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/InputValidationErrorEventArgs.cs
index bc7c6151a..1bceadf26 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/InputValidationErrorEventArgs.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/InputValidationErrorEventArgs.cs
@@ -1,73 +1,73 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace Xceed.Wpf.Toolkit.Core.Input
-{
- public delegate void InputValidationErrorEventHandler( object sender, InputValidationErrorEventArgs e );
-
- public class InputValidationErrorEventArgs : EventArgs
- {
- #region Constructors
-
- public InputValidationErrorEventArgs( Exception e )
- {
- Exception = e;
- }
-
- #endregion
-
- #region Exception Property
-
- public Exception Exception
- {
- get
- {
- return exception;
- }
- private set
- {
- exception = value;
- }
- }
-
- private Exception exception;
-
- #endregion
-
- #region ThrowException Property
-
- public bool ThrowException
- {
- get
- {
- return _throwException;
- }
- set
- {
- _throwException = value;
- }
- }
-
- private bool _throwException;
-
- #endregion
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Xceed.Wpf.Toolkit.Core.Input
+{
+ public delegate void InputValidationErrorEventHandler( object sender, InputValidationErrorEventArgs e );
+
+ public class InputValidationErrorEventArgs : EventArgs
+ {
+ #region Constructors
+
+ public InputValidationErrorEventArgs( Exception e )
+ {
+ Exception = e;
+ }
+
+ #endregion
+
+ #region Exception Property
+
+ public Exception Exception
+ {
+ get
+ {
+ return exception;
+ }
+ private set
+ {
+ exception = value;
+ }
+ }
+
+ private Exception exception;
+
+ #endregion
+
+ #region ThrowException Property
+
+ public bool ThrowException
+ {
+ get
+ {
+ return _throwException;
+ }
+ set
+ {
+ _throwException = value;
+ }
+ }
+
+ private bool _throwException;
+
+ #endregion
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/KeyModifier.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/KeyModifier.cs
index 0e82cf02c..eaef53c35 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/KeyModifier.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/KeyModifier.cs
@@ -1,35 +1,35 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-
-namespace Xceed.Wpf.Toolkit.Core.Input
-{
- public enum KeyModifier
- {
- None,
- Blocked,
- Ctrl,
- LeftCtrl,
- RightCtrl,
- Shift,
- LeftShift,
- RightShift,
- Alt,
- LeftAlt,
- RightAlt,
- Exact,
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+
+namespace Xceed.Wpf.Toolkit.Core.Input
+{
+ public enum KeyModifier
+ {
+ None,
+ Blocked,
+ Ctrl,
+ LeftCtrl,
+ RightCtrl,
+ Shift,
+ LeftShift,
+ RightShift,
+ Alt,
+ LeftAlt,
+ RightAlt,
+ Exact,
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/KeyModifierCollection.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/KeyModifierCollection.cs
index e1c47a14a..e2fe27048 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/KeyModifierCollection.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/KeyModifierCollection.cs
@@ -1,223 +1,223 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.ComponentModel;
-using System.Windows.Input;
-
-namespace Xceed.Wpf.Toolkit.Core.Input
-{
- [TypeConverter( typeof( KeyModifierCollectionConverter ) )]
- public class KeyModifierCollection : Collection
- {
- #region AreActive Property
-
- public bool AreActive
- {
- get
- {
- if( this.Count == 0 )
- return true;
-
- // if the Blocked modifier is present, then the action is not allowed
- // so simply return false
- if( this.Contains( KeyModifier.Blocked ) )
- return false;
-
- if( this.Contains( KeyModifier.Exact ) )
- return this.IsExactMatch();
-
- return this.MatchAny();
- }
- }
-
- #endregion
-
- private static bool IsKeyPressed( KeyModifier modifier, ICollection keys )
- {
- switch( modifier )
- {
- case KeyModifier.Alt:
- return keys.Contains( Key.LeftAlt )
- || keys.Contains( Key.RightAlt );
-
- case KeyModifier.LeftAlt:
- return keys.Contains( Key.LeftAlt );
-
- case KeyModifier.RightAlt:
- return keys.Contains( Key.RightAlt );
-
- case KeyModifier.Ctrl:
- return keys.Contains( Key.LeftCtrl )
- || keys.Contains( Key.RightCtrl );
-
- case KeyModifier.LeftCtrl:
- return keys.Contains( Key.LeftCtrl );
-
- case KeyModifier.RightCtrl:
- return keys.Contains( Key.RightCtrl );
-
- case KeyModifier.Shift:
- return keys.Contains( Key.LeftShift )
- || keys.Contains( Key.RightShift );
-
- case KeyModifier.LeftShift:
- return keys.Contains( Key.LeftShift );
-
- case KeyModifier.RightShift:
- return keys.Contains( Key.RightShift );
-
- case KeyModifier.None:
- return true;
-
- default:
- throw new NotSupportedException( "Unknown modifier" );
- }
- }
-
- private static bool HasModifier( Key key, ICollection modifiers )
- {
- switch( key )
- {
- case Key.LeftAlt:
- return modifiers.Contains( KeyModifier.Alt )
- || modifiers.Contains( KeyModifier.LeftAlt );
-
- case Key.RightAlt:
- return modifiers.Contains( KeyModifier.Alt )
- || modifiers.Contains( KeyModifier.RightAlt );
-
- case Key.LeftCtrl:
- return modifiers.Contains( KeyModifier.Ctrl )
- || modifiers.Contains( KeyModifier.LeftCtrl );
-
- case Key.RightCtrl:
- return modifiers.Contains( KeyModifier.Ctrl )
- || modifiers.Contains( KeyModifier.RightCtrl );
-
- case Key.LeftShift:
- return modifiers.Contains( KeyModifier.Shift )
- || modifiers.Contains( KeyModifier.LeftShift );
-
- case Key.RightShift:
- return modifiers.Contains( KeyModifier.Shift )
- || modifiers.Contains( KeyModifier.RightShift );
-
- default:
- throw new NotSupportedException( "Unknown key" );
- }
- }
-
- private bool IsExactMatch()
- {
- HashSet modifiers = this.GetKeyModifiers();
- HashSet keys = this.GetKeysPressed();
-
- // No key must be pressed for the modifier None.
- if( this.Contains( KeyModifier.None ) )
- return ( modifiers.Count == 0 )
- && ( keys.Count == 0 );
-
- // Make sure every modifier has a matching key pressed.
- foreach( KeyModifier modifier in modifiers )
- {
- if( !KeyModifierCollection.IsKeyPressed( modifier, keys ) )
- return false;
- }
-
- // Make sure every key pressed has a matching modifier.
- foreach( Key key in keys )
- {
- if( !KeyModifierCollection.HasModifier( key, modifiers ) )
- return false;
- }
-
- return true;
- }
-
- private bool MatchAny()
- {
- if( this.Contains( KeyModifier.None ) )
- return true;
-
- HashSet modifiers = this.GetKeyModifiers();
- HashSet keys = this.GetKeysPressed();
-
- foreach( KeyModifier modifier in modifiers )
- {
- if( KeyModifierCollection.IsKeyPressed( modifier, keys ) )
- return true;
- }
-
- return false;
- }
-
- private HashSet GetKeyModifiers()
- {
- HashSet modifiers = new HashSet();
-
- foreach( KeyModifier modifier in this )
- {
- switch( modifier )
- {
- case KeyModifier.Alt:
- case KeyModifier.LeftAlt:
- case KeyModifier.RightAlt:
- case KeyModifier.Ctrl:
- case KeyModifier.LeftCtrl:
- case KeyModifier.RightCtrl:
- case KeyModifier.Shift:
- case KeyModifier.LeftShift:
- case KeyModifier.RightShift:
- {
- if( !modifiers.Contains( modifier ) )
- {
- modifiers.Add( modifier );
- }
- }
- break;
-
- default:
- break;
- }
- }
-
- return modifiers;
- }
-
- private HashSet GetKeysPressed()
- {
- HashSet keys = new HashSet();
-
- if( Keyboard.IsKeyDown( Key.LeftAlt ) )
- keys.Add( Key.LeftAlt );
- if( Keyboard.IsKeyDown( Key.RightAlt ) )
- keys.Add( Key.RightAlt );
- if( Keyboard.IsKeyDown( Key.LeftCtrl ) )
- keys.Add( Key.LeftCtrl );
- if( Keyboard.IsKeyDown( Key.RightCtrl ) )
- keys.Add( Key.RightCtrl );
- if( Keyboard.IsKeyDown( Key.LeftShift ) )
- keys.Add( Key.LeftShift );
- if( Keyboard.IsKeyDown( Key.RightShift ) )
- keys.Add( Key.RightShift );
-
- return keys;
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.ComponentModel;
+using System.Windows.Input;
+
+namespace Xceed.Wpf.Toolkit.Core.Input
+{
+ [TypeConverter( typeof( KeyModifierCollectionConverter ) )]
+ public class KeyModifierCollection : Collection
+ {
+ #region AreActive Property
+
+ public bool AreActive
+ {
+ get
+ {
+ if( this.Count == 0 )
+ return true;
+
+ // if the Blocked modifier is present, then the action is not allowed
+ // so simply return false
+ if( this.Contains( KeyModifier.Blocked ) )
+ return false;
+
+ if( this.Contains( KeyModifier.Exact ) )
+ return this.IsExactMatch();
+
+ return this.MatchAny();
+ }
+ }
+
+ #endregion
+
+ private static bool IsKeyPressed( KeyModifier modifier, ICollection keys )
+ {
+ switch( modifier )
+ {
+ case KeyModifier.Alt:
+ return keys.Contains( Key.LeftAlt )
+ || keys.Contains( Key.RightAlt );
+
+ case KeyModifier.LeftAlt:
+ return keys.Contains( Key.LeftAlt );
+
+ case KeyModifier.RightAlt:
+ return keys.Contains( Key.RightAlt );
+
+ case KeyModifier.Ctrl:
+ return keys.Contains( Key.LeftCtrl )
+ || keys.Contains( Key.RightCtrl );
+
+ case KeyModifier.LeftCtrl:
+ return keys.Contains( Key.LeftCtrl );
+
+ case KeyModifier.RightCtrl:
+ return keys.Contains( Key.RightCtrl );
+
+ case KeyModifier.Shift:
+ return keys.Contains( Key.LeftShift )
+ || keys.Contains( Key.RightShift );
+
+ case KeyModifier.LeftShift:
+ return keys.Contains( Key.LeftShift );
+
+ case KeyModifier.RightShift:
+ return keys.Contains( Key.RightShift );
+
+ case KeyModifier.None:
+ return true;
+
+ default:
+ throw new NotSupportedException( "Unknown modifier" );
+ }
+ }
+
+ private static bool HasModifier( Key key, ICollection modifiers )
+ {
+ switch( key )
+ {
+ case Key.LeftAlt:
+ return modifiers.Contains( KeyModifier.Alt )
+ || modifiers.Contains( KeyModifier.LeftAlt );
+
+ case Key.RightAlt:
+ return modifiers.Contains( KeyModifier.Alt )
+ || modifiers.Contains( KeyModifier.RightAlt );
+
+ case Key.LeftCtrl:
+ return modifiers.Contains( KeyModifier.Ctrl )
+ || modifiers.Contains( KeyModifier.LeftCtrl );
+
+ case Key.RightCtrl:
+ return modifiers.Contains( KeyModifier.Ctrl )
+ || modifiers.Contains( KeyModifier.RightCtrl );
+
+ case Key.LeftShift:
+ return modifiers.Contains( KeyModifier.Shift )
+ || modifiers.Contains( KeyModifier.LeftShift );
+
+ case Key.RightShift:
+ return modifiers.Contains( KeyModifier.Shift )
+ || modifiers.Contains( KeyModifier.RightShift );
+
+ default:
+ throw new NotSupportedException( "Unknown key" );
+ }
+ }
+
+ private bool IsExactMatch()
+ {
+ HashSet modifiers = this.GetKeyModifiers();
+ HashSet keys = this.GetKeysPressed();
+
+ // No key must be pressed for the modifier None.
+ if( this.Contains( KeyModifier.None ) )
+ return ( modifiers.Count == 0 )
+ && ( keys.Count == 0 );
+
+ // Make sure every modifier has a matching key pressed.
+ foreach( KeyModifier modifier in modifiers )
+ {
+ if( !KeyModifierCollection.IsKeyPressed( modifier, keys ) )
+ return false;
+ }
+
+ // Make sure every key pressed has a matching modifier.
+ foreach( Key key in keys )
+ {
+ if( !KeyModifierCollection.HasModifier( key, modifiers ) )
+ return false;
+ }
+
+ return true;
+ }
+
+ private bool MatchAny()
+ {
+ if( this.Contains( KeyModifier.None ) )
+ return true;
+
+ HashSet modifiers = this.GetKeyModifiers();
+ HashSet keys = this.GetKeysPressed();
+
+ foreach( KeyModifier modifier in modifiers )
+ {
+ if( KeyModifierCollection.IsKeyPressed( modifier, keys ) )
+ return true;
+ }
+
+ return false;
+ }
+
+ private HashSet GetKeyModifiers()
+ {
+ HashSet modifiers = new HashSet();
+
+ foreach( KeyModifier modifier in this )
+ {
+ switch( modifier )
+ {
+ case KeyModifier.Alt:
+ case KeyModifier.LeftAlt:
+ case KeyModifier.RightAlt:
+ case KeyModifier.Ctrl:
+ case KeyModifier.LeftCtrl:
+ case KeyModifier.RightCtrl:
+ case KeyModifier.Shift:
+ case KeyModifier.LeftShift:
+ case KeyModifier.RightShift:
+ {
+ if( !modifiers.Contains( modifier ) )
+ {
+ modifiers.Add( modifier );
+ }
+ }
+ break;
+
+ default:
+ break;
+ }
+ }
+
+ return modifiers;
+ }
+
+ private HashSet GetKeysPressed()
+ {
+ HashSet keys = new HashSet();
+
+ if( Keyboard.IsKeyDown( Key.LeftAlt ) )
+ keys.Add( Key.LeftAlt );
+ if( Keyboard.IsKeyDown( Key.RightAlt ) )
+ keys.Add( Key.RightAlt );
+ if( Keyboard.IsKeyDown( Key.LeftCtrl ) )
+ keys.Add( Key.LeftCtrl );
+ if( Keyboard.IsKeyDown( Key.RightCtrl ) )
+ keys.Add( Key.RightCtrl );
+ if( Keyboard.IsKeyDown( Key.LeftShift ) )
+ keys.Add( Key.LeftShift );
+ if( Keyboard.IsKeyDown( Key.RightShift ) )
+ keys.Add( Key.RightShift );
+
+ return keys;
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/KeyModifierCollectionConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/KeyModifierCollectionConverter.cs
index cec587da1..4c8ac408c 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/KeyModifierCollectionConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Input/KeyModifierCollectionConverter.cs
@@ -1,122 +1,122 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.ComponentModel;
-using System.ComponentModel.Design.Serialization;
-using System.Globalization;
-using System.Reflection;
-using System.Security;
-
-namespace Xceed.Wpf.Toolkit.Core.Input
-{
- public sealed class KeyModifierCollectionConverter : TypeConverter
- {
- #region Static Fields
-
- private static readonly TypeConverter _keyModifierConverter = TypeDescriptor.GetConverter( typeof( KeyModifier ) );
-
- #endregion
-
- public override bool CanConvertFrom( ITypeDescriptorContext typeDescriptorContext, Type type )
- {
- return _keyModifierConverter.CanConvertFrom( typeDescriptorContext, type );
- }
-
- public override bool CanConvertTo( ITypeDescriptorContext typeDescriptorContext, Type type )
- {
- return ( type == typeof( InstanceDescriptor )
- || type == typeof( KeyModifierCollection )
- || type == typeof( string ) );
- }
-
- public override object ConvertFrom( ITypeDescriptorContext typeDescriptorContext,
- CultureInfo cultureInfo, object value )
- {
- KeyModifierCollection result = new KeyModifierCollection();
- string stringValue = value as string;
-
- // convert null as None
- if( value == null
- || ( stringValue != null && stringValue.Trim() == string.Empty ) )
- {
- result.Add( KeyModifier.None );
- }
- else
- {
- // respect the following separators: '+', ' ', '|', or ','
- foreach( string token in stringValue.Split( new char[] { '+', ' ', '|', ',' },
- StringSplitOptions.RemoveEmptyEntries ) )
- result.Add( ( KeyModifier )_keyModifierConverter.ConvertFrom( typeDescriptorContext, cultureInfo, token ) );
-
- // if nothing added, assume None
- if( result.Count == 0 )
- result.Add( KeyModifier.None );
- }
- return result;
- }
-
- public override object ConvertTo( ITypeDescriptorContext typeDescriptorContext,
- CultureInfo cultureInfo, object value, Type destinationType )
- {
- // special handling for null or an empty collection
- if( value == null || ( ( KeyModifierCollection )value ).Count == 0 )
- {
- if( destinationType == typeof( InstanceDescriptor ) )
- {
- object result = null;
- try
- {
- result = ConstructInstanceDescriptor();
- }
- catch( SecurityException )
- {
- }
- return result;
- }
- else if( destinationType == typeof( string ) )
- {
- return _keyModifierConverter.ConvertTo( typeDescriptorContext,
- cultureInfo, KeyModifier.None, destinationType );
- }
- }
-
- // return a '+' delimited string containing the modifiers
- if( destinationType == typeof( string ) )
- {
- string result = string.Empty;
- foreach( KeyModifier modifier in ( KeyModifierCollection )value )
- {
- if( result != string.Empty )
- result = result + '+';
-
- result = result + _keyModifierConverter.ConvertTo( typeDescriptorContext,
- cultureInfo, modifier, destinationType );
- }
- return result;
- }
-
- // unexpected type requested so return null
- return null;
- }
-
- private static object ConstructInstanceDescriptor()
- {
- ConstructorInfo ci = typeof( KeyModifierCollection ).GetConstructor( new Type[] { } );
- return new InstanceDescriptor( ci, new Object[] { } );
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.ComponentModel;
+using System.ComponentModel.Design.Serialization;
+using System.Globalization;
+using System.Reflection;
+using System.Security;
+
+namespace Xceed.Wpf.Toolkit.Core.Input
+{
+ public sealed class KeyModifierCollectionConverter : TypeConverter
+ {
+ #region Static Fields
+
+ private static readonly TypeConverter _keyModifierConverter = TypeDescriptor.GetConverter( typeof( KeyModifier ) );
+
+ #endregion
+
+ public override bool CanConvertFrom( ITypeDescriptorContext typeDescriptorContext, Type type )
+ {
+ return _keyModifierConverter.CanConvertFrom( typeDescriptorContext, type );
+ }
+
+ public override bool CanConvertTo( ITypeDescriptorContext typeDescriptorContext, Type type )
+ {
+ return ( type == typeof( InstanceDescriptor )
+ || type == typeof( KeyModifierCollection )
+ || type == typeof( string ) );
+ }
+
+ public override object ConvertFrom( ITypeDescriptorContext typeDescriptorContext,
+ CultureInfo cultureInfo, object value )
+ {
+ KeyModifierCollection result = new KeyModifierCollection();
+ string stringValue = value as string;
+
+ // convert null as None
+ if( value == null
+ || ( stringValue != null && stringValue.Trim() == string.Empty ) )
+ {
+ result.Add( KeyModifier.None );
+ }
+ else
+ {
+ // respect the following separators: '+', ' ', '|', or ','
+ foreach( string token in stringValue.Split( new char[] { '+', ' ', '|', ',' },
+ StringSplitOptions.RemoveEmptyEntries ) )
+ result.Add( ( KeyModifier )_keyModifierConverter.ConvertFrom( typeDescriptorContext, cultureInfo, token ) );
+
+ // if nothing added, assume None
+ if( result.Count == 0 )
+ result.Add( KeyModifier.None );
+ }
+ return result;
+ }
+
+ public override object ConvertTo( ITypeDescriptorContext typeDescriptorContext,
+ CultureInfo cultureInfo, object value, Type destinationType )
+ {
+ // special handling for null or an empty collection
+ if( value == null || ( ( KeyModifierCollection )value ).Count == 0 )
+ {
+ if( destinationType == typeof( InstanceDescriptor ) )
+ {
+ object result = null;
+ try
+ {
+ result = ConstructInstanceDescriptor();
+ }
+ catch( SecurityException )
+ {
+ }
+ return result;
+ }
+ else if( destinationType == typeof( string ) )
+ {
+ return _keyModifierConverter.ConvertTo( typeDescriptorContext,
+ cultureInfo, KeyModifier.None, destinationType );
+ }
+ }
+
+ // return a '+' delimited string containing the modifiers
+ if( destinationType == typeof( string ) )
+ {
+ string result = string.Empty;
+ foreach( KeyModifier modifier in ( KeyModifierCollection )value )
+ {
+ if( result != string.Empty )
+ result = result + '+';
+
+ result = result + _keyModifierConverter.ConvertTo( typeDescriptorContext,
+ cultureInfo, modifier, destinationType );
+ }
+ return result;
+ }
+
+ // unexpected type requested so return null
+ return null;
+ }
+
+ private static object ConstructInstanceDescriptor()
+ {
+ ConstructorInfo ci = typeof( KeyModifierCollection ).GetConstructor( new Type[] { } );
+ return new InstanceDescriptor( ci, new Object[] { } );
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/InvalidContentException.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/InvalidContentException.cs
index 793cb9e14..a4c4b849a 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/InvalidContentException.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/InvalidContentException.cs
@@ -1,37 +1,37 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-
-namespace Xceed.Wpf.Toolkit.Core
-{
- public class InvalidContentException : Exception
- {
- #region Constructors
-
- public InvalidContentException( string message )
- : base( message )
- {
- }
-
- public InvalidContentException( string message, Exception innerException )
- : base( message, innerException )
- {
- }
-
- #endregion
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+
+namespace Xceed.Wpf.Toolkit.Core
+{
+ public class InvalidContentException : Exception
+ {
+ #region Constructors
+
+ public InvalidContentException( string message )
+ : base( message )
+ {
+ }
+
+ public InvalidContentException( string message, Exception innerException )
+ : base( message, innerException )
+ {
+ }
+
+ #endregion
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/InvalidTemplateException.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/InvalidTemplateException.cs
index 97fc54bf8..385f14d01 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/InvalidTemplateException.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/InvalidTemplateException.cs
@@ -1,37 +1,37 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-
-namespace Xceed.Wpf.Toolkit.Core
-{
- public class InvalidTemplateException : Exception
- {
- #region Constructors
-
- public InvalidTemplateException( string message )
- : base( message )
- {
- }
-
- public InvalidTemplateException( string message, Exception innerException )
- : base( message, innerException )
- {
- }
-
- #endregion
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+
+namespace Xceed.Wpf.Toolkit.Core
+{
+ public class InvalidTemplateException : Exception
+ {
+ #region Constructors
+
+ public InvalidTemplateException( string message )
+ : base( message )
+ {
+ }
+
+ public InvalidTemplateException( string message, Exception innerException )
+ : base( message, innerException )
+ {
+ }
+
+ #endregion
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/AnimationRate.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/AnimationRate.cs
index 3ec7e7bad..c5d8e67e3 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/AnimationRate.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/AnimationRate.cs
@@ -1,346 +1,346 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.ComponentModel;
-using System.Runtime.InteropServices;
-using Xceed.Wpf.Toolkit.Core.Utilities;
-using Xceed.Wpf.Toolkit.Core;
-
-namespace Xceed.Wpf.Toolkit.Media.Animation
-{
- [TypeConverter( typeof( AnimationRateConverter ) )]
- [StructLayout( LayoutKind.Explicit )]
- public struct AnimationRate
- {
- #region Static Fields
-
- private static AnimationRate _default = new AnimationRate( true );
-
- #endregion
-
- #region Constructors
-
- public AnimationRate( TimeSpan duration )
- {
- if( duration < TimeSpan.Zero )
- {
- throw new ArgumentException( ErrorMessages.GetMessage( ErrorMessages.NegativeTimeSpanNotSupported ) );
- }
- _speed = 0d;
- _duration = duration.Ticks;
- _rateType = RateType.TimeSpan;
- }
-
- public AnimationRate( double speed )
- {
- if( DoubleHelper.IsNaN( speed ) || speed < 0d )
- {
- throw new ArgumentException( ErrorMessages.GetMessage( ErrorMessages.NegativeSpeedNotSupported ) );
- }
- _duration = 0;
- _speed = speed;
- _rateType = RateType.Speed;
- }
-
- private AnimationRate( bool ignore )
- {
- _duration = 0;
- _speed = double.NaN;
- _rateType = RateType.Speed;
- }
-
- #endregion
-
- #region Default Property
-
- public static AnimationRate Default
- {
- get
- {
- return _default;
- }
- }
-
- #endregion
-
- #region HasDuration Property
-
- public bool HasDuration
- {
- get
- {
- return ( _rateType == RateType.TimeSpan );
- }
- }
-
- #endregion
-
- #region Duration Property
-
- public TimeSpan Duration
- {
- get
- {
- if( this.HasDuration )
- return TimeSpan.FromTicks( _duration );
-
- throw new InvalidOperationException(
- string.Format(
- ErrorMessages.GetMessage( ErrorMessages.InvalidRatePropertyAccessed ),
- "Duration",
- this,
- "Speed" ) );
- }
- }
-
- #endregion
-
- #region HasSpeed Property
-
- public bool HasSpeed
- {
- get
- {
- return ( _rateType == RateType.Speed );
- }
- }
-
- #endregion
-
- #region Speed Property
-
- public double Speed
- {
- get
- {
- if( this.HasSpeed )
- return _speed;
-
- throw new InvalidOperationException(
- string.Format(
- ErrorMessages.GetMessage( ErrorMessages.InvalidRatePropertyAccessed ),
- "Speed",
- this,
- "Duration" ) );
- }
- }
-
- #endregion
-
- public AnimationRate Add( AnimationRate animationRate )
- {
- return this + animationRate;
- }
-
- public override bool Equals( Object value )
- {
- if( value == null )
- return false;
-
- if( value is AnimationRate )
- return this.Equals( ( AnimationRate )value );
-
- return false;
- }
-
- public bool Equals( AnimationRate animationRate )
- {
- if( this.HasDuration )
- {
- if( animationRate.HasDuration )
- return _duration == animationRate._duration;
-
- return false;
- }
- else // HasSpeed
- {
- if( animationRate.HasSpeed )
- {
- if( DoubleHelper.IsNaN( _speed ) )
- return DoubleHelper.IsNaN( animationRate._speed );
-
- return _speed == animationRate._speed;
- }
-
- return false;
- }
- }
-
- public static bool Equals( AnimationRate t1, AnimationRate t2 )
- {
- return t1.Equals( t2 );
- }
-
- public override int GetHashCode()
- {
- if( this.HasDuration )
- return _duration.GetHashCode();
-
- return _speed.GetHashCode();
- }
-
- public AnimationRate Subtract( AnimationRate animationRate )
- {
- return this - animationRate;
- }
-
- public override string ToString()
- {
- if( this.HasDuration )
- return TypeDescriptor.GetConverter( _duration ).ConvertToString( _duration );
-
- return TypeDescriptor.GetConverter( _speed ).ConvertToString( _speed );
- }
-
- #region Operators Methods
-
- public static implicit operator AnimationRate( TimeSpan duration )
- {
- if( duration < TimeSpan.Zero )
- throw new ArgumentException( ErrorMessages.GetMessage( ErrorMessages.NegativeTimeSpanNotSupported ) );
-
- return new AnimationRate( duration );
- }
-
- public static implicit operator AnimationRate( double speed )
- {
- if( DoubleHelper.IsNaN( speed ) || speed < 0 )
- throw new ArgumentException( ErrorMessages.GetMessage( ErrorMessages.NegativeSpeedNotSupported ) );
-
- return new AnimationRate( speed );
- }
-
- public static implicit operator AnimationRate( int speed )
- {
- if( DoubleHelper.IsNaN( speed ) || speed < 0 )
- throw new ArgumentException( ErrorMessages.GetMessage( ErrorMessages.NegativeSpeedNotSupported ) );
-
- return new AnimationRate( ( double )speed );
- }
-
- public static AnimationRate operator +( AnimationRate t1, AnimationRate t2 )
- {
- if( t1.HasDuration && t2.HasDuration )
- return new AnimationRate( t1._duration + t2._duration );
-
- if( t1.HasSpeed && t2.HasSpeed )
- return new AnimationRate( t1._speed + t2._speed );
-
- return ( AnimationRate )0d;
- }
-
- public static AnimationRate operator -( AnimationRate t1, AnimationRate t2 )
- {
- if( t1.HasDuration && t2.HasDuration )
- return new AnimationRate( t1._duration - t2._duration );
-
- if( t1.HasSpeed && t2.HasSpeed )
- return new AnimationRate( t1._speed - t2._speed );
-
- return ( AnimationRate )0d;
- }
-
- public static bool operator ==( AnimationRate t1, AnimationRate t2 )
- {
- return t1.Equals( t2 );
- }
-
- public static bool operator !=( AnimationRate t1, AnimationRate t2 )
- {
- return !( t1.Equals( t2 ) );
- }
-
- public static bool operator >( AnimationRate t1, AnimationRate t2 )
- {
- if( t1.HasDuration && t2.HasDuration )
- return t1._duration > t2._duration;
-
- if( t1.HasSpeed && t2.HasSpeed )
- return ( t1._speed > t2._speed ) && !DoubleHelper.AreVirtuallyEqual( t1._speed, t2._speed );
-
- // arbitrary: assume a Speed is greater than a Duration
- return t1.HasSpeed;
- }
-
- public static bool operator >=( AnimationRate t1, AnimationRate t2 )
- {
- return !( t1 < t2 );
- }
-
- public static bool operator <( AnimationRate t1, AnimationRate t2 )
- {
- if( t1.HasDuration && t2.HasDuration )
- return t1._duration < t2._duration;
-
- if( t1.HasSpeed && t2.HasSpeed )
- return ( t1._speed < t2._speed ) && !DoubleHelper.AreVirtuallyEqual( t1._speed, t2._speed );
-
- // arbitrary: assume a Speed is greater than a Duration
- return t1.HasDuration;
- }
-
- public static bool operator <=( AnimationRate t1, AnimationRate t2 )
- {
- return !( t1 > t2 );
- }
-
- public static int Compare( AnimationRate t1, AnimationRate t2 )
- {
- if( t1 < t2 )
- return -1;
-
- if( t1 > t2 )
- return 1;
-
- // Neither is greater than the other
- return 0;
- }
-
- public static AnimationRate Plus( AnimationRate animationRate )
- {
- return animationRate;
- }
-
- public static AnimationRate operator +( AnimationRate animationRate )
- {
- return animationRate;
- }
-
- #endregion
-
- #region Private Fields
-
- [FieldOffset( 0 )]
- long _duration;
- [FieldOffset( 0 )]
- double _speed;
- [FieldOffset( 8 )]
- RateType _rateType;
-
- #endregion
-
- #region RateType Nested Type
-
- private enum RateType
- {
- TimeSpan,
- Speed,
- }
-
- #endregion
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.ComponentModel;
+using System.Runtime.InteropServices;
+using Xceed.Wpf.Toolkit.Core.Utilities;
+using Xceed.Wpf.Toolkit.Core;
+
+namespace Xceed.Wpf.Toolkit.Media.Animation
+{
+ [TypeConverter( typeof( AnimationRateConverter ) )]
+ [StructLayout( LayoutKind.Explicit )]
+ public struct AnimationRate
+ {
+ #region Static Fields
+
+ private static AnimationRate _default = new AnimationRate( true );
+
+ #endregion
+
+ #region Constructors
+
+ public AnimationRate( TimeSpan duration )
+ {
+ if( duration < TimeSpan.Zero )
+ {
+ throw new ArgumentException( ErrorMessages.GetMessage( ErrorMessages.NegativeTimeSpanNotSupported ) );
+ }
+ _speed = 0d;
+ _duration = duration.Ticks;
+ _rateType = RateType.TimeSpan;
+ }
+
+ public AnimationRate( double speed )
+ {
+ if( DoubleHelper.IsNaN( speed ) || speed < 0d )
+ {
+ throw new ArgumentException( ErrorMessages.GetMessage( ErrorMessages.NegativeSpeedNotSupported ) );
+ }
+ _duration = 0;
+ _speed = speed;
+ _rateType = RateType.Speed;
+ }
+
+ private AnimationRate( bool ignore )
+ {
+ _duration = 0;
+ _speed = double.NaN;
+ _rateType = RateType.Speed;
+ }
+
+ #endregion
+
+ #region Default Property
+
+ public static AnimationRate Default
+ {
+ get
+ {
+ return _default;
+ }
+ }
+
+ #endregion
+
+ #region HasDuration Property
+
+ public bool HasDuration
+ {
+ get
+ {
+ return ( _rateType == RateType.TimeSpan );
+ }
+ }
+
+ #endregion
+
+ #region Duration Property
+
+ public TimeSpan Duration
+ {
+ get
+ {
+ if( this.HasDuration )
+ return TimeSpan.FromTicks( _duration );
+
+ throw new InvalidOperationException(
+ string.Format(
+ ErrorMessages.GetMessage( ErrorMessages.InvalidRatePropertyAccessed ),
+ "Duration",
+ this,
+ "Speed" ) );
+ }
+ }
+
+ #endregion
+
+ #region HasSpeed Property
+
+ public bool HasSpeed
+ {
+ get
+ {
+ return ( _rateType == RateType.Speed );
+ }
+ }
+
+ #endregion
+
+ #region Speed Property
+
+ public double Speed
+ {
+ get
+ {
+ if( this.HasSpeed )
+ return _speed;
+
+ throw new InvalidOperationException(
+ string.Format(
+ ErrorMessages.GetMessage( ErrorMessages.InvalidRatePropertyAccessed ),
+ "Speed",
+ this,
+ "Duration" ) );
+ }
+ }
+
+ #endregion
+
+ public AnimationRate Add( AnimationRate animationRate )
+ {
+ return this + animationRate;
+ }
+
+ public override bool Equals( Object value )
+ {
+ if( value == null )
+ return false;
+
+ if( value is AnimationRate )
+ return this.Equals( ( AnimationRate )value );
+
+ return false;
+ }
+
+ public bool Equals( AnimationRate animationRate )
+ {
+ if( this.HasDuration )
+ {
+ if( animationRate.HasDuration )
+ return _duration == animationRate._duration;
+
+ return false;
+ }
+ else // HasSpeed
+ {
+ if( animationRate.HasSpeed )
+ {
+ if( DoubleHelper.IsNaN( _speed ) )
+ return DoubleHelper.IsNaN( animationRate._speed );
+
+ return _speed == animationRate._speed;
+ }
+
+ return false;
+ }
+ }
+
+ public static bool Equals( AnimationRate t1, AnimationRate t2 )
+ {
+ return t1.Equals( t2 );
+ }
+
+ public override int GetHashCode()
+ {
+ if( this.HasDuration )
+ return _duration.GetHashCode();
+
+ return _speed.GetHashCode();
+ }
+
+ public AnimationRate Subtract( AnimationRate animationRate )
+ {
+ return this - animationRate;
+ }
+
+ public override string ToString()
+ {
+ if( this.HasDuration )
+ return TypeDescriptor.GetConverter( _duration ).ConvertToString( _duration );
+
+ return TypeDescriptor.GetConverter( _speed ).ConvertToString( _speed );
+ }
+
+ #region Operators Methods
+
+ public static implicit operator AnimationRate( TimeSpan duration )
+ {
+ if( duration < TimeSpan.Zero )
+ throw new ArgumentException( ErrorMessages.GetMessage( ErrorMessages.NegativeTimeSpanNotSupported ) );
+
+ return new AnimationRate( duration );
+ }
+
+ public static implicit operator AnimationRate( double speed )
+ {
+ if( DoubleHelper.IsNaN( speed ) || speed < 0 )
+ throw new ArgumentException( ErrorMessages.GetMessage( ErrorMessages.NegativeSpeedNotSupported ) );
+
+ return new AnimationRate( speed );
+ }
+
+ public static implicit operator AnimationRate( int speed )
+ {
+ if( DoubleHelper.IsNaN( speed ) || speed < 0 )
+ throw new ArgumentException( ErrorMessages.GetMessage( ErrorMessages.NegativeSpeedNotSupported ) );
+
+ return new AnimationRate( ( double )speed );
+ }
+
+ public static AnimationRate operator +( AnimationRate t1, AnimationRate t2 )
+ {
+ if( t1.HasDuration && t2.HasDuration )
+ return new AnimationRate( t1._duration + t2._duration );
+
+ if( t1.HasSpeed && t2.HasSpeed )
+ return new AnimationRate( t1._speed + t2._speed );
+
+ return ( AnimationRate )0d;
+ }
+
+ public static AnimationRate operator -( AnimationRate t1, AnimationRate t2 )
+ {
+ if( t1.HasDuration && t2.HasDuration )
+ return new AnimationRate( t1._duration - t2._duration );
+
+ if( t1.HasSpeed && t2.HasSpeed )
+ return new AnimationRate( t1._speed - t2._speed );
+
+ return ( AnimationRate )0d;
+ }
+
+ public static bool operator ==( AnimationRate t1, AnimationRate t2 )
+ {
+ return t1.Equals( t2 );
+ }
+
+ public static bool operator !=( AnimationRate t1, AnimationRate t2 )
+ {
+ return !( t1.Equals( t2 ) );
+ }
+
+ public static bool operator >( AnimationRate t1, AnimationRate t2 )
+ {
+ if( t1.HasDuration && t2.HasDuration )
+ return t1._duration > t2._duration;
+
+ if( t1.HasSpeed && t2.HasSpeed )
+ return ( t1._speed > t2._speed ) && !DoubleHelper.AreVirtuallyEqual( t1._speed, t2._speed );
+
+ // arbitrary: assume a Speed is greater than a Duration
+ return t1.HasSpeed;
+ }
+
+ public static bool operator >=( AnimationRate t1, AnimationRate t2 )
+ {
+ return !( t1 < t2 );
+ }
+
+ public static bool operator <( AnimationRate t1, AnimationRate t2 )
+ {
+ if( t1.HasDuration && t2.HasDuration )
+ return t1._duration < t2._duration;
+
+ if( t1.HasSpeed && t2.HasSpeed )
+ return ( t1._speed < t2._speed ) && !DoubleHelper.AreVirtuallyEqual( t1._speed, t2._speed );
+
+ // arbitrary: assume a Speed is greater than a Duration
+ return t1.HasDuration;
+ }
+
+ public static bool operator <=( AnimationRate t1, AnimationRate t2 )
+ {
+ return !( t1 > t2 );
+ }
+
+ public static int Compare( AnimationRate t1, AnimationRate t2 )
+ {
+ if( t1 < t2 )
+ return -1;
+
+ if( t1 > t2 )
+ return 1;
+
+ // Neither is greater than the other
+ return 0;
+ }
+
+ public static AnimationRate Plus( AnimationRate animationRate )
+ {
+ return animationRate;
+ }
+
+ public static AnimationRate operator +( AnimationRate animationRate )
+ {
+ return animationRate;
+ }
+
+ #endregion
+
+ #region Private Fields
+
+ [FieldOffset( 0 )]
+ long _duration;
+ [FieldOffset( 0 )]
+ double _speed;
+ [FieldOffset( 8 )]
+ RateType _rateType;
+
+ #endregion
+
+ #region RateType Nested Type
+
+ private enum RateType
+ {
+ TimeSpan,
+ Speed,
+ }
+
+ #endregion
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/AnimationRateConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/AnimationRateConverter.cs
index c8b9024f6..73c05df4f 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/AnimationRateConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/AnimationRateConverter.cs
@@ -1,120 +1,120 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.ComponentModel;
-using System.ComponentModel.Design.Serialization;
-using System.Globalization;
-using System.Reflection;
-
-namespace Xceed.Wpf.Toolkit.Media.Animation
-{
- public class AnimationRateConverter : TypeConverter
- {
- public override bool CanConvertFrom( ITypeDescriptorContext td, Type t )
- {
- return ( t == typeof( string ) )
- || ( t == typeof( double ) )
- || ( t == typeof( int ) )
- || ( t == typeof( TimeSpan ) );
- }
-
- public override bool CanConvertTo( ITypeDescriptorContext context, Type destinationType )
- {
- return ( destinationType == typeof( InstanceDescriptor ) )
- || ( destinationType == typeof( string ) )
- || ( destinationType == typeof( double ) )
- || ( destinationType == typeof( TimeSpan ) );
- }
-
- public override object ConvertFrom(
- ITypeDescriptorContext td,
- CultureInfo cultureInfo,
- object value )
- {
- Type valueType = value.GetType();
- if( value is string )
- {
- string stringValue = value as string;
- if( ( value as string ).Contains( ":" ) )
- {
- TimeSpan duration = TimeSpan.Zero;
- duration = ( TimeSpan )TypeDescriptor.GetConverter( duration ).ConvertFrom( td, cultureInfo, value );
- return new AnimationRate( duration );
- }
- else
- {
- double speed = 0;
- speed = ( double )TypeDescriptor.GetConverter( speed ).ConvertFrom( td, cultureInfo, value );
- return new AnimationRate( speed );
- }
- }
- else if( valueType == typeof( double ) )
- {
- return ( AnimationRate )( double )value;
- }
- else if( valueType == typeof( int ) )
- {
- return ( AnimationRate )( int )value;
- }
- else // TimeSpan
- {
- return ( AnimationRate )( TimeSpan )value;
- }
- }
-
- public override object ConvertTo(
- ITypeDescriptorContext context,
- CultureInfo cultureInfo,
- object value,
- Type destinationType )
- {
- if( destinationType != null && value is AnimationRate )
- {
- AnimationRate rateValue = ( AnimationRate )value;
-
- if( destinationType == typeof( InstanceDescriptor ) )
- {
- MemberInfo mi;
- if( rateValue.HasDuration )
- {
- mi = typeof( AnimationRate ).GetConstructor( new Type[] { typeof( TimeSpan ) } );
- return new InstanceDescriptor( mi, new object[] { rateValue.Duration } );
- }
- else if( rateValue.HasSpeed )
- {
- mi = typeof( AnimationRate ).GetConstructor( new Type[] { typeof( double ) } );
- return new InstanceDescriptor( mi, new object[] { rateValue.Speed } );
- }
- }
- else if( destinationType == typeof( string ) )
- {
- return rateValue.ToString();
- }
- else if( destinationType == typeof( double ) )
- {
- return rateValue.HasSpeed ? rateValue.Speed : 0.0d;
- }
- else if( destinationType == typeof( TimeSpan ) )
- {
- return rateValue.HasDuration ? rateValue.Duration : TimeSpan.FromSeconds( 0 );
- }
- }
-
- return base.ConvertTo( context, cultureInfo, value, destinationType );
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.ComponentModel;
+using System.ComponentModel.Design.Serialization;
+using System.Globalization;
+using System.Reflection;
+
+namespace Xceed.Wpf.Toolkit.Media.Animation
+{
+ public class AnimationRateConverter : TypeConverter
+ {
+ public override bool CanConvertFrom( ITypeDescriptorContext td, Type t )
+ {
+ return ( t == typeof( string ) )
+ || ( t == typeof( double ) )
+ || ( t == typeof( int ) )
+ || ( t == typeof( TimeSpan ) );
+ }
+
+ public override bool CanConvertTo( ITypeDescriptorContext context, Type destinationType )
+ {
+ return ( destinationType == typeof( InstanceDescriptor ) )
+ || ( destinationType == typeof( string ) )
+ || ( destinationType == typeof( double ) )
+ || ( destinationType == typeof( TimeSpan ) );
+ }
+
+ public override object ConvertFrom(
+ ITypeDescriptorContext td,
+ CultureInfo cultureInfo,
+ object value )
+ {
+ Type valueType = value.GetType();
+ if( value is string )
+ {
+ string stringValue = value as string;
+ if( ( value as string ).Contains( ":" ) )
+ {
+ TimeSpan duration = TimeSpan.Zero;
+ duration = ( TimeSpan )TypeDescriptor.GetConverter( duration ).ConvertFrom( td, cultureInfo, value );
+ return new AnimationRate( duration );
+ }
+ else
+ {
+ double speed = 0;
+ speed = ( double )TypeDescriptor.GetConverter( speed ).ConvertFrom( td, cultureInfo, value );
+ return new AnimationRate( speed );
+ }
+ }
+ else if( valueType == typeof( double ) )
+ {
+ return ( AnimationRate )( double )value;
+ }
+ else if( valueType == typeof( int ) )
+ {
+ return ( AnimationRate )( int )value;
+ }
+ else // TimeSpan
+ {
+ return ( AnimationRate )( TimeSpan )value;
+ }
+ }
+
+ public override object ConvertTo(
+ ITypeDescriptorContext context,
+ CultureInfo cultureInfo,
+ object value,
+ Type destinationType )
+ {
+ if( destinationType != null && value is AnimationRate )
+ {
+ AnimationRate rateValue = ( AnimationRate )value;
+
+ if( destinationType == typeof( InstanceDescriptor ) )
+ {
+ MemberInfo mi;
+ if( rateValue.HasDuration )
+ {
+ mi = typeof( AnimationRate ).GetConstructor( new Type[] { typeof( TimeSpan ) } );
+ return new InstanceDescriptor( mi, new object[] { rateValue.Duration } );
+ }
+ else if( rateValue.HasSpeed )
+ {
+ mi = typeof( AnimationRate ).GetConstructor( new Type[] { typeof( double ) } );
+ return new InstanceDescriptor( mi, new object[] { rateValue.Speed } );
+ }
+ }
+ else if( destinationType == typeof( string ) )
+ {
+ return rateValue.ToString();
+ }
+ else if( destinationType == typeof( double ) )
+ {
+ return rateValue.HasSpeed ? rateValue.Speed : 0.0d;
+ }
+ else if( destinationType == typeof( TimeSpan ) )
+ {
+ return rateValue.HasDuration ? rateValue.Duration : TimeSpan.FromSeconds( 0 );
+ }
+ }
+
+ return base.ConvertTo( context, cultureInfo, value, destinationType );
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/IterativeAnimationEquation.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/IterativeAnimationEquation.cs
index 1cc8fcb12..463e33d27 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/IterativeAnimationEquation.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/IterativeAnimationEquation.cs
@@ -1,49 +1,49 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.ComponentModel;
-
-namespace Xceed.Wpf.Toolkit.Media.Animation
-{
- [TypeConverter( typeof( IterativeEquationConverter ) )]
- public class IterativeEquation
- {
- #region Constructors
-
- public IterativeEquation( IterativeAnimationEquationDelegate equation )
- {
- _equation = equation;
- }
-
- internal IterativeEquation()
- {
- }
-
- #endregion
-
- public virtual T Evaluate( TimeSpan currentTime, T from, T to, TimeSpan duration )
- {
- return _equation( currentTime, from, to, duration );
- }
-
- #region Private Fields
-
- private readonly IterativeAnimationEquationDelegate _equation;
-
- #endregion
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.ComponentModel;
+
+namespace Xceed.Wpf.Toolkit.Media.Animation
+{
+ [TypeConverter( typeof( IterativeEquationConverter ) )]
+ public class IterativeEquation
+ {
+ #region Constructors
+
+ public IterativeEquation( IterativeAnimationEquationDelegate equation )
+ {
+ _equation = equation;
+ }
+
+ internal IterativeEquation()
+ {
+ }
+
+ #endregion
+
+ public virtual T Evaluate( TimeSpan currentTime, T from, T to, TimeSpan duration )
+ {
+ return _equation( currentTime, from, to, duration );
+ }
+
+ #region Private Fields
+
+ private readonly IterativeAnimationEquationDelegate _equation;
+
+ #endregion
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/IterativeAnimationEquationDelegate.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/IterativeAnimationEquationDelegate.cs
index dbb3d684c..6f1ed506c 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/IterativeAnimationEquationDelegate.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/IterativeAnimationEquationDelegate.cs
@@ -1,22 +1,22 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-
-namespace Xceed.Wpf.Toolkit.Media.Animation
-{
- public delegate T IterativeAnimationEquationDelegate( TimeSpan currentTime, T from, T to, TimeSpan duration );
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+
+namespace Xceed.Wpf.Toolkit.Media.Animation
+{
+ public delegate T IterativeAnimationEquationDelegate( TimeSpan currentTime, T from, T to, TimeSpan duration );
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/IterativeEquationConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/IterativeEquationConverter.cs
index 57f56b0ed..31790d714 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/IterativeEquationConverter.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/IterativeEquationConverter.cs
@@ -1,145 +1,145 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.ComponentModel;
-using System.Globalization;
-
-namespace Xceed.Wpf.Toolkit.Media.Animation
-{
- public class IterativeEquationConverter : TypeConverter
- {
- public override bool CanConvertFrom( ITypeDescriptorContext typeDescriptorContext, Type type )
- {
- return type == typeof( string );
- }
-
- public override bool CanConvertTo( ITypeDescriptorContext typeDescriptorContext, Type type )
- {
- return type == typeof( IterativeEquation );
- }
-
- public override object ConvertFrom(
- ITypeDescriptorContext typeDescriptorContext,
- CultureInfo cultureInfo,
- object value )
- {
- IterativeEquation result = null;
-
- if( value is string )
- {
- switch( value as string )
- {
- case "BackEaseIn":
- result = PennerEquations.BackEaseIn as IterativeEquation;
- break;
- case "BackEaseInOut":
- result = PennerEquations.BackEaseInOut as IterativeEquation;
- break;
- case "BackEaseOut":
- result = PennerEquations.BackEaseOut as IterativeEquation;
- break;
- case "BounceEaseIn":
- result = PennerEquations.BounceEaseIn as IterativeEquation;
- break;
- case "BounceEaseInOut":
- result = PennerEquations.BounceEaseInOut as IterativeEquation;
- break;
- case "BounceEaseOut":
- result = PennerEquations.BounceEaseOut as IterativeEquation;
- break;
- case "CircEaseIn":
- result = PennerEquations.CircEaseIn as IterativeEquation;
- break;
- case "CircEaseInOut":
- result = PennerEquations.CircEaseInOut as IterativeEquation;
- break;
- case "CircEaseOut":
- result = PennerEquations.CircEaseOut as IterativeEquation;
- break;
- case "CubicEaseIn":
- result = PennerEquations.CubicEaseIn as IterativeEquation;
- break;
- case "CubicEaseInOut":
- result = PennerEquations.CubicEaseInOut as IterativeEquation;
- break;
- case "CubicEaseOut":
- result = PennerEquations.CubicEaseOut as IterativeEquation;
- break;
- case "ElasticEaseIn":
- result = PennerEquations.ElasticEaseIn as IterativeEquation;
- break;
- case "ElasticEaseInOut":
- result = PennerEquations.ElasticEaseInOut as IterativeEquation;
- break;
- case "ElasticEaseOut":
- result = PennerEquations.ElasticEaseOut as IterativeEquation;
- break;
- case "ExpoEaseIn":
- result = PennerEquations.ExpoEaseIn as IterativeEquation;
- break;
- case "ExpoEaseInOut":
- result = PennerEquations.ExpoEaseInOut as IterativeEquation;
- break;
- case "ExpoEaseOut":
- result = PennerEquations.ExpoEaseOut as IterativeEquation;
- break;
- case "Linear":
- result = PennerEquations.Linear as IterativeEquation;
- break;
- case "QuadEaseIn":
- result = PennerEquations.QuadEaseIn as IterativeEquation;
- break;
- case "QuadEaseInOut":
- result = PennerEquations.QuadEaseInOut as IterativeEquation;
- break;
- case "QuadEaseOut":
- result = PennerEquations.QuadEaseOut as IterativeEquation;
- break;
- case "QuartEaseIn":
- result = PennerEquations.QuartEaseIn as IterativeEquation;
- break;
- case "QuartEaseInOut":
- result = PennerEquations.QuartEaseInOut as IterativeEquation;
- break;
- case "QuartEaseOut":
- result = PennerEquations.QuartEaseOut as IterativeEquation;
- break;
- case "QuintEaseIn":
- result = PennerEquations.QuintEaseIn as IterativeEquation;
- break;
- case "QuintEaseInOut":
- result = PennerEquations.QuintEaseInOut as IterativeEquation;
- break;
- case "QuintEaseOut":
- result = PennerEquations.QuintEaseOut as IterativeEquation;
- break;
- case "SineEaseIn":
- result = PennerEquations.SineEaseIn as IterativeEquation;
- break;
- case "SineEaseInOut":
- result = PennerEquations.SineEaseInOut as IterativeEquation;
- break;
- case "SineEaseOut":
- result = PennerEquations.SineEaseOut as IterativeEquation;
- break;
- }
- }
-
- return result;
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.ComponentModel;
+using System.Globalization;
+
+namespace Xceed.Wpf.Toolkit.Media.Animation
+{
+ public class IterativeEquationConverter : TypeConverter
+ {
+ public override bool CanConvertFrom( ITypeDescriptorContext typeDescriptorContext, Type type )
+ {
+ return type == typeof( string );
+ }
+
+ public override bool CanConvertTo( ITypeDescriptorContext typeDescriptorContext, Type type )
+ {
+ return type == typeof( IterativeEquation );
+ }
+
+ public override object ConvertFrom(
+ ITypeDescriptorContext typeDescriptorContext,
+ CultureInfo cultureInfo,
+ object value )
+ {
+ IterativeEquation result = null;
+
+ if( value is string )
+ {
+ switch( value as string )
+ {
+ case "BackEaseIn":
+ result = PennerEquations.BackEaseIn as IterativeEquation;
+ break;
+ case "BackEaseInOut":
+ result = PennerEquations.BackEaseInOut as IterativeEquation;
+ break;
+ case "BackEaseOut":
+ result = PennerEquations.BackEaseOut as IterativeEquation;
+ break;
+ case "BounceEaseIn":
+ result = PennerEquations.BounceEaseIn as IterativeEquation;
+ break;
+ case "BounceEaseInOut":
+ result = PennerEquations.BounceEaseInOut as IterativeEquation;
+ break;
+ case "BounceEaseOut":
+ result = PennerEquations.BounceEaseOut as IterativeEquation;
+ break;
+ case "CircEaseIn":
+ result = PennerEquations.CircEaseIn as IterativeEquation;
+ break;
+ case "CircEaseInOut":
+ result = PennerEquations.CircEaseInOut as IterativeEquation;
+ break;
+ case "CircEaseOut":
+ result = PennerEquations.CircEaseOut as IterativeEquation;
+ break;
+ case "CubicEaseIn":
+ result = PennerEquations.CubicEaseIn as IterativeEquation;
+ break;
+ case "CubicEaseInOut":
+ result = PennerEquations.CubicEaseInOut as IterativeEquation;
+ break;
+ case "CubicEaseOut":
+ result = PennerEquations.CubicEaseOut as IterativeEquation;
+ break;
+ case "ElasticEaseIn":
+ result = PennerEquations.ElasticEaseIn as IterativeEquation;
+ break;
+ case "ElasticEaseInOut":
+ result = PennerEquations.ElasticEaseInOut as IterativeEquation;
+ break;
+ case "ElasticEaseOut":
+ result = PennerEquations.ElasticEaseOut as IterativeEquation;
+ break;
+ case "ExpoEaseIn":
+ result = PennerEquations.ExpoEaseIn as IterativeEquation;
+ break;
+ case "ExpoEaseInOut":
+ result = PennerEquations.ExpoEaseInOut as IterativeEquation;
+ break;
+ case "ExpoEaseOut":
+ result = PennerEquations.ExpoEaseOut as IterativeEquation;
+ break;
+ case "Linear":
+ result = PennerEquations.Linear as IterativeEquation;
+ break;
+ case "QuadEaseIn":
+ result = PennerEquations.QuadEaseIn as IterativeEquation;
+ break;
+ case "QuadEaseInOut":
+ result = PennerEquations.QuadEaseInOut as IterativeEquation;
+ break;
+ case "QuadEaseOut":
+ result = PennerEquations.QuadEaseOut as IterativeEquation;
+ break;
+ case "QuartEaseIn":
+ result = PennerEquations.QuartEaseIn as IterativeEquation;
+ break;
+ case "QuartEaseInOut":
+ result = PennerEquations.QuartEaseInOut as IterativeEquation;
+ break;
+ case "QuartEaseOut":
+ result = PennerEquations.QuartEaseOut as IterativeEquation;
+ break;
+ case "QuintEaseIn":
+ result = PennerEquations.QuintEaseIn as IterativeEquation;
+ break;
+ case "QuintEaseInOut":
+ result = PennerEquations.QuintEaseInOut as IterativeEquation;
+ break;
+ case "QuintEaseOut":
+ result = PennerEquations.QuintEaseOut as IterativeEquation;
+ break;
+ case "SineEaseIn":
+ result = PennerEquations.SineEaseIn as IterativeEquation;
+ break;
+ case "SineEaseInOut":
+ result = PennerEquations.SineEaseInOut as IterativeEquation;
+ break;
+ case "SineEaseOut":
+ result = PennerEquations.SineEaseOut as IterativeEquation;
+ break;
+ }
+ }
+
+ return result;
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/PennerEquation.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/PennerEquation.cs
index 41c3a77a2..42ccb7213 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/PennerEquation.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/PennerEquation.cs
@@ -1,54 +1,54 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-
-namespace Xceed.Wpf.Toolkit.Media.Animation
-{
- public class PennerEquation : IterativeEquation
- {
- #region Constructors
-
- internal PennerEquation( PennerEquationDelegate pennerImpl )
- {
- _pennerImpl = pennerImpl;
- }
-
- #endregion
-
- public override double Evaluate( TimeSpan currentTime, double from, double to, TimeSpan duration )
- {
- double t = currentTime.TotalSeconds;
- double b = from;
- double c = to - from;
- double d = duration.TotalSeconds;
-
- return _pennerImpl( t, b, c, d );
- }
-
- #region Private Fields
-
- private readonly PennerEquationDelegate _pennerImpl;
-
- #endregion
-
- #region PennerEquationDelegate Delegate
-
- internal delegate double PennerEquationDelegate( double t, double b, double c, double d );
-
- #endregion
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+
+namespace Xceed.Wpf.Toolkit.Media.Animation
+{
+ public class PennerEquation : IterativeEquation
+ {
+ #region Constructors
+
+ internal PennerEquation( PennerEquationDelegate pennerImpl )
+ {
+ _pennerImpl = pennerImpl;
+ }
+
+ #endregion
+
+ public override double Evaluate( TimeSpan currentTime, double from, double to, TimeSpan duration )
+ {
+ double t = currentTime.TotalSeconds;
+ double b = from;
+ double c = to - from;
+ double d = duration.TotalSeconds;
+
+ return _pennerImpl( t, b, c, d );
+ }
+
+ #region Private Fields
+
+ private readonly PennerEquationDelegate _pennerImpl;
+
+ #endregion
+
+ #region PennerEquationDelegate Delegate
+
+ internal delegate double PennerEquationDelegate( double t, double b, double c, double d );
+
+ #endregion
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/PennerEquations.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/PennerEquations.cs
index 4b7765a6e..6f515bf3d 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/PennerEquations.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/Animation/PennerEquations.cs
@@ -1,851 +1,851 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-
-namespace Xceed.Wpf.Toolkit.Media.Animation
-{
- public static class PennerEquations
- {
- #region BackEaseIn Static Property
-
- public static PennerEquation BackEaseIn
- {
- get
- {
- if( _backEaseIn == null )
- {
- _backEaseIn = new PennerEquation( BackEaseInImpl );
- }
- return _backEaseIn;
- }
- }
-
- private static PennerEquation _backEaseIn;
-
- #endregion
-
- #region BackEaseInOut Static Property
-
- public static PennerEquation BackEaseInOut
- {
- get
- {
- if( _backEaseInOut == null )
- {
- _backEaseInOut = new PennerEquation( BackEaseInOutImpl );
- }
- return _backEaseInOut;
- }
- }
-
- private static PennerEquation _backEaseInOut;
-
- #endregion
-
- #region BackEaseOut Static Property
-
- public static PennerEquation BackEaseOut
- {
- get
- {
- if( _backEaseOut == null )
- {
- _backEaseOut = new PennerEquation( BackEaseOutImpl );
- }
- return _backEaseOut;
- }
- }
-
- private static PennerEquation _backEaseOut;
-
- #endregion
-
- #region BounceEaseIn Static Property
-
- public static PennerEquation BounceEaseIn
- {
- get
- {
- if( _bounceEaseIn == null )
- {
- _bounceEaseIn = new PennerEquation( BounceEaseInImpl );
- }
- return _bounceEaseIn;
- }
- }
-
- private static PennerEquation _bounceEaseIn;
-
- #endregion
-
- #region BounceEaseInOut Static Property
-
- public static PennerEquation BounceEaseInOut
- {
- get
- {
- if( _bounceEaseInOut == null )
- {
- _bounceEaseInOut = new PennerEquation( BounceEaseInOutImpl );
- }
- return _bounceEaseInOut;
- }
- }
-
- private static PennerEquation _bounceEaseInOut;
-
- #endregion
-
- #region BounceEaseOut Static Property
-
- public static PennerEquation BounceEaseOut
- {
- get
- {
- if( _bounceEaseOut == null )
- {
- _bounceEaseOut = new PennerEquation( BounceEaseOutImpl );
- }
- return _bounceEaseOut;
- }
- }
-
- private static PennerEquation _bounceEaseOut;
-
- #endregion
-
- #region CircEaseIn Static Property
-
- public static PennerEquation CircEaseIn
- {
- get
- {
- if( _circEaseIn == null )
- {
- _circEaseIn = new PennerEquation( CircEaseInImpl );
- }
- return _circEaseIn;
- }
- }
-
- private static PennerEquation _circEaseIn;
-
- #endregion
-
- #region CircEaseInOut Static Property
-
- public static PennerEquation CircEaseInOut
- {
- get
- {
- if( _circEaseInOut == null )
- {
- _circEaseInOut = new PennerEquation( CircEaseInOutImpl );
- }
- return _circEaseInOut;
- }
- }
-
- private static PennerEquation _circEaseInOut;
-
- #endregion
-
- #region CircEaseOut Static Property
-
- public static PennerEquation CircEaseOut
- {
- get
- {
- if( _circEaseOut == null )
- {
- _circEaseOut = new PennerEquation( CircEaseOutImpl );
- }
- return _circEaseOut;
- }
- }
-
- private static PennerEquation _circEaseOut;
-
- #endregion
-
- #region CubicEaseIn Static Property
-
- public static PennerEquation CubicEaseIn
- {
- get
- {
- if( _cubicEaseIn == null )
- {
- _cubicEaseIn = new PennerEquation( CubicEaseInImpl );
- }
- return _cubicEaseIn;
- }
- }
-
- private static PennerEquation _cubicEaseIn;
-
- #endregion
-
- #region CubicEaseInOut Static Property
-
- public static PennerEquation CubicEaseInOut
- {
- get
- {
- if( _cubicEaseInOut == null )
- {
- _cubicEaseInOut = new PennerEquation( CubicEaseInOutImpl );
- }
- return _cubicEaseInOut;
- }
- }
-
- private static PennerEquation _cubicEaseInOut;
-
- #endregion
-
- #region CubicEaseOut Static Property
-
- public static PennerEquation CubicEaseOut
- {
- get
- {
- if( _cubicEaseOut == null )
- {
- _cubicEaseOut = new PennerEquation( CubicEaseOutImpl );
- }
- return _cubicEaseOut;
- }
- }
-
- private static PennerEquation _cubicEaseOut;
-
- #endregion
-
- #region ElasticEaseIn Static Property
-
- public static PennerEquation ElasticEaseIn
- {
- get
- {
- if( _elasticEaseIn == null )
- {
- _elasticEaseIn = new PennerEquation( ElasticEaseInImpl );
- }
- return _elasticEaseIn;
- }
- }
-
- private static PennerEquation _elasticEaseIn;
-
- #endregion
-
- #region ElasticEaseInOut Static Property
-
- public static PennerEquation ElasticEaseInOut
- {
- get
- {
- if( _elasticEaseInOut == null )
- {
- _elasticEaseInOut = new PennerEquation( ElasticEaseInOutImpl );
- }
- return _elasticEaseInOut;
- }
- }
-
- private static PennerEquation _elasticEaseInOut;
-
- #endregion
-
- #region ElasticEaseOut Static Property
-
- public static PennerEquation ElasticEaseOut
- {
- get
- {
- if( _elasticEaseOut == null )
- {
- _elasticEaseOut = new PennerEquation( ElasticEaseOutImpl );
- }
- return _elasticEaseOut;
- }
- }
-
- private static PennerEquation _elasticEaseOut;
-
- #endregion
-
- #region ExpoEaseIn Static Property
-
- public static PennerEquation ExpoEaseIn
- {
- get
- {
- if( _expoEaseIn == null )
- {
- _expoEaseIn = new PennerEquation( ExpoEaseInImpl );
- }
- return _expoEaseIn;
- }
- }
-
- private static PennerEquation _expoEaseIn;
-
- #endregion
-
- #region ExpoEaseInOut Static Property
-
- public static PennerEquation ExpoEaseInOut
- {
- get
- {
- if( _expoEaseInOut == null )
- {
- _expoEaseInOut = new PennerEquation( ExpoEaseInOutImpl );
- }
- return _expoEaseInOut;
- }
- }
-
- private static PennerEquation _expoEaseInOut;
-
- #endregion
-
- #region ExpoEaseOut Static Property
-
- public static PennerEquation ExpoEaseOut
- {
- get
- {
- if( _expoEaseOut == null )
- {
- _expoEaseOut = new PennerEquation( ExpoEaseOutImpl );
- }
- return _expoEaseOut;
- }
- }
-
- private static PennerEquation _expoEaseOut;
-
- #endregion
-
- #region Linear Static Property
-
- public static PennerEquation Linear
- {
- get
- {
- if( _linear == null )
- {
- _linear = new PennerEquation( LinearImpl );
- }
- return _linear;
- }
- }
-
- private static PennerEquation _linear;
-
- #endregion
-
- #region QuadEaseIn Static Property
-
- public static PennerEquation QuadEaseIn
- {
- get
- {
- if( _quadEaseIn == null )
- {
- _quadEaseIn = new PennerEquation( QuadEaseInImpl );
- }
- return _quadEaseIn;
- }
- }
-
- private static PennerEquation _quadEaseIn;
-
- #endregion
-
- #region QuadEaseInOut Static Property
-
- public static PennerEquation QuadEaseInOut
- {
- get
- {
- if( _quadEaseInOut == null )
- {
- _quadEaseInOut = new PennerEquation( QuadEaseInOutImpl );
- }
- return _quadEaseInOut;
- }
- }
-
- private static PennerEquation _quadEaseInOut;
-
- #endregion
-
- #region QuadEaseOut Static Property
-
- public static PennerEquation QuadEaseOut
- {
- get
- {
- if( _quadEaseOut == null )
- {
- _quadEaseOut = new PennerEquation( QuadEaseOutImpl );
- }
- return _quadEaseOut;
- }
- }
-
- private static PennerEquation _quadEaseOut;
-
- #endregion
-
- #region QuartEaseIn Static Property
-
- public static PennerEquation QuartEaseIn
- {
- get
- {
- if( _quartEaseIn == null )
- {
- _quartEaseIn = new PennerEquation( QuartEaseInImpl );
- }
- return _quartEaseIn;
- }
- }
-
- private static PennerEquation _quartEaseIn;
-
- #endregion
-
- #region QuartEaseInOut Static Property
-
- public static PennerEquation QuartEaseInOut
- {
- get
- {
- if( _quartEaseInOut == null )
- {
- _quartEaseInOut = new PennerEquation( QuartEaseInOutImpl );
- }
- return _quartEaseInOut;
- }
- }
-
- private static PennerEquation _quartEaseInOut;
-
- #endregion
-
- #region QuartEaseOut Static Property
-
- public static PennerEquation QuartEaseOut
- {
- get
- {
- if( _quartEaseOut == null )
- {
- _quartEaseOut = new PennerEquation( QuartEaseOutImpl );
- }
- return _quartEaseOut;
- }
- }
-
- private static PennerEquation _quartEaseOut;
-
- #endregion
-
- #region QuintEaseIn Static Property
-
- public static PennerEquation QuintEaseIn
- {
- get
- {
- if( _quintEaseIn == null )
- {
- _quintEaseIn = new PennerEquation( QuintEaseInImpl );
- }
- return _quintEaseIn;
- }
- }
-
- private static PennerEquation _quintEaseIn;
-
- #endregion
-
- #region QuintEaseInOut Static Property
-
- public static PennerEquation QuintEaseInOut
- {
- get
- {
- if( _quintEaseInOut == null )
- {
- _quintEaseInOut = new PennerEquation( QuintEaseInOutImpl );
- }
- return _quintEaseInOut;
- }
- }
-
- private static PennerEquation _quintEaseInOut;
-
- #endregion
-
- #region QuintEaseOut Static Property
-
- public static PennerEquation QuintEaseOut
- {
- get
- {
- if( _quintEaseOut == null )
- {
- _quintEaseOut = new PennerEquation( QuintEaseOutImpl );
- }
- return _quintEaseOut;
- }
- }
-
- private static PennerEquation _quintEaseOut;
-
- #endregion
-
- #region SineEaseIn Static Property
-
- public static PennerEquation SineEaseIn
- {
- get
- {
- if( _sineEaseIn == null )
- {
- _sineEaseIn = new PennerEquation( SineEaseInImpl );
- }
- return _sineEaseIn;
- }
- }
-
- private static PennerEquation _sineEaseIn;
-
- #endregion
-
- #region SineEaseInOut Static Property
-
- public static PennerEquation SineEaseInOut
- {
- get
- {
- if( _sineEaseInOut == null )
- {
- _sineEaseInOut = new PennerEquation( SineEaseInOutImpl );
- }
- return _sineEaseInOut;
- }
- }
-
- private static PennerEquation _sineEaseInOut;
-
- #endregion
-
- #region SineEaseOut Static Property
-
- public static PennerEquation SineEaseOut
- {
- get
- {
- if( _sineEaseOut == null )
- {
- _sineEaseOut = new PennerEquation( SineEaseOutImpl );
- }
- return _sineEaseOut;
- }
- }
-
- private static PennerEquation _sineEaseOut;
-
- #endregion
-
- #region Back Equations Methods
-
- private static double BackEaseOutImpl( double t, double b, double c, double d )
- {
- return c * ( ( t = t / d - 1 ) * t * ( ( 1.70158 + 1 ) * t + 1.70158 ) + 1 ) + b;
- }
-
- private static double BackEaseInImpl( double t, double b, double c, double d )
- {
- return c * ( t /= d ) * t * ( ( 1.70158 + 1 ) * t - 1.70158 ) + b;
- }
-
- private static double BackEaseInOutImpl( double t, double b, double c, double d )
- {
- double s = 1.70158;
- if( ( t /= d / 2 ) < 1 )
- return c / 2 * ( t * t * ( ( ( s *= ( 1.525 ) ) + 1 ) * t - s ) ) + b;
- return c / 2 * ( ( t -= 2 ) * t * ( ( ( s *= ( 1.525 ) ) + 1 ) * t + s ) + 2 ) + b;
- }
-
- #endregion
-
- #region Bounce Equations Methods
-
- private static double BounceEaseOutImpl( double t, double b, double c, double d )
- {
- if( ( t /= d ) < ( 1 / 2.75 ) )
- {
- return c * ( 7.5625 * t * t ) + b;
- }
- else if( t < ( 2 / 2.75 ) )
- {
- return c * ( 7.5625 * ( t -= ( 1.5 / 2.75 ) ) * t + .75 ) + b;
- }
- else if( t < ( 2.5 / 2.75 ) )
- {
- return c * ( 7.5625 * ( t -= ( 2.25 / 2.75 ) ) * t + .9375 ) + b;
- }
- else
- {
- return c * ( 7.5625 * ( t -= ( 2.625 / 2.75 ) ) * t + .984375 ) + b;
- }
- }
-
- private static double BounceEaseInImpl( double t, double b, double c, double d )
- {
- return c - PennerEquations.BounceEaseOutImpl( d - t, 0, c, d ) + b;
- }
-
- private static double BounceEaseInOutImpl( double t, double b, double c, double d )
- {
- if( t < d / 2 )
- {
- return PennerEquations.BounceEaseInImpl( t * 2, 0, c, d ) * .5 + b;
- }
- else
- {
- return PennerEquations.BounceEaseOutImpl( t * 2 - d, 0, c, d ) * .5 + c * .5 + b;
- }
- }
-
- #endregion
-
- #region Circular Equations Methods
-
- private static double CircEaseOutImpl( double t, double b, double c, double d )
- {
- return c * Math.Sqrt( 1 - ( t = t / d - 1 ) * t ) + b;
- }
-
- private static double CircEaseInImpl( double t, double b, double c, double d )
- {
- return -c * ( Math.Sqrt( 1 - ( t /= d ) * t ) - 1 ) + b;
- }
-
- private static double CircEaseInOutImpl( double t, double b, double c, double d )
- {
- if( ( t /= d / 2 ) < 1 )
- return -c / 2 * ( Math.Sqrt( 1 - t * t ) - 1 ) + b;
-
- return c / 2 * ( Math.Sqrt( 1 - ( t -= 2 ) * t ) + 1 ) + b;
- }
-
- #endregion
-
- #region Cubic Equations Methods
-
- private static double CubicEaseOutImpl( double t, double b, double c, double d )
- {
- return c * ( ( t = t / d - 1 ) * t * t + 1 ) + b;
- }
-
- private static double CubicEaseInImpl( double t, double b, double c, double d )
- {
- return c * ( t /= d ) * t * t + b;
- }
-
- private static double CubicEaseInOutImpl( double t, double b, double c, double d )
- {
- if( ( t /= d / 2 ) < 1 )
- return c / 2 * t * t * t + b;
-
- return c / 2 * ( ( t -= 2 ) * t * t + 2 ) + b;
- }
-
- #endregion
-
- #region Elastic Equations Methods
-
- private static double ElasticEaseOutImpl( double t, double b, double c, double d )
- {
- if( ( t /= d ) == 1 )
- return b + c;
-
- double p = d * .3;
- double s = p / 4;
-
- return ( c * Math.Pow( 2, -10 * t ) * Math.Sin( ( t * d - s ) * ( 2 * Math.PI ) / p ) + c + b );
- }
-
- private static double ElasticEaseInImpl( double t, double b, double c, double d )
- {
- if( ( t /= d ) == 1 )
- return b + c;
-
- double p = d * .3;
- double s = p / 4;
-
- return -( c * Math.Pow( 2, 10 * ( t -= 1 ) ) * Math.Sin( ( t * d - s ) * ( 2 * Math.PI ) / p ) ) + b;
- }
-
- private static double ElasticEaseInOutImpl( double t, double b, double c, double d )
- {
- if( ( t /= d / 2 ) == 2 )
- return b + c;
-
- double p = d * ( .3 * 1.5 );
- double s = p / 4;
-
- if( t < 1 )
- return -.5 * ( c * Math.Pow( 2, 10 * ( t -= 1 ) ) * Math.Sin( ( t * d - s ) * ( 2 * Math.PI ) / p ) ) + b;
- return c * Math.Pow( 2, -10 * ( t -= 1 ) ) * Math.Sin( ( t * d - s ) * ( 2 * Math.PI ) / p ) * .5 + c + b;
- }
-
- #endregion
-
- #region Expo Equations Methods
-
- private static double ExpoEaseOutImpl( double t, double b, double c, double d )
- {
- return ( t == d ) ? b + c : c * ( -Math.Pow( 2, -10 * t / d ) + 1 ) + b;
- }
-
- private static double ExpoEaseInImpl( double t, double b, double c, double d )
- {
- return ( t == 0 ) ? b : c * Math.Pow( 2, 10 * ( t / d - 1 ) ) + b;
- }
-
- private static double ExpoEaseInOutImpl( double t, double b, double c, double d )
- {
- if( t == 0 )
- return b;
-
- if( t == d )
- return b + c;
-
- if( ( t /= d / 2 ) < 1 )
- return c / 2 * Math.Pow( 2, 10 * ( t - 1 ) ) + b;
-
- return c / 2 * ( -Math.Pow( 2, -10 * --t ) + 2 ) + b;
- }
-
- #endregion
-
- #region Linear Equations Methods
-
- private static double LinearImpl( double t, double b, double c, double d )
- {
- return c * ( t / d ) + b;
- }
-
- #endregion
-
- #region Quad Equations Methods
-
- private static double QuadEaseOutImpl( double t, double b, double c, double d )
- {
- return -c * ( t /= d ) * ( t - 2 ) + b;
- }
-
- private static double QuadEaseInImpl( double t, double b, double c, double d )
- {
- return c * ( t /= d ) * t + b;
- }
-
- private static double QuadEaseInOutImpl( double t, double b, double c, double d )
- {
- if( ( t /= d / 2 ) < 1 )
- return c / 2 * t * t + b;
-
- return -c / 2 * ( ( --t ) * ( t - 2 ) - 1 ) + b;
- }
-
- #endregion
-
- #region Quartic Equations Methods
-
- private static double QuartEaseOutImpl( double t, double b, double c, double d )
- {
- return -c * ( ( t = t / d - 1 ) * t * t * t - 1 ) + b;
- }
-
- private static double QuartEaseInImpl( double t, double b, double c, double d )
- {
- return c * ( t /= d ) * t * t * t + b;
- }
-
- private static double QuartEaseInOutImpl( double t, double b, double c, double d )
- {
- if( ( t /= d / 2 ) < 1 )
- return c / 2 * t * t * t * t + b;
-
- return -c / 2 * ( ( t -= 2 ) * t * t * t - 2 ) + b;
- }
-
- #endregion
-
- #region Quintic Equations Methods
-
- private static double QuintEaseOutImpl( double t, double b, double c, double d )
- {
- return c * ( ( t = t / d - 1 ) * t * t * t * t + 1 ) + b;
- }
-
- private static double QuintEaseInImpl( double t, double b, double c, double d )
- {
- return c * ( t /= d ) * t * t * t * t + b;
- }
-
- private static double QuintEaseInOutImpl( double t, double b, double c, double d )
- {
- if( ( t /= d / 2 ) < 1 )
- return c / 2 * t * t * t * t * t + b;
- return c / 2 * ( ( t -= 2 ) * t * t * t * t + 2 ) + b;
- }
-
- #endregion
-
- #region Sine Equations Methods
-
- private static double SineEaseOutImpl( double t, double b, double c, double d )
- {
- return c * Math.Sin( t / d * ( Math.PI / 2 ) ) + b;
- }
-
- private static double SineEaseInImpl( double t, double b, double c, double d )
- {
- return -c * Math.Cos( t / d * ( Math.PI / 2 ) ) + c + b;
- }
-
- private static double SineEaseInOutImpl( double t, double b, double c, double d )
- {
- if( ( t /= d / 2 ) < 1 )
- return c / 2 * ( Math.Sin( Math.PI * t / 2 ) ) + b;
-
- return -c / 2 * ( Math.Cos( Math.PI * --t / 2 ) - 2 ) + b;
- }
-
- #endregion
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+
+namespace Xceed.Wpf.Toolkit.Media.Animation
+{
+ public static class PennerEquations
+ {
+ #region BackEaseIn Static Property
+
+ public static PennerEquation BackEaseIn
+ {
+ get
+ {
+ if( _backEaseIn == null )
+ {
+ _backEaseIn = new PennerEquation( BackEaseInImpl );
+ }
+ return _backEaseIn;
+ }
+ }
+
+ private static PennerEquation _backEaseIn;
+
+ #endregion
+
+ #region BackEaseInOut Static Property
+
+ public static PennerEquation BackEaseInOut
+ {
+ get
+ {
+ if( _backEaseInOut == null )
+ {
+ _backEaseInOut = new PennerEquation( BackEaseInOutImpl );
+ }
+ return _backEaseInOut;
+ }
+ }
+
+ private static PennerEquation _backEaseInOut;
+
+ #endregion
+
+ #region BackEaseOut Static Property
+
+ public static PennerEquation BackEaseOut
+ {
+ get
+ {
+ if( _backEaseOut == null )
+ {
+ _backEaseOut = new PennerEquation( BackEaseOutImpl );
+ }
+ return _backEaseOut;
+ }
+ }
+
+ private static PennerEquation _backEaseOut;
+
+ #endregion
+
+ #region BounceEaseIn Static Property
+
+ public static PennerEquation BounceEaseIn
+ {
+ get
+ {
+ if( _bounceEaseIn == null )
+ {
+ _bounceEaseIn = new PennerEquation( BounceEaseInImpl );
+ }
+ return _bounceEaseIn;
+ }
+ }
+
+ private static PennerEquation _bounceEaseIn;
+
+ #endregion
+
+ #region BounceEaseInOut Static Property
+
+ public static PennerEquation BounceEaseInOut
+ {
+ get
+ {
+ if( _bounceEaseInOut == null )
+ {
+ _bounceEaseInOut = new PennerEquation( BounceEaseInOutImpl );
+ }
+ return _bounceEaseInOut;
+ }
+ }
+
+ private static PennerEquation _bounceEaseInOut;
+
+ #endregion
+
+ #region BounceEaseOut Static Property
+
+ public static PennerEquation BounceEaseOut
+ {
+ get
+ {
+ if( _bounceEaseOut == null )
+ {
+ _bounceEaseOut = new PennerEquation( BounceEaseOutImpl );
+ }
+ return _bounceEaseOut;
+ }
+ }
+
+ private static PennerEquation _bounceEaseOut;
+
+ #endregion
+
+ #region CircEaseIn Static Property
+
+ public static PennerEquation CircEaseIn
+ {
+ get
+ {
+ if( _circEaseIn == null )
+ {
+ _circEaseIn = new PennerEquation( CircEaseInImpl );
+ }
+ return _circEaseIn;
+ }
+ }
+
+ private static PennerEquation _circEaseIn;
+
+ #endregion
+
+ #region CircEaseInOut Static Property
+
+ public static PennerEquation CircEaseInOut
+ {
+ get
+ {
+ if( _circEaseInOut == null )
+ {
+ _circEaseInOut = new PennerEquation( CircEaseInOutImpl );
+ }
+ return _circEaseInOut;
+ }
+ }
+
+ private static PennerEquation _circEaseInOut;
+
+ #endregion
+
+ #region CircEaseOut Static Property
+
+ public static PennerEquation CircEaseOut
+ {
+ get
+ {
+ if( _circEaseOut == null )
+ {
+ _circEaseOut = new PennerEquation( CircEaseOutImpl );
+ }
+ return _circEaseOut;
+ }
+ }
+
+ private static PennerEquation _circEaseOut;
+
+ #endregion
+
+ #region CubicEaseIn Static Property
+
+ public static PennerEquation CubicEaseIn
+ {
+ get
+ {
+ if( _cubicEaseIn == null )
+ {
+ _cubicEaseIn = new PennerEquation( CubicEaseInImpl );
+ }
+ return _cubicEaseIn;
+ }
+ }
+
+ private static PennerEquation _cubicEaseIn;
+
+ #endregion
+
+ #region CubicEaseInOut Static Property
+
+ public static PennerEquation CubicEaseInOut
+ {
+ get
+ {
+ if( _cubicEaseInOut == null )
+ {
+ _cubicEaseInOut = new PennerEquation( CubicEaseInOutImpl );
+ }
+ return _cubicEaseInOut;
+ }
+ }
+
+ private static PennerEquation _cubicEaseInOut;
+
+ #endregion
+
+ #region CubicEaseOut Static Property
+
+ public static PennerEquation CubicEaseOut
+ {
+ get
+ {
+ if( _cubicEaseOut == null )
+ {
+ _cubicEaseOut = new PennerEquation( CubicEaseOutImpl );
+ }
+ return _cubicEaseOut;
+ }
+ }
+
+ private static PennerEquation _cubicEaseOut;
+
+ #endregion
+
+ #region ElasticEaseIn Static Property
+
+ public static PennerEquation ElasticEaseIn
+ {
+ get
+ {
+ if( _elasticEaseIn == null )
+ {
+ _elasticEaseIn = new PennerEquation( ElasticEaseInImpl );
+ }
+ return _elasticEaseIn;
+ }
+ }
+
+ private static PennerEquation _elasticEaseIn;
+
+ #endregion
+
+ #region ElasticEaseInOut Static Property
+
+ public static PennerEquation ElasticEaseInOut
+ {
+ get
+ {
+ if( _elasticEaseInOut == null )
+ {
+ _elasticEaseInOut = new PennerEquation( ElasticEaseInOutImpl );
+ }
+ return _elasticEaseInOut;
+ }
+ }
+
+ private static PennerEquation _elasticEaseInOut;
+
+ #endregion
+
+ #region ElasticEaseOut Static Property
+
+ public static PennerEquation ElasticEaseOut
+ {
+ get
+ {
+ if( _elasticEaseOut == null )
+ {
+ _elasticEaseOut = new PennerEquation( ElasticEaseOutImpl );
+ }
+ return _elasticEaseOut;
+ }
+ }
+
+ private static PennerEquation _elasticEaseOut;
+
+ #endregion
+
+ #region ExpoEaseIn Static Property
+
+ public static PennerEquation ExpoEaseIn
+ {
+ get
+ {
+ if( _expoEaseIn == null )
+ {
+ _expoEaseIn = new PennerEquation( ExpoEaseInImpl );
+ }
+ return _expoEaseIn;
+ }
+ }
+
+ private static PennerEquation _expoEaseIn;
+
+ #endregion
+
+ #region ExpoEaseInOut Static Property
+
+ public static PennerEquation ExpoEaseInOut
+ {
+ get
+ {
+ if( _expoEaseInOut == null )
+ {
+ _expoEaseInOut = new PennerEquation( ExpoEaseInOutImpl );
+ }
+ return _expoEaseInOut;
+ }
+ }
+
+ private static PennerEquation _expoEaseInOut;
+
+ #endregion
+
+ #region ExpoEaseOut Static Property
+
+ public static PennerEquation ExpoEaseOut
+ {
+ get
+ {
+ if( _expoEaseOut == null )
+ {
+ _expoEaseOut = new PennerEquation( ExpoEaseOutImpl );
+ }
+ return _expoEaseOut;
+ }
+ }
+
+ private static PennerEquation _expoEaseOut;
+
+ #endregion
+
+ #region Linear Static Property
+
+ public static PennerEquation Linear
+ {
+ get
+ {
+ if( _linear == null )
+ {
+ _linear = new PennerEquation( LinearImpl );
+ }
+ return _linear;
+ }
+ }
+
+ private static PennerEquation _linear;
+
+ #endregion
+
+ #region QuadEaseIn Static Property
+
+ public static PennerEquation QuadEaseIn
+ {
+ get
+ {
+ if( _quadEaseIn == null )
+ {
+ _quadEaseIn = new PennerEquation( QuadEaseInImpl );
+ }
+ return _quadEaseIn;
+ }
+ }
+
+ private static PennerEquation _quadEaseIn;
+
+ #endregion
+
+ #region QuadEaseInOut Static Property
+
+ public static PennerEquation QuadEaseInOut
+ {
+ get
+ {
+ if( _quadEaseInOut == null )
+ {
+ _quadEaseInOut = new PennerEquation( QuadEaseInOutImpl );
+ }
+ return _quadEaseInOut;
+ }
+ }
+
+ private static PennerEquation _quadEaseInOut;
+
+ #endregion
+
+ #region QuadEaseOut Static Property
+
+ public static PennerEquation QuadEaseOut
+ {
+ get
+ {
+ if( _quadEaseOut == null )
+ {
+ _quadEaseOut = new PennerEquation( QuadEaseOutImpl );
+ }
+ return _quadEaseOut;
+ }
+ }
+
+ private static PennerEquation _quadEaseOut;
+
+ #endregion
+
+ #region QuartEaseIn Static Property
+
+ public static PennerEquation QuartEaseIn
+ {
+ get
+ {
+ if( _quartEaseIn == null )
+ {
+ _quartEaseIn = new PennerEquation( QuartEaseInImpl );
+ }
+ return _quartEaseIn;
+ }
+ }
+
+ private static PennerEquation _quartEaseIn;
+
+ #endregion
+
+ #region QuartEaseInOut Static Property
+
+ public static PennerEquation QuartEaseInOut
+ {
+ get
+ {
+ if( _quartEaseInOut == null )
+ {
+ _quartEaseInOut = new PennerEquation( QuartEaseInOutImpl );
+ }
+ return _quartEaseInOut;
+ }
+ }
+
+ private static PennerEquation _quartEaseInOut;
+
+ #endregion
+
+ #region QuartEaseOut Static Property
+
+ public static PennerEquation QuartEaseOut
+ {
+ get
+ {
+ if( _quartEaseOut == null )
+ {
+ _quartEaseOut = new PennerEquation( QuartEaseOutImpl );
+ }
+ return _quartEaseOut;
+ }
+ }
+
+ private static PennerEquation _quartEaseOut;
+
+ #endregion
+
+ #region QuintEaseIn Static Property
+
+ public static PennerEquation QuintEaseIn
+ {
+ get
+ {
+ if( _quintEaseIn == null )
+ {
+ _quintEaseIn = new PennerEquation( QuintEaseInImpl );
+ }
+ return _quintEaseIn;
+ }
+ }
+
+ private static PennerEquation _quintEaseIn;
+
+ #endregion
+
+ #region QuintEaseInOut Static Property
+
+ public static PennerEquation QuintEaseInOut
+ {
+ get
+ {
+ if( _quintEaseInOut == null )
+ {
+ _quintEaseInOut = new PennerEquation( QuintEaseInOutImpl );
+ }
+ return _quintEaseInOut;
+ }
+ }
+
+ private static PennerEquation _quintEaseInOut;
+
+ #endregion
+
+ #region QuintEaseOut Static Property
+
+ public static PennerEquation QuintEaseOut
+ {
+ get
+ {
+ if( _quintEaseOut == null )
+ {
+ _quintEaseOut = new PennerEquation( QuintEaseOutImpl );
+ }
+ return _quintEaseOut;
+ }
+ }
+
+ private static PennerEquation _quintEaseOut;
+
+ #endregion
+
+ #region SineEaseIn Static Property
+
+ public static PennerEquation SineEaseIn
+ {
+ get
+ {
+ if( _sineEaseIn == null )
+ {
+ _sineEaseIn = new PennerEquation( SineEaseInImpl );
+ }
+ return _sineEaseIn;
+ }
+ }
+
+ private static PennerEquation _sineEaseIn;
+
+ #endregion
+
+ #region SineEaseInOut Static Property
+
+ public static PennerEquation SineEaseInOut
+ {
+ get
+ {
+ if( _sineEaseInOut == null )
+ {
+ _sineEaseInOut = new PennerEquation( SineEaseInOutImpl );
+ }
+ return _sineEaseInOut;
+ }
+ }
+
+ private static PennerEquation _sineEaseInOut;
+
+ #endregion
+
+ #region SineEaseOut Static Property
+
+ public static PennerEquation SineEaseOut
+ {
+ get
+ {
+ if( _sineEaseOut == null )
+ {
+ _sineEaseOut = new PennerEquation( SineEaseOutImpl );
+ }
+ return _sineEaseOut;
+ }
+ }
+
+ private static PennerEquation _sineEaseOut;
+
+ #endregion
+
+ #region Back Equations Methods
+
+ private static double BackEaseOutImpl( double t, double b, double c, double d )
+ {
+ return c * ( ( t = t / d - 1 ) * t * ( ( 1.70158 + 1 ) * t + 1.70158 ) + 1 ) + b;
+ }
+
+ private static double BackEaseInImpl( double t, double b, double c, double d )
+ {
+ return c * ( t /= d ) * t * ( ( 1.70158 + 1 ) * t - 1.70158 ) + b;
+ }
+
+ private static double BackEaseInOutImpl( double t, double b, double c, double d )
+ {
+ double s = 1.70158;
+ if( ( t /= d / 2 ) < 1 )
+ return c / 2 * ( t * t * ( ( ( s *= ( 1.525 ) ) + 1 ) * t - s ) ) + b;
+ return c / 2 * ( ( t -= 2 ) * t * ( ( ( s *= ( 1.525 ) ) + 1 ) * t + s ) + 2 ) + b;
+ }
+
+ #endregion
+
+ #region Bounce Equations Methods
+
+ private static double BounceEaseOutImpl( double t, double b, double c, double d )
+ {
+ if( ( t /= d ) < ( 1 / 2.75 ) )
+ {
+ return c * ( 7.5625 * t * t ) + b;
+ }
+ else if( t < ( 2 / 2.75 ) )
+ {
+ return c * ( 7.5625 * ( t -= ( 1.5 / 2.75 ) ) * t + .75 ) + b;
+ }
+ else if( t < ( 2.5 / 2.75 ) )
+ {
+ return c * ( 7.5625 * ( t -= ( 2.25 / 2.75 ) ) * t + .9375 ) + b;
+ }
+ else
+ {
+ return c * ( 7.5625 * ( t -= ( 2.625 / 2.75 ) ) * t + .984375 ) + b;
+ }
+ }
+
+ private static double BounceEaseInImpl( double t, double b, double c, double d )
+ {
+ return c - PennerEquations.BounceEaseOutImpl( d - t, 0, c, d ) + b;
+ }
+
+ private static double BounceEaseInOutImpl( double t, double b, double c, double d )
+ {
+ if( t < d / 2 )
+ {
+ return PennerEquations.BounceEaseInImpl( t * 2, 0, c, d ) * .5 + b;
+ }
+ else
+ {
+ return PennerEquations.BounceEaseOutImpl( t * 2 - d, 0, c, d ) * .5 + c * .5 + b;
+ }
+ }
+
+ #endregion
+
+ #region Circular Equations Methods
+
+ private static double CircEaseOutImpl( double t, double b, double c, double d )
+ {
+ return c * Math.Sqrt( 1 - ( t = t / d - 1 ) * t ) + b;
+ }
+
+ private static double CircEaseInImpl( double t, double b, double c, double d )
+ {
+ return -c * ( Math.Sqrt( 1 - ( t /= d ) * t ) - 1 ) + b;
+ }
+
+ private static double CircEaseInOutImpl( double t, double b, double c, double d )
+ {
+ if( ( t /= d / 2 ) < 1 )
+ return -c / 2 * ( Math.Sqrt( 1 - t * t ) - 1 ) + b;
+
+ return c / 2 * ( Math.Sqrt( 1 - ( t -= 2 ) * t ) + 1 ) + b;
+ }
+
+ #endregion
+
+ #region Cubic Equations Methods
+
+ private static double CubicEaseOutImpl( double t, double b, double c, double d )
+ {
+ return c * ( ( t = t / d - 1 ) * t * t + 1 ) + b;
+ }
+
+ private static double CubicEaseInImpl( double t, double b, double c, double d )
+ {
+ return c * ( t /= d ) * t * t + b;
+ }
+
+ private static double CubicEaseInOutImpl( double t, double b, double c, double d )
+ {
+ if( ( t /= d / 2 ) < 1 )
+ return c / 2 * t * t * t + b;
+
+ return c / 2 * ( ( t -= 2 ) * t * t + 2 ) + b;
+ }
+
+ #endregion
+
+ #region Elastic Equations Methods
+
+ private static double ElasticEaseOutImpl( double t, double b, double c, double d )
+ {
+ if( ( t /= d ) == 1 )
+ return b + c;
+
+ double p = d * .3;
+ double s = p / 4;
+
+ return ( c * Math.Pow( 2, -10 * t ) * Math.Sin( ( t * d - s ) * ( 2 * Math.PI ) / p ) + c + b );
+ }
+
+ private static double ElasticEaseInImpl( double t, double b, double c, double d )
+ {
+ if( ( t /= d ) == 1 )
+ return b + c;
+
+ double p = d * .3;
+ double s = p / 4;
+
+ return -( c * Math.Pow( 2, 10 * ( t -= 1 ) ) * Math.Sin( ( t * d - s ) * ( 2 * Math.PI ) / p ) ) + b;
+ }
+
+ private static double ElasticEaseInOutImpl( double t, double b, double c, double d )
+ {
+ if( ( t /= d / 2 ) == 2 )
+ return b + c;
+
+ double p = d * ( .3 * 1.5 );
+ double s = p / 4;
+
+ if( t < 1 )
+ return -.5 * ( c * Math.Pow( 2, 10 * ( t -= 1 ) ) * Math.Sin( ( t * d - s ) * ( 2 * Math.PI ) / p ) ) + b;
+ return c * Math.Pow( 2, -10 * ( t -= 1 ) ) * Math.Sin( ( t * d - s ) * ( 2 * Math.PI ) / p ) * .5 + c + b;
+ }
+
+ #endregion
+
+ #region Expo Equations Methods
+
+ private static double ExpoEaseOutImpl( double t, double b, double c, double d )
+ {
+ return ( t == d ) ? b + c : c * ( -Math.Pow( 2, -10 * t / d ) + 1 ) + b;
+ }
+
+ private static double ExpoEaseInImpl( double t, double b, double c, double d )
+ {
+ return ( t == 0 ) ? b : c * Math.Pow( 2, 10 * ( t / d - 1 ) ) + b;
+ }
+
+ private static double ExpoEaseInOutImpl( double t, double b, double c, double d )
+ {
+ if( t == 0 )
+ return b;
+
+ if( t == d )
+ return b + c;
+
+ if( ( t /= d / 2 ) < 1 )
+ return c / 2 * Math.Pow( 2, 10 * ( t - 1 ) ) + b;
+
+ return c / 2 * ( -Math.Pow( 2, -10 * --t ) + 2 ) + b;
+ }
+
+ #endregion
+
+ #region Linear Equations Methods
+
+ private static double LinearImpl( double t, double b, double c, double d )
+ {
+ return c * ( t / d ) + b;
+ }
+
+ #endregion
+
+ #region Quad Equations Methods
+
+ private static double QuadEaseOutImpl( double t, double b, double c, double d )
+ {
+ return -c * ( t /= d ) * ( t - 2 ) + b;
+ }
+
+ private static double QuadEaseInImpl( double t, double b, double c, double d )
+ {
+ return c * ( t /= d ) * t + b;
+ }
+
+ private static double QuadEaseInOutImpl( double t, double b, double c, double d )
+ {
+ if( ( t /= d / 2 ) < 1 )
+ return c / 2 * t * t + b;
+
+ return -c / 2 * ( ( --t ) * ( t - 2 ) - 1 ) + b;
+ }
+
+ #endregion
+
+ #region Quartic Equations Methods
+
+ private static double QuartEaseOutImpl( double t, double b, double c, double d )
+ {
+ return -c * ( ( t = t / d - 1 ) * t * t * t - 1 ) + b;
+ }
+
+ private static double QuartEaseInImpl( double t, double b, double c, double d )
+ {
+ return c * ( t /= d ) * t * t * t + b;
+ }
+
+ private static double QuartEaseInOutImpl( double t, double b, double c, double d )
+ {
+ if( ( t /= d / 2 ) < 1 )
+ return c / 2 * t * t * t * t + b;
+
+ return -c / 2 * ( ( t -= 2 ) * t * t * t - 2 ) + b;
+ }
+
+ #endregion
+
+ #region Quintic Equations Methods
+
+ private static double QuintEaseOutImpl( double t, double b, double c, double d )
+ {
+ return c * ( ( t = t / d - 1 ) * t * t * t * t + 1 ) + b;
+ }
+
+ private static double QuintEaseInImpl( double t, double b, double c, double d )
+ {
+ return c * ( t /= d ) * t * t * t * t + b;
+ }
+
+ private static double QuintEaseInOutImpl( double t, double b, double c, double d )
+ {
+ if( ( t /= d / 2 ) < 1 )
+ return c / 2 * t * t * t * t * t + b;
+ return c / 2 * ( ( t -= 2 ) * t * t * t * t + 2 ) + b;
+ }
+
+ #endregion
+
+ #region Sine Equations Methods
+
+ private static double SineEaseOutImpl( double t, double b, double c, double d )
+ {
+ return c * Math.Sin( t / d * ( Math.PI / 2 ) ) + b;
+ }
+
+ private static double SineEaseInImpl( double t, double b, double c, double d )
+ {
+ return -c * Math.Cos( t / d * ( Math.PI / 2 ) ) + c + b;
+ }
+
+ private static double SineEaseInOutImpl( double t, double b, double c, double d )
+ {
+ if( ( t /= d / 2 ) < 1 )
+ return c / 2 * ( Math.Sin( Math.PI * t / 2 ) ) + b;
+
+ return -c / 2 * ( Math.Cos( Math.PI * --t / 2 ) - 2 ) + b;
+ }
+
+ #endregion
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/WindowColors.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/WindowColors.cs
index 7a3f193e7..ae986ec6a 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/WindowColors.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Media/WindowColors.cs
@@ -1,126 +1,126 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Windows.Media;
-
-namespace Xceed.Wpf.Toolkit.Core.Media
-{
- ///
- /// Contains system colors and configurations that can be used by the control themes.
- ///
- /// Mainly extracted from the registry because theses values are not exposed by the standard .NET API.
- ///
- public static class WindowColors
- {
- private static Color? _colorizationMode;
- private static bool? _colorizationOpaqueBlend;
-
- ///
- /// Relative to the \HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor Registry key.
- ///
- /// Gets the window chrome color.
- ///
- public static Color ColorizationColor
- {
- get
- {
- if( _colorizationMode.HasValue )
- return _colorizationMode.Value;
-
- try
- {
- _colorizationMode = WindowColors.GetDWMColorValue( "ColorizationColor" );
- }
- catch
- {
- // If for any reason (for example, a SecurityException for XBAP apps)
- // we cannot read the value in the registry, fall back on some color.
- _colorizationMode = Color.FromArgb(255, 175, 175, 175);
- }
-
- return _colorizationMode.Value;
- }
- }
-
- ///
- /// Relative to the \HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationOpaqueBlend Registry key:
- ///
- /// Gets whether transparency is disabled.
- ///
- /// Returns true if transparency is disabled; false otherwise.
- ///
- public static bool ColorizationOpaqueBlend
- {
- get
- {
- if( _colorizationOpaqueBlend.HasValue )
- return _colorizationOpaqueBlend.Value;
-
- try
- {
- _colorizationOpaqueBlend = WindowColors.GetDWMBoolValue( "ColorizationOpaqueBlend" );
- }
- catch
- {
- // If for any reason (for example, a SecurityException for XBAP apps)
- // we cannot read the value in the registry, fall back on some color.
- _colorizationOpaqueBlend = false;
- }
-
- return _colorizationOpaqueBlend.Value;
- }
- }
-
- private static int GetDWMIntValue( string keyName )
- {
- // This value is not accessible throught the standard WPF API.
- // We must dig into the registry to get the value.
- var curUser = Microsoft.Win32.Registry.CurrentUser;
- var subKey = curUser.CreateSubKey(
- @"Software\Microsoft\Windows\DWM",
- Microsoft.Win32.RegistryKeyPermissionCheck.ReadSubTree
-#if VS2008
- );
-#else
- ,Microsoft.Win32.RegistryOptions.None );
-#endif
- return ( int )subKey.GetValue( keyName );
- }
-
- private static Color GetDWMColorValue( string keyName )
- {
- int value = WindowColors.GetDWMIntValue( keyName );
- byte[] bytes = BitConverter.GetBytes( value );
- return new Color()
- {
- B = bytes[ 0 ],
- G = bytes[ 1 ],
- R = bytes[ 2 ],
- A = 255
- };
- }
-
- private static bool GetDWMBoolValue( string keyName )
- {
- int value = WindowColors.GetDWMIntValue( keyName );
- return ( value != 0 );
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows.Media;
+
+namespace Xceed.Wpf.Toolkit.Core.Media
+{
+ ///
+ /// Contains system colors and configurations that can be used by the control themes.
+ ///
+ /// Mainly extracted from the registry because theses values are not exposed by the standard .NET API.
+ ///
+ public static class WindowColors
+ {
+ private static Color? _colorizationMode;
+ private static bool? _colorizationOpaqueBlend;
+
+ ///
+ /// Relative to the \HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor Registry key.
+ ///
+ /// Gets the window chrome color.
+ ///
+ public static Color ColorizationColor
+ {
+ get
+ {
+ if( _colorizationMode.HasValue )
+ return _colorizationMode.Value;
+
+ try
+ {
+ _colorizationMode = WindowColors.GetDWMColorValue( "ColorizationColor" );
+ }
+ catch
+ {
+ // If for any reason (for example, a SecurityException for XBAP apps)
+ // we cannot read the value in the registry, fall back on some color.
+ _colorizationMode = Color.FromArgb(255, 175, 175, 175);
+ }
+
+ return _colorizationMode.Value;
+ }
+ }
+
+ ///
+ /// Relative to the \HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationOpaqueBlend Registry key:
+ ///
+ /// Gets whether transparency is disabled.
+ ///
+ /// Returns true if transparency is disabled; false otherwise.
+ ///
+ public static bool ColorizationOpaqueBlend
+ {
+ get
+ {
+ if( _colorizationOpaqueBlend.HasValue )
+ return _colorizationOpaqueBlend.Value;
+
+ try
+ {
+ _colorizationOpaqueBlend = WindowColors.GetDWMBoolValue( "ColorizationOpaqueBlend" );
+ }
+ catch
+ {
+ // If for any reason (for example, a SecurityException for XBAP apps)
+ // we cannot read the value in the registry, fall back on some color.
+ _colorizationOpaqueBlend = false;
+ }
+
+ return _colorizationOpaqueBlend.Value;
+ }
+ }
+
+ private static int GetDWMIntValue( string keyName )
+ {
+ // This value is not accessible throught the standard WPF API.
+ // We must dig into the registry to get the value.
+ var curUser = Microsoft.Win32.Registry.CurrentUser;
+ var subKey = curUser.CreateSubKey(
+ @"Software\Microsoft\Windows\DWM",
+ Microsoft.Win32.RegistryKeyPermissionCheck.ReadSubTree
+#if VS2008
+ );
+#else
+ ,Microsoft.Win32.RegistryOptions.None );
+#endif
+ return ( int )subKey.GetValue( keyName );
+ }
+
+ private static Color GetDWMColorValue( string keyName )
+ {
+ int value = WindowColors.GetDWMIntValue( keyName );
+ byte[] bytes = BitConverter.GetBytes( value );
+ return new Color()
+ {
+ B = bytes[ 0 ],
+ G = bytes[ 1 ],
+ R = bytes[ 2 ],
+ A = 255
+ };
+ }
+
+ private static bool GetDWMBoolValue( string keyName )
+ {
+ int value = WindowColors.GetDWMIntValue( keyName );
+ return ( value != 0 );
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/PropertyChangedEventArgs.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/PropertyChangedEventArgs.cs
index af1917529..3d67c9d15 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/PropertyChangedEventArgs.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/PropertyChangedEventArgs.cs
@@ -1,70 +1,70 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit.Core
-{
- public class PropertyChangedEventArgs : RoutedEventArgs
- {
- #region Constructors
-
- public PropertyChangedEventArgs( RoutedEvent Event, T oldValue, T newValue )
- : base()
- {
- _oldValue = oldValue;
- _newValue = newValue;
- this.RoutedEvent = Event;
- }
-
- #endregion
-
- #region NewValue Property
-
- public T NewValue
- {
- get
- {
- return _newValue;
- }
- }
-
- private readonly T _newValue;
-
- #endregion
-
- #region OldValue Property
-
- public T OldValue
- {
- get
- {
- return _oldValue;
- }
- }
-
- private readonly T _oldValue;
-
- #endregion
-
- protected override void InvokeEventHandler( Delegate genericHandler, object genericTarget )
- {
- PropertyChangedEventHandler handler = ( PropertyChangedEventHandler )genericHandler;
- handler( genericTarget, this );
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit.Core
+{
+ public class PropertyChangedEventArgs : RoutedEventArgs
+ {
+ #region Constructors
+
+ public PropertyChangedEventArgs( RoutedEvent Event, T oldValue, T newValue )
+ : base()
+ {
+ _oldValue = oldValue;
+ _newValue = newValue;
+ this.RoutedEvent = Event;
+ }
+
+ #endregion
+
+ #region NewValue Property
+
+ public T NewValue
+ {
+ get
+ {
+ return _newValue;
+ }
+ }
+
+ private readonly T _newValue;
+
+ #endregion
+
+ #region OldValue Property
+
+ public T OldValue
+ {
+ get
+ {
+ return _oldValue;
+ }
+ }
+
+ private readonly T _oldValue;
+
+ #endregion
+
+ protected override void InvokeEventHandler( Delegate genericHandler, object genericTarget )
+ {
+ PropertyChangedEventHandler handler = ( PropertyChangedEventHandler )genericHandler;
+ handler( genericTarget, this );
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/PropertyChangedEventHandler.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/PropertyChangedEventHandler.cs
index f05278e75..58f23edcd 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/PropertyChangedEventHandler.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/PropertyChangedEventHandler.cs
@@ -1,20 +1,20 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-namespace Xceed.Wpf.Toolkit.Core
-{
- public delegate void PropertyChangedEventHandler( object sender, PropertyChangedEventArgs e );
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+namespace Xceed.Wpf.Toolkit.Core
+{
+ public delegate void PropertyChangedEventHandler( object sender, PropertyChangedEventArgs e );
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/QueryTextFromValueEventArgs.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/QueryTextFromValueEventArgs.cs
index 9a5459f77..f4c475e2d 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/QueryTextFromValueEventArgs.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/QueryTextFromValueEventArgs.cs
@@ -1,54 +1,54 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-namespace Xceed.Wpf.Toolkit.Core
-{
- public class QueryTextFromValueEventArgs : EventArgs
- {
- public QueryTextFromValueEventArgs( object value, string text )
- {
- m_value = value;
- m_text = text;
- }
-
- #region Value Property
-
- private object m_value;
-
- public object Value
- {
- get { return m_value; }
- }
-
- #endregion Value Property
-
- #region Text Property
-
- private string m_text;
-
- public string Text
- {
- get { return m_text; }
- set { m_text = value; }
- }
-
- #endregion Text Property
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Xceed.Wpf.Toolkit.Core
+{
+ public class QueryTextFromValueEventArgs : EventArgs
+ {
+ public QueryTextFromValueEventArgs( object value, string text )
+ {
+ m_value = value;
+ m_text = text;
+ }
+
+ #region Value Property
+
+ private object m_value;
+
+ public object Value
+ {
+ get { return m_value; }
+ }
+
+ #endregion Value Property
+
+ #region Text Property
+
+ private string m_text;
+
+ public string Text
+ {
+ get { return m_text; }
+ set { m_text = value; }
+ }
+
+ #endregion Text Property
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/QueryValueFromTextEventArgs.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/QueryValueFromTextEventArgs.cs
index b4c8ea121..061534df0 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/QueryValueFromTextEventArgs.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/QueryValueFromTextEventArgs.cs
@@ -1,67 +1,67 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-namespace Xceed.Wpf.Toolkit.Core
-{
- public class QueryValueFromTextEventArgs : EventArgs
- {
- public QueryValueFromTextEventArgs( string text, object value )
- {
- m_text = text;
- m_value = value;
- }
-
- #region Text Property
-
- private string m_text;
-
- public string Text
- {
- get { return m_text; }
- }
-
- #endregion Text Property
-
- #region Value Property
-
- private object m_value;
-
- public object Value
- {
- get { return m_value; }
- set { m_value = value; }
- }
-
- #endregion Value Property
-
- #region HasParsingError Property
-
- private bool m_hasParsingError;
-
- public bool HasParsingError
- {
- get { return m_hasParsingError; }
- set { m_hasParsingError = value; }
- }
-
- #endregion HasParsingError Property
-
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Xceed.Wpf.Toolkit.Core
+{
+ public class QueryValueFromTextEventArgs : EventArgs
+ {
+ public QueryValueFromTextEventArgs( string text, object value )
+ {
+ m_text = text;
+ m_value = value;
+ }
+
+ #region Text Property
+
+ private string m_text;
+
+ public string Text
+ {
+ get { return m_text; }
+ }
+
+ #endregion Text Property
+
+ #region Value Property
+
+ private object m_value;
+
+ public object Value
+ {
+ get { return m_value; }
+ set { m_value = value; }
+ }
+
+ #endregion Value Property
+
+ #region HasParsingError Property
+
+ private bool m_hasParsingError;
+
+ public bool HasParsingError
+ {
+ get { return m_hasParsingError; }
+ set { m_hasParsingError = value; }
+ }
+
+ #endregion HasParsingError Property
+
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/UIElementAdorner.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/UIElementAdorner.cs
index 22eed4dff..1f94d26aa 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/UIElementAdorner.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/UIElementAdorner.cs
@@ -1,240 +1,240 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System.Collections;
-using System.Windows;
-using System.Windows.Documents;
-using System.Windows.Media;
-
-namespace Xceed.Wpf.Toolkit.Core
-{
- ///
- /// An adorner that can display one and only one UIElement.
- /// That element can be a panel, which contains multiple other elements.
- /// The element is added to the adorner's visual and logical trees, enabling it to
- /// particpate in dependency property value inheritance, amongst other things.
- ///
- internal class UIElementAdorner : Adorner where TElement : UIElement
- {
- #region Fields
-
- TElement _child = null;
- double _offsetLeft = 0;
- double _offsetTop = 0;
-
- #endregion // Fields
-
- #region Constructor
-
- ///
- /// Constructor.
- ///
- /// The element to which the adorner will be bound.
- public UIElementAdorner( UIElement adornedElement )
- : base( adornedElement )
- {
- }
-
- #endregion // Constructor
-
- #region Public Interface
-
- #region Child
-
- ///
- /// Gets/sets the child element hosted in the adorner.
- ///
- public TElement Child
- {
- get
- {
- return _child;
- }
- set
- {
- if( value == _child )
- return;
-
- if( _child != null )
- {
- base.RemoveLogicalChild( _child );
- base.RemoveVisualChild( _child );
- }
-
- _child = value;
-
- if( _child != null )
- {
- base.AddLogicalChild( _child );
- base.AddVisualChild( _child );
- }
- }
- }
-
- #endregion // Child
-
- #region GetDesiredTransform
-
- ///
- /// Override.
- ///
- ///
- ///
- public override GeneralTransform GetDesiredTransform( GeneralTransform transform )
- {
- GeneralTransformGroup result = new GeneralTransformGroup();
- result.Children.Add( base.GetDesiredTransform( transform ) );
- result.Children.Add( new TranslateTransform( _offsetLeft, _offsetTop ) );
- return result;
- }
-
- #endregion // GetDesiredTransform
-
- #region OffsetLeft
-
- ///
- /// Gets/sets the horizontal offset of the adorner.
- ///
- public double OffsetLeft
- {
- get
- {
- return _offsetLeft;
- }
- set
- {
- _offsetLeft = value;
- UpdateLocation();
- }
- }
-
- #endregion // OffsetLeft
-
- #region SetOffsets
-
- ///
- /// Updates the location of the adorner in one atomic operation.
- ///
- public void SetOffsets( double left, double top )
- {
- _offsetLeft = left;
- _offsetTop = top;
- this.UpdateLocation();
- }
-
- #endregion // SetOffsets
-
- #region OffsetTop
-
- ///
- /// Gets/sets the vertical offset of the adorner.
- ///
- public double OffsetTop
- {
- get
- {
- return _offsetTop;
- }
- set
- {
- _offsetTop = value;
- UpdateLocation();
- }
- }
-
- #endregion // OffsetTop
-
- #endregion // Public Interface
-
- #region Protected Overrides
-
- ///
- /// Override.
- ///
- ///
- ///
- protected override Size MeasureOverride( Size constraint )
- {
- if( _child == null )
- return base.MeasureOverride( constraint );
-
- _child.Measure( constraint );
- return _child.DesiredSize;
- }
-
- ///
- /// Override.
- ///
- ///
- ///
- protected override Size ArrangeOverride( Size finalSize )
- {
- if( _child == null )
- return base.ArrangeOverride( finalSize );
-
- _child.Arrange( new Rect( finalSize ) );
- return finalSize;
- }
-
- ///
- /// Override.
- ///
- protected override IEnumerator LogicalChildren
- {
- get
- {
- ArrayList list = new ArrayList();
- if( _child != null )
- list.Add( _child );
- return list.GetEnumerator();
- }
- }
-
- ///
- /// Override.
- ///
- ///
- ///
- protected override Visual GetVisualChild( int index )
- {
- return _child;
- }
-
- ///
- /// Override.
- ///
- protected override int VisualChildrenCount
- {
- get
- {
- return _child == null ? 0 : 1;
- }
- }
-
- #endregion // Protected Overrides
-
- #region Private Helpers
-
- void UpdateLocation()
- {
- AdornerLayer adornerLayer = base.Parent as AdornerLayer;
- if( adornerLayer != null )
- adornerLayer.Update( base.AdornedElement );
- }
-
- #endregion // Private Helpers
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System.Collections;
+using System.Windows;
+using System.Windows.Documents;
+using System.Windows.Media;
+
+namespace Xceed.Wpf.Toolkit.Core
+{
+ ///
+ /// An adorner that can display one and only one UIElement.
+ /// That element can be a panel, which contains multiple other elements.
+ /// The element is added to the adorner's visual and logical trees, enabling it to
+ /// particpate in dependency property value inheritance, amongst other things.
+ ///
+ internal class UIElementAdorner : Adorner where TElement : UIElement
+ {
+ #region Fields
+
+ TElement _child = null;
+ double _offsetLeft = 0;
+ double _offsetTop = 0;
+
+ #endregion // Fields
+
+ #region Constructor
+
+ ///
+ /// Constructor.
+ ///
+ /// The element to which the adorner will be bound.
+ public UIElementAdorner( UIElement adornedElement )
+ : base( adornedElement )
+ {
+ }
+
+ #endregion // Constructor
+
+ #region Public Interface
+
+ #region Child
+
+ ///
+ /// Gets/sets the child element hosted in the adorner.
+ ///
+ public TElement Child
+ {
+ get
+ {
+ return _child;
+ }
+ set
+ {
+ if( value == _child )
+ return;
+
+ if( _child != null )
+ {
+ base.RemoveLogicalChild( _child );
+ base.RemoveVisualChild( _child );
+ }
+
+ _child = value;
+
+ if( _child != null )
+ {
+ base.AddLogicalChild( _child );
+ base.AddVisualChild( _child );
+ }
+ }
+ }
+
+ #endregion // Child
+
+ #region GetDesiredTransform
+
+ ///
+ /// Override.
+ ///
+ ///
+ ///
+ public override GeneralTransform GetDesiredTransform( GeneralTransform transform )
+ {
+ GeneralTransformGroup result = new GeneralTransformGroup();
+ result.Children.Add( base.GetDesiredTransform( transform ) );
+ result.Children.Add( new TranslateTransform( _offsetLeft, _offsetTop ) );
+ return result;
+ }
+
+ #endregion // GetDesiredTransform
+
+ #region OffsetLeft
+
+ ///
+ /// Gets/sets the horizontal offset of the adorner.
+ ///
+ public double OffsetLeft
+ {
+ get
+ {
+ return _offsetLeft;
+ }
+ set
+ {
+ _offsetLeft = value;
+ UpdateLocation();
+ }
+ }
+
+ #endregion // OffsetLeft
+
+ #region SetOffsets
+
+ ///
+ /// Updates the location of the adorner in one atomic operation.
+ ///
+ public void SetOffsets( double left, double top )
+ {
+ _offsetLeft = left;
+ _offsetTop = top;
+ this.UpdateLocation();
+ }
+
+ #endregion // SetOffsets
+
+ #region OffsetTop
+
+ ///
+ /// Gets/sets the vertical offset of the adorner.
+ ///
+ public double OffsetTop
+ {
+ get
+ {
+ return _offsetTop;
+ }
+ set
+ {
+ _offsetTop = value;
+ UpdateLocation();
+ }
+ }
+
+ #endregion // OffsetTop
+
+ #endregion // Public Interface
+
+ #region Protected Overrides
+
+ ///
+ /// Override.
+ ///
+ ///
+ ///
+ protected override Size MeasureOverride( Size constraint )
+ {
+ if( _child == null )
+ return base.MeasureOverride( constraint );
+
+ _child.Measure( constraint );
+ return _child.DesiredSize;
+ }
+
+ ///
+ /// Override.
+ ///
+ ///
+ ///
+ protected override Size ArrangeOverride( Size finalSize )
+ {
+ if( _child == null )
+ return base.ArrangeOverride( finalSize );
+
+ _child.Arrange( new Rect( finalSize ) );
+ return finalSize;
+ }
+
+ ///
+ /// Override.
+ ///
+ protected override IEnumerator LogicalChildren
+ {
+ get
+ {
+ ArrayList list = new ArrayList();
+ if( _child != null )
+ list.Add( _child );
+ return list.GetEnumerator();
+ }
+ }
+
+ ///
+ /// Override.
+ ///
+ ///
+ ///
+ protected override Visual GetVisualChild( int index )
+ {
+ return _child;
+ }
+
+ ///
+ /// Override.
+ ///
+ protected override int VisualChildrenCount
+ {
+ get
+ {
+ return _child == null ? 0 : 1;
+ }
+ }
+
+ #endregion // Protected Overrides
+
+ #region Private Helpers
+
+ void UpdateLocation()
+ {
+ AdornerLayer adornerLayer = base.Parent as AdornerLayer;
+ if( adornerLayer != null )
+ adornerLayer.Update( base.AdornedElement );
+ }
+
+ #endregion // Private Helpers
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/CalculatorUtilities.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/CalculatorUtilities.cs
index 05be50dc9..545356e82 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/CalculatorUtilities.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/CalculatorUtilities.cs
@@ -1,285 +1,285 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Globalization;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Media;
-
-namespace Xceed.Wpf.Toolkit.Core.Utilities
-{
- static class CalculatorUtilities
- {
- public static Calculator.CalculatorButtonType GetCalculatorButtonTypeFromText( string text )
- {
- switch( text )
- {
- case "0":
- return Calculator.CalculatorButtonType.Zero;
- case "1":
- return Calculator.CalculatorButtonType.One;
- case "2":
- return Calculator.CalculatorButtonType.Two;
- case "3":
- return Calculator.CalculatorButtonType.Three;
- case "4":
- return Calculator.CalculatorButtonType.Four;
- case "5":
- return Calculator.CalculatorButtonType.Five;
- case "6":
- return Calculator.CalculatorButtonType.Six;
- case "7":
- return Calculator.CalculatorButtonType.Seven;
- case "8":
- return Calculator.CalculatorButtonType.Eight;
- case "9":
- return Calculator.CalculatorButtonType.Nine;
- case "+":
- return Calculator.CalculatorButtonType.Add;
- case "-":
- return Calculator.CalculatorButtonType.Subtract;
- case "*":
- return Calculator.CalculatorButtonType.Multiply;
- case "/":
- return Calculator.CalculatorButtonType.Divide;
- case "%":
- return Calculator.CalculatorButtonType.Percent;
- case "\b":
- return Calculator.CalculatorButtonType.Back;
- case "\r":
- case "=":
- return Calculator.CalculatorButtonType.Equal;
- }
-
- //the check for the decimal is not in the switch statement. To help localize we check against the current culture's decimal seperator
- if( text == CultureInfo.CurrentCulture.NumberFormat.CurrencyDecimalSeparator )
- return Calculator.CalculatorButtonType.Decimal;
-
- //check for the escape key
- if( text == ( ( char )27 ).ToString() )
- return Calculator.CalculatorButtonType.Clear;
-
- return Calculator.CalculatorButtonType.None;
- }
-
- public static Button FindButtonByCalculatorButtonType( DependencyObject parent, Calculator.CalculatorButtonType type )
- {
- if( parent == null )
- return null;
-
- for( int i = 0; i < VisualTreeHelper.GetChildrenCount( parent ); i++ )
- {
- var child = VisualTreeHelper.GetChild( parent, i );
- if( child == null )
- continue;
-
- object buttonType = child.GetValue( Button.CommandParameterProperty );
-
- if( buttonType != null && ( Calculator.CalculatorButtonType )buttonType == type )
- {
- return child as Button;
- }
- else
- {
- var result = FindButtonByCalculatorButtonType( child, type );
-
- if( result != null )
- return result;
- }
- }
- return null;
- }
-
- public static string GetCalculatorButtonContent( Calculator.CalculatorButtonType type )
- {
- string content = string.Empty;
- switch( type )
- {
- case Calculator.CalculatorButtonType.Add:
- content = "+";
- break;
- case Calculator.CalculatorButtonType.Back:
- content = "Back";
- break;
- case Calculator.CalculatorButtonType.Cancel:
- content = "CE";
- break;
- case Calculator.CalculatorButtonType.Clear:
- content = "C";
- break;
- case Calculator.CalculatorButtonType.Decimal:
- content = CultureInfo.CurrentCulture.NumberFormat.CurrencyDecimalSeparator;
- break;
- case Calculator.CalculatorButtonType.Divide:
- content = "/";
- break;
- case Calculator.CalculatorButtonType.Eight:
- content = "8";
- break;
- case Calculator.CalculatorButtonType.Equal:
- content = "=";
- break;
- case Calculator.CalculatorButtonType.Five:
- content = "5";
- break;
- case Calculator.CalculatorButtonType.Four:
- content = "4";
- break;
- case Calculator.CalculatorButtonType.Fraction:
- content = "1/x";
- break;
- case Calculator.CalculatorButtonType.MAdd:
- content = "M+";
- break;
- case Calculator.CalculatorButtonType.MC:
- content = "MC";
- break;
- case Calculator.CalculatorButtonType.MR:
- content = "MR";
- break;
- case Calculator.CalculatorButtonType.MS:
- content = "MS";
- break;
- case Calculator.CalculatorButtonType.MSub:
- content = "M-";
- break;
- case Calculator.CalculatorButtonType.Multiply:
- content = "*";
- break;
- case Calculator.CalculatorButtonType.Nine:
- content = "9";
- break;
- case Calculator.CalculatorButtonType.None:
- break;
- case Calculator.CalculatorButtonType.One:
- content = "1";
- break;
- case Calculator.CalculatorButtonType.Percent:
- content = "%";
- break;
- case Calculator.CalculatorButtonType.Seven:
- content = "7";
- break;
- case Calculator.CalculatorButtonType.Negate:
- content = "+/-";
- break;
- case Calculator.CalculatorButtonType.Six:
- content = "6";
- break;
- case Calculator.CalculatorButtonType.Sqrt:
- content = "Sqrt";
- break;
- case Calculator.CalculatorButtonType.Subtract:
- content = "-";
- break;
- case Calculator.CalculatorButtonType.Three:
- content = "3";
- break;
- case Calculator.CalculatorButtonType.Two:
- content = "2";
- break;
- case Calculator.CalculatorButtonType.Zero:
- content = "0";
- break;
- }
- return content;
- }
-
- public static bool IsDigit( Calculator.CalculatorButtonType buttonType )
- {
- switch( buttonType )
- {
- case Calculator.CalculatorButtonType.Zero:
- case Calculator.CalculatorButtonType.One:
- case Calculator.CalculatorButtonType.Two:
- case Calculator.CalculatorButtonType.Three:
- case Calculator.CalculatorButtonType.Four:
- case Calculator.CalculatorButtonType.Five:
- case Calculator.CalculatorButtonType.Six:
- case Calculator.CalculatorButtonType.Seven:
- case Calculator.CalculatorButtonType.Eight:
- case Calculator.CalculatorButtonType.Nine:
- case Calculator.CalculatorButtonType.Decimal:
- return true;
- default:
- return false;
- }
- }
-
- public static bool IsMemory( Calculator.CalculatorButtonType buttonType )
- {
- switch( buttonType )
- {
- case Calculator.CalculatorButtonType.MAdd:
- case Calculator.CalculatorButtonType.MC:
- case Calculator.CalculatorButtonType.MR:
- case Calculator.CalculatorButtonType.MS:
- case Calculator.CalculatorButtonType.MSub:
- return true;
- default:
- return false;
- }
- }
-
- public static decimal ParseDecimal( string text )
- {
- decimal result;
- var success = Decimal.TryParse( text, NumberStyles.Any, CultureInfo.CurrentCulture, out result );
- return success ? result : decimal.Zero;
- }
-
- public static decimal Add( decimal firstNumber, decimal secondNumber )
- {
- return firstNumber + secondNumber;
- }
-
- public static decimal Subtract( decimal firstNumber, decimal secondNumber )
- {
- return firstNumber - secondNumber;
- }
-
- public static decimal Multiply( decimal firstNumber, decimal secondNumber )
- {
- return firstNumber * secondNumber;
- }
-
- public static decimal Divide( decimal firstNumber, decimal secondNumber )
- {
- return firstNumber / secondNumber;
- }
-
- public static decimal Percent( decimal firstNumber, decimal secondNumber )
- {
- return firstNumber * secondNumber / 100M;
- }
-
- public static decimal SquareRoot( decimal operand )
- {
- return Convert.ToDecimal( Math.Sqrt( Convert.ToDouble( operand ) ) );
- }
-
- public static decimal Fraction( decimal operand )
- {
- return 1 / operand;
- }
-
- public static decimal Negate( decimal operand )
- {
- return operand * -1M;
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Globalization;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Media;
+
+namespace Xceed.Wpf.Toolkit.Core.Utilities
+{
+ static class CalculatorUtilities
+ {
+ public static Calculator.CalculatorButtonType GetCalculatorButtonTypeFromText( string text )
+ {
+ switch( text )
+ {
+ case "0":
+ return Calculator.CalculatorButtonType.Zero;
+ case "1":
+ return Calculator.CalculatorButtonType.One;
+ case "2":
+ return Calculator.CalculatorButtonType.Two;
+ case "3":
+ return Calculator.CalculatorButtonType.Three;
+ case "4":
+ return Calculator.CalculatorButtonType.Four;
+ case "5":
+ return Calculator.CalculatorButtonType.Five;
+ case "6":
+ return Calculator.CalculatorButtonType.Six;
+ case "7":
+ return Calculator.CalculatorButtonType.Seven;
+ case "8":
+ return Calculator.CalculatorButtonType.Eight;
+ case "9":
+ return Calculator.CalculatorButtonType.Nine;
+ case "+":
+ return Calculator.CalculatorButtonType.Add;
+ case "-":
+ return Calculator.CalculatorButtonType.Subtract;
+ case "*":
+ return Calculator.CalculatorButtonType.Multiply;
+ case "/":
+ return Calculator.CalculatorButtonType.Divide;
+ case "%":
+ return Calculator.CalculatorButtonType.Percent;
+ case "\b":
+ return Calculator.CalculatorButtonType.Back;
+ case "\r":
+ case "=":
+ return Calculator.CalculatorButtonType.Equal;
+ }
+
+ //the check for the decimal is not in the switch statement. To help localize we check against the current culture's decimal seperator
+ if( text == CultureInfo.CurrentCulture.NumberFormat.CurrencyDecimalSeparator )
+ return Calculator.CalculatorButtonType.Decimal;
+
+ //check for the escape key
+ if( text == ( ( char )27 ).ToString() )
+ return Calculator.CalculatorButtonType.Clear;
+
+ return Calculator.CalculatorButtonType.None;
+ }
+
+ public static Button FindButtonByCalculatorButtonType( DependencyObject parent, Calculator.CalculatorButtonType type )
+ {
+ if( parent == null )
+ return null;
+
+ for( int i = 0; i < VisualTreeHelper.GetChildrenCount( parent ); i++ )
+ {
+ var child = VisualTreeHelper.GetChild( parent, i );
+ if( child == null )
+ continue;
+
+ object buttonType = child.GetValue( Button.CommandParameterProperty );
+
+ if( buttonType != null && ( Calculator.CalculatorButtonType )buttonType == type )
+ {
+ return child as Button;
+ }
+ else
+ {
+ var result = FindButtonByCalculatorButtonType( child, type );
+
+ if( result != null )
+ return result;
+ }
+ }
+ return null;
+ }
+
+ public static string GetCalculatorButtonContent( Calculator.CalculatorButtonType type )
+ {
+ string content = string.Empty;
+ switch( type )
+ {
+ case Calculator.CalculatorButtonType.Add:
+ content = "+";
+ break;
+ case Calculator.CalculatorButtonType.Back:
+ content = "Back";
+ break;
+ case Calculator.CalculatorButtonType.Cancel:
+ content = "CE";
+ break;
+ case Calculator.CalculatorButtonType.Clear:
+ content = "C";
+ break;
+ case Calculator.CalculatorButtonType.Decimal:
+ content = CultureInfo.CurrentCulture.NumberFormat.CurrencyDecimalSeparator;
+ break;
+ case Calculator.CalculatorButtonType.Divide:
+ content = "/";
+ break;
+ case Calculator.CalculatorButtonType.Eight:
+ content = "8";
+ break;
+ case Calculator.CalculatorButtonType.Equal:
+ content = "=";
+ break;
+ case Calculator.CalculatorButtonType.Five:
+ content = "5";
+ break;
+ case Calculator.CalculatorButtonType.Four:
+ content = "4";
+ break;
+ case Calculator.CalculatorButtonType.Fraction:
+ content = "1/x";
+ break;
+ case Calculator.CalculatorButtonType.MAdd:
+ content = "M+";
+ break;
+ case Calculator.CalculatorButtonType.MC:
+ content = "MC";
+ break;
+ case Calculator.CalculatorButtonType.MR:
+ content = "MR";
+ break;
+ case Calculator.CalculatorButtonType.MS:
+ content = "MS";
+ break;
+ case Calculator.CalculatorButtonType.MSub:
+ content = "M-";
+ break;
+ case Calculator.CalculatorButtonType.Multiply:
+ content = "*";
+ break;
+ case Calculator.CalculatorButtonType.Nine:
+ content = "9";
+ break;
+ case Calculator.CalculatorButtonType.None:
+ break;
+ case Calculator.CalculatorButtonType.One:
+ content = "1";
+ break;
+ case Calculator.CalculatorButtonType.Percent:
+ content = "%";
+ break;
+ case Calculator.CalculatorButtonType.Seven:
+ content = "7";
+ break;
+ case Calculator.CalculatorButtonType.Negate:
+ content = "+/-";
+ break;
+ case Calculator.CalculatorButtonType.Six:
+ content = "6";
+ break;
+ case Calculator.CalculatorButtonType.Sqrt:
+ content = "Sqrt";
+ break;
+ case Calculator.CalculatorButtonType.Subtract:
+ content = "-";
+ break;
+ case Calculator.CalculatorButtonType.Three:
+ content = "3";
+ break;
+ case Calculator.CalculatorButtonType.Two:
+ content = "2";
+ break;
+ case Calculator.CalculatorButtonType.Zero:
+ content = "0";
+ break;
+ }
+ return content;
+ }
+
+ public static bool IsDigit( Calculator.CalculatorButtonType buttonType )
+ {
+ switch( buttonType )
+ {
+ case Calculator.CalculatorButtonType.Zero:
+ case Calculator.CalculatorButtonType.One:
+ case Calculator.CalculatorButtonType.Two:
+ case Calculator.CalculatorButtonType.Three:
+ case Calculator.CalculatorButtonType.Four:
+ case Calculator.CalculatorButtonType.Five:
+ case Calculator.CalculatorButtonType.Six:
+ case Calculator.CalculatorButtonType.Seven:
+ case Calculator.CalculatorButtonType.Eight:
+ case Calculator.CalculatorButtonType.Nine:
+ case Calculator.CalculatorButtonType.Decimal:
+ return true;
+ default:
+ return false;
+ }
+ }
+
+ public static bool IsMemory( Calculator.CalculatorButtonType buttonType )
+ {
+ switch( buttonType )
+ {
+ case Calculator.CalculatorButtonType.MAdd:
+ case Calculator.CalculatorButtonType.MC:
+ case Calculator.CalculatorButtonType.MR:
+ case Calculator.CalculatorButtonType.MS:
+ case Calculator.CalculatorButtonType.MSub:
+ return true;
+ default:
+ return false;
+ }
+ }
+
+ public static decimal ParseDecimal( string text )
+ {
+ decimal result;
+ var success = Decimal.TryParse( text, NumberStyles.Any, CultureInfo.CurrentCulture, out result );
+ return success ? result : decimal.Zero;
+ }
+
+ public static decimal Add( decimal firstNumber, decimal secondNumber )
+ {
+ return firstNumber + secondNumber;
+ }
+
+ public static decimal Subtract( decimal firstNumber, decimal secondNumber )
+ {
+ return firstNumber - secondNumber;
+ }
+
+ public static decimal Multiply( decimal firstNumber, decimal secondNumber )
+ {
+ return firstNumber * secondNumber;
+ }
+
+ public static decimal Divide( decimal firstNumber, decimal secondNumber )
+ {
+ return firstNumber / secondNumber;
+ }
+
+ public static decimal Percent( decimal firstNumber, decimal secondNumber )
+ {
+ return firstNumber * secondNumber / 100M;
+ }
+
+ public static decimal SquareRoot( decimal operand )
+ {
+ return Convert.ToDecimal( Math.Sqrt( Convert.ToDouble( operand ) ) );
+ }
+
+ public static decimal Fraction( decimal operand )
+ {
+ return 1 / operand;
+ }
+
+ public static decimal Negate( decimal operand )
+ {
+ return operand * -1M;
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ChangeTypeHelper.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ChangeTypeHelper.cs
index 48ef9fc9f..3029d37cf 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ChangeTypeHelper.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ChangeTypeHelper.cs
@@ -1,54 +1,54 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Linq;
-using System.Text;
-
-namespace Xceed.Wpf.Toolkit.Core.Utilities
-{
- internal static class ChangeTypeHelper
- {
- internal static object ChangeType( object value, Type conversionType, IFormatProvider provider )
- {
- if( conversionType == null )
- {
- throw new ArgumentNullException( "conversionType" );
- }
- if( conversionType == typeof( Guid ) )
- {
- return new Guid( value.ToString() );
- }
- else if( conversionType == typeof( Guid? ) )
- {
- if( value == null )
- return null;
- return new Guid( value.ToString() );
- }
- else if( conversionType.IsGenericType && conversionType.GetGenericTypeDefinition().Equals( typeof( Nullable<> ) ) )
- {
- if( value == null )
- return null;
- NullableConverter nullableConverter = new NullableConverter( conversionType );
- conversionType = nullableConverter.UnderlyingType;
- }
-
- return System.Convert.ChangeType( value, conversionType, provider );
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Xceed.Wpf.Toolkit.Core.Utilities
+{
+ internal static class ChangeTypeHelper
+ {
+ internal static object ChangeType( object value, Type conversionType, IFormatProvider provider )
+ {
+ if( conversionType == null )
+ {
+ throw new ArgumentNullException( "conversionType" );
+ }
+ if( conversionType == typeof( Guid ) )
+ {
+ return new Guid( value.ToString() );
+ }
+ else if( conversionType == typeof( Guid? ) )
+ {
+ if( value == null )
+ return null;
+ return new Guid( value.ToString() );
+ }
+ else if( conversionType.IsGenericType && conversionType.GetGenericTypeDefinition().Equals( typeof( Nullable<> ) ) )
+ {
+ if( value == null )
+ return null;
+ NullableConverter nullableConverter = new NullableConverter( conversionType );
+ conversionType = nullableConverter.UnderlyingType;
+ }
+
+ return System.Convert.ChangeType( value, conversionType, provider );
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/DateTimeUtilities.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/DateTimeUtilities.cs
index 7749a5ea0..85014ad7d 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/DateTimeUtilities.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/DateTimeUtilities.cs
@@ -1,44 +1,44 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace Xceed.Wpf.Toolkit.Core.Utilities
-{
- internal static class DateTimeUtilities
- {
- public static DateTime GetContextNow( DateTimeKind kind )
- {
- if( kind == DateTimeKind.Unspecified )
- return DateTime.SpecifyKind( DateTime.Now, DateTimeKind.Unspecified );
-
- return ( kind == DateTimeKind.Utc )
- ? DateTime.UtcNow
- : DateTime.Now;
- }
-
- public static bool IsSameDate( DateTime? date1, DateTime? date2 )
- {
- if( date1 == null || date2 == null )
- return false;
-
- return ( date1.Value.Date == date2.Value.Date );
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Xceed.Wpf.Toolkit.Core.Utilities
+{
+ internal static class DateTimeUtilities
+ {
+ public static DateTime GetContextNow( DateTimeKind kind )
+ {
+ if( kind == DateTimeKind.Unspecified )
+ return DateTime.SpecifyKind( DateTime.Now, DateTimeKind.Unspecified );
+
+ return ( kind == DateTimeKind.Utc )
+ ? DateTime.UtcNow
+ : DateTime.Now;
+ }
+
+ public static bool IsSameDate( DateTime? date1, DateTime? date2 )
+ {
+ if( date1 == null || date2 == null )
+ return false;
+
+ return ( date1.Value.Date == date2.Value.Date );
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/DoubleHelper.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/DoubleHelper.cs
index f77c43bc0..7d2c7c186 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/DoubleHelper.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/DoubleHelper.cs
@@ -1,97 +1,97 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Runtime.InteropServices;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit.Core.Utilities
-{
- internal static class DoubleHelper
- {
- public static bool AreVirtuallyEqual( double d1, double d2 )
- {
- if( double.IsPositiveInfinity( d1 ) )
- return double.IsPositiveInfinity( d2 );
-
- if( double.IsNegativeInfinity( d1 ) )
- return double.IsNegativeInfinity( d2 );
-
- if( IsNaN( d1 ) )
- return IsNaN( d2 );
-
- double n = d1 - d2;
- double d = ( Math.Abs( d1 ) + Math.Abs( d2 ) + 10 ) * 1.0e-15;
- return ( -d < n ) && ( d > n );
- }
-
- public static bool AreVirtuallyEqual( Size s1, Size s2 )
- {
- return ( AreVirtuallyEqual( s1.Width, s2.Width )
- && AreVirtuallyEqual( s1.Height, s2.Height ) );
- }
-
- public static bool AreVirtuallyEqual( Point p1, Point p2 )
- {
- return ( AreVirtuallyEqual( p1.X, p2.X )
- && AreVirtuallyEqual( p1.Y, p2.Y ) );
- }
-
- public static bool AreVirtuallyEqual( Rect r1, Rect r2 )
- {
- return ( AreVirtuallyEqual( r1.TopLeft, r2.TopLeft )
- && AreVirtuallyEqual( r1.BottomRight, r2.BottomRight ) );
- }
-
- public static bool AreVirtuallyEqual( Vector v1, Vector v2 )
- {
- return ( AreVirtuallyEqual( v1.X, v2.X )
- && AreVirtuallyEqual( v1.Y, v2.Y ) );
- }
-
- public static bool AreVirtuallyEqual( Segment s1, Segment s2 )
- {
- // note: Segment struct already uses "virtually equal" approach
- return ( s1 == s2 );
- }
-
- public static bool IsNaN( double value )
- {
- // used reflector to borrow the high performance IsNan function
- // from the WPF MS.Internal namespace
- NanUnion t = new NanUnion();
- t.DoubleValue = value;
-
- UInt64 exp = t.UintValue & 0xfff0000000000000;
- UInt64 man = t.UintValue & 0x000fffffffffffff;
-
- return ( exp == 0x7ff0000000000000 || exp == 0xfff0000000000000 ) && ( man != 0 );
- }
-
- #region NanUnion Nested Types
-
- [StructLayout( LayoutKind.Explicit )]
- private struct NanUnion
- {
- [FieldOffset( 0 )]
- internal double DoubleValue;
- [FieldOffset( 0 )]
- internal UInt64 UintValue;
- }
-
- #endregion
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Runtime.InteropServices;
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit.Core.Utilities
+{
+ internal static class DoubleHelper
+ {
+ public static bool AreVirtuallyEqual( double d1, double d2 )
+ {
+ if( double.IsPositiveInfinity( d1 ) )
+ return double.IsPositiveInfinity( d2 );
+
+ if( double.IsNegativeInfinity( d1 ) )
+ return double.IsNegativeInfinity( d2 );
+
+ if( IsNaN( d1 ) )
+ return IsNaN( d2 );
+
+ double n = d1 - d2;
+ double d = ( Math.Abs( d1 ) + Math.Abs( d2 ) + 10 ) * 1.0e-15;
+ return ( -d < n ) && ( d > n );
+ }
+
+ public static bool AreVirtuallyEqual( Size s1, Size s2 )
+ {
+ return ( AreVirtuallyEqual( s1.Width, s2.Width )
+ && AreVirtuallyEqual( s1.Height, s2.Height ) );
+ }
+
+ public static bool AreVirtuallyEqual( Point p1, Point p2 )
+ {
+ return ( AreVirtuallyEqual( p1.X, p2.X )
+ && AreVirtuallyEqual( p1.Y, p2.Y ) );
+ }
+
+ public static bool AreVirtuallyEqual( Rect r1, Rect r2 )
+ {
+ return ( AreVirtuallyEqual( r1.TopLeft, r2.TopLeft )
+ && AreVirtuallyEqual( r1.BottomRight, r2.BottomRight ) );
+ }
+
+ public static bool AreVirtuallyEqual( Vector v1, Vector v2 )
+ {
+ return ( AreVirtuallyEqual( v1.X, v2.X )
+ && AreVirtuallyEqual( v1.Y, v2.Y ) );
+ }
+
+ public static bool AreVirtuallyEqual( Segment s1, Segment s2 )
+ {
+ // note: Segment struct already uses "virtually equal" approach
+ return ( s1 == s2 );
+ }
+
+ public static bool IsNaN( double value )
+ {
+ // used reflector to borrow the high performance IsNan function
+ // from the WPF MS.Internal namespace
+ NanUnion t = new NanUnion();
+ t.DoubleValue = value;
+
+ UInt64 exp = t.UintValue & 0xfff0000000000000;
+ UInt64 man = t.UintValue & 0x000fffffffffffff;
+
+ return ( exp == 0x7ff0000000000000 || exp == 0xfff0000000000000 ) && ( man != 0 );
+ }
+
+ #region NanUnion Nested Types
+
+ [StructLayout( LayoutKind.Explicit )]
+ private struct NanUnion
+ {
+ [FieldOffset( 0 )]
+ internal double DoubleValue;
+ [FieldOffset( 0 )]
+ internal UInt64 UintValue;
+ }
+
+ #endregion
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/EllipseHelper.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/EllipseHelper.cs
index 2a6c88cc3..09bdb7e5f 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/EllipseHelper.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/EllipseHelper.cs
@@ -1,69 +1,69 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit.Core.Utilities
-{
- internal static class EllipseHelper
- {
- public static Point PointOfRadialIntersection( Rect ellipseRect, double angle )
- {
- // given by the formula:
- //
- // x = a cos q,
- // y = b sin q,
- //
- // where a is the elliptical radius along the major axis
- // b is the elliptical radius along the minor axis
- // q is the central angle from the major axis
-
- double a = ellipseRect.Width / 2;
- double b = ellipseRect.Height / 2;
-
- // since this is WPF, we can assume angle is currently specified in degrees, so convert to radians
- double q = angle * Math.PI / 180;
-
- return RectHelper.Center( ellipseRect ) + new Vector( a * Math.Cos( q ), b * Math.Sin( q ) );
- }
-
- public static double RadialDistanceFromCenter( Rect ellipseRect, double angle )
- {
- // given by the formula:
- //
- // 2 2
- // 2 a b
- // r = -----------------
- // 2 2 2 2
- // a sin q + b cos q
- //
- // where a is the elliptical radius along the major axis
- // b is the elliptical radius along the minor axis
- // q is the central angle from the major axis
-
- double a = ellipseRect.Width / 2;
- double b = ellipseRect.Height / 2;
-
- // since this is WPF, we can assume angle is currently specified in degrees, so convert to radians
- double q = angle * Math.PI / 180;
-
- double sinq = Math.Sin( q );
- double cosq = Math.Cos( q );
- return Math.Sqrt( ( a * a * b * b ) / ( ( a * a * sinq * sinq ) + ( b * b * cosq * cosq ) ) );
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit.Core.Utilities
+{
+ internal static class EllipseHelper
+ {
+ public static Point PointOfRadialIntersection( Rect ellipseRect, double angle )
+ {
+ // given by the formula:
+ //
+ // x = a cos q,
+ // y = b sin q,
+ //
+ // where a is the elliptical radius along the major axis
+ // b is the elliptical radius along the minor axis
+ // q is the central angle from the major axis
+
+ double a = ellipseRect.Width / 2;
+ double b = ellipseRect.Height / 2;
+
+ // since this is WPF, we can assume angle is currently specified in degrees, so convert to radians
+ double q = angle * Math.PI / 180;
+
+ return RectHelper.Center( ellipseRect ) + new Vector( a * Math.Cos( q ), b * Math.Sin( q ) );
+ }
+
+ public static double RadialDistanceFromCenter( Rect ellipseRect, double angle )
+ {
+ // given by the formula:
+ //
+ // 2 2
+ // 2 a b
+ // r = -----------------
+ // 2 2 2 2
+ // a sin q + b cos q
+ //
+ // where a is the elliptical radius along the major axis
+ // b is the elliptical radius along the minor axis
+ // q is the central angle from the major axis
+
+ double a = ellipseRect.Width / 2;
+ double b = ellipseRect.Height / 2;
+
+ // since this is WPF, we can assume angle is currently specified in degrees, so convert to radians
+ double q = angle * Math.PI / 180;
+
+ double sinq = Math.Sin( q );
+ double cosq = Math.Cos( q );
+ return Math.Sqrt( ( a * a * b * b ) / ( ( a * a * sinq * sinq ) + ( b * b * cosq * cosq ) ) );
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/FontUtilities.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/FontUtilities.cs
index 89ff8d8d9..ca8c2a331 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/FontUtilities.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/FontUtilities.cs
@@ -1,98 +1,98 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Windows.Media;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit.Core.Utilities
-{
- internal class FontUtilities
- {
- internal static IEnumerable Families
- {
- get
- {
-#if !VS2008
- // Workaround for a WPF 4 bug.
- foreach( FontFamily font in Fonts.SystemFontFamilies )
- {
- try
- {
- // In WPF 4, this will throw an exception.
- var throwAcess = font.FamilyNames;
- }
- catch
- {
- // It throws. Go to the next font family.
- continue;
- }
-
- // If it does not throw, return the font.
- yield return font;
- }
-#else
- return Fonts.SystemFontFamilies;
-#endif
- }
- }
-
- internal static IEnumerable Weights
- {
- get
- {
- yield return FontWeights.Black;
- yield return FontWeights.Bold;
- yield return FontWeights.ExtraBlack;
- yield return FontWeights.ExtraBold;
- yield return FontWeights.ExtraLight;
- yield return FontWeights.Light;
- yield return FontWeights.Medium;
- yield return FontWeights.Normal;
- yield return FontWeights.SemiBold;
- yield return FontWeights.Thin;
- }
- }
-
- internal static IEnumerable Styles
- {
- get
- {
- yield return FontStyles.Italic;
- yield return FontStyles.Normal;
- }
- }
-
- internal static IEnumerable Stretches
- {
- get
- {
- yield return FontStretches.Condensed;
- yield return FontStretches.Expanded;
- yield return FontStretches.ExtraCondensed;
- yield return FontStretches.ExtraExpanded;
- yield return FontStretches.Normal;
- yield return FontStretches.SemiCondensed;
- yield return FontStretches.SemiExpanded;
- yield return FontStretches.UltraCondensed;
- yield return FontStretches.UltraExpanded;
- }
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows.Media;
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit.Core.Utilities
+{
+ internal class FontUtilities
+ {
+ internal static IEnumerable Families
+ {
+ get
+ {
+#if !VS2008
+ // Workaround for a WPF 4 bug.
+ foreach( FontFamily font in Fonts.SystemFontFamilies )
+ {
+ try
+ {
+ // In WPF 4, this will throw an exception.
+ var throwAcess = font.FamilyNames;
+ }
+ catch
+ {
+ // It throws. Go to the next font family.
+ continue;
+ }
+
+ // If it does not throw, return the font.
+ yield return font;
+ }
+#else
+ return Fonts.SystemFontFamilies;
+#endif
+ }
+ }
+
+ internal static IEnumerable Weights
+ {
+ get
+ {
+ yield return FontWeights.Black;
+ yield return FontWeights.Bold;
+ yield return FontWeights.ExtraBlack;
+ yield return FontWeights.ExtraBold;
+ yield return FontWeights.ExtraLight;
+ yield return FontWeights.Light;
+ yield return FontWeights.Medium;
+ yield return FontWeights.Normal;
+ yield return FontWeights.SemiBold;
+ yield return FontWeights.Thin;
+ }
+ }
+
+ internal static IEnumerable Styles
+ {
+ get
+ {
+ yield return FontStyles.Italic;
+ yield return FontStyles.Normal;
+ }
+ }
+
+ internal static IEnumerable Stretches
+ {
+ get
+ {
+ yield return FontStretches.Condensed;
+ yield return FontStretches.Expanded;
+ yield return FontStretches.ExtraCondensed;
+ yield return FontStretches.ExtraExpanded;
+ yield return FontStretches.Normal;
+ yield return FontStretches.SemiCondensed;
+ yield return FontStretches.SemiExpanded;
+ yield return FontStretches.UltraCondensed;
+ yield return FontStretches.UltraExpanded;
+ }
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/KeyboardUtilities.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/KeyboardUtilities.cs
index 9ab3ee99d..76ebda1dd 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/KeyboardUtilities.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/KeyboardUtilities.cs
@@ -1,33 +1,33 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Windows.Input;
-
-namespace Xceed.Wpf.Toolkit.Core.Utilities
-{
- internal class KeyboardUtilities
- {
- internal static bool IsKeyModifyingPopupState( KeyEventArgs e )
- {
- return ( ( ( ( Keyboard.Modifiers & ModifierKeys.Alt ) == ModifierKeys.Alt ) && ( ( e.SystemKey == Key.Down ) || ( e.SystemKey == Key.Up ) ) )
- || ( e.Key == Key.F4 ) );
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows.Input;
+
+namespace Xceed.Wpf.Toolkit.Core.Utilities
+{
+ internal class KeyboardUtilities
+ {
+ internal static bool IsKeyModifyingPopupState( KeyEventArgs e )
+ {
+ return ( ( ( ( Keyboard.Modifiers & ModifierKeys.Alt ) == ModifierKeys.Alt ) && ( ( e.SystemKey == Key.Down ) || ( e.SystemKey == Key.Up ) ) )
+ || ( e.Key == Key.F4 ) );
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ListUtilities.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ListUtilities.cs
index c559e02cf..803519458 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ListUtilities.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ListUtilities.cs
@@ -1,80 +1,80 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
-
-namespace Xceed.Wpf.Toolkit.Core.Utilities
-{
- internal class ListUtilities
- {
- internal static Type GetListItemType( Type listType )
- {
- Type iListOfT = listType.GetInterfaces().FirstOrDefault(
- ( i ) => i.IsGenericType && i.GetGenericTypeDefinition() == typeof( IList<> ) );
-
- return ( iListOfT != null )
- ? iListOfT.GetGenericArguments()[ 0 ]
- : null;
- }
-
- internal static Type GetCollectionItemType( Type colType )
- {
- Type iCollectionOfT = null;
- var isCollectionOfT = colType.IsGenericType && (colType.GetGenericTypeDefinition() == typeof( ICollection<> ) );
- if( isCollectionOfT )
- {
- iCollectionOfT = colType;
- }
- else
- {
- iCollectionOfT = colType.GetInterfaces().FirstOrDefault(( i ) => i.IsGenericType && i.GetGenericTypeDefinition() == typeof( ICollection<> ) );
- }
-
- return (iCollectionOfT != null)
- ? iCollectionOfT.GetGenericArguments()[ 0 ]
- : null;
- }
-
- internal static Type[] GetDictionaryItemsType( Type dictType )
- {
- var isDict = dictType.IsGenericType
- && ((dictType.GetGenericTypeDefinition() == typeof( Dictionary<,>) ) || (dictType.GetGenericTypeDefinition() == typeof( IDictionary<,>) ));
-
- return isDict
- ? new Type[] { dictType.GetGenericArguments()[ 0 ], dictType.GetGenericArguments()[ 1 ] }
- : null;
- }
-
- internal static object CreateEditableKeyValuePair( object key, Type keyType, object value, Type valueType )
- {
- var itemType = ListUtilities.CreateEditableKeyValuePairType( keyType, valueType );
- return Activator.CreateInstance( itemType, key, value );
- }
-
- internal static Type CreateEditableKeyValuePairType( Type keyType, Type valueType )
- {
- //return an EditableKeyValuePair< TKey, TValue> Type from keyType and valueType
- var itemGenType = typeof( EditableKeyValuePair<,> );
- Type[] itemGenTypeArgs = { keyType, valueType };
- return itemGenType.MakeGenericType( itemGenTypeArgs );
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
+
+namespace Xceed.Wpf.Toolkit.Core.Utilities
+{
+ internal class ListUtilities
+ {
+ internal static Type GetListItemType( Type listType )
+ {
+ Type iListOfT = listType.GetInterfaces().FirstOrDefault(
+ ( i ) => i.IsGenericType && i.GetGenericTypeDefinition() == typeof( IList<> ) );
+
+ return ( iListOfT != null )
+ ? iListOfT.GetGenericArguments()[ 0 ]
+ : null;
+ }
+
+ internal static Type GetCollectionItemType( Type colType )
+ {
+ Type iCollectionOfT = null;
+ var isCollectionOfT = colType.IsGenericType && (colType.GetGenericTypeDefinition() == typeof( ICollection<> ) );
+ if( isCollectionOfT )
+ {
+ iCollectionOfT = colType;
+ }
+ else
+ {
+ iCollectionOfT = colType.GetInterfaces().FirstOrDefault(( i ) => i.IsGenericType && i.GetGenericTypeDefinition() == typeof( ICollection<> ) );
+ }
+
+ return (iCollectionOfT != null)
+ ? iCollectionOfT.GetGenericArguments()[ 0 ]
+ : null;
+ }
+
+ internal static Type[] GetDictionaryItemsType( Type dictType )
+ {
+ var isDict = dictType.IsGenericType
+ && ((dictType.GetGenericTypeDefinition() == typeof( Dictionary<,>) ) || (dictType.GetGenericTypeDefinition() == typeof( IDictionary<,>) ));
+
+ return isDict
+ ? new Type[] { dictType.GetGenericArguments()[ 0 ], dictType.GetGenericArguments()[ 1 ] }
+ : null;
+ }
+
+ internal static object CreateEditableKeyValuePair( object key, Type keyType, object value, Type valueType )
+ {
+ var itemType = ListUtilities.CreateEditableKeyValuePairType( keyType, valueType );
+ return Activator.CreateInstance( itemType, key, value );
+ }
+
+ internal static Type CreateEditableKeyValuePairType( Type keyType, Type valueType )
+ {
+ //return an EditableKeyValuePair< TKey, TValue> Type from keyType and valueType
+ var itemGenType = typeof( EditableKeyValuePair<,> );
+ Type[] itemGenTypeArgs = { keyType, valueType };
+ return itemGenType.MakeGenericType( itemGenTypeArgs );
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/PointHelper.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/PointHelper.cs
index 613a3f09f..f0779e972 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/PointHelper.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/PointHelper.cs
@@ -1,42 +1,42 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit.Core.Utilities
-{
- internal static class PointHelper
- {
- public static double DistanceBetween( Point p1, Point p2 )
- {
- return Math.Sqrt( Math.Pow( p1.X - p2.X, 2 ) + Math.Pow( p1.Y - p2.Y, 2 ) );
- }
-
- public static Point Empty
- {
- get
- {
- return new Point( double.NaN, double.NaN );
- }
- }
-
- public static bool IsEmpty( Point point )
- {
- return DoubleHelper.IsNaN( point.X ) && DoubleHelper.IsNaN( point.Y );
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit.Core.Utilities
+{
+ internal static class PointHelper
+ {
+ public static double DistanceBetween( Point p1, Point p2 )
+ {
+ return Math.Sqrt( Math.Pow( p1.X - p2.X, 2 ) + Math.Pow( p1.Y - p2.Y, 2 ) );
+ }
+
+ public static Point Empty
+ {
+ get
+ {
+ return new Point( double.NaN, double.NaN );
+ }
+ }
+
+ public static bool IsEmpty( Point point )
+ {
+ return DoubleHelper.IsNaN( point.X ) && DoubleHelper.IsNaN( point.Y );
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/PropertyChangedExt.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/PropertyChangedExt.cs
index 510b47c0a..2dac2cb66 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/PropertyChangedExt.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/PropertyChangedExt.cs
@@ -1,127 +1,127 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.ComponentModel;
-using System.Linq.Expressions;
-
-namespace Xceed.Wpf.Toolkit.Core.Utilities
-{
- internal static class PropertyChangedExt
- {
- #region Notify Methods
-
- public static void Notify(
- this INotifyPropertyChanged sender,
- PropertyChangedEventHandler handler,
- Expression> expression )
- {
- if( sender == null )
- throw new ArgumentNullException( "sender" );
-
- if( expression == null )
- throw new ArgumentNullException( "expression" );
-
- var body = expression.Body as MemberExpression;
- if( body == null )
- throw new ArgumentException( "The expression must target a property or field.", "expression" );
-
- string propertyName = PropertyChangedExt.GetPropertyName( body, sender.GetType() );
-
- PropertyChangedExt.NotifyCore( sender, handler, propertyName );
- }
-
- public static void Notify( this INotifyPropertyChanged sender, PropertyChangedEventHandler handler, string propertyName )
- {
- if( sender == null )
- throw new ArgumentNullException( "sender" );
-
- if( propertyName == null )
- throw new ArgumentNullException( "propertyName" );
-
- ReflectionHelper.ValidatePropertyName( sender, propertyName );
-
- PropertyChangedExt.NotifyCore( sender, handler, propertyName );
- }
-
- private static void NotifyCore( INotifyPropertyChanged sender, PropertyChangedEventHandler handler, string propertyName )
- {
- if( handler != null )
- {
- handler( sender, new PropertyChangedEventArgs( propertyName ) );
- }
- }
-
- #endregion
-
- #region PropertyChanged Verification Methods
-
- internal static bool PropertyChanged( string propertyName, PropertyChangedEventArgs e, bool targetPropertyOnly )
- {
- string target = e.PropertyName;
- if( target == propertyName )
- return true;
-
- return ( !targetPropertyOnly )
- && ( string.IsNullOrEmpty( target ) );
- }
-
- internal static bool PropertyChanged(
- Expression> expression,
- PropertyChangedEventArgs e,
- bool targetPropertyOnly )
- {
- var body = expression.Body as MemberExpression;
- if( body == null )
- throw new ArgumentException( "The expression must target a property or field.", "expression" );
-
- return PropertyChangedExt.PropertyChanged( body, typeof( TOwner ), e, targetPropertyOnly );
- }
-
- internal static bool PropertyChanged(
- Expression> expression,
- PropertyChangedEventArgs e,
- bool targetPropertyOnly )
- {
- var body = expression.Body as MemberExpression;
- if( body == null )
- throw new ArgumentException( "The expression must target a property or field.", "expression" );
-
- return PropertyChangedExt.PropertyChanged( body, typeof( TOwner ), e, targetPropertyOnly );
- }
-
- private static bool PropertyChanged( MemberExpression expression, Type ownerType, PropertyChangedEventArgs e, bool targetPropertyOnly )
- {
- var propertyName = PropertyChangedExt.GetPropertyName( expression, ownerType );
-
- return PropertyChangedExt.PropertyChanged( propertyName, e, targetPropertyOnly );
- }
-
- #endregion
-
- private static string GetPropertyName( MemberExpression expression, Type ownerType )
- {
- var targetType = expression.Expression.Type;
- if( !targetType.IsAssignableFrom( ownerType ) )
- throw new ArgumentException( "The expression must target a property or field on the appropriate owner.", "expression" );
-
- return ReflectionHelper.GetPropertyOrFieldName( expression );
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.ComponentModel;
+using System.Linq.Expressions;
+
+namespace Xceed.Wpf.Toolkit.Core.Utilities
+{
+ internal static class PropertyChangedExt
+ {
+ #region Notify Methods
+
+ public static void Notify(
+ this INotifyPropertyChanged sender,
+ PropertyChangedEventHandler handler,
+ Expression> expression )
+ {
+ if( sender == null )
+ throw new ArgumentNullException( "sender" );
+
+ if( expression == null )
+ throw new ArgumentNullException( "expression" );
+
+ var body = expression.Body as MemberExpression;
+ if( body == null )
+ throw new ArgumentException( "The expression must target a property or field.", "expression" );
+
+ string propertyName = PropertyChangedExt.GetPropertyName( body, sender.GetType() );
+
+ PropertyChangedExt.NotifyCore( sender, handler, propertyName );
+ }
+
+ public static void Notify( this INotifyPropertyChanged sender, PropertyChangedEventHandler handler, string propertyName )
+ {
+ if( sender == null )
+ throw new ArgumentNullException( "sender" );
+
+ if( propertyName == null )
+ throw new ArgumentNullException( "propertyName" );
+
+ ReflectionHelper.ValidatePropertyName( sender, propertyName );
+
+ PropertyChangedExt.NotifyCore( sender, handler, propertyName );
+ }
+
+ private static void NotifyCore( INotifyPropertyChanged sender, PropertyChangedEventHandler handler, string propertyName )
+ {
+ if( handler != null )
+ {
+ handler( sender, new PropertyChangedEventArgs( propertyName ) );
+ }
+ }
+
+ #endregion
+
+ #region PropertyChanged Verification Methods
+
+ internal static bool PropertyChanged( string propertyName, PropertyChangedEventArgs e, bool targetPropertyOnly )
+ {
+ string target = e.PropertyName;
+ if( target == propertyName )
+ return true;
+
+ return ( !targetPropertyOnly )
+ && ( string.IsNullOrEmpty( target ) );
+ }
+
+ internal static bool PropertyChanged(
+ Expression> expression,
+ PropertyChangedEventArgs e,
+ bool targetPropertyOnly )
+ {
+ var body = expression.Body as MemberExpression;
+ if( body == null )
+ throw new ArgumentException( "The expression must target a property or field.", "expression" );
+
+ return PropertyChangedExt.PropertyChanged( body, typeof( TOwner ), e, targetPropertyOnly );
+ }
+
+ internal static bool PropertyChanged(
+ Expression> expression,
+ PropertyChangedEventArgs e,
+ bool targetPropertyOnly )
+ {
+ var body = expression.Body as MemberExpression;
+ if( body == null )
+ throw new ArgumentException( "The expression must target a property or field.", "expression" );
+
+ return PropertyChangedExt.PropertyChanged( body, typeof( TOwner ), e, targetPropertyOnly );
+ }
+
+ private static bool PropertyChanged( MemberExpression expression, Type ownerType, PropertyChangedEventArgs e, bool targetPropertyOnly )
+ {
+ var propertyName = PropertyChangedExt.GetPropertyName( expression, ownerType );
+
+ return PropertyChangedExt.PropertyChanged( propertyName, e, targetPropertyOnly );
+ }
+
+ #endregion
+
+ private static string GetPropertyName( MemberExpression expression, Type ownerType )
+ {
+ var targetType = expression.Expression.Type;
+ if( !targetType.IsAssignableFrom( ownerType ) )
+ throw new ArgumentException( "The expression must target a property or field on the appropriate owner.", "expression" );
+
+ return ReflectionHelper.GetPropertyOrFieldName( expression );
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/RectHelper.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/RectHelper.cs
index 028ad56a4..e1b6f6842 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/RectHelper.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/RectHelper.cs
@@ -1,86 +1,86 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit.Core.Utilities
-{
- internal static class RectHelper
- {
- public static Point Center( Rect rect )
- {
- return new Point( rect.Left + rect.Width / 2, rect.Top + rect.Height / 2 );
- }
-
- public static Nullable GetNearestPointOfIntersectionBetweenRectAndSegment( Rect rect, Segment segment, Point point )
- {
- Nullable result = null;
- double distance = double.PositiveInfinity;
-
- Segment leftIntersection = segment.Intersection( new Segment( rect.BottomLeft, rect.TopLeft ) );
- Segment topIntersection = segment.Intersection( new Segment( rect.TopLeft, rect.TopRight ) );
- Segment rightIntersection = segment.Intersection( new Segment( rect.TopRight, rect.BottomRight ) );
- Segment bottomIntersection = segment.Intersection( new Segment( rect.BottomRight, rect.BottomLeft ) );
-
- RectHelper.AdjustResultForIntersectionWithSide( ref result, ref distance, leftIntersection, point );
- RectHelper.AdjustResultForIntersectionWithSide( ref result, ref distance, topIntersection, point );
- RectHelper.AdjustResultForIntersectionWithSide( ref result, ref distance, rightIntersection, point );
- RectHelper.AdjustResultForIntersectionWithSide( ref result, ref distance, bottomIntersection, point );
-
- return result;
- }
-
- public static Rect GetRectCenteredOnPoint( Point center, Size size )
- {
- return new Rect( new Point( center.X - size.Width / 2, center.Y - size.Height / 2 ), size );
- }
-
- private static void AdjustResultForIntersectionWithSide( ref Nullable result, ref double distance, Segment intersection, Point point )
- {
- if( !intersection.IsEmpty )
- {
- if( intersection.Contains( point ) )
- {
- distance = 0;
- result = point;
- return;
- }
-
- double p1Distance = PointHelper.DistanceBetween( point, intersection.P1 );
- double p2Distance = double.PositiveInfinity;
- if( !intersection.IsPoint )
- {
- p2Distance = PointHelper.DistanceBetween( point, intersection.P2 );
- }
-
- if( Math.Min( p1Distance, p2Distance ) < distance )
- {
- if( p1Distance < p2Distance )
- {
- distance = p1Distance;
- result = intersection.P1;
- }
- else
- {
- distance = p2Distance;
- result = intersection.P2;
- }
- }
- }
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit.Core.Utilities
+{
+ internal static class RectHelper
+ {
+ public static Point Center( Rect rect )
+ {
+ return new Point( rect.Left + rect.Width / 2, rect.Top + rect.Height / 2 );
+ }
+
+ public static Nullable GetNearestPointOfIntersectionBetweenRectAndSegment( Rect rect, Segment segment, Point point )
+ {
+ Nullable result = null;
+ double distance = double.PositiveInfinity;
+
+ Segment leftIntersection = segment.Intersection( new Segment( rect.BottomLeft, rect.TopLeft ) );
+ Segment topIntersection = segment.Intersection( new Segment( rect.TopLeft, rect.TopRight ) );
+ Segment rightIntersection = segment.Intersection( new Segment( rect.TopRight, rect.BottomRight ) );
+ Segment bottomIntersection = segment.Intersection( new Segment( rect.BottomRight, rect.BottomLeft ) );
+
+ RectHelper.AdjustResultForIntersectionWithSide( ref result, ref distance, leftIntersection, point );
+ RectHelper.AdjustResultForIntersectionWithSide( ref result, ref distance, topIntersection, point );
+ RectHelper.AdjustResultForIntersectionWithSide( ref result, ref distance, rightIntersection, point );
+ RectHelper.AdjustResultForIntersectionWithSide( ref result, ref distance, bottomIntersection, point );
+
+ return result;
+ }
+
+ public static Rect GetRectCenteredOnPoint( Point center, Size size )
+ {
+ return new Rect( new Point( center.X - size.Width / 2, center.Y - size.Height / 2 ), size );
+ }
+
+ private static void AdjustResultForIntersectionWithSide( ref Nullable result, ref double distance, Segment intersection, Point point )
+ {
+ if( !intersection.IsEmpty )
+ {
+ if( intersection.Contains( point ) )
+ {
+ distance = 0;
+ result = point;
+ return;
+ }
+
+ double p1Distance = PointHelper.DistanceBetween( point, intersection.P1 );
+ double p2Distance = double.PositiveInfinity;
+ if( !intersection.IsPoint )
+ {
+ p2Distance = PointHelper.DistanceBetween( point, intersection.P2 );
+ }
+
+ if( Math.Min( p1Distance, p2Distance ) < distance )
+ {
+ if( p1Distance < p2Distance )
+ {
+ distance = p1Distance;
+ result = intersection.P1;
+ }
+ else
+ {
+ distance = p2Distance;
+ result = intersection.P2;
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ReflectionHelper.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ReflectionHelper.cs
index e4b4aa8cc..1163f963f 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ReflectionHelper.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ReflectionHelper.cs
@@ -1,139 +1,139 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.ComponentModel;
-using System.Diagnostics;
-using System.Linq.Expressions;
-using System.Reflection;
-
-namespace Xceed.Wpf.Toolkit.Core.Utilities
-{
- internal static class ReflectionHelper
- {
- ///
- /// Check the existence of the specified public instance (i.e. non static) property against
- /// the type of the specified source object. If the property is not defined by the type,
- /// a debug assertion will fail. Typically used to validate the parameter of a
- /// RaisePropertyChanged method.
- ///
- /// The object for which the type will be checked.
- /// The name of the property.
- [System.Diagnostics.Conditional( "DEBUG" )]
- internal static void ValidatePublicPropertyName( object sourceObject, string propertyName )
- {
- if( sourceObject == null )
- throw new ArgumentNullException( "sourceObject" );
-
- if( propertyName == null )
- throw new ArgumentNullException( "propertyName" );
-
- System.Diagnostics.Debug.Assert( sourceObject.GetType().GetProperty( propertyName, System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.FlattenHierarchy | System.Reflection.BindingFlags.Public ) != null,
- string.Format( "Public property {0} not found on object of type {1}.", propertyName, sourceObject.GetType().FullName ) );
- }
-
- ///
- /// Check the existence of the specified instance (i.e. non static) property against
- /// the type of the specified source object. If the property is not defined by the type,
- /// a debug assertion will fail. Typically used to validate the parameter of a
- /// RaisePropertyChanged method.
- ///
- /// The object for which the type will be checked.
- /// The name of the property.
- [System.Diagnostics.Conditional( "DEBUG" )]
- internal static void ValidatePropertyName( object sourceObject, string propertyName )
- {
- if( sourceObject == null )
- throw new ArgumentNullException( "sourceObject" );
-
- if( propertyName == null )
- throw new ArgumentNullException( "propertyName" );
-
- System.Diagnostics.Debug.Assert( sourceObject.GetType().GetProperty( propertyName, System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.FlattenHierarchy | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic ) != null,
- string.Format( "Public property {0} not found on object of type {1}.", propertyName, sourceObject.GetType().FullName ) );
- }
-
- internal static bool TryGetEnumDescriptionAttributeValue( Enum enumeration, out string description )
- {
- try
- {
- FieldInfo fieldInfo = enumeration.GetType().GetField( enumeration.ToString() );
- DescriptionAttribute[] attributes = fieldInfo.GetCustomAttributes( typeof( DescriptionAttribute ), true ) as DescriptionAttribute[];
- if( ( attributes != null ) && ( attributes.Length > 0 ) )
- {
- description = attributes[ 0 ].Description;
- return true;
- }
- }
- catch
- {
- }
-
- description = String.Empty;
- return false;
- }
-
- [DebuggerStepThrough]
- internal static string GetPropertyOrFieldName( MemberExpression expression )
- {
- string propertyOrFieldName;
- if( !ReflectionHelper.TryGetPropertyOrFieldName( expression, out propertyOrFieldName ) )
- throw new InvalidOperationException( "Unable to retrieve the property or field name." );
-
- return propertyOrFieldName;
- }
-
- [DebuggerStepThrough]
- internal static string GetPropertyOrFieldName( Expression> expression )
- {
- string propertyOrFieldName;
- if( !ReflectionHelper.TryGetPropertyOrFieldName( expression, out propertyOrFieldName ) )
- throw new InvalidOperationException( "Unable to retrieve the property or field name." );
-
- return propertyOrFieldName;
- }
-
- [DebuggerStepThrough]
- internal static bool TryGetPropertyOrFieldName( MemberExpression expression, out string propertyOrFieldName )
- {
- propertyOrFieldName = null;
-
- if( expression == null )
- return false;
-
- propertyOrFieldName = expression.Member.Name;
-
- return true;
- }
-
- [DebuggerStepThrough]
- internal static bool TryGetPropertyOrFieldName( Expression> expression, out string propertyOrFieldName )
- {
- propertyOrFieldName = null;
-
- if( expression == null )
- return false;
-
- return ReflectionHelper.TryGetPropertyOrFieldName( expression.Body as MemberExpression, out propertyOrFieldName );
- }
-
- public static bool IsPublicInstanceProperty( Type type, string propertyName )
- {
- BindingFlags flags = ( System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.FlattenHierarchy | System.Reflection.BindingFlags.Public );
- return type.GetProperty( propertyName, flags ) != null;
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.ComponentModel;
+using System.Diagnostics;
+using System.Linq.Expressions;
+using System.Reflection;
+
+namespace Xceed.Wpf.Toolkit.Core.Utilities
+{
+ internal static class ReflectionHelper
+ {
+ ///
+ /// Check the existence of the specified public instance (i.e. non static) property against
+ /// the type of the specified source object. If the property is not defined by the type,
+ /// a debug assertion will fail. Typically used to validate the parameter of a
+ /// RaisePropertyChanged method.
+ ///
+ /// The object for which the type will be checked.
+ /// The name of the property.
+ [System.Diagnostics.Conditional( "DEBUG" )]
+ internal static void ValidatePublicPropertyName( object sourceObject, string propertyName )
+ {
+ if( sourceObject == null )
+ throw new ArgumentNullException( "sourceObject" );
+
+ if( propertyName == null )
+ throw new ArgumentNullException( "propertyName" );
+
+ System.Diagnostics.Debug.Assert( sourceObject.GetType().GetProperty( propertyName, System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.FlattenHierarchy | System.Reflection.BindingFlags.Public ) != null,
+ string.Format( "Public property {0} not found on object of type {1}.", propertyName, sourceObject.GetType().FullName ) );
+ }
+
+ ///
+ /// Check the existence of the specified instance (i.e. non static) property against
+ /// the type of the specified source object. If the property is not defined by the type,
+ /// a debug assertion will fail. Typically used to validate the parameter of a
+ /// RaisePropertyChanged method.
+ ///
+ /// The object for which the type will be checked.
+ /// The name of the property.
+ [System.Diagnostics.Conditional( "DEBUG" )]
+ internal static void ValidatePropertyName( object sourceObject, string propertyName )
+ {
+ if( sourceObject == null )
+ throw new ArgumentNullException( "sourceObject" );
+
+ if( propertyName == null )
+ throw new ArgumentNullException( "propertyName" );
+
+ System.Diagnostics.Debug.Assert( sourceObject.GetType().GetProperty( propertyName, System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.FlattenHierarchy | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic ) != null,
+ string.Format( "Public property {0} not found on object of type {1}.", propertyName, sourceObject.GetType().FullName ) );
+ }
+
+ internal static bool TryGetEnumDescriptionAttributeValue( Enum enumeration, out string description )
+ {
+ try
+ {
+ FieldInfo fieldInfo = enumeration.GetType().GetField( enumeration.ToString() );
+ DescriptionAttribute[] attributes = fieldInfo.GetCustomAttributes( typeof( DescriptionAttribute ), true ) as DescriptionAttribute[];
+ if( ( attributes != null ) && ( attributes.Length > 0 ) )
+ {
+ description = attributes[ 0 ].Description;
+ return true;
+ }
+ }
+ catch
+ {
+ }
+
+ description = String.Empty;
+ return false;
+ }
+
+ [DebuggerStepThrough]
+ internal static string GetPropertyOrFieldName( MemberExpression expression )
+ {
+ string propertyOrFieldName;
+ if( !ReflectionHelper.TryGetPropertyOrFieldName( expression, out propertyOrFieldName ) )
+ throw new InvalidOperationException( "Unable to retrieve the property or field name." );
+
+ return propertyOrFieldName;
+ }
+
+ [DebuggerStepThrough]
+ internal static string GetPropertyOrFieldName( Expression> expression )
+ {
+ string propertyOrFieldName;
+ if( !ReflectionHelper.TryGetPropertyOrFieldName( expression, out propertyOrFieldName ) )
+ throw new InvalidOperationException( "Unable to retrieve the property or field name." );
+
+ return propertyOrFieldName;
+ }
+
+ [DebuggerStepThrough]
+ internal static bool TryGetPropertyOrFieldName( MemberExpression expression, out string propertyOrFieldName )
+ {
+ propertyOrFieldName = null;
+
+ if( expression == null )
+ return false;
+
+ propertyOrFieldName = expression.Member.Name;
+
+ return true;
+ }
+
+ [DebuggerStepThrough]
+ internal static bool TryGetPropertyOrFieldName( Expression> expression, out string propertyOrFieldName )
+ {
+ propertyOrFieldName = null;
+
+ if( expression == null )
+ return false;
+
+ return ReflectionHelper.TryGetPropertyOrFieldName( expression.Body as MemberExpression, out propertyOrFieldName );
+ }
+
+ public static bool IsPublicInstanceProperty( Type type, string propertyName )
+ {
+ BindingFlags flags = ( System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.FlattenHierarchy | System.Reflection.BindingFlags.Public );
+ return type.GetProperty( propertyName, flags ) != null;
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ResourceHelper.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ResourceHelper.cs
index 2b80831c2..47d7d2d81 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ResourceHelper.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ResourceHelper.cs
@@ -1,36 +1,36 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System.IO;
-using System.Reflection;
-using System.Resources;
-
-namespace Xceed.Wpf.Toolkit.Core.Utilities
-{
- internal class ResourceHelper
- {
- internal static Stream LoadResourceStream( Assembly assembly, string resId )
- {
- string basename = System.IO.Path.GetFileNameWithoutExtension( assembly.ManifestModule.Name ) + ".g";
- ResourceManager resourceManager = new ResourceManager( basename, assembly );
-
- // resource names are lower case and contain only forward slashes
- resId = resId.ToLower();
- resId = resId.Replace( '\\', '/' );
- return ( resourceManager.GetObject( resId ) as Stream );
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System.IO;
+using System.Reflection;
+using System.Resources;
+
+namespace Xceed.Wpf.Toolkit.Core.Utilities
+{
+ internal class ResourceHelper
+ {
+ internal static Stream LoadResourceStream( Assembly assembly, string resId )
+ {
+ string basename = System.IO.Path.GetFileNameWithoutExtension( assembly.ManifestModule.Name ) + ".g";
+ ResourceManager resourceManager = new ResourceManager( basename, assembly );
+
+ // resource names are lower case and contain only forward slashes
+ resId = resId.ToLower();
+ resId = resId.Replace( '\\', '/' );
+ return ( resourceManager.GetObject( resId ) as Stream );
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/RoutedEventHelper.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/RoutedEventHelper.cs
index 7467beb33..e8956137e 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/RoutedEventHelper.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/RoutedEventHelper.cs
@@ -1,70 +1,70 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit.Core.Utilities
-{
- internal static class RoutedEventHelper
- {
- internal static void RaiseEvent( DependencyObject target, RoutedEventArgs args )
- {
- if( target is UIElement )
- {
- ( target as UIElement ).RaiseEvent( args );
- }
- else if( target is ContentElement )
- {
- ( target as ContentElement ).RaiseEvent( args );
- }
- }
-
- internal static void AddHandler( DependencyObject element, RoutedEvent routedEvent, Delegate handler )
- {
- UIElement uie = element as UIElement;
- if( uie != null )
- {
- uie.AddHandler( routedEvent, handler );
- }
- else
- {
- ContentElement ce = element as ContentElement;
- if( ce != null )
- {
- ce.AddHandler( routedEvent, handler );
- }
- }
- }
-
- internal static void RemoveHandler( DependencyObject element, RoutedEvent routedEvent, Delegate handler )
- {
- UIElement uie = element as UIElement;
- if( uie != null )
- {
- uie.RemoveHandler( routedEvent, handler );
- }
- else
- {
- ContentElement ce = element as ContentElement;
- if( ce != null )
- {
- ce.RemoveHandler( routedEvent, handler );
- }
- }
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit.Core.Utilities
+{
+ internal static class RoutedEventHelper
+ {
+ internal static void RaiseEvent( DependencyObject target, RoutedEventArgs args )
+ {
+ if( target is UIElement )
+ {
+ ( target as UIElement ).RaiseEvent( args );
+ }
+ else if( target is ContentElement )
+ {
+ ( target as ContentElement ).RaiseEvent( args );
+ }
+ }
+
+ internal static void AddHandler( DependencyObject element, RoutedEvent routedEvent, Delegate handler )
+ {
+ UIElement uie = element as UIElement;
+ if( uie != null )
+ {
+ uie.AddHandler( routedEvent, handler );
+ }
+ else
+ {
+ ContentElement ce = element as ContentElement;
+ if( ce != null )
+ {
+ ce.AddHandler( routedEvent, handler );
+ }
+ }
+ }
+
+ internal static void RemoveHandler( DependencyObject element, RoutedEvent routedEvent, Delegate handler )
+ {
+ UIElement uie = element as UIElement;
+ if( uie != null )
+ {
+ uie.RemoveHandler( routedEvent, handler );
+ }
+ else
+ {
+ ContentElement ce = element as ContentElement;
+ if( ce != null )
+ {
+ ce.RemoveHandler( routedEvent, handler );
+ }
+ }
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/Segment.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/Segment.cs
index bf01e59e1..c47ce6c68 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/Segment.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/Segment.cs
@@ -1,384 +1,384 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit.Core.Utilities
-{
- internal struct Segment
- {
- #region Constructors
-
- public Segment( Point point )
- {
- _p1 = point;
- _p2 = point;
- _isP1Excluded = false;
- _isP2Excluded = false;
- }
-
- public Segment( Point p1, Point p2 )
- {
- _p1 = p1;
- _p2 = p2;
- _isP1Excluded = false;
- _isP2Excluded = false;
- }
-
- public Segment( Point p1, Point p2, bool excludeP1, bool excludeP2 )
- {
- _p1 = p1;
- _p2 = p2;
- _isP1Excluded = excludeP1;
- _isP2Excluded = excludeP2;
- }
-
- #endregion
-
- #region Empty Static Properties
-
- public static Segment Empty
- {
- get
- {
- Segment result = new Segment( new Point( 0, 0 ) );
- result._isP1Excluded = true;
- result._isP2Excluded = true;
- return result;
- }
- }
-
- #endregion
-
- #region P1 Property
-
- public Point P1
- {
- get
- {
- return _p1;
- }
- }
-
- #endregion
-
- #region P2 Property
-
- public Point P2
- {
- get
- {
- return _p2;
- }
- }
-
- #endregion
-
- #region IsP1Excluded Property
-
- public bool IsP1Excluded
- {
- get
- {
- return _isP1Excluded;
- }
- }
-
- #endregion
-
- #region IsP2Excluded Property
-
- public bool IsP2Excluded
- {
- get
- {
- return _isP2Excluded;
- }
- }
-
- #endregion
-
- #region IsEmpty Property
-
- public bool IsEmpty
- {
- get
- {
- return DoubleHelper.AreVirtuallyEqual( _p1, _p2 ) && ( _isP1Excluded || _isP2Excluded );
- }
- }
-
- #endregion
-
- #region IsPoint Property
-
- public bool IsPoint
- {
- get
- {
- return DoubleHelper.AreVirtuallyEqual( _p1, _p2 );
- }
- }
-
- #endregion
-
- #region Length Property
-
- public double Length
- {
- get
- {
- return ( this.P2 - this.P1 ).Length;
- }
- }
-
- #endregion
-
- #region Slope Property
-
- public double Slope
- {
- get
- {
- return ( this.P2.X == this.P1.X ) ? double.NaN : ( this.P2.Y - this.P1.Y ) / ( this.P2.X - this.P1.X );
- }
- }
-
- #endregion
-
- public bool Contains( Point point )
- {
- if( IsEmpty )
- return false;
-
- // if the point is an endpoint, ensure that it is not excluded
- if( DoubleHelper.AreVirtuallyEqual( _p1, point ) )
- return _isP1Excluded;
-
- if( DoubleHelper.AreVirtuallyEqual( _p2, point ) )
- return _isP2Excluded;
-
- bool result = false;
-
- // ensure that a line through P1 and the point is parallel to the current segment
- if( DoubleHelper.AreVirtuallyEqual( Slope, new Segment( _p1, point ).Slope ) )
- {
- // finally, ensure that the point is between the segment's endpoints
- result = ( point.X >= Math.Min( _p1.X, _p2.X ) )
- && ( point.X <= Math.Max( _p1.X, _p2.X ) )
- && ( point.Y >= Math.Min( _p1.Y, _p2.Y ) )
- && ( point.Y <= Math.Max( _p1.Y, _p2.Y ) );
- }
- return result;
- }
-
- public bool Contains( Segment segment )
- {
- return ( segment == this.Intersection( segment ) );
- }
-
- public override bool Equals( object o )
- {
- if( !( o is Segment ) )
- return false;
-
- Segment other = ( Segment )o;
-
- // empty segments are always considered equal
- if( this.IsEmpty )
- return other.IsEmpty;
-
- // segments are considered equal if
- // 1) the endpoints are equal and equally excluded
- // 2) the opposing endpoints are equal and equally excluded
- if( DoubleHelper.AreVirtuallyEqual( _p1, other._p1 ) )
- {
- return ( DoubleHelper.AreVirtuallyEqual( _p2, other._p2 )
- && _isP1Excluded == other._isP1Excluded
- && _isP2Excluded == other._isP2Excluded );
- }
- else
- {
- return ( DoubleHelper.AreVirtuallyEqual( _p1, other._p2 )
- && DoubleHelper.AreVirtuallyEqual( _p2, other._p1 )
- && _isP1Excluded == other._isP2Excluded
- && _isP2Excluded == other._isP1Excluded );
- }
- }
-
- public override int GetHashCode()
- {
- return _p1.GetHashCode() ^ _p2.GetHashCode() ^ _isP1Excluded.GetHashCode() ^ _isP2Excluded.GetHashCode();
- }
-
- public Segment Intersection( Segment segment )
- {
- // if either segment is empty, the intersection is also empty
- if( this.IsEmpty || segment.IsEmpty )
- return Segment.Empty;
-
- // if the segments are equal, just return a new equal segment
- if( this == segment )
- return new Segment( this._p1, this._p2, this._isP1Excluded, this._isP2Excluded );
-
- // if either segment is a Point, just see if the point is contained in the other segment
- if( this.IsPoint )
- return segment.Contains( this._p1 ) ? new Segment( this._p1 ) : Segment.Empty;
-
- if( segment.IsPoint )
- return this.Contains( segment._p1 ) ? new Segment( segment._p1 ) : Segment.Empty;
-
- // okay, no easy answer, so let's do the math...
- Point p1 = this._p1;
- Vector v1 = this._p2 - this._p1;
- Point p2 = segment._p1;
- Vector v2 = segment._p2 - segment._p1;
- Vector endpointVector = p2 - p1;
-
- double xProd = Vector.CrossProduct( v1, v2 );
-
- // if segments are not parallel, then look for intersection on each segment
- if( !DoubleHelper.AreVirtuallyEqual( Slope, segment.Slope ) )
- {
- // check for intersection on other segment
- double s = ( Vector.CrossProduct( endpointVector, v1 ) ) / xProd;
- if( s < 0 || s > 1 )
- return Segment.Empty;
-
- // check for intersection on this segment
- s = ( Vector.CrossProduct( endpointVector, v2 ) ) / xProd;
- if( s < 0 || s > 1 )
- return Segment.Empty;
-
- // intersection of segments is a point
- return new Segment( p1 + s * v1 );
- }
-
- // segments are parallel
- xProd = Vector.CrossProduct( endpointVector, v1 );
- if( xProd * xProd > 1.0e-06 * v1.LengthSquared * endpointVector.LengthSquared )
- {
- // segments do not intersect
- return Segment.Empty;
- }
-
- // intersection is overlapping segment
- Segment result = new Segment();
-
- // to determine the overlapping segment, create reference segments where the endpoints are *not* excluded
- Segment refThis = new Segment( this._p1, this._p2 );
- Segment refSegment = new Segment( segment._p1, segment._p2 );
-
- // check whether this segment is contained in the other segment
- bool includeThisP1 = refSegment.Contains( refThis._p1 );
- bool includeThisP2 = refSegment.Contains( refThis._p2 );
- if( includeThisP1 && includeThisP2 )
- {
- result._p1 = this._p1;
- result._p2 = this._p2;
- result._isP1Excluded = this._isP1Excluded || !segment.Contains( this._p1 );
- result._isP2Excluded = this._isP2Excluded || !segment.Contains( this._p2 );
- return result;
- }
-
- // check whether the other segment is contained in this segment
- bool includeSegmentP1 = refThis.Contains( refSegment._p1 );
- bool includeSegmentP2 = refThis.Contains( refSegment._p2 );
- if( includeSegmentP1 && includeSegmentP2 )
- {
- result._p1 = segment._p1;
- result._p2 = segment._p2;
- result._isP1Excluded = segment._isP1Excluded || !this.Contains( segment._p1 );
- result._isP2Excluded = segment._isP2Excluded || !this.Contains( segment._p2 );
- return result;
- }
-
- // the intersection must include one endpoint from this segment and one endpoint from the other segment
- if( includeThisP1 )
- {
- result._p1 = this._p1;
- result._isP1Excluded = this._isP1Excluded || !segment.Contains( this._p1 );
- }
- else
- {
- result._p1 = this._p2;
- result._isP1Excluded = this._isP2Excluded || !segment.Contains( this._p2 );
- }
- if( includeSegmentP1 )
- {
- result._p2 = segment._p1;
- result._isP2Excluded = segment._isP1Excluded || !this.Contains( segment._p1 );
- }
- else
- {
- result._p2 = segment._p2;
- result._isP2Excluded = segment._isP2Excluded || !this.Contains( segment._p2 );
- }
- return result;
- }
-
- public override string ToString()
- {
- string s = base.ToString();
-
- if( this.IsEmpty )
- {
- s = s + ": {Empty}";
- }
- else if( this.IsPoint )
- {
- s = s + ", Point: " + _p1.ToString();
- }
- else
- {
- s = s + ": " + _p1.ToString() + ( _isP1Excluded ? " (excl)" : " (incl)" )
- + " to " + _p2.ToString() + ( _isP2Excluded ? " (excl)" : " (incl)" );
- }
-
- return s;
- }
-
- #region Operators Methods
-
- public static bool operator ==( Segment s1, Segment s2 )
- {
- if( ( object )s1 == null )
- return ( object )s2 == null;
-
- if( ( object )s2 == null )
- return ( object )s1 == null;
-
- return s1.Equals( s2 );
- }
-
- public static bool operator !=( Segment s1, Segment s2 )
- {
- return !( s1 == s2 );
- }
-
- #endregion
-
- #region Private Fields
-
- private bool _isP1Excluded;
- private bool _isP2Excluded;
- private Point _p1;
- private Point _p2;
-
- #endregion
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Windows;
+
+namespace Xceed.Wpf.Toolkit.Core.Utilities
+{
+ internal struct Segment
+ {
+ #region Constructors
+
+ public Segment( Point point )
+ {
+ _p1 = point;
+ _p2 = point;
+ _isP1Excluded = false;
+ _isP2Excluded = false;
+ }
+
+ public Segment( Point p1, Point p2 )
+ {
+ _p1 = p1;
+ _p2 = p2;
+ _isP1Excluded = false;
+ _isP2Excluded = false;
+ }
+
+ public Segment( Point p1, Point p2, bool excludeP1, bool excludeP2 )
+ {
+ _p1 = p1;
+ _p2 = p2;
+ _isP1Excluded = excludeP1;
+ _isP2Excluded = excludeP2;
+ }
+
+ #endregion
+
+ #region Empty Static Properties
+
+ public static Segment Empty
+ {
+ get
+ {
+ Segment result = new Segment( new Point( 0, 0 ) );
+ result._isP1Excluded = true;
+ result._isP2Excluded = true;
+ return result;
+ }
+ }
+
+ #endregion
+
+ #region P1 Property
+
+ public Point P1
+ {
+ get
+ {
+ return _p1;
+ }
+ }
+
+ #endregion
+
+ #region P2 Property
+
+ public Point P2
+ {
+ get
+ {
+ return _p2;
+ }
+ }
+
+ #endregion
+
+ #region IsP1Excluded Property
+
+ public bool IsP1Excluded
+ {
+ get
+ {
+ return _isP1Excluded;
+ }
+ }
+
+ #endregion
+
+ #region IsP2Excluded Property
+
+ public bool IsP2Excluded
+ {
+ get
+ {
+ return _isP2Excluded;
+ }
+ }
+
+ #endregion
+
+ #region IsEmpty Property
+
+ public bool IsEmpty
+ {
+ get
+ {
+ return DoubleHelper.AreVirtuallyEqual( _p1, _p2 ) && ( _isP1Excluded || _isP2Excluded );
+ }
+ }
+
+ #endregion
+
+ #region IsPoint Property
+
+ public bool IsPoint
+ {
+ get
+ {
+ return DoubleHelper.AreVirtuallyEqual( _p1, _p2 );
+ }
+ }
+
+ #endregion
+
+ #region Length Property
+
+ public double Length
+ {
+ get
+ {
+ return ( this.P2 - this.P1 ).Length;
+ }
+ }
+
+ #endregion
+
+ #region Slope Property
+
+ public double Slope
+ {
+ get
+ {
+ return ( this.P2.X == this.P1.X ) ? double.NaN : ( this.P2.Y - this.P1.Y ) / ( this.P2.X - this.P1.X );
+ }
+ }
+
+ #endregion
+
+ public bool Contains( Point point )
+ {
+ if( IsEmpty )
+ return false;
+
+ // if the point is an endpoint, ensure that it is not excluded
+ if( DoubleHelper.AreVirtuallyEqual( _p1, point ) )
+ return _isP1Excluded;
+
+ if( DoubleHelper.AreVirtuallyEqual( _p2, point ) )
+ return _isP2Excluded;
+
+ bool result = false;
+
+ // ensure that a line through P1 and the point is parallel to the current segment
+ if( DoubleHelper.AreVirtuallyEqual( Slope, new Segment( _p1, point ).Slope ) )
+ {
+ // finally, ensure that the point is between the segment's endpoints
+ result = ( point.X >= Math.Min( _p1.X, _p2.X ) )
+ && ( point.X <= Math.Max( _p1.X, _p2.X ) )
+ && ( point.Y >= Math.Min( _p1.Y, _p2.Y ) )
+ && ( point.Y <= Math.Max( _p1.Y, _p2.Y ) );
+ }
+ return result;
+ }
+
+ public bool Contains( Segment segment )
+ {
+ return ( segment == this.Intersection( segment ) );
+ }
+
+ public override bool Equals( object o )
+ {
+ if( !( o is Segment ) )
+ return false;
+
+ Segment other = ( Segment )o;
+
+ // empty segments are always considered equal
+ if( this.IsEmpty )
+ return other.IsEmpty;
+
+ // segments are considered equal if
+ // 1) the endpoints are equal and equally excluded
+ // 2) the opposing endpoints are equal and equally excluded
+ if( DoubleHelper.AreVirtuallyEqual( _p1, other._p1 ) )
+ {
+ return ( DoubleHelper.AreVirtuallyEqual( _p2, other._p2 )
+ && _isP1Excluded == other._isP1Excluded
+ && _isP2Excluded == other._isP2Excluded );
+ }
+ else
+ {
+ return ( DoubleHelper.AreVirtuallyEqual( _p1, other._p2 )
+ && DoubleHelper.AreVirtuallyEqual( _p2, other._p1 )
+ && _isP1Excluded == other._isP2Excluded
+ && _isP2Excluded == other._isP1Excluded );
+ }
+ }
+
+ public override int GetHashCode()
+ {
+ return _p1.GetHashCode() ^ _p2.GetHashCode() ^ _isP1Excluded.GetHashCode() ^ _isP2Excluded.GetHashCode();
+ }
+
+ public Segment Intersection( Segment segment )
+ {
+ // if either segment is empty, the intersection is also empty
+ if( this.IsEmpty || segment.IsEmpty )
+ return Segment.Empty;
+
+ // if the segments are equal, just return a new equal segment
+ if( this == segment )
+ return new Segment( this._p1, this._p2, this._isP1Excluded, this._isP2Excluded );
+
+ // if either segment is a Point, just see if the point is contained in the other segment
+ if( this.IsPoint )
+ return segment.Contains( this._p1 ) ? new Segment( this._p1 ) : Segment.Empty;
+
+ if( segment.IsPoint )
+ return this.Contains( segment._p1 ) ? new Segment( segment._p1 ) : Segment.Empty;
+
+ // okay, no easy answer, so let's do the math...
+ Point p1 = this._p1;
+ Vector v1 = this._p2 - this._p1;
+ Point p2 = segment._p1;
+ Vector v2 = segment._p2 - segment._p1;
+ Vector endpointVector = p2 - p1;
+
+ double xProd = Vector.CrossProduct( v1, v2 );
+
+ // if segments are not parallel, then look for intersection on each segment
+ if( !DoubleHelper.AreVirtuallyEqual( Slope, segment.Slope ) )
+ {
+ // check for intersection on other segment
+ double s = ( Vector.CrossProduct( endpointVector, v1 ) ) / xProd;
+ if( s < 0 || s > 1 )
+ return Segment.Empty;
+
+ // check for intersection on this segment
+ s = ( Vector.CrossProduct( endpointVector, v2 ) ) / xProd;
+ if( s < 0 || s > 1 )
+ return Segment.Empty;
+
+ // intersection of segments is a point
+ return new Segment( p1 + s * v1 );
+ }
+
+ // segments are parallel
+ xProd = Vector.CrossProduct( endpointVector, v1 );
+ if( xProd * xProd > 1.0e-06 * v1.LengthSquared * endpointVector.LengthSquared )
+ {
+ // segments do not intersect
+ return Segment.Empty;
+ }
+
+ // intersection is overlapping segment
+ Segment result = new Segment();
+
+ // to determine the overlapping segment, create reference segments where the endpoints are *not* excluded
+ Segment refThis = new Segment( this._p1, this._p2 );
+ Segment refSegment = new Segment( segment._p1, segment._p2 );
+
+ // check whether this segment is contained in the other segment
+ bool includeThisP1 = refSegment.Contains( refThis._p1 );
+ bool includeThisP2 = refSegment.Contains( refThis._p2 );
+ if( includeThisP1 && includeThisP2 )
+ {
+ result._p1 = this._p1;
+ result._p2 = this._p2;
+ result._isP1Excluded = this._isP1Excluded || !segment.Contains( this._p1 );
+ result._isP2Excluded = this._isP2Excluded || !segment.Contains( this._p2 );
+ return result;
+ }
+
+ // check whether the other segment is contained in this segment
+ bool includeSegmentP1 = refThis.Contains( refSegment._p1 );
+ bool includeSegmentP2 = refThis.Contains( refSegment._p2 );
+ if( includeSegmentP1 && includeSegmentP2 )
+ {
+ result._p1 = segment._p1;
+ result._p2 = segment._p2;
+ result._isP1Excluded = segment._isP1Excluded || !this.Contains( segment._p1 );
+ result._isP2Excluded = segment._isP2Excluded || !this.Contains( segment._p2 );
+ return result;
+ }
+
+ // the intersection must include one endpoint from this segment and one endpoint from the other segment
+ if( includeThisP1 )
+ {
+ result._p1 = this._p1;
+ result._isP1Excluded = this._isP1Excluded || !segment.Contains( this._p1 );
+ }
+ else
+ {
+ result._p1 = this._p2;
+ result._isP1Excluded = this._isP2Excluded || !segment.Contains( this._p2 );
+ }
+ if( includeSegmentP1 )
+ {
+ result._p2 = segment._p1;
+ result._isP2Excluded = segment._isP1Excluded || !this.Contains( segment._p1 );
+ }
+ else
+ {
+ result._p2 = segment._p2;
+ result._isP2Excluded = segment._isP2Excluded || !this.Contains( segment._p2 );
+ }
+ return result;
+ }
+
+ public override string ToString()
+ {
+ string s = base.ToString();
+
+ if( this.IsEmpty )
+ {
+ s = s + ": {Empty}";
+ }
+ else if( this.IsPoint )
+ {
+ s = s + ", Point: " + _p1.ToString();
+ }
+ else
+ {
+ s = s + ": " + _p1.ToString() + ( _isP1Excluded ? " (excl)" : " (incl)" )
+ + " to " + _p2.ToString() + ( _isP2Excluded ? " (excl)" : " (incl)" );
+ }
+
+ return s;
+ }
+
+ #region Operators Methods
+
+ public static bool operator ==( Segment s1, Segment s2 )
+ {
+ if( ( object )s1 == null )
+ return ( object )s2 == null;
+
+ if( ( object )s2 == null )
+ return ( object )s1 == null;
+
+ return s1.Equals( s2 );
+ }
+
+ public static bool operator !=( Segment s1, Segment s2 )
+ {
+ return !( s1 == s2 );
+ }
+
+ #endregion
+
+ #region Private Fields
+
+ private bool _isP1Excluded;
+ private bool _isP2Excluded;
+ private Point _p1;
+ private Point _p2;
+
+ #endregion
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/TreeHelper.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/TreeHelper.cs
index 28a1720e2..607e05028 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/TreeHelper.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/TreeHelper.cs
@@ -1,235 +1,235 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Windows;
-using System.Windows.Media;
-using System.Windows.Controls.Primitives;
-
-namespace Xceed.Wpf.Toolkit.Core.Utilities
-{
- internal static class TreeHelper
- {
- ///
- /// Tries its best to return the specified element's parent. It will
- /// try to find, in this order, the VisualParent, LogicalParent, LogicalTemplatedParent.
- /// It only works for Visual, FrameworkElement or FrameworkContentElement.
- ///
- /// The element to which to return the parent. It will only
- /// work if element is a Visual, a FrameworkElement or a FrameworkContentElement.
- /// If the logical parent is not found (Parent), we check the TemplatedParent
- /// (see FrameworkElement.Parent documentation). But, we never actually witnessed
- /// this situation.
- public static DependencyObject GetParent( DependencyObject element )
- {
- return TreeHelper.GetParent( element, true );
- }
-
- private static DependencyObject GetParent( DependencyObject element, bool recurseIntoPopup )
- {
- if( recurseIntoPopup )
- {
- // Case 126732 : To correctly detect parent of a popup we must do that exception case
- Popup popup = element as Popup;
-
- if( ( popup != null ) && ( popup.PlacementTarget != null ) )
- return popup.PlacementTarget;
- }
-
- Visual visual = element as Visual;
- DependencyObject parent = ( visual == null ) ? null : VisualTreeHelper.GetParent( visual );
-
- if( parent == null )
- {
- // No Visual parent. Check in the logical tree.
- FrameworkElement fe = element as FrameworkElement;
-
- if( fe != null )
- {
- parent = fe.Parent;
-
- if( parent == null )
- {
- parent = fe.TemplatedParent;
- }
- }
- else
- {
- FrameworkContentElement fce = element as FrameworkContentElement;
-
- if( fce != null )
- {
- parent = fce.Parent;
-
- if( parent == null )
- {
- parent = fce.TemplatedParent;
- }
- }
- }
- }
-
- return parent;
- }
-
- ///
- /// This will search for a parent of the specified type.
- ///
- /// The type of the element to find
- /// The node where the search begins. This element is not checked.
- /// Returns the found element. Null if nothing is found.
- public static T FindParent( DependencyObject startingObject ) where T : DependencyObject
- {
- return TreeHelper.FindParent( startingObject, false, null );
- }
-
- ///
- /// This will search for a parent of the specified type.
- ///
- /// The type of the element to find
- /// The node where the search begins.
- /// Should the specified startingObject be checked first.
- /// Returns the found element. Null if nothing is found.
- public static T FindParent( DependencyObject startingObject, bool checkStartingObject ) where T : DependencyObject
- {
- return TreeHelper.FindParent( startingObject, checkStartingObject, null );
- }
-
- ///
- /// This will search for a parent of the specified type.
- ///
- /// The type of the element to find
- /// The node where the search begins.
- /// Should the specified startingObject be checked first.
- /// Provide a callback to check additional properties
- /// of the found elements. Can be left Null if no additional criteria are needed.
- /// Returns the found element. Null if nothing is found.
- /// Button button = TreeHelper.FindParent<Button>( this, foundChild => foundChild.Focusable );
- public static T FindParent( DependencyObject startingObject, bool checkStartingObject, Func additionalCheck ) where T : DependencyObject
- {
- T foundElement;
- DependencyObject parent = ( checkStartingObject ? startingObject : TreeHelper.GetParent( startingObject, true ) );
-
- while( parent != null )
- {
- foundElement = parent as T;
-
- if( foundElement != null )
- {
- if( additionalCheck == null )
- {
- return foundElement;
- }
- else
- {
- if( additionalCheck( foundElement ) )
- return foundElement;
- }
- }
-
- parent = TreeHelper.GetParent( parent, true );
- }
-
- return null;
- }
-
- ///
- /// This will search for a child of the specified type. The search is performed
- /// hierarchically, breadth first (as opposed to depth first).
- ///
- /// The type of the element to find
- /// The root of the tree to search for. This element itself is not checked.
- /// Returns the found element. Null if nothing is found.
- public static T FindChild( DependencyObject parent ) where T : DependencyObject
- {
- return TreeHelper.FindChild( parent, null );
- }
-
- ///
- /// This will search for a child of the specified type. The search is performed
- /// hierarchically, breadth first (as opposed to depth first).
- ///
- /// The type of the element to find
- /// The root of the tree to search for. This element itself is not checked.
- /// Provide a callback to check additional properties
- /// of the found elements. Can be left Null if no additional criteria are needed.
- /// Returns the found element. Null if nothing is found.
- /// Button button = TreeHelper.FindChild<Button>( this, foundChild => foundChild.Focusable );
- public static T FindChild( DependencyObject parent, Func additionalCheck ) where T : DependencyObject
- {
- int childrenCount = VisualTreeHelper.GetChildrenCount( parent );
- T child;
-
- for( int index = 0; index < childrenCount; index++ )
- {
- child = VisualTreeHelper.GetChild( parent, index ) as T;
-
- if( child != null )
- {
- if( additionalCheck == null )
- {
- return child;
- }
- else
- {
- if( additionalCheck( child ) )
- return child;
- }
- }
- }
-
- for( int index = 0; index < childrenCount; index++ )
- {
- child = TreeHelper.FindChild( VisualTreeHelper.GetChild( parent, index ), additionalCheck );
-
- if( child != null )
- return child;
- }
-
- return null;
- }
-
- ///
- /// Returns true if the specified element is a child of parent somewhere in the visual
- /// tree. This method will work for Visual, FrameworkElement and FrameworkContentElement.
- ///
- /// The element that is potentially a child of the specified parent.
- /// The element that is potentially a parent of the specified element.
- public static bool IsDescendantOf( DependencyObject element, DependencyObject parent )
- {
- return TreeHelper.IsDescendantOf( element, parent, true );
- }
-
- ///
- /// Returns true if the specified element is a child of parent somewhere in the visual
- /// tree. This method will work for Visual, FrameworkElement and FrameworkContentElement.
- ///
- /// The element that is potentially a child of the specified parent.
- /// The element that is potentially a parent of the specified element.
- public static bool IsDescendantOf( DependencyObject element, DependencyObject parent, bool recurseIntoPopup )
- {
- while( element != null )
- {
- if( element == parent )
- return true;
-
- element = TreeHelper.GetParent( element, recurseIntoPopup );
- }
-
- return false;
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Windows;
+using System.Windows.Media;
+using System.Windows.Controls.Primitives;
+
+namespace Xceed.Wpf.Toolkit.Core.Utilities
+{
+ internal static class TreeHelper
+ {
+ ///
+ /// Tries its best to return the specified element's parent. It will
+ /// try to find, in this order, the VisualParent, LogicalParent, LogicalTemplatedParent.
+ /// It only works for Visual, FrameworkElement or FrameworkContentElement.
+ ///
+ /// The element to which to return the parent. It will only
+ /// work if element is a Visual, a FrameworkElement or a FrameworkContentElement.
+ /// If the logical parent is not found (Parent), we check the TemplatedParent
+ /// (see FrameworkElement.Parent documentation). But, we never actually witnessed
+ /// this situation.
+ public static DependencyObject GetParent( DependencyObject element )
+ {
+ return TreeHelper.GetParent( element, true );
+ }
+
+ private static DependencyObject GetParent( DependencyObject element, bool recurseIntoPopup )
+ {
+ if( recurseIntoPopup )
+ {
+ // Case 126732 : To correctly detect parent of a popup we must do that exception case
+ Popup popup = element as Popup;
+
+ if( ( popup != null ) && ( popup.PlacementTarget != null ) )
+ return popup.PlacementTarget;
+ }
+
+ Visual visual = element as Visual;
+ DependencyObject parent = ( visual == null ) ? null : VisualTreeHelper.GetParent( visual );
+
+ if( parent == null )
+ {
+ // No Visual parent. Check in the logical tree.
+ FrameworkElement fe = element as FrameworkElement;
+
+ if( fe != null )
+ {
+ parent = fe.Parent;
+
+ if( parent == null )
+ {
+ parent = fe.TemplatedParent;
+ }
+ }
+ else
+ {
+ FrameworkContentElement fce = element as FrameworkContentElement;
+
+ if( fce != null )
+ {
+ parent = fce.Parent;
+
+ if( parent == null )
+ {
+ parent = fce.TemplatedParent;
+ }
+ }
+ }
+ }
+
+ return parent;
+ }
+
+ ///
+ /// This will search for a parent of the specified type.
+ ///
+ /// The type of the element to find
+ /// The node where the search begins. This element is not checked.
+ /// Returns the found element. Null if nothing is found.
+ public static T FindParent( DependencyObject startingObject ) where T : DependencyObject
+ {
+ return TreeHelper.FindParent( startingObject, false, null );
+ }
+
+ ///
+ /// This will search for a parent of the specified type.
+ ///
+ /// The type of the element to find
+ /// The node where the search begins.
+ /// Should the specified startingObject be checked first.
+ /// Returns the found element. Null if nothing is found.
+ public static T FindParent( DependencyObject startingObject, bool checkStartingObject ) where T : DependencyObject
+ {
+ return TreeHelper.FindParent( startingObject, checkStartingObject, null );
+ }
+
+ ///
+ /// This will search for a parent of the specified type.
+ ///
+ /// The type of the element to find
+ /// The node where the search begins.
+ /// Should the specified startingObject be checked first.
+ /// Provide a callback to check additional properties
+ /// of the found elements. Can be left Null if no additional criteria are needed.
+ /// Returns the found element. Null if nothing is found.
+ /// Button button = TreeHelper.FindParent<Button>( this, foundChild => foundChild.Focusable );
+ public static T FindParent( DependencyObject startingObject, bool checkStartingObject, Func additionalCheck ) where T : DependencyObject
+ {
+ T foundElement;
+ DependencyObject parent = ( checkStartingObject ? startingObject : TreeHelper.GetParent( startingObject, true ) );
+
+ while( parent != null )
+ {
+ foundElement = parent as T;
+
+ if( foundElement != null )
+ {
+ if( additionalCheck == null )
+ {
+ return foundElement;
+ }
+ else
+ {
+ if( additionalCheck( foundElement ) )
+ return foundElement;
+ }
+ }
+
+ parent = TreeHelper.GetParent( parent, true );
+ }
+
+ return null;
+ }
+
+ ///
+ /// This will search for a child of the specified type. The search is performed
+ /// hierarchically, breadth first (as opposed to depth first).
+ ///
+ /// The type of the element to find
+ /// The root of the tree to search for. This element itself is not checked.
+ /// Returns the found element. Null if nothing is found.
+ public static T FindChild( DependencyObject parent ) where T : DependencyObject
+ {
+ return TreeHelper.FindChild( parent, null );
+ }
+
+ ///
+ /// This will search for a child of the specified type. The search is performed
+ /// hierarchically, breadth first (as opposed to depth first).
+ ///
+ /// The type of the element to find
+ /// The root of the tree to search for. This element itself is not checked.
+ /// Provide a callback to check additional properties
+ /// of the found elements. Can be left Null if no additional criteria are needed.
+ /// Returns the found element. Null if nothing is found.
+ /// Button button = TreeHelper.FindChild<Button>( this, foundChild => foundChild.Focusable );
+ public static T FindChild( DependencyObject parent, Func additionalCheck ) where T : DependencyObject
+ {
+ int childrenCount = VisualTreeHelper.GetChildrenCount( parent );
+ T child;
+
+ for( int index = 0; index < childrenCount; index++ )
+ {
+ child = VisualTreeHelper.GetChild( parent, index ) as T;
+
+ if( child != null )
+ {
+ if( additionalCheck == null )
+ {
+ return child;
+ }
+ else
+ {
+ if( additionalCheck( child ) )
+ return child;
+ }
+ }
+ }
+
+ for( int index = 0; index < childrenCount; index++ )
+ {
+ child = TreeHelper.FindChild( VisualTreeHelper.GetChild( parent, index ), additionalCheck );
+
+ if( child != null )
+ return child;
+ }
+
+ return null;
+ }
+
+ ///
+ /// Returns true if the specified element is a child of parent somewhere in the visual
+ /// tree. This method will work for Visual, FrameworkElement and FrameworkContentElement.
+ ///
+ /// The element that is potentially a child of the specified parent.
+ /// The element that is potentially a parent of the specified element.
+ public static bool IsDescendantOf( DependencyObject element, DependencyObject parent )
+ {
+ return TreeHelper.IsDescendantOf( element, parent, true );
+ }
+
+ ///
+ /// Returns true if the specified element is a child of parent somewhere in the visual
+ /// tree. This method will work for Visual, FrameworkElement and FrameworkContentElement.
+ ///
+ /// The element that is potentially a child of the specified parent.
+ /// The element that is potentially a parent of the specified element.
+ public static bool IsDescendantOf( DependencyObject element, DependencyObject parent, bool recurseIntoPopup )
+ {
+ while( element != null )
+ {
+ if( element == parent )
+ return true;
+
+ element = TreeHelper.GetParent( element, recurseIntoPopup );
+ }
+
+ return false;
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ValueChangeHelper.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ValueChangeHelper.cs
index 0c67b3ba4..18f8f47ff 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ValueChangeHelper.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/ValueChangeHelper.cs
@@ -1,150 +1,150 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Windows;
-using System.Collections;
-using System.Windows.Data;
-
-namespace Xceed.Wpf.Toolkit.Core.Utilities
-{
- ///
- /// This helper class will raise events when a specific
- /// path value on one or many items changes.
- ///
- internal class ValueChangeHelper : DependencyObject
- {
-
- #region Value Property
- ///
- /// This private property serves as the target of a binding that monitors the value of the binding
- /// of each item in the source.
- ///
- private static readonly DependencyProperty ValueProperty = DependencyProperty.Register( "Value", typeof( object ), typeof( ValueChangeHelper ), new UIPropertyMetadata( null, OnValueChanged ) );
- private object Value
- {
- get
- {
- return ( object )GetValue( ValueProperty );
- }
- set
- {
- SetValue( ValueProperty, value );
- }
- }
-
- private static void OnValueChanged( DependencyObject sender, DependencyPropertyChangedEventArgs args )
- {
- ( ( ValueChangeHelper )sender ).RaiseValueChanged();
- }
- #endregion
-
- public event EventHandler ValueChanged;
-
- #region Constructor
-
- public ValueChangeHelper(Action changeCallback)
- {
- if( changeCallback == null )
- throw new ArgumentNullException( "changeCallback" );
-
- this.ValueChanged += ( s, args ) => changeCallback();
- }
-
- #endregion
-
- #region Methods
-
- public void UpdateValueSource( object sourceItem, string path )
- {
- BindingBase binding = null;
- if( sourceItem != null && path != null )
- {
- binding = new Binding( path ) { Source = sourceItem };
- }
-
- this.UpdateBinding( binding );
- }
-
- public void UpdateValueSource( IEnumerable sourceItems, string path )
- {
- BindingBase binding = null;
- if( sourceItems != null && path != null )
- {
- MultiBinding multiBinding = new MultiBinding();
- multiBinding.Converter = new BlankMultiValueConverter();
-
- foreach( var item in sourceItems )
- {
- multiBinding.Bindings.Add( new Binding( path ) { Source = item } );
- }
-
- binding = multiBinding;
- }
-
- this.UpdateBinding( binding );
- }
-
- private void UpdateBinding( BindingBase binding )
- {
- if( binding != null )
- {
- BindingOperations.SetBinding( this, ValueChangeHelper.ValueProperty, binding );
- }
- else
- {
- this.ClearBinding();
- }
- }
-
- private void ClearBinding()
- {
- BindingOperations.ClearBinding( this, ValueChangeHelper.ValueProperty );
- }
-
- private void RaiseValueChanged()
- {
- if( this.ValueChanged != null )
- {
- this.ValueChanged( this, EventArgs.Empty );
- }
- }
-
- #endregion
-
- #region BlankMultiValueConverter private class
-
- private class BlankMultiValueConverter : IMultiValueConverter
- {
- public object Convert( object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture )
- {
- // We will not use the result anyway. We just want the change notification to kick in.
- // Return a new object to have a different value.
- return new object();
- }
-
- public object[] ConvertBack( object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture )
- {
- throw new InvalidOperationException();
- }
- }
-
- #endregion
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Collections;
+using System.Windows.Data;
+
+namespace Xceed.Wpf.Toolkit.Core.Utilities
+{
+ ///
+ /// This helper class will raise events when a specific
+ /// path value on one or many items changes.
+ ///
+ internal class ValueChangeHelper : DependencyObject
+ {
+
+ #region Value Property
+ ///
+ /// This private property serves as the target of a binding that monitors the value of the binding
+ /// of each item in the source.
+ ///
+ private static readonly DependencyProperty ValueProperty = DependencyProperty.Register( "Value", typeof( object ), typeof( ValueChangeHelper ), new UIPropertyMetadata( null, OnValueChanged ) );
+ private object Value
+ {
+ get
+ {
+ return ( object )GetValue( ValueProperty );
+ }
+ set
+ {
+ SetValue( ValueProperty, value );
+ }
+ }
+
+ private static void OnValueChanged( DependencyObject sender, DependencyPropertyChangedEventArgs args )
+ {
+ ( ( ValueChangeHelper )sender ).RaiseValueChanged();
+ }
+ #endregion
+
+ public event EventHandler ValueChanged;
+
+ #region Constructor
+
+ public ValueChangeHelper(Action changeCallback)
+ {
+ if( changeCallback == null )
+ throw new ArgumentNullException( "changeCallback" );
+
+ this.ValueChanged += ( s, args ) => changeCallback();
+ }
+
+ #endregion
+
+ #region Methods
+
+ public void UpdateValueSource( object sourceItem, string path )
+ {
+ BindingBase binding = null;
+ if( sourceItem != null && path != null )
+ {
+ binding = new Binding( path ) { Source = sourceItem };
+ }
+
+ this.UpdateBinding( binding );
+ }
+
+ public void UpdateValueSource( IEnumerable sourceItems, string path )
+ {
+ BindingBase binding = null;
+ if( sourceItems != null && path != null )
+ {
+ MultiBinding multiBinding = new MultiBinding();
+ multiBinding.Converter = new BlankMultiValueConverter();
+
+ foreach( var item in sourceItems )
+ {
+ multiBinding.Bindings.Add( new Binding( path ) { Source = item } );
+ }
+
+ binding = multiBinding;
+ }
+
+ this.UpdateBinding( binding );
+ }
+
+ private void UpdateBinding( BindingBase binding )
+ {
+ if( binding != null )
+ {
+ BindingOperations.SetBinding( this, ValueChangeHelper.ValueProperty, binding );
+ }
+ else
+ {
+ this.ClearBinding();
+ }
+ }
+
+ private void ClearBinding()
+ {
+ BindingOperations.ClearBinding( this, ValueChangeHelper.ValueProperty );
+ }
+
+ private void RaiseValueChanged()
+ {
+ if( this.ValueChanged != null )
+ {
+ this.ValueChanged( this, EventArgs.Empty );
+ }
+ }
+
+ #endregion
+
+ #region BlankMultiValueConverter private class
+
+ private class BlankMultiValueConverter : IMultiValueConverter
+ {
+ public object Convert( object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture )
+ {
+ // We will not use the result anyway. We just want the change notification to kick in.
+ // Return a new object to have a different value.
+ return new object();
+ }
+
+ public object[] ConvertBack( object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture )
+ {
+ throw new InvalidOperationException();
+ }
+ }
+
+ #endregion
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/VisualTreeHelperEx.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/VisualTreeHelperEx.cs
index b29d30d0c..df32ebd21 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/VisualTreeHelperEx.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/VisualTreeHelperEx.cs
@@ -1,135 +1,135 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Windows;
-using System.Windows.Media;
-
-namespace Xceed.Wpf.Toolkit.Core.Utilities
-{
- public static class VisualTreeHelperEx
- {
- public static DependencyObject FindAncestorByType( DependencyObject element, Type type, bool specificTypeOnly )
- {
- if( element == null )
- return null;
-
- if( specificTypeOnly ? ( element.GetType() == type )
- : ( element.GetType() == type ) || ( element.GetType().IsSubclassOf( type ) ) )
- return element;
-
- return VisualTreeHelperEx.FindAncestorByType( VisualTreeHelper.GetParent( element ), type, specificTypeOnly );
- }
-
- public static T FindAncestorByType( DependencyObject depObj ) where T : DependencyObject
- {
- if( depObj == null )
- {
- return default( T );
- }
- if( depObj is T )
- {
- return ( T )depObj;
- }
-
- T parent = default( T );
-
- parent = VisualTreeHelperEx.FindAncestorByType( VisualTreeHelper.GetParent( depObj ) );
-
- return parent;
- }
-
- public static Visual FindDescendantByName( Visual element, string name )
- {
- if( element != null && ( element is FrameworkElement ) && ( element as FrameworkElement ).Name == name )
- return element;
-
- Visual foundElement = null;
- if( element is FrameworkElement )
- ( element as FrameworkElement ).ApplyTemplate();
-
- for( int i = 0; i < VisualTreeHelper.GetChildrenCount( element ); i++ )
- {
- Visual visual = VisualTreeHelper.GetChild( element, i ) as Visual;
- foundElement = VisualTreeHelperEx.FindDescendantByName( visual, name );
- if( foundElement != null )
- break;
- }
-
- return foundElement;
- }
-
- public static Visual FindDescendantByType( Visual element, Type type )
- {
- return VisualTreeHelperEx.FindDescendantByType( element, type, true );
- }
-
- public static Visual FindDescendantByType( Visual element, Type type, bool specificTypeOnly )
- {
- if( element == null )
- return null;
-
- if( specificTypeOnly ? ( element.GetType() == type )
- : ( element.GetType() == type ) || ( element.GetType().IsSubclassOf( type ) ) )
- return element;
-
- Visual foundElement = null;
- if( element is FrameworkElement )
- ( element as FrameworkElement ).ApplyTemplate();
-
- for( int i = 0; i < VisualTreeHelper.GetChildrenCount( element ); i++ )
- {
- Visual visual = VisualTreeHelper.GetChild( element, i ) as Visual;
- foundElement = VisualTreeHelperEx.FindDescendantByType( visual, type, specificTypeOnly );
- if( foundElement != null )
- break;
- }
-
- return foundElement;
- }
-
- public static T FindDescendantByType( Visual element ) where T : Visual
- {
- Visual temp = VisualTreeHelperEx.FindDescendantByType( element, typeof( T ) );
-
- return ( T )temp;
- }
-
- public static Visual FindDescendantWithPropertyValue( Visual element,
- DependencyProperty dp, object value )
- {
- if( element == null )
- return null;
-
- if( element.GetValue( dp ).Equals( value ) )
- return element;
-
- Visual foundElement = null;
- if( element is FrameworkElement )
- ( element as FrameworkElement ).ApplyTemplate();
-
- for( int i = 0; i < VisualTreeHelper.GetChildrenCount( element ); i++ )
- {
- Visual visual = VisualTreeHelper.GetChild( element, i ) as Visual;
- foundElement = VisualTreeHelperEx.FindDescendantWithPropertyValue( visual, dp, value );
- if( foundElement != null )
- break;
- }
-
- return foundElement;
- }
- }
-}
+/*************************************************************************************
+
+ Extended WPF Toolkit
+
+ Copyright (C) 2007-2013 Xceed Software Inc.
+
+ This program is provided to you under the terms of the Microsoft Public
+ License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
+
+ For more features, controls, and fast professional support,
+ pick up the Plus Edition at http://xceed.com/wpf_toolkit
+
+ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
+
+ ***********************************************************************************/
+
+using System;
+using System.Windows;
+using System.Windows.Media;
+
+namespace Xceed.Wpf.Toolkit.Core.Utilities
+{
+ public static class VisualTreeHelperEx
+ {
+ public static DependencyObject FindAncestorByType( DependencyObject element, Type type, bool specificTypeOnly )
+ {
+ if( element == null )
+ return null;
+
+ if( specificTypeOnly ? ( element.GetType() == type )
+ : ( element.GetType() == type ) || ( element.GetType().IsSubclassOf( type ) ) )
+ return element;
+
+ return VisualTreeHelperEx.FindAncestorByType( VisualTreeHelper.GetParent( element ), type, specificTypeOnly );
+ }
+
+ public static T FindAncestorByType( DependencyObject depObj ) where T : DependencyObject
+ {
+ if( depObj == null )
+ {
+ return default( T );
+ }
+ if( depObj is T )
+ {
+ return ( T )depObj;
+ }
+
+ T parent = default( T );
+
+ parent = VisualTreeHelperEx.FindAncestorByType( VisualTreeHelper.GetParent( depObj ) );
+
+ return parent;
+ }
+
+ public static Visual FindDescendantByName( Visual element, string name )
+ {
+ if( element != null && ( element is FrameworkElement ) && ( element as FrameworkElement ).Name == name )
+ return element;
+
+ Visual foundElement = null;
+ if( element is FrameworkElement )
+ ( element as FrameworkElement ).ApplyTemplate();
+
+ for( int i = 0; i < VisualTreeHelper.GetChildrenCount( element ); i++ )
+ {
+ Visual visual = VisualTreeHelper.GetChild( element, i ) as Visual;
+ foundElement = VisualTreeHelperEx.FindDescendantByName( visual, name );
+ if( foundElement != null )
+ break;
+ }
+
+ return foundElement;
+ }
+
+ public static Visual FindDescendantByType( Visual element, Type type )
+ {
+ return VisualTreeHelperEx.FindDescendantByType( element, type, true );
+ }
+
+ public static Visual FindDescendantByType( Visual element, Type type, bool specificTypeOnly )
+ {
+ if( element == null )
+ return null;
+
+ if( specificTypeOnly ? ( element.GetType() == type )
+ : ( element.GetType() == type ) || ( element.GetType().IsSubclassOf( type ) ) )
+ return element;
+
+ Visual foundElement = null;
+ if( element is FrameworkElement )
+ ( element as FrameworkElement ).ApplyTemplate();
+
+ for( int i = 0; i < VisualTreeHelper.GetChildrenCount( element ); i++ )
+ {
+ Visual visual = VisualTreeHelper.GetChild( element, i ) as Visual;
+ foundElement = VisualTreeHelperEx.FindDescendantByType( visual, type, specificTypeOnly );
+ if( foundElement != null )
+ break;
+ }
+
+ return foundElement;
+ }
+
+ public static T FindDescendantByType( Visual element ) where T : Visual
+ {
+ Visual temp = VisualTreeHelperEx.FindDescendantByType( element, typeof( T ) );
+
+ return ( T )temp;
+ }
+
+ public static Visual FindDescendantWithPropertyValue( Visual element,
+ DependencyProperty dp, object value )
+ {
+ if( element == null )
+ return null;
+
+ if( element.GetValue( dp ).Equals( value ) )
+ return element;
+
+ Visual foundElement = null;
+ if( element is FrameworkElement )
+ ( element as FrameworkElement ).ApplyTemplate();
+
+ for( int i = 0; i < VisualTreeHelper.GetChildrenCount( element ); i++ )
+ {
+ Visual visual = VisualTreeHelper.GetChild( element, i ) as Visual;
+ foundElement = VisualTreeHelperEx.FindDescendantWithPropertyValue( visual, dp, value );
+ if( foundElement != null )
+ break;
+ }
+
+ return foundElement;
+ }
+ }
+}
diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/WeakEventListener.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/WeakEventListener.cs
index 90f32750b..5a67076cf 100644
--- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/WeakEventListener.cs
+++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Core/Utilities/WeakEventListener.cs
@@ -1,43 +1,43 @@
-/*************************************************************************************
-
- Extended WPF Toolkit
-
- Copyright (C) 2007-2013 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features, controls, and fast professional support,
- pick up the Plus Edition at http://xceed.com/wpf_toolkit
-
- Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
-
- ***********************************************************************************/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Windows;
-
-namespace Xceed.Wpf.Toolkit.Core.Utilities
-{
- internal class WeakEventListener : IWeakEventListener where TArgs : EventArgs
- {
- private Action