├── DotNetProjects.snk ├── WpfToolkit ├── Calendar.Icon.bmp ├── DatePicker.Icon.bmp ├── Input │ ├── DotNetProjects.snk │ ├── System.Windows.Controls │ │ ├── Rating.png │ │ ├── RatingItem.png │ │ └── AutoCompleteBox.png │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── DotNetProjects.Input.Toolkit.csproj.DotSettings │ ├── Rating │ │ └── System │ │ │ └── Windows │ │ │ └── Controls │ │ │ ├── RatingSelectionMode.cs │ │ │ ├── TupleExtensions.cs │ │ │ └── Tuple.cs │ ├── AutoCompleteBox │ │ └── System │ │ │ └── Windows │ │ │ └── Controls │ │ │ ├── PopulatedEventHandler.cs │ │ │ ├── PopulatingEventHandler.cs │ │ │ ├── AutoCompleteFilterPredicate.cs │ │ │ ├── RoutedPropertyChangingEventHandler.cs │ │ │ └── PopulatedEventArgs.cs │ └── DotNetProjects.Input.Toolkit.csproj ├── Layout │ ├── DotNetProjects.snk │ ├── System.Windows.Controls │ │ ├── Accordion.png │ │ ├── TransitioningContentControl.png │ │ ├── LayoutTransformer.Icon.12x12.png │ │ └── LayoutTransformer.Icon.24x24.png │ ├── System.Windows.Controls.Primitives │ │ └── ExpandableContentControl.png │ ├── Accordion │ │ └── System │ │ │ └── Windows │ │ │ ├── Controls │ │ │ ├── SelectionSequence.cs │ │ │ ├── AccordionAction.cs │ │ │ └── AccordionSelectionMode.cs │ │ │ └── Automation │ │ │ └── Peers │ │ │ └── AccordionItemWrapperAutomationPeer.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── DotNetProjects.Layout.Toolkit.csproj │ └── Extensions │ │ └── RectExtensions.cs ├── Samples │ ├── Accordion │ │ ├── Bing.png │ │ └── AccordionShowcase.xaml.cs │ ├── AutoCompleteBox │ │ ├── Bing.png │ │ ├── Venice.jpg │ │ ├── SampleEmployeeCollection.cs │ │ ├── DataGridAutoCompleteBoxEdit.xaml.cs │ │ ├── RandomEmployeeDetails.cs │ │ ├── DataGridAutoCompleteBox.xaml.cs │ │ └── DictionaryKeyValueConverter.cs │ ├── Rating │ │ ├── Images │ │ │ └── Casablanca.jpg │ │ └── RatingSample.xaml.cs │ ├── app.config │ ├── Properties │ │ ├── Settings.settings │ │ ├── AssemblyInfo.cs │ │ └── Settings.Designer.cs │ ├── App.xaml.cs │ ├── MainWindow.xaml.cs │ ├── Common │ │ ├── BusinessObjects │ │ │ ├── ObjectCollection.cs │ │ │ ├── City.cs │ │ │ ├── Department.cs │ │ │ └── Photograph.cs │ │ └── GridLengthAnimation.cs │ ├── DataVisualisation │ │ └── DataVisualisationSample.xaml.cs │ ├── TreeMap │ │ └── BlogPost.cs │ ├── Themes │ │ ├── ThemesExample.xaml.cs │ │ └── ThemesExample.xaml │ ├── WPFToolkitSamples.csproj │ └── MainWindow.xaml ├── WPF.Themes │ ├── DotNetProjects.snk │ ├── Properties │ │ ├── Settings.settings │ │ ├── AssemblyInfo.cs │ │ └── Settings.Designer.cs │ ├── JetPack │ │ ├── Theme.xaml │ │ └── Assets │ │ │ └── Fonts.xaml │ └── DotNetProjects.WPF.Themes.csproj ├── DataVisualization │ ├── DotNetProjects.snk │ ├── System.Windows.Controls.DataVisualization │ │ └── TreeMap.png │ ├── System.Windows.Controls.DataVisualization.Charting │ │ ├── Chart.png │ │ ├── BarSeries.png │ │ ├── PieSeries.png │ │ ├── AreaSeries.png │ │ ├── BubbleSeries.png │ │ ├── CategoryAxis.png │ │ ├── ColumnSeries.png │ │ ├── DateTimeAxis.png │ │ ├── LineSeries.png │ │ ├── LinearAxis.png │ │ └── ScatterSeries.png │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Charting │ │ ├── IRequireSeriesHost.cs │ │ ├── Helper │ │ │ ├── Converters.cs │ │ │ ├── TreeHelper.cs │ │ │ └── FormattingConverter.cs │ │ ├── Series │ │ │ ├── ISeries.cs │ │ │ ├── Stacked100BarSeries.cs │ │ │ ├── Stacked100AreaSeries.cs │ │ │ ├── Stacked100LineSeries.cs │ │ │ ├── IRequireGlobalSeriesIndex.cs │ │ │ ├── Stacked100ColumnSeries.cs │ │ │ ├── SeriesSelectionMode.cs │ │ │ ├── StackedBarSeries.cs │ │ │ ├── LegendItem.cs │ │ │ ├── StackedColumnSeries.cs │ │ │ └── Compatible │ │ │ │ └── SelectionEnabledToSelectionModeConverter.cs │ │ ├── Axis │ │ │ ├── IAxisListener.cs │ │ │ ├── CategorySortOrder.cs │ │ │ ├── IDataProvider.cs │ │ │ ├── IDataConsumer.cs │ │ │ ├── IRangeConsumer.cs │ │ │ ├── IRangeProvider.cs │ │ │ ├── IValueMarginConsumer.cs │ │ │ ├── IAnchoredToOrigin.cs │ │ │ ├── AxisLocation.cs │ │ │ ├── NumericAxisLabel.cs │ │ │ ├── IValueMarginProvider.cs │ │ │ ├── IRangeAxis.cs │ │ │ ├── AxisOrientation.cs │ │ │ ├── ICategoryAxis.cs │ │ │ ├── DateTimeIntervalType.cs │ │ │ ├── AxisIntervalType.cs │ │ │ └── IAxis.cs │ │ ├── AnimationSequence.cs │ │ ├── DataPoint │ │ │ ├── DataPointState.cs │ │ │ ├── BarDataPoint.cs │ │ │ ├── AreaDataPoint.cs │ │ │ ├── LineDataPoint.cs │ │ │ ├── ColumnDataPoint.cs │ │ │ └── ScatterDataPoint.cs │ │ ├── ValueMarginCoordinateAndOverlap.cs │ │ ├── Primitives │ │ │ └── Edge.cs │ │ ├── ISeriesHost.cs │ │ ├── ISeriesHostExtensions.cs │ │ ├── ResourceDictionaryDispensedEventArgs.cs │ │ ├── Pie │ │ │ └── PieChartLabelArea.cs │ │ └── FrameworkElementExtensions.cs │ ├── Unit.cs │ ├── ResourceDictionaryCollection.cs │ ├── TreeMap │ │ ├── Interpolators │ │ │ ├── InterpolationMode.cs │ │ │ ├── RangeInterpolator.cs │ │ │ ├── DoubleInterpolator.cs │ │ │ ├── SolidColorBrushInterpolator.cs │ │ │ └── HSLSolidColorBrushInterpolator.cs │ │ └── TreeMapItemDefinitionSelector.cs │ ├── Title │ │ └── Title.cs │ ├── DotNetProjects.DataVisualization.Toolkit.csproj │ ├── Tuple.cs │ ├── IResourceDictionaryDispenser.cs │ ├── AssemblyInfoShared.cs │ ├── NoResetObservableCollection.cs │ ├── DesignerProperties.cs │ ├── StoryboardQueue.cs │ ├── StringFormatConverter.cs │ ├── GridExtensions.cs │ ├── GenericEqualityComparer.cs │ └── UniqueObservableCollection.cs ├── WpfTest │ ├── App.xaml │ ├── App.xaml.cs │ └── WpfTest.csproj ├── Calendar │ ├── Microsoft │ │ └── Windows │ │ │ └── Controls │ │ │ ├── KeyboardHelper.cs │ │ │ ├── CalendarMode.cs │ │ │ ├── CalendarDateRangeChangingEventArgs.cs │ │ │ ├── CalendarSelectionMode.cs │ │ │ ├── CalendarDateChangedEventArgs.cs │ │ │ ├── CalendarModeChangedEventArgs.cs │ │ │ └── CalendarSelectionChangedEventArgs.cs │ └── Themes │ │ ├── Classic.xaml │ │ ├── Luna.HomeStead.xaml │ │ ├── Luna.Metallic.xaml │ │ ├── Aero.NormalColor.xaml │ │ ├── Luna.NormalColor.xaml │ │ └── Royale.NormalColor.xaml ├── DatePicker │ ├── Themes │ │ ├── Classic.xaml │ │ ├── Luna.Metallic.xaml │ │ ├── Luna.HomeStead.xaml │ │ ├── Aero.NormalColor.xaml │ │ ├── Luna.NormalColor.xaml │ │ └── Royale.NormalColor.xaml │ └── Microsoft │ │ └── Windows │ │ └── Controls │ │ ├── DatePickerFormat.cs │ │ └── DatePickerDateValidationErrorEventArgs.cs ├── Themes │ ├── Generic.xaml │ ├── Classic.xaml │ ├── Luna.Metallic.xaml │ ├── Luna.HomeStead.xaml │ ├── Aero.NormalColor.xaml │ ├── Luna.NormalColor.xaml │ └── Royale.NormalColor.xaml ├── Common │ └── System │ │ └── Windows │ │ └── Controls │ │ └── IUpdateVisualState.cs ├── Resources │ └── SR.cs ├── AssemblyAttrs.cs └── AssemblyInfo.cs ├── .github └── FUNDING.yml ├── .editorconfig ├── appveyor.yml ├── README.md └── .gitignore /DotNetProjects.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/DotNetProjects.snk -------------------------------------------------------------------------------- /WpfToolkit/Calendar.Icon.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/Calendar.Icon.bmp -------------------------------------------------------------------------------- /WpfToolkit/DatePicker.Icon.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/DatePicker.Icon.bmp -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: jogibear9988 4 | patreon: jogibear9988 5 | -------------------------------------------------------------------------------- /WpfToolkit/Input/DotNetProjects.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/Input/DotNetProjects.snk -------------------------------------------------------------------------------- /WpfToolkit/Layout/DotNetProjects.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/Layout/DotNetProjects.snk -------------------------------------------------------------------------------- /WpfToolkit/Samples/Accordion/Bing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/Samples/Accordion/Bing.png -------------------------------------------------------------------------------- /WpfToolkit/WPF.Themes/DotNetProjects.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/WPF.Themes/DotNetProjects.snk -------------------------------------------------------------------------------- /WpfToolkit/Samples/AutoCompleteBox/Bing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/Samples/AutoCompleteBox/Bing.png -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | end_of_line = crlf 5 | insert_final_newline = true 6 | indent_style = space 7 | indent_size = 4 8 | -------------------------------------------------------------------------------- /WpfToolkit/Samples/AutoCompleteBox/Venice.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/Samples/AutoCompleteBox/Venice.jpg -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/DotNetProjects.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/DataVisualization/DotNetProjects.snk -------------------------------------------------------------------------------- /WpfToolkit/Samples/Rating/Images/Casablanca.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/Samples/Rating/Images/Casablanca.jpg -------------------------------------------------------------------------------- /WpfToolkit/Input/System.Windows.Controls/Rating.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/Input/System.Windows.Controls/Rating.png -------------------------------------------------------------------------------- /WpfToolkit/Input/System.Windows.Controls/RatingItem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/Input/System.Windows.Controls/RatingItem.png -------------------------------------------------------------------------------- /WpfToolkit/Layout/System.Windows.Controls/Accordion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/Layout/System.Windows.Controls/Accordion.png -------------------------------------------------------------------------------- /WpfToolkit/Input/System.Windows.Controls/AutoCompleteBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/Input/System.Windows.Controls/AutoCompleteBox.png -------------------------------------------------------------------------------- /WpfToolkit/Samples/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /WpfToolkit/Layout/System.Windows.Controls/TransitioningContentControl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/Layout/System.Windows.Controls/TransitioningContentControl.png -------------------------------------------------------------------------------- /WpfToolkit/Layout/System.Windows.Controls/LayoutTransformer.Icon.12x12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/Layout/System.Windows.Controls/LayoutTransformer.Icon.12x12.png -------------------------------------------------------------------------------- /WpfToolkit/Layout/System.Windows.Controls/LayoutTransformer.Icon.24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/Layout/System.Windows.Controls/LayoutTransformer.Icon.24x24.png -------------------------------------------------------------------------------- /WpfToolkit/Layout/System.Windows.Controls.Primitives/ExpandableContentControl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/Layout/System.Windows.Controls.Primitives/ExpandableContentControl.png -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization/TreeMap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization/TreeMap.png -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/Chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/Chart.png -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/BarSeries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/BarSeries.png -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/PieSeries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/PieSeries.png -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/AreaSeries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/AreaSeries.png -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/BubbleSeries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/BubbleSeries.png -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/CategoryAxis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/CategoryAxis.png -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/ColumnSeries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/ColumnSeries.png -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/DateTimeAxis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/DateTimeAxis.png -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/LineSeries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/LineSeries.png -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/LinearAxis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/LinearAxis.png -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/ScatterSeries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnetprojects/WpfToolkit/HEAD/WpfToolkit/DataVisualization/System.Windows.Controls.DataVisualization.Charting/ScatterSeries.png -------------------------------------------------------------------------------- /WpfToolkit/WpfTest/App.xaml: -------------------------------------------------------------------------------- 1 | 5 | 6 | -------------------------------------------------------------------------------- /WpfToolkit/Samples/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /WpfToolkit/WPF.Themes/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /WpfToolkit/WPF.Themes/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | using System.Windows.Markup; 3 | 4 | [assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)] 5 | [assembly: XmlnsDefinition("http://schemas.rudigrobler.net/wpfthemes", "WPF.Themes")] 6 | -------------------------------------------------------------------------------- /WpfToolkit/WpfTest/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Configuration; 4 | using System.Data; 5 | using System.Linq; 6 | using System.Windows; 7 | 8 | namespace WpfTest 9 | { 10 | /// 11 | /// Interaction logic for App.xaml 12 | /// 13 | public partial class App : Application 14 | { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /WpfToolkit/Samples/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Configuration; 4 | using System.Data; 5 | using System.Linq; 6 | using System.Windows; 7 | 8 | namespace System.Windows.Controls.Samples 9 | { 10 | /// 11 | /// Interaction logic for App.xaml 12 | /// 13 | public partial class App : Application 14 | { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /WpfToolkit/Calendar/Microsoft/Windows/Controls/KeyboardHelper.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Input; 2 | 3 | namespace Microsoft.Windows.Controls 4 | { 5 | internal static class KeyboardHelper 6 | { 7 | public static void GetMetaKeyState(out bool ctrl, out bool shift) 8 | { 9 | ctrl = (Keyboard.Modifiers & ModifierKeys.Control) == ModifierKeys.Control; 10 | shift = (Keyboard.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift; 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /WpfToolkit/Samples/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | 3 | [assembly: ThemeInfo( 4 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located 5 | //(used if a resource is not found in the page, 6 | // or application resource dictionaries) 7 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located 8 | //(used if a resource is not found in the page, 9 | // app, or any theme specific resource dictionaries) 10 | )] 11 | -------------------------------------------------------------------------------- /WpfToolkit/WpfTest/WpfTest.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | WinExe 4 | System.Windows.Controls.Samples 5 | net45 6 | true 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 4 | // All other rights reserved. 5 | 6 | using System.Security; 7 | using System.Windows; 8 | 9 | // WPF-only settings 10 | [assembly: ThemeInfo( 11 | ResourceDictionaryLocation.None, 12 | ResourceDictionaryLocation.SourceAssembly)] 13 | 14 | // WPF Toolkit settings 15 | [assembly: AllowPartiallyTrustedCallers] 16 | //[assembly: SecurityCritical] 17 | -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/Charting/IRequireSeriesHost.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 4 | // All other rights reserved. 5 | 6 | namespace System.Windows.Controls.DataVisualization.Charting 7 | { 8 | /// 9 | /// An object that implements this interface requires a series host. 10 | /// 11 | public interface IRequireSeriesHost 12 | { 13 | /// 14 | /// Gets or sets the series host. 15 | /// 16 | ISeriesHost SeriesHost { get; set; } 17 | } 18 | } -------------------------------------------------------------------------------- /WpfToolkit/Input/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | 3 | // In order to begin building localizable applications, set 4 | // CultureYouAreCodingWith in your .csproj file 5 | // inside a . For example, if you are using US english 6 | // in your source files, set the to en-US. Then uncomment 7 | // the NeutralResourceLanguage attribute below. Update the "en-US" in 8 | // the line below to match the UICulture setting in the project file. 9 | //[assembly: NeutralResourcesLanguage("en-US")] 10 | 11 | // WPF-only settings 12 | [assembly: ThemeInfo( 13 | ResourceDictionaryLocation.None, 14 | ResourceDictionaryLocation.SourceAssembly)] 15 | -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/Unit.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 4 | // All other rights reserved. 5 | 6 | namespace System.Windows.Controls.DataVisualization 7 | { 8 | /// 9 | /// Units of measure. 10 | /// 11 | public enum Unit 12 | { 13 | /// 14 | /// The corresponding value is in pixels. 15 | /// 16 | Pixels, 17 | 18 | /// 19 | /// The corresponding value is in degrees. 20 | /// 21 | Degrees, 22 | } 23 | } -------------------------------------------------------------------------------- /WpfToolkit/Calendar/Themes/Classic.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 9 | 10 | Classic 11 | 12 | 13 | -------------------------------------------------------------------------------- /WpfToolkit/DatePicker/Themes/Classic.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 9 | 10 | Classic 11 | 12 | 13 | -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/Charting/Helper/Converters.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Data; 2 | 3 | namespace System.Windows.Controls.DataVisualization.Charting 4 | { 5 | public class DoubleToVisibilityConverter : IValueConverter 6 | { 7 | public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 8 | { 9 | double doubleValue = (double)value; 10 | if (doubleValue == 0.0) 11 | { 12 | return Visibility.Collapsed; 13 | } 14 | return Visibility.Visible; 15 | } 16 | 17 | public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 18 | { 19 | throw new NotImplementedException(); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /WpfToolkit/Calendar/Themes/Luna.HomeStead.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 9 | 10 | Luna.HomeStead 11 | 12 | 13 | -------------------------------------------------------------------------------- /WpfToolkit/Calendar/Themes/Luna.Metallic.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 9 | 10 | Luna.Metallic 11 | 12 | 13 | -------------------------------------------------------------------------------- /WpfToolkit/DatePicker/Themes/Luna.Metallic.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 9 | 10 | Luna.Metallic 11 | 12 | 13 | -------------------------------------------------------------------------------- /WpfToolkit/Calendar/Themes/Aero.NormalColor.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 9 | 10 | Aero.NormalColor 11 | 12 | 13 | -------------------------------------------------------------------------------- /WpfToolkit/Calendar/Themes/Luna.NormalColor.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 9 | 10 | Luna.NormalColor 11 | 12 | 13 | -------------------------------------------------------------------------------- /WpfToolkit/DatePicker/Themes/Luna.HomeStead.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 9 | 10 | Luna.HomeStead 11 | 12 | 13 | -------------------------------------------------------------------------------- /WpfToolkit/Calendar/Themes/Royale.NormalColor.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 9 | 10 | Royale.NormalColor 11 | 12 | 13 | -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/Charting/Series/ISeries.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 4 | // All other rights reserved. 5 | 6 | using System.Collections.ObjectModel; 7 | 8 | namespace System.Windows.Controls.DataVisualization.Charting 9 | { 10 | /// 11 | /// Represents a series in a chart. 12 | /// 13 | public interface ISeries : IRequireSeriesHost 14 | { 15 | /// 16 | /// Gets a list of the legend items associated with the object. 17 | /// 18 | ObservableCollection LegendItems { get; } 19 | } 20 | } -------------------------------------------------------------------------------- /WpfToolkit/DatePicker/Themes/Aero.NormalColor.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 9 | 10 | Aero.NormalColor 11 | 12 | 13 | -------------------------------------------------------------------------------- /WpfToolkit/DatePicker/Themes/Luna.NormalColor.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 9 | 10 | Luna.NormalColor 11 | 12 | 13 | -------------------------------------------------------------------------------- /WpfToolkit/DatePicker/Themes/Royale.NormalColor.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 9 | 10 | Royale.NormalColor 11 | 12 | 13 | -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/Charting/Axis/IAxisListener.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 4 | // All other rights reserved. 5 | 6 | namespace System.Windows.Controls.DataVisualization.Charting 7 | { 8 | /// 9 | /// An object that listens for changes in an axis. 10 | /// 11 | public interface IAxisListener 12 | { 13 | /// 14 | /// This method is called when the axis is invalidated. 15 | /// 16 | /// The axis that has been invalidated. 17 | void AxisInvalidated(IAxis axis); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /WpfToolkit/Samples/MainWindow.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace System.Windows.Controls.Samples 16 | { 17 | /// 18 | /// Interaction logic for MainWindow.xaml 19 | /// 20 | public partial class MainWindow : Window 21 | { 22 | public MainWindow() 23 | { 24 | InitializeComponent(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /WpfToolkit/Themes/Generic.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /WpfToolkit/Themes/Classic.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /WpfToolkit/Themes/Luna.Metallic.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /WpfToolkit/Themes/Luna.HomeStead.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /WpfToolkit/Themes/Aero.NormalColor.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /WpfToolkit/Themes/Luna.NormalColor.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /WpfToolkit/Input/DotNetProjects.Input.Toolkit.csproj.DotSettings: -------------------------------------------------------------------------------- 1 | 2 | True 3 | True 4 | True -------------------------------------------------------------------------------- /WpfToolkit/Layout/Accordion/System/Windows/Controls/SelectionSequence.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993] for details. 4 | // All other rights reserved. 5 | 6 | namespace System.Windows.Controls 7 | { 8 | /// 9 | /// Determines the order in which visual states are set. 10 | /// 11 | /// Preview 12 | public enum SelectionSequence 13 | { 14 | /// 15 | /// Collapses are set before expansions. 16 | /// 17 | CollapseBeforeExpand, 18 | 19 | /// 20 | /// No delays, all states are set immediately. 21 | /// 22 | Simultaneous 23 | } 24 | } -------------------------------------------------------------------------------- /WpfToolkit/Samples/Common/BusinessObjects/ObjectCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Collections.ObjectModel; 6 | using System.Collections; 7 | 8 | namespace System.Windows.Controls.Samples 9 | { 10 | public partial class ObjectCollection : Collection 11 | { 12 | public ObjectCollection() 13 | : base() 14 | { 15 | } 16 | 17 | public ObjectCollection(IEnumerable enumerable) 18 | { 19 | if (enumerable == null) 20 | { 21 | throw new ArgumentNullException("enumerable"); 22 | } 23 | 24 | foreach (Object item in enumerable) 25 | { 26 | Add(item); 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /WpfToolkit/Themes/Royale.NormalColor.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/Charting/Series/Stacked100BarSeries.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 4 | // All other rights reserved. 5 | 6 | namespace System.Windows.Controls.DataVisualization.Charting 7 | { 8 | /// 9 | /// Control that displays values as a 100% stacked bar chart visualization. 10 | /// 11 | /// Preview 12 | public class Stacked100BarSeries : StackedBarSeries 13 | { 14 | /// 15 | /// Initializes a new instance of the Stacked100BarSeries class. 16 | /// 17 | public Stacked100BarSeries() 18 | { 19 | IsStacked100 = true; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/Charting/Series/Stacked100AreaSeries.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 4 | // All other rights reserved. 5 | 6 | namespace System.Windows.Controls.DataVisualization.Charting 7 | { 8 | /// 9 | /// Control that displays values as a 100% stacked area chart visualization. 10 | /// 11 | /// Preview 12 | public class Stacked100AreaSeries : StackedAreaSeries 13 | { 14 | /// 15 | /// Initializes a new instance of the Stacked100AreaSeries class. 16 | /// 17 | public Stacked100AreaSeries() 18 | { 19 | IsStacked100 = true; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/Charting/Series/Stacked100LineSeries.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 4 | // All other rights reserved. 5 | 6 | namespace System.Windows.Controls.DataVisualization.Charting 7 | { 8 | /// 9 | /// Control that displays values as a 100% stacked line chart visualization. 10 | /// 11 | /// Preview 12 | public class Stacked100LineSeries : StackedLineSeries 13 | { 14 | /// 15 | /// Initializes a new instance of the Stacked100LineSeries class. 16 | /// 17 | public Stacked100LineSeries() 18 | { 19 | IsStacked100 = true; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /WpfToolkit/Samples/DataVisualisation/DataVisualisationSample.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace System.Windows.Controls.Samples.DataVisualisation 16 | { 17 | /// 18 | /// Interaction logic for DataVisualisationSample.xaml 19 | /// 20 | public partial class DataVisualisationSample : UserControl 21 | { 22 | public DataVisualisationSample() 23 | { 24 | InitializeComponent(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/Charting/Series/IRequireGlobalSeriesIndex.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 4 | // All other rights reserved. 5 | 6 | namespace System.Windows.Controls.DataVisualization.Charting 7 | { 8 | /// 9 | /// Defines methods on classes that contain a global index. 10 | /// 11 | /// Preview 12 | public interface IRequireGlobalSeriesIndex 13 | { 14 | /// 15 | /// Occurs when a global series index changes. 16 | /// 17 | /// The global index that has changed. 18 | /// 19 | void GlobalSeriesIndexChanged(int? globalIndex); 20 | } 21 | } -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/Charting/Axis/CategorySortOrder.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 4 | // All other rights reserved. 5 | 6 | namespace System.Windows.Controls.DataVisualization.Charting 7 | { 8 | /// 9 | /// The sort order to use when sorting categories. 10 | /// 11 | public enum CategorySortOrder 12 | { 13 | /// 14 | /// No sort order. 15 | /// 16 | None, 17 | 18 | /// 19 | /// Ascending sort order. 20 | /// 21 | Ascending, 22 | 23 | /// 24 | /// Descending sort order. 25 | /// 26 | Descending 27 | } 28 | } -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/Charting/Axis/IDataProvider.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 4 | // All other rights reserved. 5 | 6 | using System.Collections.Generic; 7 | 8 | namespace System.Windows.Controls.DataVisualization.Charting 9 | { 10 | /// 11 | /// Provides information to a category axis. 12 | /// 13 | public interface IDataProvider 14 | { 15 | /// 16 | /// Retrieves the data to be plotted on the axis. 17 | /// 18 | /// The axis to retrieve the data for. 19 | /// The data to plot on the axis. 20 | IEnumerable GetData(IDataConsumer axis); 21 | } 22 | } -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/Charting/Axis/IDataConsumer.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 4 | // All other rights reserved. 5 | 6 | using System.Collections.Generic; 7 | 8 | namespace System.Windows.Controls.DataVisualization.Charting 9 | { 10 | /// 11 | /// An object that consumes data. 12 | /// 13 | public interface IDataConsumer 14 | { 15 | /// 16 | /// Supplies the consumer with data. 17 | /// 18 | /// The data provider. 19 | /// The data used by the consumer. 20 | void DataChanged(IDataProvider dataProvider, IEnumerable data); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/Charting/Axis/IRangeConsumer.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 4 | // All other rights reserved. 5 | 6 | using System; 7 | 8 | namespace System.Windows.Controls.DataVisualization.Charting 9 | { 10 | /// 11 | /// An object that consumes a range. 12 | /// 13 | public interface IRangeConsumer 14 | { 15 | /// 16 | /// Informs a range consumer that a provider's range has changed. 17 | /// 18 | /// The range provider. 19 | /// The range of data. 20 | void RangeChanged(IRangeProvider provider, Range range); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/Charting/Series/Stacked100ColumnSeries.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 4 | // All other rights reserved. 5 | 6 | namespace System.Windows.Controls.DataVisualization.Charting 7 | { 8 | /// 9 | /// Control that displays values as a 100% stacked column chart visualization. 10 | /// 11 | /// Preview 12 | public class Stacked100ColumnSeries : StackedColumnSeries 13 | { 14 | /// 15 | /// Initializes a new instance of the Stacked100ColumnSeries class. 16 | /// 17 | public Stacked100ColumnSeries() 18 | { 19 | IsStacked100 = true; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/ResourceDictionaryCollection.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 4 | // All other rights reserved. 5 | 6 | using System.Collections.ObjectModel; 7 | 8 | namespace System.Windows.Controls.DataVisualization 9 | { 10 | /// 11 | /// Represents a collection of ResourceDictionary objects. 12 | /// 13 | /// Preview 14 | public partial class ResourceDictionaryCollection : Collection 15 | { 16 | /// 17 | /// Initializes a new instance of the ResourceDictionaryCollection class. 18 | /// 19 | public ResourceDictionaryCollection() 20 | { 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/TreeMap/Interpolators/InterpolationMode.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 4 | // All other rights reserved. 5 | 6 | namespace System.Windows.Controls.DataVisualization 7 | { 8 | /// 9 | /// Specifies the supported interpolation modes. 10 | /// 11 | /// Preview 12 | public enum InterpolationMode 13 | { 14 | /// 15 | /// Interpolation shall be applied to leaf nodes only in the tree. 16 | /// 17 | LeafNodesOnly = 0, 18 | 19 | /// 20 | /// Interpolation shall be applied to all nodes in the tree. 21 | /// 22 | AllNodes = 1, 23 | } 24 | } -------------------------------------------------------------------------------- /WpfToolkit/Input/Rating/System/Windows/Controls/RatingSelectionMode.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993] for details. 4 | // All other rights reserved. 5 | 6 | namespace System.Windows.Controls 7 | { 8 | /// 9 | /// This type is used to determine the state of the item selected and the 10 | /// previous items. 11 | /// 12 | /// Preview 13 | public enum RatingSelectionMode 14 | { 15 | /// 16 | /// All items before the selected ones are selected. 17 | /// 18 | Continuous, 19 | 20 | /// 21 | /// Only the item selected is visually distinguished. 22 | /// 23 | Individual 24 | } 25 | } -------------------------------------------------------------------------------- /WpfToolkit/DatePicker/Microsoft/Windows/Controls/DatePickerFormat.cs: -------------------------------------------------------------------------------- 1 | //--------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Microsoft Corporation. All rights reserved. 4 | // 5 | //--------------------------------------------------------------------------- 6 | 7 | namespace Microsoft.Windows.Controls 8 | { 9 | /// 10 | /// Specifies date formats for a DatePicker. 11 | /// 12 | public enum DatePickerFormat 13 | { 14 | /// 15 | /// Specifies that the date should be displayed using unabbreviated days of the week and month names. 16 | /// 17 | Long = 0, 18 | 19 | /// 20 | /// Specifies that the date should be displayed using abbreviated days of the week and month names. 21 | /// 22 | Short = 1 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/Charting/Axis/IRangeProvider.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 4 | // All other rights reserved. 5 | 6 | using System; 7 | using System.Collections.Generic; 8 | 9 | namespace System.Windows.Controls.DataVisualization.Charting 10 | { 11 | /// 12 | /// Provides information to a RangeConsumer. 13 | /// 14 | public interface IRangeProvider 15 | { 16 | /// 17 | /// Returns the range of values. 18 | /// 19 | /// The range consumer requesting the data 20 | /// range. 21 | /// A data range. 22 | Range GetRange(IRangeConsumer rangeConsumer); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /WpfToolkit/Samples/AutoCompleteBox/SampleEmployeeCollection.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993] for details. 4 | // All other rights reserved. 5 | 6 | using System; 7 | using System.Collections; 8 | using System.Windows.Controls; 9 | 10 | namespace System.Windows.Controls.Samples 11 | { 12 | /// 13 | /// A collection type that makes it easy to place sample employee data into 14 | /// XAML. 15 | /// 16 | public class SampleEmployeeCollection : ObjectCollection 17 | { 18 | /// 19 | /// Initializes a new instance of the SampleEmployeeCollection class. 20 | /// 21 | public SampleEmployeeCollection() 22 | : base(Employee.AllExecutives) 23 | { 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/Charting/Series/SeriesSelectionMode.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 4 | // All other rights reserved. 5 | 6 | namespace System.Windows.Controls.DataVisualization.Charting 7 | { 8 | /// 9 | /// Defines the selection behavior for a series. 10 | /// 11 | public enum SeriesSelectionMode 12 | { 13 | /// 14 | /// Selection is disabled. 15 | /// 16 | None, 17 | 18 | /// 19 | /// The user can select only one item at a time. 20 | /// 21 | Single, 22 | 23 | /// 24 | /// The user can select multiple items without holding down a modifier key. 25 | /// 26 | Multiple, 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarMode.cs: -------------------------------------------------------------------------------- 1 | //--------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Microsoft Corporation. All rights reserved. 4 | // 5 | //--------------------------------------------------------------------------- 6 | 7 | namespace Microsoft.Windows.Controls 8 | { 9 | /// 10 | /// Specifies values for the different modes of operation of a Calendar. 11 | /// 12 | public enum CalendarMode 13 | { 14 | /// 15 | /// The Calendar displays a month at a time. 16 | /// 17 | Month = 0, 18 | 19 | /// 20 | /// The Calendar displays a year at a time. 21 | /// 22 | Year = 1, 23 | 24 | /// 25 | /// The Calendar displays a decade at a time. 26 | /// 27 | Decade = 2, 28 | } 29 | } -------------------------------------------------------------------------------- /WpfToolkit/Samples/Accordion/AccordionShowcase.xaml.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993] for details. 4 | // All other rights reserved. 5 | 6 | using System.ComponentModel; 7 | 8 | namespace System.Windows.Controls.Samples 9 | { 10 | /// 11 | /// Two samples that completely restyles accordion. 12 | /// 13 | #if SILVERLIGHT 14 | [Sample("Accordion Showcase", DifficultyLevel.Basic)] 15 | #endif 16 | [Category("Accordion")] 17 | public partial class AccordionShowcase : UserControl 18 | { 19 | /// 20 | /// Initializes a new instance of the 21 | /// class. 22 | /// 23 | public AccordionShowcase() 24 | { 25 | InitializeComponent(); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/Charting/Axis/IValueMarginConsumer.cs: -------------------------------------------------------------------------------- 1 | // (c) Copyright Microsoft Corporation. 2 | // This source is subject to the Microsoft Public License (Ms-PL). 3 | // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. 4 | // All other rights reserved. 5 | 6 | using System.Collections.Generic; 7 | 8 | namespace System.Windows.Controls.DataVisualization.Charting 9 | { 10 | /// 11 | /// Consumes value margins and uses them to lay out objects. 12 | /// 13 | public interface IValueMarginConsumer 14 | { 15 | /// 16 | /// Updates layout to accommodate for value margins. 17 | /// 18 | /// A value margin provider. 19 | /// A sequence of value margins. 20 | void ValueMarginsChanged(IValueMarginProvider provider, IEnumerable valueMargins); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /WpfToolkit/DataVisualization/Charting/Helper/TreeHelper.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Media; 2 | 3 | namespace System.Windows.Controls.DataVisualization.Charting 4 | { 5 | internal static class TreeHelper 6 | { 7 | /// 8 | /// Finds the first ancestor of the element passed as a parameter that has type T. 9 | /// 10 | /// The type of the ancestor we're looking for. 11 | /// The element where we start our search. 12 | /// The first ancestor of element of type T. 13 | public static T FindAncestor(DependencyObject element) where T : class 14 | { 15 | while (element != null) 16 | { 17 | DependencyObject parent = VisualTreeHelper.GetParent(element) as DependencyObject; 18 | T result = parent as T; 19 | if (result != null) 20 | { 21 | return result; 22 | } 23 | element = parent; 24 | } 25 | return null; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- 1 | version: 6.1.{build} 2 | 3 | dotnet_csproj: 4 | patch: true 5 | file: '**\*.csproj' 6 | version: '{version}' 7 | package_version: '{version}' 8 | assembly_version: '{version}' 9 | file_version: '{version}' 10 | informational_version: '{version}' 11 | 12 | branches: 13 | only: 14 | - master 15 | 16 | image: Visual Studio 2022 17 | 18 | configuration: Release 19 | 20 | before_build: 21 | - nuget restore WpfToolkit\WPFToolkit.sln 22 | 23 | build: 24 | project: 'WpfToolkit\WPFToolkit.sln' 25 | 26 | test: off 27 | 28 | artifacts: 29 | - path: '**\bin\$(configuration)\net40\DotNetProjects.*.dll' 30 | - path: '**\bin\$(configuration)\net40\DotNetProjects.*.pdb' 31 | - path: '**\bin\$(configuration)\DotNetProjects.*.nupkg' 32 | 33 | #uncomment to publish to NuGet 34 | deploy: 35 | provider: NuGet 36 | api_key: 37 | secure: 88aMSx9ONm6ZEyZHiWughpXbF3QGPuYy7yjQxQSt69pDc89aKMBYm8KPOaCIUX9s 38 | artifact: /.*\.nupkg/ 39 | -------------------------------------------------------------------------------- /WpfToolkit/Layout/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.InteropServices; 2 | using System.Windows; 3 | 4 | // Setting ComVisible to false makes the types in this assembly not visible 5 | // to COM components. If you need to access a type in this assembly from 6 | // COM, set the ComVisible attribute to true on that type. 7 | [assembly: ComVisible(false)] 8 | 9 | // In order to begin building localizable applications, set 10 | // CultureYouAreCodingWith in your .csproj file 11 | // inside a . For example, if you are using US english 12 | // in your source files, set the to en-US. Then uncomment 13 | // the NeutralResourceLanguage attribute below. Update the "en-US" in 14 | // the line below to match the UICulture setting in the project file. 15 | // [assembly: NeutralResourcesLanguage("en-US")] 16 | // WPF-only settings 17 | [assembly: ThemeInfo( 18 | ResourceDictionaryLocation.None, 19 | ResourceDictionaryLocation.SourceAssembly)] 20 | -------------------------------------------------------------------------------- /WpfToolkit/WPF.Themes/JetPack/Theme.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 7 | 9 | 11 | 13 | 15 | 16 | 17 | 18 | 19 |