Copy disabled (too large)
Download .txt
Showing preview only (10,336K chars total). Download the full file to get everything.
Repository: dotnetprojects/WpfToolkit
Branch: master
Commit: dbe5005dd7b0
Files: 404
Total size: 9.8 MB
Directory structure:
gitextract_go_s1dlq/
├── .editorconfig
├── .github/
│ └── FUNDING.yml
├── .gitignore
├── DotNetProjects.snk
├── README.md
├── WpfToolkit/
│ ├── AssemblyAttrs.cs
│ ├── AssemblyInfo.cs
│ ├── Calendar/
│ │ ├── Microsoft/
│ │ │ └── Windows/
│ │ │ ├── Automation/
│ │ │ │ └── Peers/
│ │ │ │ ├── CalendarAutomationPeer.cs
│ │ │ │ ├── CalendarButtonAutomationPeer.cs
│ │ │ │ └── CalendarDayButtonAutomationPeer.cs
│ │ │ └── Controls/
│ │ │ ├── Calendar.cs
│ │ │ ├── CalendarBlackoutDatesCollection.cs
│ │ │ ├── CalendarButton.cs
│ │ │ ├── CalendarDateChangedEventArgs.cs
│ │ │ ├── CalendarDateRange.cs
│ │ │ ├── CalendarDateRangeChangingEventArgs.cs
│ │ │ ├── CalendarDayButton.cs
│ │ │ ├── CalendarItem.cs
│ │ │ ├── CalendarMode.cs
│ │ │ ├── CalendarModeChangedEventArgs.cs
│ │ │ ├── CalendarSelectionChangedEventArgs.cs
│ │ │ ├── CalendarSelectionMode.cs
│ │ │ ├── DateTimeHelper.cs
│ │ │ ├── KeyboardHelper.cs
│ │ │ ├── SelectedDatesCollection.cs
│ │ │ └── VisualStates.cs
│ │ └── Themes/
│ │ ├── Aero.NormalColor.xaml
│ │ ├── Classic.xaml
│ │ ├── Generic.xaml
│ │ ├── Luna.HomeStead.xaml
│ │ ├── Luna.Metallic.xaml
│ │ ├── Luna.NormalColor.xaml
│ │ └── Royale.NormalColor.xaml
│ ├── Common/
│ │ └── System/
│ │ └── Windows/
│ │ └── Controls/
│ │ ├── BindingEvaluator.cs
│ │ ├── Extensions.cs
│ │ ├── IUpdateVisualState.cs
│ │ ├── InteractionHelper.cs
│ │ ├── ItemsControlHelper.cs
│ │ ├── VisualStates.cs
│ │ ├── VisualTreeExtensions.cs
│ │ └── WeakEventListener.cs
│ ├── DataVisualization/
│ │ ├── AggregatedObservableCollection.cs
│ │ ├── AssemblyInfoShared.cs
│ │ ├── Charting/
│ │ │ ├── AnimationSequence.cs
│ │ │ ├── Axis/
│ │ │ │ ├── Axis.cs
│ │ │ │ ├── AxisIntervalType.cs
│ │ │ │ ├── AxisLabel.cs
│ │ │ │ ├── AxisLocation.cs
│ │ │ │ ├── AxisOrientation.cs
│ │ │ │ ├── CategoryAxis.cs
│ │ │ │ ├── CategorySortOrder.cs
│ │ │ │ ├── DateTimeAxis.cs
│ │ │ │ ├── DateTimeAxisLabel.cs
│ │ │ │ ├── DateTimeIntervalType.cs
│ │ │ │ ├── DisplayAxis.cs
│ │ │ │ ├── DisplayAxisGridLines.cs
│ │ │ │ ├── IAnchoredToOrigin.cs
│ │ │ │ ├── IAxis.cs
│ │ │ │ ├── IAxisListener.cs
│ │ │ │ ├── ICategoryAxis.cs
│ │ │ │ ├── IDataConsumer.cs
│ │ │ │ ├── IDataProvider.cs
│ │ │ │ ├── IRangeAxis.cs
│ │ │ │ ├── IRangeConsumer.cs
│ │ │ │ ├── IRangeProvider.cs
│ │ │ │ ├── IValueMarginConsumer.cs
│ │ │ │ ├── IValueMarginProvider.cs
│ │ │ │ ├── LinearAxis.cs
│ │ │ │ ├── LogarithmicAxis.cs
│ │ │ │ ├── NullableConverter.cs
│ │ │ │ ├── NumericAxis.cs
│ │ │ │ ├── NumericAxisLabel.cs
│ │ │ │ ├── OrientedAxisGridLines.cs
│ │ │ │ ├── RangeAxis.cs
│ │ │ │ └── ValueMargin.cs
│ │ │ ├── Chart/
│ │ │ │ ├── Chart.cs
│ │ │ │ └── SeriesHostAxesCollection.cs
│ │ │ ├── DataPoint/
│ │ │ │ ├── AreaDataPoint.cs
│ │ │ │ ├── BarDataPoint.cs
│ │ │ │ ├── BubbleDataPoint.cs
│ │ │ │ ├── CandlestickDataPoint.cs
│ │ │ │ ├── ColumnDataPoint.cs
│ │ │ │ ├── DataPoint.cs
│ │ │ │ ├── DataPointState.cs
│ │ │ │ ├── LineDataPoint.cs
│ │ │ │ ├── PieDataPoint.cs
│ │ │ │ └── ScatterDataPoint.cs
│ │ │ ├── FrameworkElementExtensions.cs
│ │ │ ├── Helper/
│ │ │ │ ├── Converters.cs
│ │ │ │ ├── FormattingConverter.cs
│ │ │ │ └── TreeHelper.cs
│ │ │ ├── IRequireSeriesHost.cs
│ │ │ ├── ISeriesHost.cs
│ │ │ ├── ISeriesHostExtensions.cs
│ │ │ ├── Pie/
│ │ │ │ ├── PieChartHelper.cs
│ │ │ │ ├── PieChartLabel.cs
│ │ │ │ └── PieChartLabelArea.cs
│ │ │ ├── Primitives/
│ │ │ │ ├── DelegatingListBox.cs
│ │ │ │ ├── Edge.cs
│ │ │ │ └── EdgePanel.cs
│ │ │ ├── ResourceDictionaryDispensedEventArgs.cs
│ │ │ ├── ResourceDictionaryDispenser.cs
│ │ │ ├── ResourceDictionaryEnumerator.cs
│ │ │ ├── Series/
│ │ │ │ ├── AreaSeries.cs
│ │ │ │ ├── BarSeries.cs
│ │ │ │ ├── BubbleSeries.cs
│ │ │ │ ├── CandlestickSeries.cs
│ │ │ │ ├── ColumnBarBaseSeries.cs
│ │ │ │ ├── ColumnSeries.cs
│ │ │ │ ├── Compatible/
│ │ │ │ │ ├── AreaSeries.cs
│ │ │ │ │ ├── BarSeries.cs
│ │ │ │ │ ├── ColumnSeries.cs
│ │ │ │ │ ├── LineSeries.cs
│ │ │ │ │ ├── ScatterSeries.cs
│ │ │ │ │ └── SelectionEnabledToSelectionModeConverter.cs
│ │ │ │ ├── DataPointSeries.cs
│ │ │ │ ├── DataPointSeriesWithAxes.cs
│ │ │ │ ├── DataPointSingleSeriesWithAxes.cs
│ │ │ │ ├── DefinitionSeries.cs
│ │ │ │ ├── IRequireGlobalSeriesIndex.cs
│ │ │ │ ├── ISeries.cs
│ │ │ │ ├── LabeledPieSeries.cs
│ │ │ │ ├── LegendItem.cs
│ │ │ │ ├── LineAreaBaseSeries.cs
│ │ │ │ ├── LineSeries.cs
│ │ │ │ ├── PieSeries.cs
│ │ │ │ ├── ScatterSeries.cs
│ │ │ │ ├── Series.cs
│ │ │ │ ├── SeriesDefinition.cs
│ │ │ │ ├── SeriesSelectionMode.cs
│ │ │ │ ├── SplineSeries.cs
│ │ │ │ ├── Stacked100AreaSeries.cs
│ │ │ │ ├── Stacked100BarSeries.cs
│ │ │ │ ├── Stacked100ColumnSeries.cs
│ │ │ │ ├── Stacked100LineSeries.cs
│ │ │ │ ├── StackedAreaLineSeries.cs
│ │ │ │ ├── StackedAreaSeries.cs
│ │ │ │ ├── StackedBarColumnSeries.cs
│ │ │ │ ├── StackedBarSeries.cs
│ │ │ │ ├── StackedColumnSeries.cs
│ │ │ │ └── StackedLineSeries.cs
│ │ │ └── ValueMarginCoordinateAndOverlap.cs
│ │ ├── Collections/
│ │ │ ├── LeftLeaningRedBlackTree.cs
│ │ │ ├── MultipleDictionary.cs
│ │ │ └── OrderedMultipleDictionary.cs
│ │ ├── ColorExtensions.cs
│ │ ├── DependencyPropertyAnimationHelper.cs
│ │ ├── DesignerProperties.cs
│ │ ├── DotNetProjects.DataVisualization.Toolkit.csproj
│ │ ├── DotNetProjects.snk
│ │ ├── EnumerableExtensions.cs
│ │ ├── EnumerableFunctions.cs
│ │ ├── GenericEqualityComparer.cs
│ │ ├── GlobalSuppressions.cs
│ │ ├── GridExtensions.cs
│ │ ├── IResourceDictionaryDispenser.cs
│ │ ├── LayoutTransformControl.cs
│ │ ├── Legend/
│ │ │ └── Legend.cs
│ │ ├── NoResetObservableCollection.cs
│ │ ├── ObjectPool.cs
│ │ ├── ObservableCollectionListAdapter.cs
│ │ ├── OrientedPanel.cs
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ └── Resources.resx
│ │ ├── Range.cs
│ │ ├── RangeEnumerableFunctions.cs
│ │ ├── ReadOnlyObservableCollection.cs
│ │ ├── ResourceDictionaryCollection.cs
│ │ ├── StoryboardQueue.cs
│ │ ├── StringFormatConverter.cs
│ │ ├── Themes/
│ │ │ └── generic.xaml
│ │ ├── Title/
│ │ │ └── Title.cs
│ │ ├── TreeMap/
│ │ │ ├── BindingExtractor.cs
│ │ │ ├── Interpolators/
│ │ │ │ ├── DoubleInterpolator.cs
│ │ │ │ ├── HSLSolidColorBrushInterpolator.cs
│ │ │ │ ├── InterpolationMode.cs
│ │ │ │ ├── Interpolator.cs
│ │ │ │ ├── RangeInterpolator.cs
│ │ │ │ └── SolidColorBrushInterpolator.cs
│ │ │ ├── Layout/
│ │ │ │ ├── SquaringAlgorithm.cs
│ │ │ │ └── TreeMapNode.cs
│ │ │ ├── TreeMap.cs
│ │ │ ├── TreeMapItemDefinition.cs
│ │ │ └── TreeMapItemDefinitionSelector.cs
│ │ ├── Tuple.cs
│ │ ├── UniqueObservableCollection.cs
│ │ ├── Unit.cs
│ │ ├── UnitValue.cs
│ │ ├── ValueHelper.cs
│ │ ├── WeakEventListener.cs
│ │ └── WeakReferenceBag.cs
│ ├── DatePicker/
│ │ ├── Microsoft/
│ │ │ └── Windows/
│ │ │ ├── Automation/
│ │ │ │ └── Peers/
│ │ │ │ └── DatePickerAutomationPeer.cs
│ │ │ └── Controls/
│ │ │ ├── DatePicker.cs
│ │ │ ├── DatePickerDateValidationErrorEventArgs.cs
│ │ │ ├── DatePickerFormat.cs
│ │ │ └── DatePickerTextBox.cs
│ │ └── Themes/
│ │ ├── Aero.NormalColor.xaml
│ │ ├── Classic.xaml
│ │ ├── Generic.xaml
│ │ ├── Luna.HomeStead.xaml
│ │ ├── Luna.Metallic.xaml
│ │ ├── Luna.NormalColor.xaml
│ │ └── Royale.NormalColor.xaml
│ ├── GlobalSuppressions.cs
│ ├── Input/
│ │ ├── AutoCompleteBox/
│ │ │ └── System/
│ │ │ └── Windows/
│ │ │ ├── Automation/
│ │ │ │ └── Peers/
│ │ │ │ └── AutoCompleteBoxAutomationPeer.cs
│ │ │ └── Controls/
│ │ │ ├── AutoCompleteBox.cs
│ │ │ ├── AutoCompleteFilter.cs
│ │ │ ├── AutoCompleteFilterMode.cs
│ │ │ ├── AutoCompleteFilterPredicate.cs
│ │ │ ├── ISelectionAdapter.cs
│ │ │ ├── ItemsControlExtensions.cs
│ │ │ ├── PopulatedEventArgs.cs
│ │ │ ├── PopulatedEventHandler.cs
│ │ │ ├── PopulatingEventArgs.cs
│ │ │ ├── PopulatingEventHandler.cs
│ │ │ ├── PopupHelper.cs
│ │ │ ├── RoutedPropertyChangingEventArgs.cs
│ │ │ ├── RoutedPropertyChangingEventHandler.cs
│ │ │ ├── SelectorSelectionAdapter.cs
│ │ │ └── ValueByStringHelper.cs
│ │ ├── DotNetProjects.Input.Toolkit.csproj
│ │ ├── DotNetProjects.Input.Toolkit.csproj.DotSettings
│ │ ├── DotNetProjects.snk
│ │ ├── GlobalSuppressions.cs
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ └── Resources.resx
│ │ ├── Rating/
│ │ │ └── System/
│ │ │ └── Windows/
│ │ │ ├── Automation/
│ │ │ │ └── Peers/
│ │ │ │ ├── RatingAutomationPeer.cs
│ │ │ │ └── RatingItemAutomationPeer.cs
│ │ │ └── Controls/
│ │ │ ├── Clipper.cs
│ │ │ ├── EnumerableFunctions.cs
│ │ │ ├── LinearClipper.cs
│ │ │ ├── NullableConverter.cs
│ │ │ ├── Rating.cs
│ │ │ ├── RatingItem.cs
│ │ │ ├── RatingSelectionMode.cs
│ │ │ ├── Tuple.cs
│ │ │ └── TupleExtensions.cs
│ │ └── Themes/
│ │ └── Generic.xaml
│ ├── Layout/
│ │ ├── Accordion/
│ │ │ └── System/
│ │ │ └── Windows/
│ │ │ ├── Automation/
│ │ │ │ └── Peers/
│ │ │ │ ├── AccordionAutomationPeer.cs
│ │ │ │ ├── AccordionItemAutomationPeer.cs
│ │ │ │ └── AccordionItemWrapperAutomationPeer.cs
│ │ │ └── Controls/
│ │ │ ├── Accordion.cs
│ │ │ ├── AccordionAction.cs
│ │ │ ├── AccordionButton.cs
│ │ │ ├── AccordionItem.cs
│ │ │ ├── AccordionSelectionMode.cs
│ │ │ ├── ExpandableContentControl.cs
│ │ │ └── SelectionSequence.cs
│ │ ├── DotNetProjects.Layout.Toolkit.csproj
│ │ ├── DotNetProjects.snk
│ │ ├── Extensions/
│ │ │ ├── MathExtensions.cs
│ │ │ └── RectExtensions.cs
│ │ ├── GlobalSuppressions.cs
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ └── Resources.resx
│ │ ├── System.Windows.Controls.Layout.Toolkit.XML
│ │ ├── Themes/
│ │ │ └── Generic.xaml
│ │ ├── TransitioningContentControl/
│ │ │ └── System/
│ │ │ └── Windows/
│ │ │ └── Controls/
│ │ │ └── TransitioningContentControl.cs
│ │ └── ZoomableCanvas/
│ │ ├── LinkedListExtensions.cs
│ │ ├── PriorityQuadTree.cs
│ │ ├── PriorityQueue.cs
│ │ ├── VirtualPanel.cs
│ │ └── ZoomableCanvas.cs
│ ├── Resources/
│ │ ├── ExceptionStringTable.txt
│ │ ├── SR.cs
│ │ └── SRID.cs
│ ├── Samples/
│ │ ├── Accordion/
│ │ │ ├── AccordionSample.xaml
│ │ │ ├── AccordionSample.xaml.cs
│ │ │ ├── AccordionShowcase.xaml
│ │ │ ├── AccordionShowcase.xaml.cs
│ │ │ ├── AccordionUsage.xaml
│ │ │ └── AccordionUsage.xaml.cs
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── AutoCompleteBox/
│ │ │ ├── AutoCompleteBoxSample.xaml
│ │ │ ├── AutoCompleteBoxSample.xaml.cs
│ │ │ ├── AutoCompleteComboBox.xaml
│ │ │ ├── AutoCompleteComboBox.xaml.cs
│ │ │ ├── AutoCompleteLambda.xaml
│ │ │ ├── AutoCompleteLambda.xaml.cs
│ │ │ ├── CustomEvents.xaml
│ │ │ ├── CustomEvents.xaml.cs
│ │ │ ├── DataGridAutoCompleteBox.xaml
│ │ │ ├── DataGridAutoCompleteBox.xaml.cs
│ │ │ ├── DataGridAutoCompleteBoxEdit.xaml
│ │ │ ├── DataGridAutoCompleteBoxEdit.xaml.cs
│ │ │ ├── DataGridSelectionAdapter.cs
│ │ │ ├── DictionaryKeyValueConverter.cs
│ │ │ ├── RandomEmployeeDetails.cs
│ │ │ ├── SampleEmployeeCollection.cs
│ │ │ ├── SearchSuggestionSample.xaml
│ │ │ └── SearchSuggestionSample.xaml.cs
│ │ ├── BlogPostData.xml
│ │ ├── Common/
│ │ │ ├── BusinessObjects/
│ │ │ │ ├── Airport.cs
│ │ │ │ ├── City.cs
│ │ │ │ ├── Contact.cs
│ │ │ │ ├── Customer.cs
│ │ │ │ ├── CustomerList.cs
│ │ │ │ ├── Department.cs
│ │ │ │ ├── Employee.cs
│ │ │ │ ├── Feature.cs
│ │ │ │ ├── MemberInfoData.cs
│ │ │ │ ├── ObjectCollection.cs
│ │ │ │ ├── Photograph.cs
│ │ │ │ └── Words.cs
│ │ │ ├── GridLengthAnimation.cs
│ │ │ ├── SharedResources.cs
│ │ │ └── WebServiceHelper.cs
│ │ ├── DataVisualisation/
│ │ │ ├── DataVisualisationSample.xaml
│ │ │ ├── DataVisualisationSample.xaml.cs
│ │ │ └── SampleDataVM.cs
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ │ ├── Rating/
│ │ │ ├── RatingSample.xaml
│ │ │ └── RatingSample.xaml.cs
│ │ ├── Themes/
│ │ │ ├── ThemesExample.xaml
│ │ │ └── ThemesExample.xaml.cs
│ │ ├── TreeMap/
│ │ │ ├── BlogPost.cs
│ │ │ ├── TreeMapIntroduction.xaml
│ │ │ └── TreeMapIntroduction.xaml.cs
│ │ ├── WPFToolkitSamples.csproj
│ │ └── app.config
│ ├── Themes/
│ │ ├── Aero.NormalColor.xaml
│ │ ├── Classic.xaml
│ │ ├── Generic.xaml
│ │ ├── Luna.HomeStead.xaml
│ │ ├── Luna.Metallic.xaml
│ │ ├── Luna.NormalColor.xaml
│ │ └── Royale.NormalColor.xaml
│ ├── WPF.Themes/
│ │ ├── BubbleCreme/
│ │ │ └── Theme.xaml
│ │ ├── BureauBlack/
│ │ │ └── Theme.xaml
│ │ ├── BureauBlue/
│ │ │ └── Theme.xaml
│ │ ├── DavesGlossyControls/
│ │ │ └── Theme.xaml
│ │ ├── DotNetProjects.WPF.Themes.csproj
│ │ ├── DotNetProjects.snk
│ │ ├── ExpressionDark/
│ │ │ └── Theme.xaml
│ │ ├── ExpressionLight/
│ │ │ └── Theme.xaml
│ │ ├── IG/
│ │ │ ├── IG.MSControls.Toolkit.Implicit.xaml
│ │ │ ├── Styles.Shared.xaml
│ │ │ ├── Styles.WPF.xaml
│ │ │ ├── Theme.Colors.xaml
│ │ │ └── Theme.xaml
│ │ ├── JetPack/
│ │ │ ├── Assets/
│ │ │ │ ├── Brushes.xaml
│ │ │ │ ├── CoreStyles.xaml
│ │ │ │ ├── Fonts.xaml
│ │ │ │ ├── SdkStyles.xaml
│ │ │ │ └── Styles.xaml
│ │ │ ├── Helpers/
│ │ │ │ ├── DataGridCheckBoxColumnFixer.cs
│ │ │ │ └── GridLengthAnimation.cs
│ │ │ └── Theme.xaml
│ │ ├── MetroDark/
│ │ │ ├── MetroDark.MSControls.Toolkit.Implicit.xaml
│ │ │ ├── Styles.Shared.xaml
│ │ │ ├── Styles.WPF.xaml
│ │ │ ├── Theme.Colors.xaml
│ │ │ └── Theme.xaml
│ │ ├── MetroLight/
│ │ │ ├── Metro.MSControls.Toolkit.Implicit.xaml
│ │ │ ├── Styles.Shared.xaml
│ │ │ ├── Styles.WPF.xaml
│ │ │ ├── Theme.Colors.xaml
│ │ │ └── Theme.xaml
│ │ ├── MoonUICore/
│ │ │ └── Theme.xaml
│ │ ├── Office2010Blue/
│ │ │ ├── Office2010Blue.MSControls.Toolkit.Implicit.xaml
│ │ │ ├── Styles.Shared.xaml
│ │ │ ├── Styles.WPF.xaml
│ │ │ ├── Theme.Colors.xaml
│ │ │ └── Theme.xaml
│ │ ├── Properties/
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ │ ├── RainierOrange/
│ │ │ └── Theme.xaml
│ │ ├── RainierPurple/
│ │ │ └── Theme.xaml
│ │ ├── RainierRadialBlue/
│ │ │ └── Theme.xaml
│ │ ├── ShinyBlue/
│ │ │ └── Theme.xaml
│ │ ├── ShinyDarkGreen/
│ │ │ └── Theme.xaml
│ │ ├── ShinyDarkPurple/
│ │ │ └── Theme.xaml
│ │ ├── ShinyDarkTeal/
│ │ │ └── Theme.xaml
│ │ ├── ShinyRed/
│ │ │ └── Theme.xaml
│ │ ├── SunnyOrange/
│ │ │ └── Theme.xaml
│ │ ├── ThemeManager.cs
│ │ ├── TwilightBlue/
│ │ │ └── Theme.xaml
│ │ ├── UXMusingsBubblyBlue/
│ │ │ └── Theme.xaml
│ │ ├── UXMusingsGreen/
│ │ │ └── Theme.xaml
│ │ ├── UXMusingsRed/
│ │ │ └── Theme.xaml
│ │ ├── UXMusingsRoughGreen/
│ │ │ └── Theme.xaml
│ │ ├── UXMusingsRoughRed/
│ │ │ └── Theme.xaml
│ │ └── WhistlerBlue/
│ │ └── Theme.xaml
│ ├── WPFToolkit.sln
│ └── WpfTest/
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ └── WpfTest.csproj
├── appveyor.yml
└── build.bat
================================================
FILE CONTENTS
================================================
================================================
FILE: .editorconfig
================================================
root = true
[*]
end_of_line = crlf
insert_final_newline = true
indent_style = space
indent_size = 4
================================================
FILE: .github/FUNDING.yml
================================================
# These are supported funding model platforms
github: jogibear9988
patreon: jogibear9988
================================================
FILE: .gitignore
================================================
# Build Folders (you can keep bin if you'd like, to store dlls and pdbs)
[Bb]in/
[Oo]bj/
# mstest test results
TestResults
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
.vs
*.suo
*.user
*.sln.docstates
# Build results
[Dd]ebug/
[Rr]elease/
x64/
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.log
*.vspscc
*.vssscc
.builds
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
# Visual Studio profiler
*.psess
*.vsp
*.vspx
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*
# NCrunch
*.ncrunch*
.*crunch*.local.xml
# 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
*.Publish.xml
# NuGet Packages Directory
packages
*.nupkg
package/lib/
# Windows Azure Build Output
csx
*.build.csdef
# Windows Store app package directory
AppPackages/
# Others
[Bb]in
[Oo]bj
sql
TestResults
[Tt]est[Rr]esult*
*.Cache
ClientBin
[Ss]tyle[Cc]op.*
~$*
*.dbmdl
Generated_Code #added for RIA/Silverlight projects
# 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
================================================
FILE: README.md
================================================
DotNetProjects.Wpf.Toolkit
==========================
News
----
!!NetCore 3 support!!
Nuget
-----
A Fork of the MS Wpf Toolkit, supporting NetCore3, splited in 4 Nugets:
https://www.nuget.org/packages/DotNetProjects.WpfToolkit.Input/
https://www.nuget.org/packages/DotNetProjects.WpfToolkit.Layout/
https://www.nuget.org/packages/DotNetProjects.WpfToolkit.DataVisualization/
https://www.nuget.org/packages/DotNetProjects.WpfToolkit.Themes/
Be careful! The old nuget:
https://www.nuget.org/packages/DotNetProjects.Wpf.Toolkit/
is deprecated
And these 4 ones:
https://www.nuget.org/packages/DotNetProjects.Input.Toolkit/
https://www.nuget.org/packages/DotNetProjects.Layout.Toolkit/
https://www.nuget.org/packages/DotNetProjects.DataVisualization.Toolkit/
https://www.nuget.org/packages/DotNetProjects.WPF.Themes/
are renamed.
Info
----
wpf toolkit fork of the MS WPF Toolkit (https://wpf.codeplex.com/releases/view/40535)
Additional Features:
- Port to .NET 4.0
- Remove of Controls which exist already in .NET 4.0!
- Create Example for the Charting Controls
- Include of the WPF Theming Project
- splited into 4 nugets
- Work on Bugfixes (if someone knows some)
================================================
FILE: WpfToolkit/AssemblyAttrs.cs
================================================
//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
// This file specifies various assembly level attributes.
//
//---------------------------------------------------------------------------
using System;
using System.Resources;
using System.Security;
using System.Windows;
using System.Windows.Markup;
// Needed to turn on checking of security critical call chains
[assembly:SecurityCritical]
// Needed to enable xbap scenarios
[assembly:AllowPartiallyTrustedCallers]
[assembly:CLSCompliant(true)]
[assembly:NeutralResourcesLanguage("en-US")]
[assembly:ThemeInfo(
// Specifies the location of theme specific resources
ResourceDictionaryLocation.SourceAssembly,
// Specifies the location of non-theme specific resources:
ResourceDictionaryLocation.SourceAssembly)]
[assembly:XmlnsDefinition("http://schemas.microsoft.com/wpf/2008/toolkit", "Microsoft.Windows.Controls")]
[assembly: XmlnsDefinition("http://schemas.microsoft.com/wpf/2008/toolkit", "Microsoft.Windows.Controls.Primitives")]
// This line adds the public classes in this assembly and the System.Windows namespace to
// the default WPF namespace. This makes it XAML compatible with Silverlight where VisualStateManager
// is part of the default namespace.
[assembly:XmlnsDefinition("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "System.Windows")]
================================================
FILE: WpfToolkit/AssemblyInfo.cs
================================================
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("WPF Toolkit")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft Corp.")]
[assembly: AssemblyProduct("WPF Toolkit")]
[assembly: AssemblyCopyright("Copyright © 2010 Microsoft Corp. All rights reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// In order to begin building localizable applications, set
// <UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
// inside a <PropertyGroup>. For example, if you are using US english
// in your source files, set the <UICulture> to en-US. Then uncomment
// the NeutralResourceLanguage attribute below. Update the "en-US" in
// the line below to match the UICulture setting in the project file.
// [assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.0.*")]
[assembly: AssemblyFileVersion("5.0.*")]
================================================
FILE: WpfToolkit/Calendar/Microsoft/Windows/Automation/Peers/CalendarAutomationPeer.cs
================================================
//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Automation.Peers;
using System.Windows.Automation.Provider;
using System.Windows.Controls;
using Microsoft.Windows.Controls;
using Microsoft.Windows.Controls.Primitives;
namespace Microsoft.Windows.Automation.Peers
{
/// <summary>
/// AutomationPeer for Calendar Control
/// </summary>
public sealed class CalendarAutomationPeer : FrameworkElementAutomationPeer, IGridProvider, IMultipleViewProvider, ISelectionProvider, ITableProvider
{
/// <summary>
/// Initializes a new instance of the CalendarAutomationPeer class.
/// </summary>
/// <param name="owner">Owning Calendar</param>
public CalendarAutomationPeer(Calendar owner)
: base(owner)
{
}
#region Private Properties
private Calendar OwningCalendar
{
get
{
return this.Owner as Calendar;
}
}
private Grid OwningGrid
{
get
{
if (this.OwningCalendar != null && this.OwningCalendar.MonthControl != null)
{
if (this.OwningCalendar.DisplayMode == CalendarMode.Month)
{
return this.OwningCalendar.MonthControl.MonthView;
}
else
{
return this.OwningCalendar.MonthControl.YearView;
}
}
return null;
}
}
#endregion Private Properties
#region Public Methods
/// <summary>
/// Gets the control pattern that is associated with the specified System.Windows.Automation.Peers.PatternInterface.
/// </summary>
/// <param name="patternInterface">A value from the System.Windows.Automation.Peers.PatternInterface enumeration.</param>
/// <returns>The object that supports the specified pattern, or null if unsupported.</returns>
public override object GetPattern(PatternInterface patternInterface)
{
switch (patternInterface)
{
case PatternInterface.Grid:
case PatternInterface.Table:
case PatternInterface.MultipleView:
case PatternInterface.Selection:
{
if (this.OwningGrid != null)
{
return this;
}
break;
}
default: break;
}
return base.GetPattern(patternInterface);
}
#endregion Public Methods
#region Protected Methods
/// <summary>
/// Gets the control type for the element that is associated with the UI Automation peer.
/// </summary>
/// <returns>The control type.</returns>
protected override AutomationControlType GetAutomationControlTypeCore()
{
return AutomationControlType.Calendar;
}
/// <summary>
/// Called by GetClassName that gets a human readable name that, in addition to AutomationControlType,
/// differentiates the control represented by this AutomationPeer.
/// </summary>
/// <returns>The string that contains the name.</returns>
protected override string GetClassNameCore()
{
return this.Owner.GetType().Name;
}
#endregion Protected Methods
#region InternalMethods
internal void RaiseSelectionEvents(SelectionChangedEventArgs e)
{
int numSelected = this.OwningCalendar.SelectedDates.Count;
int numAdded = e.AddedItems.Count;
if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) && numSelected == 1 && numAdded == 1)
{
CalendarDayButton selectedButton = this.OwningCalendar.FindDayButtonFromDay((DateTime)e.AddedItems[0]);
if (selectedButton != null)
{
AutomationPeer peer = FrameworkElementAutomationPeer.FromElement(selectedButton);
if (peer != null)
{
peer.RaiseAutomationEvent(AutomationEvents.SelectionItemPatternOnElementSelected);
}
}
}
else
{
if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection))
{
foreach (DateTime date in e.AddedItems)
{
CalendarDayButton selectedButton = this.OwningCalendar.FindDayButtonFromDay(date);
if (selectedButton != null)
{
AutomationPeer peer = FrameworkElementAutomationPeer.FromElement(selectedButton);
if (peer != null)
{
peer.RaiseAutomationEvent(AutomationEvents.SelectionItemPatternOnElementAddedToSelection);
}
}
}
}
if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
{
foreach (DateTime date in e.RemovedItems)
{
CalendarDayButton removedButton = this.OwningCalendar.FindDayButtonFromDay(date);
if (removedButton != null)
{
AutomationPeer peer = FrameworkElementAutomationPeer.FromElement(removedButton);
if (peer != null)
{
peer.RaiseAutomationEvent(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection);
}
}
}
}
}
}
#endregion InternalMethods
#region IGridProvider
int IGridProvider.ColumnCount
{
get
{
if (this.OwningGrid != null)
{
return this.OwningGrid.ColumnDefinitions.Count;
}
return 0;
}
}
int IGridProvider.RowCount
{
get
{
if (this.OwningGrid != null)
{
if (this.OwningCalendar.DisplayMode == CalendarMode.Month)
{
// In Month DisplayMode, since first row is DayTitles, we return the RowCount-1
return Math.Max(0, this.OwningGrid.RowDefinitions.Count - 1);
}
else
{
return this.OwningGrid.RowDefinitions.Count;
}
}
return 0;
}
}
IRawElementProviderSimple IGridProvider.GetItem(int row, int column)
{
if (this.OwningCalendar.DisplayMode == CalendarMode.Month)
{
// In Month DisplayMode, since first row is DayTitles, we increment the row number by 1
row++;
}
if (this.OwningGrid != null && row >= 0 && row < this.OwningGrid.RowDefinitions.Count && column >= 0 && column < this.OwningGrid.ColumnDefinitions.Count)
{
foreach (UIElement child in this.OwningGrid.Children)
{
int childRow = (int)child.GetValue(Grid.RowProperty);
int childColumn = (int)child.GetValue(Grid.ColumnProperty);
if (childRow == row && childColumn == column)
{
AutomationPeer peer = CreatePeerForElement(child);
if (peer != null)
{
return ProviderFromPeer(peer);
}
}
}
}
return null;
}
#endregion IGridProvider
#region IMultipleViewProvider
int IMultipleViewProvider.CurrentView
{
get
{
return (int)this.OwningCalendar.DisplayMode;
}
}
int[] IMultipleViewProvider.GetSupportedViews()
{
int[] supportedViews = new int[3];
supportedViews[0] = (int)CalendarMode.Month;
supportedViews[1] = (int)CalendarMode.Year;
supportedViews[2] = (int)CalendarMode.Decade;
return supportedViews;
}
string IMultipleViewProvider.GetViewName(int viewId)
{
switch (viewId)
{
case 0:
{
return SR.Get(SRID.CalendarAutomationPeer_MonthMode);
}
case 1:
{
return SR.Get(SRID.CalendarAutomationPeer_YearMode);
}
case 2:
{
return SR.Get(SRID.CalendarAutomationPeer_DecadeMode);
}
}
// TODO: update when Jolt 23302 is fixed
// throw new ArgumentOutOfRangeException("viewId", Resource.Calendar_OnDisplayModePropertyChanged_InvalidValue);
return String.Empty;
}
void IMultipleViewProvider.SetCurrentView(int viewId)
{
this.OwningCalendar.DisplayMode = (CalendarMode)viewId;
}
#endregion IMultipleViewProvider
#region ISelectionProvider
bool ISelectionProvider.CanSelectMultiple
{
get
{
return this.OwningCalendar.SelectionMode == CalendarSelectionMode.SingleRange || this.OwningCalendar.SelectionMode == CalendarSelectionMode.MultipleRange;
}
}
bool ISelectionProvider.IsSelectionRequired
{
get
{
return false;
}
}
IRawElementProviderSimple[] ISelectionProvider.GetSelection()
{
List<IRawElementProviderSimple> providers = new List<IRawElementProviderSimple>();
if (this.OwningGrid != null)
{
if (this.OwningCalendar.DisplayMode == CalendarMode.Month && this.OwningCalendar.SelectedDates != null && this.OwningCalendar.SelectedDates.Count != 0)
{
// return selected DayButtons
CalendarDayButton dayButton;
foreach (UIElement child in this.OwningGrid.Children)
{
int childRow = (int)child.GetValue(Grid.RowProperty);
if (childRow != 0)
{
dayButton = child as CalendarDayButton;
if (dayButton != null && dayButton.IsSelected)
{
AutomationPeer peer = CreatePeerForElement(dayButton);
if (peer != null)
{
providers.Add(ProviderFromPeer(peer));
}
}
}
}
}
else
{
// return the CalendarButton which has focus
CalendarButton calendarButton;
foreach (UIElement child in this.OwningGrid.Children)
{
calendarButton = child as CalendarButton;
if (calendarButton != null && calendarButton.IsFocused)
{
AutomationPeer peer = CreatePeerForElement(calendarButton);
if (peer != null)
{
providers.Add(ProviderFromPeer(peer));
}
break;
}
}
}
if (providers.Count > 0)
{
return providers.ToArray();
}
}
return null;
}
#endregion ISelectionProvider
#region ITableProvider
RowOrColumnMajor ITableProvider.RowOrColumnMajor
{
get
{
return RowOrColumnMajor.RowMajor;
}
}
IRawElementProviderSimple[] ITableProvider.GetColumnHeaders()
{
if (this.OwningCalendar.DisplayMode == CalendarMode.Month)
{
List<IRawElementProviderSimple> providers = new List<IRawElementProviderSimple>();
foreach (UIElement child in this.OwningGrid.Children)
{
int childRow = (int)child.GetValue(Grid.RowProperty);
if (childRow == 0)
{
AutomationPeer peer = CreatePeerForElement(child);
if (peer != null)
{
providers.Add(ProviderFromPeer(peer));
}
}
}
if (providers.Count > 0)
{
return providers.ToArray();
}
}
return null;
}
// If WeekNumber functionality is supported by Calendar in the future,
// this method should return weeknumbers
IRawElementProviderSimple[] ITableProvider.GetRowHeaders()
{
return null;
}
#endregion ITableProvider
}
}
================================================
FILE: WpfToolkit/Calendar/Microsoft/Windows/Automation/Peers/CalendarButtonAutomationPeer.cs
================================================
//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System;
using System.Windows.Automation;
using System.Windows.Automation.Peers;
using System.Windows.Automation.Provider;
using System.Windows.Controls;
using System.Windows.Input;
using Microsoft.Windows.Controls;
using Microsoft.Windows.Controls.Primitives;
namespace Microsoft.Windows.Automation.Peers
{
/// <summary>
/// AutomationPeer for CalendarButton
/// </summary>
public sealed class CalendarButtonAutomationPeer : ButtonAutomationPeer, IGridItemProvider, ISelectionItemProvider
{
/// <summary>
/// Initializes a new instance of the CalendarButtonAutomationPeer class.
/// </summary>
/// <param name="owner">Owning CalendarButton</param>
public CalendarButtonAutomationPeer(CalendarButton owner)
: base(owner)
{
}
#region Private Properties
private Calendar OwningCalendar
{
get
{
return this.OwningCalendarButton.Owner;
}
}
private IRawElementProviderSimple OwningCalendarAutomationPeer
{
get
{
if (this.OwningCalendar != null)
{
AutomationPeer peer = CreatePeerForElement(this.OwningCalendar);
if (peer != null)
{
return ProviderFromPeer(peer);
}
}
return null;
}
}
private CalendarButton OwningCalendarButton
{
get
{
return this.Owner as CalendarButton;
}
}
private DateTime? Date
{
get
{
if (this.OwningCalendarButton != null && this.OwningCalendarButton.DataContext is DateTime)
{
return (DateTime?)this.OwningCalendarButton.DataContext;
}
else
{
return null;
}
}
}
#endregion Private Properties
#region Public Methods
/// <summary>
/// Gets the control pattern that is associated with the specified System.Windows.Automation.Peers.PatternInterface.
/// </summary>
/// <param name="patternInterface">A value from the System.Windows.Automation.Peers.PatternInterface enumeration.</param>
/// <returns>The object that supports the specified pattern, or null if unsupported.</returns>
public override object GetPattern(PatternInterface patternInterface)
{
object result = null;
switch (patternInterface)
{
case PatternInterface.SelectionItem:
case PatternInterface.GridItem:
{
if (this.OwningCalendar != null && this.OwningCalendar.MonthControl != null && this.OwningCalendarButton != null)
{
result = this;
}
else
{
result = base.GetPattern(patternInterface);
}
break;
}
default:
{
result = base.GetPattern(patternInterface);
break;
}
}
return result;
}
#endregion Public methods
#region Protected Methods
/// <summary>
/// Gets the control type for the element that is associated with the UI Automation peer.
/// </summary>
/// <returns>The control type.</returns>
protected override AutomationControlType GetAutomationControlTypeCore()
{
return AutomationControlType.Button;
}
/// <summary>
/// Called by GetClassName that gets a human readable name that, in addition to AutomationControlType,
/// differentiates the control represented by this AutomationPeer.
/// </summary>
/// <returns>The string that contains the name.</returns>
protected override string GetClassNameCore()
{
return Owner.GetType().Name;
}
/// <summary>
/// Overrides the GetLocalizedControlTypeCore method for CalendarButtonAutomationPeer
/// </summary>
/// <returns></returns>
protected override string GetLocalizedControlTypeCore()
{
return SR.Get(SRID.CalendarAutomationPeer_CalendarButtonLocalizedControlType);
}
/// <summary>
/// Overrides the GetHelpTextCore method for CalendarButtonAutomationPeer
/// </summary>
/// <returns></returns>
protected override string GetHelpTextCore()
{
DateTime? date = this.Date;
return date.HasValue ? DateTimeHelper.ToLongDateString(date, DateTimeHelper.GetCulture(this.OwningCalendarButton)) : base.GetHelpTextCore();
}
/// <summary>
/// Overrides the GetNameCore method for CalendarButtonAutomationPeer
/// </summary>
/// <returns></returns>
protected override string GetNameCore()
{
DateTime? date = this.Date;
if (date.HasValue)
{
if (this.OwningCalendar.DisplayMode == CalendarMode.Decade)
{
return DateTimeHelper.ToYearString(date, DateTimeHelper.GetCulture(this.OwningCalendarButton));
}
else
{
return DateTimeHelper.ToYearMonthPatternString(date, DateTimeHelper.GetCulture(this.OwningCalendarButton));
}
}
else
{
return base.GetNameCore();
}
}
#endregion Protected Methods
#region IGridItemProvider
int IGridItemProvider.Column
{
get
{
return (int)this.OwningCalendarButton.GetValue(Grid.ColumnProperty);
}
}
int IGridItemProvider.ColumnSpan
{
get
{
return (int)this.OwningCalendarButton.GetValue(Grid.ColumnSpanProperty);
}
}
IRawElementProviderSimple IGridItemProvider.ContainingGrid
{
get
{
return this.OwningCalendarAutomationPeer;
}
}
int IGridItemProvider.Row
{
get
{
return (int)this.OwningCalendarButton.GetValue(Grid.RowSpanProperty);
}
}
int IGridItemProvider.RowSpan
{
get
{
return 1;
}
}
#endregion IGridItemProvider
#region ISelectionItemProvider
bool ISelectionItemProvider.IsSelected
{
get
{
return this.OwningCalendarButton.IsFocused;
}
}
IRawElementProviderSimple ISelectionItemProvider.SelectionContainer
{
get
{
return this.OwningCalendarAutomationPeer;
}
}
void ISelectionItemProvider.AddToSelection()
{
return;
}
void ISelectionItemProvider.RemoveFromSelection()
{
return;
}
void ISelectionItemProvider.Select()
{
if (this.OwningCalendarButton.IsEnabled)
{
this.OwningCalendarButton.MoveFocus(new TraversalRequest(FocusNavigationDirection.First));
}
else
{
throw new ElementNotEnabledException();
}
}
#endregion ISelectionItemProvider
}
}
================================================
FILE: WpfToolkit/Calendar/Microsoft/Windows/Automation/Peers/CalendarDayButtonAutomationPeer.cs
================================================
//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Automation.Peers;
using System.Windows.Automation.Provider;
using System.Windows.Controls;
using Microsoft.Windows.Controls;
using Microsoft.Windows.Controls.Primitives;
namespace Microsoft.Windows.Automation.Peers
{
/// <summary>
/// AutomationPeer for CalendarDayButton
/// </summary>
public sealed class CalendarDayButtonAutomationPeer : ButtonAutomationPeer, IGridItemProvider, ISelectionItemProvider, ITableItemProvider
{
/// <summary>
/// Initializes a new instance of the CalendarDayButtonAutomationPeer class.
/// </summary>
/// <param name="owner">Owning CalendarDayButton</param>
public CalendarDayButtonAutomationPeer(CalendarDayButton owner)
: base(owner)
{
}
#region Private Properties
private Microsoft.Windows.Controls.Calendar OwningCalendar
{
get
{
return this.OwningCalendarDayButton.Owner;
}
}
private IRawElementProviderSimple OwningCalendarAutomationPeer
{
get
{
if (this.OwningCalendar != null)
{
AutomationPeer peer = CreatePeerForElement(this.OwningCalendar);
if (peer != null)
{
return ProviderFromPeer(peer);
}
}
return null;
}
}
private CalendarDayButton OwningCalendarDayButton
{
get
{
return this.Owner as CalendarDayButton;
}
}
private DateTime? Date
{
get
{
if (this.OwningCalendarDayButton != null && this.OwningCalendarDayButton.DataContext is DateTime)
{
return (DateTime?)this.OwningCalendarDayButton.DataContext;
}
else
{
return null;
}
}
}
#endregion Private Properties
#region Public Methods
/// <summary>
/// Gets the control pattern that is associated with the specified System.Windows.Automation.Peers.PatternInterface.
/// </summary>
/// <param name="patternInterface">A value from the System.Windows.Automation.Peers.PatternInterface enumeration.</param>
/// <returns>The object that supports the specified pattern, or null if unsupported.</returns>
public override object GetPattern(PatternInterface patternInterface)
{
object result = null;
switch (patternInterface)
{
case PatternInterface.SelectionItem:
case PatternInterface.GridItem:
case PatternInterface.TableItem:
{
if (this.OwningCalendar != null && this.OwningCalendarDayButton != null)
{
result = this;
}
else
{
result = base.GetPattern(patternInterface);
}
break;
}
default:
{
result = base.GetPattern(patternInterface);
break;
}
}
return result;
}
#endregion Public Methods
#region Protected Methods
/// <summary>
/// Gets the control type for the element that is associated with the UI Automation peer.
/// </summary>
/// <returns>The control type.</returns>
protected override AutomationControlType GetAutomationControlTypeCore()
{
return AutomationControlType.Button;
}
/// <summary>
/// Called by GetClassName that gets a human readable name that, in addition to AutomationControlType,
/// differentiates the control represented by this AutomationPeer.
/// </summary>
/// <returns>The string that contains the name.</returns>
protected override string GetClassNameCore()
{
return Owner.GetType().Name;
}
/// <summary>
/// Overrides the GetHelpTextCore method for CalendarDayButtonAutomationPeer
/// </summary>
/// <returns></returns>
protected override string GetHelpTextCore()
{
DateTime? date = this.Date;
if (date.HasValue)
{
string dateString = DateTimeHelper.ToLongDateString(Date, DateTimeHelper.GetCulture(this.OwningCalendarDayButton));
if (this.OwningCalendarDayButton.IsBlackedOut)
{
return string.Format(DateTimeHelper.GetCurrentDateFormat(), SR.Get(SRID.CalendarAutomationPeer_BlackoutDayHelpText), dateString);
}
else
{
return dateString;
}
}
else
{
return base.GetHelpTextCore();
}
}
/// <summary>
/// Overrides the GetLocalizedControlTypeCore method for CalendarDayButtonAutomationPeer
/// </summary>
/// <returns></returns>
protected override string GetLocalizedControlTypeCore()
{
return SR.Get(SRID.CalendarAutomationPeer_DayButtonLocalizedControlType);
}
/// <summary>
/// Overrides the GetNameCore method for CalendarDayButtonAutomationPeer
/// </summary>
/// <returns></returns>
protected override string GetNameCore()
{
DateTime? date = this.Date;
return date.HasValue ? DateTimeHelper.ToLongDateString(Date, DateTimeHelper.GetCulture(this.OwningCalendarDayButton)) : base.GetNameCore();
}
#endregion Protected Methods
#region IGridItemProvider
/// <summary>
/// Grid item column.
/// </summary>
int IGridItemProvider.Column
{
get
{
return (int)this.OwningCalendarDayButton.GetValue(Grid.ColumnProperty);
}
}
/// <summary>
/// Grid item column span.
/// </summary>
int IGridItemProvider.ColumnSpan
{
get { return (int)this.OwningCalendarDayButton.GetValue(Grid.ColumnSpanProperty); }
}
/// <summary>
/// Grid item's containing grid.
/// </summary>
IRawElementProviderSimple IGridItemProvider.ContainingGrid
{
get
{
return this.OwningCalendarAutomationPeer;
}
}
/// <summary>
/// Grid item row.
/// </summary>
int IGridItemProvider.Row
{
get
{
Debug.Assert((int)this.OwningCalendarDayButton.GetValue(Grid.RowProperty) > 0);
// we decrement the Row value by one since the first row is composed of DayTitles
return (int)this.OwningCalendarDayButton.GetValue(Grid.RowProperty) - 1;
}
}
/// <summary>
/// Grid item row span.
/// </summary>
int IGridItemProvider.RowSpan
{
get
{
return (int)this.OwningCalendarDayButton.GetValue(Grid.RowSpanProperty);
}
}
#endregion IGridItemProvider
#region ISelectionItemProvider
/// <summary>
/// True if the owning CalendarDayButton is selected.
/// </summary>
bool ISelectionItemProvider.IsSelected
{
get
{
return this.OwningCalendarDayButton.IsSelected;
}
}
/// <summary>
/// Selection items selection container.
/// </summary>
IRawElementProviderSimple ISelectionItemProvider.SelectionContainer
{
get
{
return this.OwningCalendarAutomationPeer;
}
}
/// <summary>
/// Adds selection item to selection.
/// </summary>
void ISelectionItemProvider.AddToSelection()
{
// Return if the item is already selected or a day is already selected in the SingleSelectionMode
if (((ISelectionItemProvider)this).IsSelected)
{
return;
}
if (EnsureSelection() && this.OwningCalendarDayButton.DataContext is DateTime)
{
if (this.OwningCalendar.SelectionMode == CalendarSelectionMode.SingleDate)
{
this.OwningCalendar.SelectedDate = (DateTime)this.OwningCalendarDayButton.DataContext;
}
else
{
this.OwningCalendar.SelectedDates.Add((DateTime)this.OwningCalendarDayButton.DataContext);
}
}
}
/// <summary>
/// Removes selection item from selection.
/// </summary>
void ISelectionItemProvider.RemoveFromSelection()
{
// Return if the item is not already selected.
if (!((ISelectionItemProvider)this).IsSelected)
{
return;
}
if (this.OwningCalendarDayButton.DataContext is DateTime)
{
this.OwningCalendar.SelectedDates.Remove((DateTime)this.OwningCalendarDayButton.DataContext);
}
}
/// <summary>
/// Selects this item.
/// </summary>
void ISelectionItemProvider.Select()
{
if (EnsureSelection())
{
this.OwningCalendar.SelectedDates.Clear();
if (this.OwningCalendarDayButton.DataContext is DateTime)
{
this.OwningCalendar.SelectedDates.Add((DateTime)this.OwningCalendarDayButton.DataContext);
}
}
}
#endregion ISelectionItemProvider
#region ITableItemProvider
/// <summary>
/// Gets the table item's column headers.
/// </summary>
/// <returns>The table item's column headers</returns>
IRawElementProviderSimple[] ITableItemProvider.GetColumnHeaderItems()
{
if (this.OwningCalendar != null && this.OwningCalendarAutomationPeer != null)
{
IRawElementProviderSimple[] headers = ((ITableProvider)CreatePeerForElement(this.OwningCalendar)).GetColumnHeaders();
if (headers != null)
{
int column = ((IGridItemProvider)this).Column;
return new IRawElementProviderSimple[] { headers[column] };
}
}
return null;
}
/// <summary>
/// Get's the table item's row headers.
/// </summary>
/// <returns>The table item's row headers</returns>
IRawElementProviderSimple[] ITableItemProvider.GetRowHeaderItems()
{
return null;
}
#endregion ITableItemProvider
#region Private Methods
private bool EnsureSelection()
{
if (!this.OwningCalendarDayButton.IsEnabled)
{
throw new ElementNotEnabledException();
}
// If the day is a blackout day or the SelectionMode is None, selection is not allowed
if (this.OwningCalendarDayButton.IsBlackedOut ||
this.OwningCalendar.SelectionMode == CalendarSelectionMode.None)
{
return false;
}
return true;
}
#endregion Private Methods
}
}
================================================
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/Calendar.cs
================================================
//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation.Peers;
using System.Windows.Controls;
using System.Windows.Input;
using Microsoft.Windows.Automation.Peers;
using Microsoft.Windows.Controls.Primitives;
namespace Microsoft.Windows.Controls
{
/// <summary>
/// Represents a control that enables a user to select a date by using a visual calendar display.
/// </summary>
[TemplatePart(Name = Calendar.ElementRoot, Type = typeof(Panel))]
[TemplatePart(Name = Calendar.ElementMonth, Type = typeof(CalendarItem))]
public class Calendar : Control
{
#region Constants
private const string ElementRoot = "PART_Root";
private const string ElementMonth = "PART_CalendarItem";
private const int COLS = 7;
private const int ROWS = 7;
private const int YEAR_ROWS = 3;
private const int YEAR_COLS = 4;
private const int YEARS_PER_DECADE = 10;
#endregion Constants
#region Data
private DateTime? _hoverStart;
private DateTime? _hoverEnd;
private bool _isShiftPressed;
private DateTime? _currentDate;
private CalendarItem _monthControl;
private CalendarBlackoutDatesCollection _blackoutDates;
private SelectedDatesCollection _selectedDates;
#endregion Data
#region Public Events
public static readonly RoutedEvent SelectedDatesChangedEvent = EventManager.RegisterRoutedEvent("SelectedDatesChanged", RoutingStrategy.Direct, typeof(EventHandler<SelectionChangedEventArgs>), typeof(Calendar));
/// <summary>
/// Occurs when a date is selected.
/// </summary>
public event EventHandler<SelectionChangedEventArgs> SelectedDatesChanged
{
add { AddHandler(SelectedDatesChangedEvent, value); }
remove { RemoveHandler(SelectedDatesChangedEvent, value); }
}
/// <summary>
/// Occurs when the DisplayDate property is changed.
/// </summary>
public event EventHandler<CalendarDateChangedEventArgs> DisplayDateChanged;
/// <summary>
/// Occurs when the DisplayMode property is changed.
/// </summary>
public event EventHandler<CalendarModeChangedEventArgs> DisplayModeChanged;
/// <summary>
/// Occurs when the SelectionMode property is changed.
/// </summary>
public event EventHandler<EventArgs> SelectionModeChanged;
#endregion Public Events
/// <summary>
/// Static constructor
/// </summary>
static Calendar()
{
DefaultStyleKeyProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(typeof(Calendar)));
KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
EventManager.RegisterClassHandler(typeof(Calendar), UIElement.GotFocusEvent, new RoutedEventHandler(OnGotFocus));
LanguageProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnLanguageChanged)));
}
/// <summary>
/// Initializes a new instance of the Calendar class.
/// </summary>
public Calendar()
{
this._blackoutDates = new CalendarBlackoutDatesCollection(this);
this._selectedDates = new SelectedDatesCollection(this);
this.DisplayDate = DateTime.Today;
}
#region Public Properties
#region BlackoutDates
/// <summary>
/// Gets or sets the dates that are not selectable.
/// </summary>
public CalendarBlackoutDatesCollection BlackoutDates
{
get { return _blackoutDates; }
}
#endregion BlackoutDates
#region CalendarButtonStyle
/// <summary>
/// Gets or sets the style for displaying a CalendarButton.
/// </summary>
public Style CalendarButtonStyle
{
get { return (Style)GetValue(CalendarButtonStyleProperty); }
set { SetValue(CalendarButtonStyleProperty, value); }
}
/// <summary>
/// Identifies the CalendarButtonStyle dependency property.
/// </summary>
public static readonly DependencyProperty CalendarButtonStyleProperty =
DependencyProperty.Register(
"CalendarButtonStyle",
typeof(Style),
typeof(Calendar));
#endregion CalendarButtonStyle
#region CalendarDayButtonStyle
/// <summary>
/// Gets or sets the style for displaying a day.
/// </summary>
public Style CalendarDayButtonStyle
{
get { return (Style)GetValue(CalendarDayButtonStyleProperty); }
set { SetValue(CalendarDayButtonStyleProperty, value); }
}
/// <summary>
/// Identifies the DayButtonStyle dependency property.
/// </summary>
public static readonly DependencyProperty CalendarDayButtonStyleProperty =
DependencyProperty.Register(
"CalendarDayButtonStyle",
typeof(Style),
typeof(Calendar));
#endregion CalendarDayButtonStyle
#region CalendarItemStyle
/// <summary>
/// Gets or sets the style for a Month.
/// </summary>
public Style CalendarItemStyle
{
get { return (Style)GetValue(CalendarItemStyleProperty); }
set { SetValue(CalendarItemStyleProperty, value); }
}
/// <summary>
/// Identifies the MonthStyle dependency property.
/// </summary>
public static readonly DependencyProperty CalendarItemStyleProperty =
DependencyProperty.Register(
"CalendarItemStyle",
typeof(Style),
typeof(Calendar));
#endregion CalendarItemStyle
#region DisplayDate
/// <summary>
/// Gets or sets the date to display.
/// </summary>
///
public DateTime DisplayDate
{
get { return (DateTime)GetValue(DisplayDateProperty); }
set { SetValue(DisplayDateProperty, value); }
}
/// <summary>
/// Identifies the DisplayDate dependency property.
/// </summary>
public static readonly DependencyProperty DisplayDateProperty =
DependencyProperty.Register(
"DisplayDate",
typeof(DateTime),
typeof(Calendar),
new FrameworkPropertyMetadata(DateTime.MinValue, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayDateChanged, CoerceDisplayDate));
/// <summary>
/// DisplayDateProperty property changed handler.
/// </summary>
/// <param name="d">Calendar that changed its DisplayDate.</param>
/// <param name="e">DependencyPropertyChangedEventArgs.</param>
private static void OnDisplayDateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
Calendar c = d as Calendar;
Debug.Assert(c != null);
c.DisplayDateInternal = DateTimeHelper.DiscardDayTime((DateTime)e.NewValue);
c.UpdateCellItems();
c.OnDisplayDateChanged(new CalendarDateChangedEventArgs((DateTime)e.OldValue, (DateTime)e.NewValue));
}
private static object CoerceDisplayDate(DependencyObject d, object value)
{
Calendar c = d as Calendar;
DateTime date = (DateTime)value;
if (c.DisplayDateStart.HasValue && (date < c.DisplayDateStart.Value))
{
value = c.DisplayDateStart.Value;
}
else if (c.DisplayDateEnd.HasValue && (date > c.DisplayDateEnd.Value))
{
value = c.DisplayDateEnd.Value;
}
return value;
}
#endregion DisplayDate
#region DisplayDateEnd
/// <summary>
/// Gets or sets the last date to be displayed.
/// </summary>
///
public DateTime? DisplayDateEnd
{
get { return (DateTime?)GetValue(DisplayDateEndProperty); }
set { SetValue(DisplayDateEndProperty, value); }
}
/// <summary>
/// Identifies the DisplayDateEnd dependency property.
/// </summary>
public static readonly DependencyProperty DisplayDateEndProperty =
DependencyProperty.Register(
"DisplayDateEnd",
typeof(DateTime?),
typeof(Calendar),
new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayDateEndChanged, CoerceDisplayDateEnd));
/// <summary>
/// DisplayDateEndProperty property changed handler.
/// </summary>
/// <param name="d">Calendar that changed its DisplayDateEnd.</param>
/// <param name="e">DependencyPropertyChangedEventArgs.</param>
private static void OnDisplayDateEndChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
Calendar c = d as Calendar;
Debug.Assert(c != null);
c.CoerceValue(DisplayDateProperty);
c.UpdateCellItems();
}
private static object CoerceDisplayDateEnd(DependencyObject d, object value)
{
Calendar c = d as Calendar;
DateTime? date = (DateTime?)value;
if (date.HasValue)
{
if (c.DisplayDateStart.HasValue && (date.Value < c.DisplayDateStart.Value))
{
value = c.DisplayDateStart;
}
DateTime? maxSelectedDate = c.SelectedDates.MaximumDate;
if (maxSelectedDate.HasValue && (date.Value < maxSelectedDate.Value))
{
value = maxSelectedDate;
}
}
return value;
}
#endregion DisplayDateEnd
#region DisplayDateStart
/// <summary>
/// Gets or sets the first date to be displayed.
/// </summary>
///
public DateTime? DisplayDateStart
{
get { return (DateTime?)GetValue(DisplayDateStartProperty); }
set { SetValue(DisplayDateStartProperty, value); }
}
/// <summary>
/// Identifies the DisplayDateStart dependency property.
/// </summary>
public static readonly DependencyProperty DisplayDateStartProperty =
DependencyProperty.Register(
"DisplayDateStart",
typeof(DateTime?),
typeof(Calendar),
new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayDateStartChanged, CoerceDisplayDateStart));
/// <summary>
/// DisplayDateStartProperty property changed handler.
/// </summary>
/// <param name="d">Calendar that changed its DisplayDateStart.</param>
/// <param name="e">DependencyPropertyChangedEventArgs.</param>
private static void OnDisplayDateStartChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
Calendar c = d as Calendar;
Debug.Assert(c != null);
c.CoerceValue(DisplayDateEndProperty);
c.CoerceValue(DisplayDateProperty);
c.UpdateCellItems();
}
private static object CoerceDisplayDateStart(DependencyObject d, object value)
{
Calendar c = d as Calendar;
DateTime? date = (DateTime?)value;
if (date.HasValue)
{
DateTime? minSelectedDate = c.SelectedDates.MinimumDate;
if (minSelectedDate.HasValue && (date.Value > minSelectedDate.Value))
{
value = minSelectedDate;
}
}
return value;
}
#endregion DisplayDateStart
#region DisplayMode
/// <summary>
/// Gets or sets a value indicating whether the calendar is displayed in months or years.
/// </summary>
public CalendarMode DisplayMode
{
get { return (CalendarMode)GetValue(DisplayModeProperty); }
set { SetValue(DisplayModeProperty, value); }
}
/// <summary>
/// Identifies the DisplayMode dependency property.
/// </summary>
public static readonly DependencyProperty DisplayModeProperty =
DependencyProperty.Register(
"DisplayMode",
typeof(CalendarMode),
typeof(Calendar),
new FrameworkPropertyMetadata(CalendarMode.Month, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayModePropertyChanged),
new ValidateValueCallback(IsValidDisplayMode));
/// <summary>
/// DisplayModeProperty property changed handler.
/// </summary>
/// <param name="d">Calendar that changed its DisplayMode.</param>
/// <param name="e">DependencyPropertyChangedEventArgs.</param>
private static void OnDisplayModePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
Calendar c = d as Calendar;
Debug.Assert(c != null);
CalendarMode mode = (CalendarMode)e.NewValue;
CalendarMode oldMode = (CalendarMode)e.OldValue;
CalendarItem monthControl = c.MonthControl;
switch (mode)
{
case CalendarMode.Month:
{
if (oldMode == CalendarMode.Year || oldMode == CalendarMode.Decade)
{
// Cancel highlight when switching to month display mode
c.HoverStart = c.HoverEnd = null;
c.CurrentDate = c.DisplayDate;
}
c.UpdateCellItems();
break;
}
case CalendarMode.Year:
case CalendarMode.Decade:
{
if (oldMode == CalendarMode.Month)
{
c.DisplayDate = c.CurrentDate;
}
c.UpdateCellItems();
break;
}
default:
Debug.Assert(false);
break;
}
c.OnDisplayModeChanged(new CalendarModeChangedEventArgs((CalendarMode)e.OldValue, mode));
}
#endregion DisplayMode
#region FirstDayOfWeek
/// <summary>
/// Gets or sets the day that is considered the beginning of the week.
/// </summary>
public DayOfWeek FirstDayOfWeek
{
get { return (DayOfWeek)GetValue(FirstDayOfWeekProperty); }
set { SetValue(FirstDayOfWeekProperty, value); }
}
/// <summary>
/// Identifies the FirstDayOfWeek dependency property.
/// </summary>
public static readonly DependencyProperty FirstDayOfWeekProperty =
DependencyProperty.Register(
"FirstDayOfWeek",
typeof(DayOfWeek),
typeof(Calendar),
new FrameworkPropertyMetadata(DateTimeHelper.GetCurrentDateFormat().FirstDayOfWeek,
OnFirstDayOfWeekChanged),
new ValidateValueCallback(IsValidFirstDayOfWeek));
/// <summary>
/// FirstDayOfWeekProperty property changed handler.
/// </summary>
/// <param name="d">Calendar that changed its FirstDayOfWeek.</param>
/// <param name="e">DependencyPropertyChangedEventArgs.</param>
private static void OnFirstDayOfWeekChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
Calendar c = d as Calendar;
c.UpdateCellItems();
}
#endregion FirstDayOfWeek
#region IsTodayHighlighted
/// <summary>
/// Gets or sets a value indicating whether the current date is highlighted.
/// </summary>
public bool IsTodayHighlighted
{
get { return (bool)GetValue(IsTodayHighlightedProperty); }
set { SetValue(IsTodayHighlightedProperty, value); }
}
/// <summary>
/// Identifies the IsTodayHighlighted dependency property.
/// </summary>
public static readonly DependencyProperty IsTodayHighlightedProperty =
DependencyProperty.Register(
"IsTodayHighlighted",
typeof(bool),
typeof(Calendar),
new FrameworkPropertyMetadata(true, OnIsTodayHighlightedChanged));
/// <summary>
/// IsTodayHighlightedProperty property changed handler.
/// </summary>
/// <param name="d">Calendar that changed its IsTodayHighlighted.</param>
/// <param name="e">DependencyPropertyChangedEventArgs.</param>
private static void OnIsTodayHighlightedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
Calendar c = d as Calendar;
int i = DateTimeHelper.CompareYearMonth(c.DisplayDateInternal, DateTime.Today);
if (i > -2 && i < 2)
{
c.UpdateCellItems();
}
}
#endregion IsTodayHighlighted
#region Language
private static void OnLanguageChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
Calendar c = d as Calendar;
if (DependencyPropertyHelper.GetValueSource(d, Calendar.FirstDayOfWeekProperty).BaseValueSource == BaseValueSource.Default)
{
c.CoerceValue(FirstDayOfWeekProperty);
c.UpdateCellItems();
}
}
#endregion
#region SelectedDate
/// <summary>
/// Gets or sets the currently selected date.
/// </summary>
///
public DateTime? SelectedDate
{
get { return (DateTime?)GetValue(SelectedDateProperty); }
set { SetValue(SelectedDateProperty, value); }
}
/// <summary>
/// Identifies the SelectedDate dependency property.
/// </summary>
public static readonly DependencyProperty SelectedDateProperty =
DependencyProperty.Register(
"SelectedDate",
typeof(DateTime?),
typeof(Calendar),
new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnSelectedDateChanged));
/// <summary>
/// SelectedDateProperty property changed handler.
/// </summary>
/// <param name="d">Calendar that changed its SelectedDate.</param>
/// <param name="e">DependencyPropertyChangedEventArgs.</param>
private static void OnSelectedDateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
Calendar c = d as Calendar;
Debug.Assert(c != null);
if (c.SelectionMode != CalendarSelectionMode.None || e.NewValue == null)
{
DateTime? addedDate;
addedDate = (DateTime?)e.NewValue;
if (IsValidDateSelection(c, addedDate))
{
if (!addedDate.HasValue)
{
c.SelectedDates.ClearInternal(true /*fireChangeNotification*/);
}
else
{
if (addedDate.HasValue && !(c.SelectedDates.Count > 0 && c.SelectedDates[0] == addedDate.Value))
{
c.SelectedDates.ClearInternal();
c.SelectedDates.Add(addedDate.Value);
}
}
// We update the current date for only the Single mode.For the other modes it automatically gets updated
if (c.SelectionMode == CalendarSelectionMode.SingleDate)
{
if (addedDate.HasValue)
{
c.CurrentDate = addedDate.Value;
}
c.UpdateCellItems();
}
}
else
{
throw new ArgumentOutOfRangeException("d", SR.Get(SRID.Calendar_OnSelectedDateChanged_InvalidValue));
}
}
else
{
throw new InvalidOperationException(SR.Get(SRID.Calendar_OnSelectedDateChanged_InvalidOperation));
}
}
#endregion SelectedDate
#region SelectedDates
// TODO: Should it be of type ObservableCollection?
/// <summary>
/// Gets the dates that are currently selected.
/// </summary>
public SelectedDatesCollection SelectedDates
{
get { return _selectedDates; }
}
#endregion SelectedDates
#region SelectionMode
/// <summary>
/// Gets or sets the selection mode for the calendar.
/// </summary>
public CalendarSelectionMode SelectionMode
{
get { return (CalendarSelectionMode)GetValue(SelectionModeProperty); }
set { SetValue(SelectionModeProperty, value); }
}
/// <summary>
/// Identifies the SelectionMode dependency property.
/// </summary>
public static readonly DependencyProperty SelectionModeProperty =
DependencyProperty.Register(
"SelectionMode",
typeof(CalendarSelectionMode),
typeof(Calendar),
new FrameworkPropertyMetadata(CalendarSelectionMode.SingleDate, OnSelectionModeChanged),
new ValidateValueCallback(IsValidSelectionMode));
private static void OnSelectionModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
Calendar c = d as Calendar;
Debug.Assert(c != null);
c.HoverStart = c.HoverEnd = null;
c.SelectedDates.ClearInternal(true /*fireChangeNotification*/);
c.OnSelectionModeChanged(EventArgs.Empty);
}
#endregion SelectionMode
#endregion Public Properties
#region Internal Events
internal event MouseButtonEventHandler DayButtonMouseUp;
internal event RoutedEventHandler DayOrMonthPreviewKeyDown;
#endregion Internal Events
#region Internal Properties
/// <summary>
/// This flag is used to determine whether DatePicker should change its
/// DisplayDate because of a SelectedDate change on its Calendar
/// </summary>
internal bool DatePickerDisplayDateFlag
{
get;
set;
}
internal DateTime DisplayDateInternal
{
get;
private set;
}
internal DateTime DisplayDateEndInternal
{
get
{
return this.DisplayDateEnd.GetValueOrDefault(DateTime.MaxValue);
}
}
internal DateTime DisplayDateStartInternal
{
get
{
return this.DisplayDateStart.GetValueOrDefault(DateTime.MinValue);
}
}
internal DateTime CurrentDate
{
get { return _currentDate.GetValueOrDefault(this.DisplayDateInternal); }
set { _currentDate = value; }
}
internal DateTime? HoverStart
{
get
{
return this.SelectionMode == CalendarSelectionMode.None ? null : _hoverStart;
}
set
{
_hoverStart = value;
}
}
internal DateTime? HoverEnd
{
get
{
return this.SelectionMode == CalendarSelectionMode.None ? null : _hoverEnd;
}
set
{
_hoverEnd = value;
}
}
internal CalendarItem MonthControl
{
get { return _monthControl; }
}
internal DateTime DisplayMonth
{
get
{
return DateTimeHelper.DiscardDayTime(DisplayDate);
}
}
internal DateTime DisplayYear
{
get
{
return new DateTime(DisplayDate.Year, 1, 1);
}
}
#endregion Internal Properties
#region Private Properties
private bool IsRightToLeft
{
get
{
return FlowDirection == FlowDirection.RightToLeft;
}
}
#endregion Private Properties
#region Public Methods
/// <summary>
/// Invoked whenever application code or an internal process,
/// such as a rebuilding layout pass, calls the ApplyTemplate method.
/// </summary>
public override void OnApplyTemplate()
{
if (_monthControl != null)
{
_monthControl.Owner = null;
}
base.OnApplyTemplate();
_monthControl = GetTemplateChild(ElementMonth) as CalendarItem;
if (_monthControl != null)
{
_monthControl.Owner = this;
}
this.CurrentDate = this.DisplayDate;
UpdateCellItems();
}
/// <summary>
/// Provides a text representation of the selected date.
/// </summary>
/// <returns>A text representation of the selected date, or an empty string if SelectedDate is a null reference.</returns>
public override string ToString()
{
if (this.SelectedDate != null)
{
return this.SelectedDate.Value.ToString(DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this)));
}
else
{
return string.Empty;
}
}
#endregion Public Methods
#region Protected Methods
protected virtual void OnSelectedDatesChanged(SelectionChangedEventArgs e)
{
RaiseEvent(e);
}
protected virtual void OnDisplayDateChanged(CalendarDateChangedEventArgs e)
{
EventHandler<CalendarDateChangedEventArgs> handler = this.DisplayDateChanged;
if (handler != null)
{
handler(this, e);
}
}
protected virtual void OnDisplayModeChanged(CalendarModeChangedEventArgs e)
{
EventHandler<CalendarModeChangedEventArgs> handler = this.DisplayModeChanged;
if (handler != null)
{
handler(this, e);
}
}
protected virtual void OnSelectionModeChanged(EventArgs e)
{
EventHandler<EventArgs> handler = this.SelectionModeChanged;
if (handler != null)
{
handler(this, e);
}
}
/// <summary>
/// Creates the automation peer for this Calendar Control.
/// </summary>
/// <returns></returns>
protected override AutomationPeer OnCreateAutomationPeer()
{
return new CalendarAutomationPeer(this);
}
protected override void OnKeyDown(KeyEventArgs e)
{
if (!e.Handled)
{
e.Handled = ProcessCalendarKey(e);
}
}
protected override void OnKeyUp(KeyEventArgs e)
{
if (!e.Handled)
{
if (e.Key == Key.LeftShift || e.Key == Key.RightShift)
{
ProcessShiftKeyUp();
}
}
}
#endregion Protected Methods
#region Internal Methods
internal CalendarDayButton FindDayButtonFromDay(DateTime day)
{
if (this.MonthControl != null)
{
foreach (CalendarDayButton b in this.MonthControl.GetCalendarDayButtons())
{
if (b.DataContext is DateTime)
{
if (DateTimeHelper.CompareDays((DateTime)b.DataContext, day) == 0)
{
return b;
}
}
}
}
return null;
}
internal static bool IsValidDateSelection(Calendar cal, object value)
{
return (value == null) || (!cal.BlackoutDates.Contains((DateTime)value));
}
internal void OnDayButtonMouseUp(MouseButtonEventArgs e)
{
MouseButtonEventHandler handler = this.DayButtonMouseUp;
if (null != handler)
{
handler(this, e);
}
}
internal void OnDayOrMonthPreviewKeyDown(RoutedEventArgs e)
{
RoutedEventHandler handler = this.DayOrMonthPreviewKeyDown;
if (null != handler)
{
handler(this, e);
}
}
// If the day is a trailing day, Update the DisplayDate
internal void OnDayClick(DateTime selectedDate)
{
if (this.SelectionMode == CalendarSelectionMode.None)
{
this.CurrentDate = selectedDate;
}
if (DateTimeHelper.CompareYearMonth(selectedDate, this.DisplayDateInternal) != 0)
{
MoveDisplayTo(selectedDate);
}
else
{
UpdateCellItems();
FocusDate(selectedDate);
}
}
internal void OnCalendarButtonPressed(CalendarButton b, bool switchDisplayMode)
{
if (b.DataContext is DateTime)
{
DateTime d = (DateTime)b.DataContext;
DateTime? newDate = null;
CalendarMode newMode = CalendarMode.Month;
switch (this.DisplayMode)
{
case CalendarMode.Month:
{
Debug.Assert(false);
break;
}
case CalendarMode.Year:
{
newDate = DateTimeHelper.SetYearMonth(this.DisplayDate, d);
newMode = CalendarMode.Month;
break;
}
case CalendarMode.Decade:
{
newDate = DateTimeHelper.SetYear(this.DisplayDate, d.Year);
newMode = CalendarMode.Year;
break;
}
default:
Debug.Assert(false);
break;
}
if (newDate.HasValue)
{
this.DisplayDate = newDate.Value;
if (switchDisplayMode)
{
this.DisplayMode = newMode;
FocusDate(this.DisplayMode == CalendarMode.Month ? this.CurrentDate : this.DisplayDate);
}
}
}
}
private DateTime? GetDateOffset(DateTime date, int offset, CalendarMode displayMode)
{
DateTime? result = null;
switch (displayMode)
{
case CalendarMode.Month:
{
result = DateTimeHelper.AddMonths(date, offset);
break;
}
case CalendarMode.Year:
{
result = DateTimeHelper.AddYears(date, offset);
break;
}
case CalendarMode.Decade:
{
result = DateTimeHelper.AddYears(this.DisplayDate, offset * YEARS_PER_DECADE);
break;
}
default:
Debug.Assert(false);
break;
}
return result;
}
private void MoveDisplayTo(DateTime? date)
{
if (date.HasValue)
{
DateTime d = date.Value.Date;
switch (this.DisplayMode)
{
case CalendarMode.Month:
{
this.DisplayDate = DateTimeHelper.DiscardDayTime(d);
this.CurrentDate = d;
UpdateCellItems();
break;
}
case CalendarMode.Year:
case CalendarMode.Decade:
{
this.DisplayDate = d;
UpdateCellItems();
break;
}
default:
Debug.Assert(false);
break;
}
FocusDate(d);
}
}
internal void OnNextClick()
{
DateTime? nextDate = GetDateOffset(this.DisplayDate, 1, this.DisplayMode);
if (nextDate.HasValue)
{
MoveDisplayTo(DateTimeHelper.DiscardDayTime(nextDate.Value));
}
}
internal void OnPreviousClick()
{
DateTime? nextDate = GetDateOffset(this.DisplayDate, -1, this.DisplayMode);
if (nextDate.HasValue)
{
MoveDisplayTo(DateTimeHelper.DiscardDayTime(nextDate.Value));
}
}
internal void OnSelectedDatesCollectionChanged(SelectionChangedEventArgs e)
{
if (IsSelectionChanged(e))
{
if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) ||
AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) ||
AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
{
CalendarAutomationPeer peer = FrameworkElementAutomationPeer.FromElement(this) as CalendarAutomationPeer;
if (peer != null)
{
peer.RaiseSelectionEvents(e);
}
}
CoerceFromSelection();
OnSelectedDatesChanged(e);
}
}
internal void UpdateCellItems()
{
CalendarItem monthControl = this.MonthControl;
if (monthControl != null)
{
switch (this.DisplayMode)
{
case CalendarMode.Month:
{
monthControl.UpdateMonthMode();
break;
}
case CalendarMode.Year:
{
monthControl.UpdateYearMode();
break;
}
case CalendarMode.Decade:
{
monthControl.UpdateDecadeMode();
break;
}
default:
Debug.Assert(false);
break;
}
}
}
#endregion Internal Methods
#region Private Methods
private void CoerceFromSelection()
{
CoerceValue(DisplayDateStartProperty);
CoerceValue(DisplayDateEndProperty);
CoerceValue(DisplayDateProperty);
}
// This method adds the days that were selected by Keyboard to the SelectedDays Collection
private void AddKeyboardSelection()
{
if (this.HoverStart != null)
{
this.SelectedDates.ClearInternal();
// In keyboard selection, we are sure that the collection does not include any blackout days
this.SelectedDates.AddRange(this.HoverStart.Value, this.CurrentDate);
}
}
private static bool IsSelectionChanged(SelectionChangedEventArgs e)
{
if (e.AddedItems.Count != e.RemovedItems.Count)
{
return true;
}
foreach (DateTime addedDate in e.AddedItems)
{
if (!e.RemovedItems.Contains(addedDate))
{
return true;
}
}
return false;
}
private static bool IsValidDisplayMode(object value)
{
CalendarMode mode = (CalendarMode)value;
return mode == CalendarMode.Month
|| mode == CalendarMode.Year
|| mode == CalendarMode.Decade;
}
internal static bool IsValidFirstDayOfWeek(object value)
{
DayOfWeek day = (DayOfWeek)value;
return day == DayOfWeek.Sunday
|| day == DayOfWeek.Monday
|| day == DayOfWeek.Tuesday
|| day == DayOfWeek.Wednesday
|| day == DayOfWeek.Thursday
|| day == DayOfWeek.Friday
|| day == DayOfWeek.Saturday;
}
private static bool IsValidKeyboardSelection(Calendar cal, object value)
{
if (value == null)
{
return true;
}
else
{
if (cal.BlackoutDates.Contains((DateTime)value))
{
return false;
}
else
{
return DateTime.Compare((DateTime)value, cal.DisplayDateStartInternal) >= 0 && DateTime.Compare((DateTime)value, cal.DisplayDateEndInternal) <= 0;
}
}
}
private static bool IsValidSelectionMode(object value)
{
CalendarSelectionMode mode = (CalendarSelectionMode)value;
return mode == CalendarSelectionMode.SingleDate
|| mode == CalendarSelectionMode.SingleRange
|| mode == CalendarSelectionMode.MultipleRange
|| mode == CalendarSelectionMode.None;
}
private void OnSelectedMonthChanged(DateTime? selectedMonth)
{
if (selectedMonth.HasValue)
{
Debug.Assert(this.DisplayMode == CalendarMode.Year);
this.DisplayDate = selectedMonth.Value;
UpdateCellItems();
FocusDate(selectedMonth.Value);
}
}
private void OnSelectedYearChanged(DateTime? selectedYear)
{
if (selectedYear.HasValue)
{
Debug.Assert(this.DisplayMode == CalendarMode.Decade);
this.DisplayDate = selectedYear.Value;
UpdateCellItems();
FocusDate(selectedYear.Value);
}
}
internal void FocusDate(DateTime date)
{
if (MonthControl != null)
{
MonthControl.FocusDate(date);
}
}
/// <summary>
/// Called when this element gets focus.
/// </summary>
private static void OnGotFocus(object sender, RoutedEventArgs e)
{
// When Calendar gets focus move it to the DisplayDate
var c = (Calendar)sender;
if (!e.Handled && e.OriginalSource == c)
{
// This check is for the case where the DisplayDate is the first of the month
// and the SelectedDate is in the middle of the month. If you tab into the Calendar
// the focus should go to the SelectedDate, not the DisplayDate.
if (c.SelectedDate.HasValue && DateTimeHelper.CompareYearMonth(c.SelectedDate.Value, c.DisplayDateInternal) == 0)
{
c.FocusDate(c.SelectedDate.Value);
}
else
{
c.FocusDate(c.DisplayDate);
}
e.Handled = true;
}
}
private bool ProcessCalendarKey(KeyEventArgs e)
{
if (this.DisplayMode == CalendarMode.Month)
{
// If a blackout day is inactive, when clicked on it, the previous inactive day which is not a blackout day can get the focus.
// In this case we should allow keyboard functions on that inactive day
CalendarDayButton currentDayButton = (MonthControl != null) ? MonthControl.GetCalendarDayButton(this.CurrentDate) : null;
if (DateTimeHelper.CompareYearMonth(this.CurrentDate, this.DisplayDateInternal) != 0 && currentDayButton != null && !currentDayButton.IsInactive)
{
return false;
}
}
bool ctrl, shift;
KeyboardHelper.GetMetaKeyState(out ctrl, out shift);
switch (e.Key)
{
case Key.Up:
{
ProcessUpKey(ctrl, shift);
return true;
}
case Key.Down:
{
ProcessDownKey(ctrl, shift);
return true;
}
case Key.Left:
{
ProcessLeftKey(shift);
return true;
}
case Key.Right:
{
ProcessRightKey(shift);
return true;
}
case Key.PageDown:
{
ProcessPageDownKey(shift);
return true;
}
case Key.PageUp:
{
ProcessPageUpKey(shift);
return true;
}
case Key.Home:
{
ProcessHomeKey(shift);
return true;
}
case Key.End:
{
ProcessEndKey(shift);
return true;
}
case Key.Enter:
case Key.Space:
{
return ProcessEnterKey();
}
}
return false;
}
private void ProcessDownKey(bool ctrl, bool shift)
{
switch (this.DisplayMode)
{
case CalendarMode.Month:
{
if (!ctrl || shift)
{
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.CurrentDate, COLS), 1);
ProcessSelection(shift, selectedDate);
}
break;
}
case CalendarMode.Year:
{
if (ctrl)
{
this.DisplayMode = CalendarMode.Month;
FocusDate(this.DisplayDate);
}
else
{
DateTime? selectedMonth = DateTimeHelper.AddMonths(this.DisplayDate, YEAR_COLS);
OnSelectedMonthChanged(selectedMonth);
}
break;
}
case CalendarMode.Decade:
{
if (ctrl)
{
this.DisplayMode = CalendarMode.Year;
FocusDate(this.DisplayDate);
}
else
{
DateTime? selectedYear = DateTimeHelper.AddYears(this.DisplayDate, YEAR_COLS);
OnSelectedYearChanged(selectedYear);
}
break;
}
}
}
private void ProcessEndKey(bool shift)
{
switch (this.DisplayMode)
{
case CalendarMode.Month:
{
if (this.DisplayDate != null)
{
DateTime? selectedDate = new DateTime(this.DisplayDateInternal.Year, this.DisplayDateInternal.Month, 1);
if (DateTimeHelper.CompareYearMonth(DateTime.MaxValue, selectedDate.Value) > 0)
{
// since DisplayDate is not equal to DateTime.MaxValue we are sure selectedDate is not null
selectedDate = DateTimeHelper.AddMonths(selectedDate.Value, 1).Value;
selectedDate = DateTimeHelper.AddDays(selectedDate.Value, -1).Value;
}
else
{
selectedDate = DateTime.MaxValue;
}
ProcessSelection(shift, selectedDate);
}
break;
}
case CalendarMode.Year:
{
DateTime selectedMonth = new DateTime(this.DisplayDate.Year, 12, 1);
OnSelectedMonthChanged(selectedMonth);
break;
}
case CalendarMode.Decade:
{
DateTime? selectedYear = new DateTime(DateTimeHelper.EndOfDecade(this.DisplayDate), 1, 1);
OnSelectedYearChanged(selectedYear);
break;
}
}
}
private bool ProcessEnterKey()
{
switch (this.DisplayMode)
{
case CalendarMode.Year:
{
this.DisplayMode = CalendarMode.Month;
FocusDate(this.DisplayDate);
return true;
}
case CalendarMode.Decade:
{
this.DisplayMode = CalendarMode.Year;
FocusDate(this.DisplayDate);
return true;
}
}
return false;
}
private void ProcessHomeKey(bool shift)
{
switch (this.DisplayMode)
{
case CalendarMode.Month:
{
// TODO: Not all types of calendars start with Day1. If Non-Gregorian is supported check this:
DateTime? selectedDate = new DateTime(this.DisplayDateInternal.Year, this.DisplayDateInternal.Month, 1);
ProcessSelection(shift, selectedDate);
break;
}
case CalendarMode.Year:
{
DateTime selectedMonth = new DateTime(this.DisplayDate.Year, 1, 1);
OnSelectedMonthChanged(selectedMonth);
break;
}
case CalendarMode.Decade:
{
DateTime? selectedYear = new DateTime(DateTimeHelper.DecadeOfDate(this.DisplayDate), 1, 1);
OnSelectedYearChanged(selectedYear);
break;
}
}
}
private void ProcessLeftKey(bool shift)
{
int moveAmmount = (!this.IsRightToLeft) ? -1 : 1;
switch (this.DisplayMode)
{
case CalendarMode.Month:
{
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.CurrentDate, moveAmmount), moveAmmount);
ProcessSelection(shift, selectedDate);
break;
}
case CalendarMode.Year:
{
DateTime? selectedMonth = DateTimeHelper.AddMonths(this.DisplayDate, moveAmmount);
OnSelectedMonthChanged(selectedMonth);
break;
}
case CalendarMode.Decade:
{
DateTime? selectedYear = DateTimeHelper.AddYears(this.DisplayDate, moveAmmount);
OnSelectedYearChanged(selectedYear);
break;
}
}
}
private void ProcessPageDownKey(bool shift)
{
switch (this.DisplayMode)
{
case CalendarMode.Month:
{
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddMonths(this.CurrentDate, 1), 1);
ProcessSelection(shift, selectedDate);
break;
}
case CalendarMode.Year:
{
DateTime? selectedMonth = DateTimeHelper.AddYears(this.DisplayDate, 1);
OnSelectedMonthChanged(selectedMonth);
break;
}
case CalendarMode.Decade:
{
DateTime? selectedYear = DateTimeHelper.AddYears(this.DisplayDate, 10);
OnSelectedYearChanged(selectedYear);
break;
}
}
}
private void ProcessPageUpKey(bool shift)
{
switch (this.DisplayMode)
{
case CalendarMode.Month:
{
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddMonths(this.CurrentDate, -1), -1);
ProcessSelection(shift, selectedDate);
break;
}
case CalendarMode.Year:
{
DateTime? selectedMonth = DateTimeHelper.AddYears(this.DisplayDate, -1);
OnSelectedMonthChanged(selectedMonth);
break;
}
case CalendarMode.Decade:
{
DateTime? selectedYear = DateTimeHelper.AddYears(this.DisplayDate, -10);
OnSelectedYearChanged(selectedYear);
break;
}
}
}
private void ProcessRightKey(bool shift)
{
int moveAmmount = (!this.IsRightToLeft) ? 1 : -1;
switch (this.DisplayMode)
{
case CalendarMode.Month:
{
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.CurrentDate, moveAmmount), moveAmmount);
ProcessSelection(shift, selectedDate);
break;
}
case CalendarMode.Year:
{
DateTime? selectedMonth = DateTimeHelper.AddMonths(this.DisplayDate, moveAmmount);
OnSelectedMonthChanged(selectedMonth);
break;
}
case CalendarMode.Decade:
{
DateTime? selectedYear = DateTimeHelper.AddYears(this.DisplayDate, moveAmmount);
OnSelectedYearChanged(selectedYear);
break;
}
}
}
private void ProcessSelection(bool shift, DateTime? lastSelectedDate)
{
if (this.SelectionMode == CalendarSelectionMode.None && lastSelectedDate != null)
{
OnDayClick(lastSelectedDate.Value);
return;
}
if (lastSelectedDate != null && IsValidKeyboardSelection(this, lastSelectedDate.Value))
{
if (this.SelectionMode == CalendarSelectionMode.SingleRange || this.SelectionMode == CalendarSelectionMode.MultipleRange)
{
this.SelectedDates.ClearInternal();
if (shift)
{
this._isShiftPressed = true;
if (!this.HoverStart.HasValue)
{
this.HoverStart = this.HoverEnd = this.CurrentDate;
}
// If we hit a BlackOutDay with keyboard we do not update the HoverEnd
CalendarDateRange range;
if (DateTime.Compare(this.HoverStart.Value, lastSelectedDate.Value) < 0)
{
range = new CalendarDateRange(this.HoverStart.Value, lastSelectedDate.Value);
}
else
{
range = new CalendarDateRange(lastSelectedDate.Value, this.HoverStart.Value);
}
if (!this.BlackoutDates.ContainsAny(range))
{
this._currentDate = lastSelectedDate;
this.HoverEnd = lastSelectedDate;
}
OnDayClick(this.CurrentDate);
}
else
{
this.HoverStart = this.HoverEnd = this.CurrentDate = lastSelectedDate.Value;
AddKeyboardSelection();
OnDayClick(lastSelectedDate.Value);
}
}
else
{
// ON CLEAR
this.CurrentDate = lastSelectedDate.Value;
this.HoverStart = this.HoverEnd = null;
if (this.SelectedDates.Count > 0)
{
this.SelectedDates[0] = lastSelectedDate.Value;
}
else
{
this.SelectedDates.Add(lastSelectedDate.Value);
}
OnDayClick(lastSelectedDate.Value);
}
UpdateCellItems();
}
}
private void ProcessShiftKeyUp()
{
if (this._isShiftPressed && (this.SelectionMode == CalendarSelectionMode.SingleRange || this.SelectionMode == CalendarSelectionMode.MultipleRange))
{
AddKeyboardSelection();
this._isShiftPressed = false;
this.HoverStart = this.HoverEnd = null;
}
}
private void ProcessUpKey(bool ctrl, bool shift)
{
switch (this.DisplayMode)
{
case CalendarMode.Month:
{
if (ctrl)
{
this.DisplayMode = CalendarMode.Year;
FocusDate(this.DisplayDate);
}
else
{
DateTime? selectedDate = this._blackoutDates.GetNonBlackoutDate(DateTimeHelper.AddDays(this.CurrentDate, -COLS), -1);
ProcessSelection(shift, selectedDate);
}
break;
}
case CalendarMode.Year:
{
if (ctrl)
{
this.DisplayMode = CalendarMode.Decade;
FocusDate(this.DisplayDate);
}
else
{
DateTime? selectedMonth = DateTimeHelper.AddMonths(this.DisplayDate, -YEAR_COLS);
OnSelectedMonthChanged(selectedMonth);
}
break;
}
case CalendarMode.Decade:
{
if (!ctrl)
{
DateTime? selectedYear = DateTimeHelper.AddYears(this.DisplayDate, -YEAR_COLS);
OnSelectedYearChanged(selectedYear);
}
break;
}
}
}
#endregion Private Methods
}
}
================================================
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarBlackoutDatesCollection.cs
================================================
//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Threading;
namespace Microsoft.Windows.Controls
{
/// <summary>
/// Represents a collection of DateTimeRanges.
/// </summary>
public sealed class CalendarBlackoutDatesCollection : ObservableCollection<CalendarDateRange>
{
#region Data
private Thread _dispatcherThread;
private Calendar _owner;
#endregion Data
/// <summary>
/// Initializes a new instance of the CalendarBlackoutDatesCollection class.
/// </summary>
/// <param name="owner"></param>
public CalendarBlackoutDatesCollection(Calendar owner)
{
_owner = owner;
this._dispatcherThread = Thread.CurrentThread;
}
#region Public Methods
/// <summary>
/// Dates that are in the past are added to the BlackoutDates.
/// </summary>
public void AddDatesInPast()
{
this.Add(new CalendarDateRange(DateTime.MinValue, DateTime.Today.AddDays(-1)));
}
/// <summary>
/// Checks if a DateTime is in the Collection
/// </summary>
/// <param name="date"></param>
/// <returns></returns>
public bool Contains(DateTime date)
{
return null != GetContainingDateRange(date);
}
/// <summary>
/// Checks if a Range is in the collection
/// </summary>
/// <param name="start"></param>
/// <param name="end"></param>
/// <returns></returns>
public bool Contains(DateTime start, DateTime end)
{
DateTime rangeStart, rangeEnd;
int n = Count;
if (DateTime.Compare(end, start) > -1)
{
rangeStart = DateTimeHelper.DiscardTime(start).Value;
rangeEnd = DateTimeHelper.DiscardTime(end).Value;
}
else
{
rangeStart = DateTimeHelper.DiscardTime(end).Value;
rangeEnd = DateTimeHelper.DiscardTime(start).Value;
}
for (int i = 0; i < n; i++)
{
if (DateTime.Compare(this[i].Start, rangeStart) == 0 && DateTime.Compare(this[i].End, rangeEnd) == 0)
{
return true;
}
}
return false;
}
/// <summary>
/// Returns true if any day in the given DateTime range is contained in the BlackOutDays.
/// </summary>
/// <param name="range">CalendarDateRange that is searched in BlackOutDays</param>
/// <returns>true if at least one day in the range is included in the BlackOutDays</returns>
public bool ContainsAny(CalendarDateRange range)
{
foreach (CalendarDateRange item in this)
{
if (item.ContainsAny(range))
{
return true;
}
}
return false;
}
/// <summary>
/// This finds the next date that is not blacked out in a certian direction.
/// </summary>
/// <param name="requestedDate"></param>
/// <param name="dayInterval"></param>
/// <returns></returns>
internal DateTime? GetNonBlackoutDate(DateTime? requestedDate, int dayInterval)
{
Debug.Assert(dayInterval != 0);
DateTime? currentDate = requestedDate;
CalendarDateRange range = null;
if (requestedDate == null)
{
return null;
}
if ((range = GetContainingDateRange((DateTime)currentDate)) == null)
{
return requestedDate;
}
do
{
if (dayInterval > 0)
{
// Moving Forwards.
// The DateRanges require start <= end
currentDate = DateTimeHelper.AddDays(range.End, dayInterval);
}
else
{
//Moving backwards.
currentDate = DateTimeHelper.AddDays(range.Start, dayInterval);
}
} while (currentDate != null && ((range = GetContainingDateRange((DateTime)currentDate)) != null));
return currentDate;
}
#endregion Public Methods
#region Protected Methods
/// <summary>
/// All the items in the collection are removed.
/// </summary>
protected override void ClearItems()
{
if (!IsValidThread())
{
throw new NotSupportedException(SR.Get(SRID.CalendarCollection_MultiThreadedCollectionChangeNotSupported));
}
foreach (CalendarDateRange item in Items)
{
UnRegisterItem(item);
}
base.ClearItems();
this._owner.UpdateCellItems();
}
/// <summary>
/// The item is inserted in the specified place in the collection.
/// </summary>
/// <param name="index"></param>
/// <param name="item"></param>
protected override void InsertItem(int index, CalendarDateRange item)
{
if (!IsValidThread())
{
throw new NotSupportedException(SR.Get(SRID.CalendarCollection_MultiThreadedCollectionChangeNotSupported));
}
if (IsValid(item))
{
RegisterItem(item);
base.InsertItem(index, item);
_owner.UpdateCellItems();
}
else
{
throw new ArgumentOutOfRangeException(SR.Get(SRID.Calendar_UnSelectableDates));
}
}
/// <summary>
/// The item in the specified index is removed from the collection.
/// </summary>
/// <param name="index"></param>
protected override void RemoveItem(int index)
{
if (!IsValidThread())
{
throw new NotSupportedException(SR.Get(SRID.CalendarCollection_MultiThreadedCollectionChangeNotSupported));
}
if (index >= 0 && index < this.Count)
{
UnRegisterItem(Items[index]);
}
base.RemoveItem(index);
_owner.UpdateCellItems();
}
/// <summary>
/// The object in the specified index is replaced with the provided item.
/// </summary>
/// <param name="index"></param>
/// <param name="item"></param>
protected override void SetItem(int index, CalendarDateRange item)
{
if (!IsValidThread())
{
throw new NotSupportedException(SR.Get(SRID.CalendarCollection_MultiThreadedCollectionChangeNotSupported));
}
if (IsValid(item))
{
CalendarDateRange oldItem = null;
if (index >= 0 && index < this.Count)
{
oldItem = Items[index];
}
base.SetItem(index, item);
UnRegisterItem(oldItem);
RegisterItem(Items[index]);
_owner.UpdateCellItems();
}
else
{
throw new ArgumentOutOfRangeException(SR.Get(SRID.Calendar_UnSelectableDates));
}
}
#endregion Protected Methods
#region Private Methods
/// <summary>
/// Registers for change notification on date ranges
/// </summary>
/// <param name="item"></param>
private void RegisterItem(CalendarDateRange item)
{
if (item != null)
{
item.Changing += new EventHandler<CalendarDateRangeChangingEventArgs>(Item_Changing);
item.PropertyChanged += new PropertyChangedEventHandler(Item_PropertyChanged);
}
}
/// <summary>
/// Un registers for change notification on date ranges
/// </summary>
private void UnRegisterItem(CalendarDateRange item)
{
if (item != null)
{
item.Changing -= new EventHandler<CalendarDateRangeChangingEventArgs>(Item_Changing);
item.PropertyChanged -= new PropertyChangedEventHandler(Item_PropertyChanged);
}
}
/// <summary>
/// Reject date range changes that would make the blackout dates collection invalid
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void Item_Changing(object sender, CalendarDateRangeChangingEventArgs e)
{
CalendarDateRange item = sender as CalendarDateRange;
if (item != null)
{
if (!IsValid(e.Start, e.End))
{
throw new ArgumentOutOfRangeException(SR.Get(SRID.Calendar_UnSelectableDates));
}
}
}
/// <summary>
/// Update the calendar view to reflect the new blackout dates
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void Item_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
if (sender is CalendarDateRange)
{
_owner.UpdateCellItems();
}
}
/// <summary>
/// Tests to see if a date range is not already selected
/// </summary>
/// <param name="item">date range to test</param>
/// <returns>True if no selected day falls in the given date range</returns>
private bool IsValid(CalendarDateRange item)
{
return IsValid(item.Start, item.End);
}
/// <summary>
/// Tests to see if a date range is not already selected
/// </summary>
/// <param name="start">First day of date range to test</param>
/// <param name="end">Last day of date range to test</param>
/// <returns>True if no selected day falls between start and end</returns>
private bool IsValid(DateTime start, DateTime end)
{
foreach (object child in _owner.SelectedDates)
{
DateTime? day = child as DateTime?;
Debug.Assert(day != null);
if (DateTimeHelper.InRange(day.Value, start, end))
{
return false;
}
}
return true;
}
private bool IsValidThread()
{
return Thread.CurrentThread == this._dispatcherThread;
}
/// <summary>
/// Gets the DateRange that contains the date.
/// </summary>
/// <param name="date"></param>
/// <returns></returns>
private CalendarDateRange GetContainingDateRange(DateTime date)
{
if (date == null)
return null;
for (int i = 0; i < Count; i++)
{
if (DateTimeHelper.InRange(date, this[i]))
{
return this[i];
}
}
return null;
}
#endregion Private Methods
}
}
================================================
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarButton.cs
================================================
//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System.Windows;
using System.Windows.Automation.Peers;
using System.Windows.Controls;
using System.Windows.Data;
using Microsoft.Windows.Automation.Peers;
namespace Microsoft.Windows.Controls.Primitives
{
/// <summary>
/// Represents a button control used in Calendar Control, which reacts to the Click event.
/// </summary>
[TemplateVisualState(Name = VisualStates.StateNormal, GroupName = VisualStates.GroupCommon)]
[TemplateVisualState(Name = VisualStates.StateMouseOver, GroupName = VisualStates.GroupCommon)]
[TemplateVisualState(Name = VisualStates.StatePressed, GroupName = VisualStates.GroupCommon)]
[TemplateVisualState(Name = VisualStates.StateDisabled, GroupName = VisualStates.GroupCommon)]
[TemplateVisualState(Name = VisualStates.StateUnselected, GroupName = VisualStates.GroupSelection)]
[TemplateVisualState(Name = VisualStates.StateSelected, GroupName = VisualStates.GroupSelection)]
[TemplateVisualState(Name = VisualStates.StateCalendarButtonUnfocused, GroupName = VisualStates.GroupCalendarButtonFocus)]
[TemplateVisualState(Name = VisualStates.StateCalendarButtonFocused, GroupName = VisualStates.GroupCalendarButtonFocus)]
[TemplateVisualState(Name = VisualStates.StateInactive, GroupName = VisualStates.GroupActive)]
[TemplateVisualState(Name = VisualStates.StateActive, GroupName = VisualStates.GroupActive)]
public sealed class CalendarButton : Button
{
#region Data
private bool _shouldCoerceContent;
private object _coercedContent;
#endregion Data
/// <summary>
/// Static constructor
/// </summary>
static CalendarButton()
{
DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarButton), new FrameworkPropertyMetadata(typeof(CalendarButton)));
ContentProperty.OverrideMetadata(typeof(CalendarButton), new FrameworkPropertyMetadata(null, OnCoerceContent));
}
/// <summary>
/// Represents the CalendarButton that is used in Calendar Control.
/// </summary>
public CalendarButton()
: base()
{
// Attach the necessary events to their virtual counterparts
Loaded += delegate { ChangeVisualState(false); };
}
#region Public Properties
#region HasSelectedDays
internal static readonly DependencyPropertyKey HasSelectedDaysPropertyKey = DependencyProperty.RegisterReadOnly(
"HasSelectedDays",
typeof(bool),
typeof(CalendarButton),
new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged)));
/// <summary>
/// Dependency property field for HasSelectedDays property
/// </summary>
public static readonly DependencyProperty HasSelectedDaysProperty = HasSelectedDaysPropertyKey.DependencyProperty;
/// <summary>
/// True if the CalendarButton represents a date range containing the display date
/// </summary>
public bool HasSelectedDays
{
get { return (bool)GetValue(HasSelectedDaysProperty); }
internal set { SetValue(HasSelectedDaysPropertyKey, value); }
}
#endregion HasSelectedDays
#region IsInactive
internal static readonly DependencyPropertyKey IsInactivePropertyKey = DependencyProperty.RegisterReadOnly(
"IsInactive",
typeof(bool),
typeof(CalendarButton),
new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged)));
/// <summary>
/// Dependency property field for IsInactive property
/// </summary>
public static readonly DependencyProperty IsInactiveProperty = IsInactivePropertyKey.DependencyProperty;
/// <summary>
/// True if the CalendarButton represents
/// a month that falls outside the current year
/// or
/// a year that falls outside the current decade
/// </summary>
public bool IsInactive
{
get { return (bool)GetValue(IsInactiveProperty); }
internal set { SetValue(IsInactivePropertyKey, value); }
}
#endregion IsInactive
#endregion Public Properties
#region Internal Properties
internal Microsoft.Windows.Controls.Calendar Owner
{
get;
set;
}
#endregion Internal Properties
#region Public Methods
/// <summary>
/// Apply a template to the button.
/// </summary>
public override void OnApplyTemplate()
{
base.OnApplyTemplate();
// Sync the logical and visual states of the control
ChangeVisualState(false);
}
#endregion Public Methods
#region Protected Methods
/// <summary>
/// Creates the automation peer for the DayButton.
/// </summary>
/// <returns></returns>
protected override AutomationPeer OnCreateAutomationPeer()
{
return new CalendarButtonAutomationPeer(this);
}
protected override void OnGotKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs e)
{
ChangeVisualState(true);
base.OnGotKeyboardFocus(e);
}
protected override void OnLostKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs e)
{
ChangeVisualState(true);
base.OnLostKeyboardFocus(e);
}
#endregion Protected Methods
#region Internal Methods
internal void SetContentInternal(string value)
{
if (BindingOperations.GetBindingExpressionBase(this, ContentControl.ContentProperty) != null)
{
Content = value;
}
else
{
this._shouldCoerceContent = true;
this._coercedContent = value;
this.CoerceValue(ContentControl.ContentProperty);
}
}
#endregion
#region Private Methods
/// <summary>
/// Change to the correct visual state for the button.
/// </summary>
/// <param name="useTransitions">
/// true to use transitions when updating the visual state, false to
/// snap directly to the new visual state.
/// </param>
private void ChangeVisualState(bool useTransitions)
{
// Update the SelectionStates group
if (HasSelectedDays)
{
VisualStates.GoToState(this, useTransitions, VisualStates.StateSelected, VisualStates.StateUnselected);
}
else
{
VisualStates.GoToState(this, useTransitions, VisualStates.StateUnselected);
}
// Update the ActiveStates group
if (IsInactive)
{
VisualStates.GoToState(this, useTransitions, VisualStates.StateInactive);
}
else
{
VisualStates.GoToState(this, useTransitions, VisualStates.StateActive, VisualStates.StateInactive);
}
// Update the FocusStates group
if (IsKeyboardFocused)
{
VisualStates.GoToState(this, useTransitions, VisualStates.StateCalendarButtonFocused, VisualStates.StateCalendarButtonUnfocused);
}
else
{
VisualStateManager.GoToState(this, VisualStates.StateCalendarButtonUnfocused, useTransitions);
}
}
/// <summary>
/// Common PropertyChangedCallback for dependency properties that trigger visual state changes
/// </summary>
/// <param name="dObject"></param>
/// <param name="e"></param>
private static void OnVisualStatePropertyChanged(DependencyObject dObject, DependencyPropertyChangedEventArgs e)
{
CalendarButton button = dObject as CalendarButton;
if (button != null && !object.Equals(e.OldValue, e.NewValue))
{
button.ChangeVisualState(true);
}
}
private static object OnCoerceContent(DependencyObject sender, object baseValue)
{
CalendarButton button = (CalendarButton)sender;
if (button._shouldCoerceContent)
{
button._shouldCoerceContent = false;
return button._coercedContent;
}
return baseValue;
}
#endregion Private Methods
}
}
================================================
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarDateChangedEventArgs.cs
================================================
//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System;
namespace Microsoft.Windows.Controls
{
/// <summary>
/// Provides data for the DateSelected and DisplayDateChanged events.
/// </summary>
public class CalendarDateChangedEventArgs : System.Windows.RoutedEventArgs
{
internal CalendarDateChangedEventArgs(DateTime? removedDate, DateTime? addedDate)
{
this.RemovedDate = removedDate;
this.AddedDate = addedDate;
}
/// <summary>
/// Gets the date to be newly displayed.
/// </summary>
public DateTime? AddedDate
{
get;
private set;
}
/// <summary>
/// Gets the date that was previously displayed.
/// </summary>
public DateTime? RemovedDate
{
get;
private set;
}
}
}
================================================
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarDateRange.cs
================================================
//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System;
using System.ComponentModel;
namespace Microsoft.Windows.Controls
{
/// <summary>
/// Specifies a DateTime range class which has a start and end.
/// </summary>
public sealed class CalendarDateRange : INotifyPropertyChanged
{
#region Data
private DateTime _end;
private DateTime _start;
#endregion Data
/// <summary>
/// Initializes a new instance of the CalendarDateRange class.
/// </summary>
public CalendarDateRange() :
this(DateTime.MinValue, DateTime.MaxValue)
{
}
/// <summary>
/// Initializes a new instance of the CalendarDateRange class which creates a range from a single DateTime value.
/// </summary>
/// <param name="day"></param>
public CalendarDateRange(DateTime day) :
this(day, day)
{
}
/// <summary>
/// Initializes a new instance of the CalendarDateRange class which accepts range start and end dates.
/// </summary>
/// <param name="start"></param>
/// <param name="end"></param>
public CalendarDateRange(DateTime start, DateTime end)
{
_start = start;
_end = end;
}
#region Public Events
public event PropertyChangedEventHandler PropertyChanged;
#endregion
#region Public Properties
/// <summary>
/// Specifies the End date of the CalendarDateRange.
/// </summary>
public DateTime End
{
get
{
return CoerceEnd(_start, _end);
}
set
{
DateTime newEnd = CoerceEnd(_start, value);
if (newEnd != End)
{
OnChanging(new CalendarDateRangeChangingEventArgs(_start, newEnd));
_end = value;
OnPropertyChanged(new PropertyChangedEventArgs("End"));
}
}
}
/// <summary>
/// Specifies the Start date of the CalendarDateRange.
/// </summary>
public DateTime Start
{
get
{
return _start;
}
set
{
if (_start != value)
{
DateTime oldEnd = End;
DateTime newEnd = CoerceEnd(value, _end);
OnChanging(new CalendarDateRangeChangingEventArgs(value, newEnd));
_start = value;
OnPropertyChanged(new PropertyChangedEventArgs("Start"));
if (newEnd != oldEnd)
{
OnPropertyChanged(new PropertyChangedEventArgs("End"));
}
}
}
}
#endregion Public Properties
#region Internal Events
internal event EventHandler<CalendarDateRangeChangingEventArgs> Changing;
#endregion Internal Events
#region Internal Methods
/// <summary>
/// Returns true if any day in the given DateTime range is contained in the current CalendarDateRange.
/// </summary>
/// <param name="range"></param>
/// <returns></returns>
internal bool ContainsAny(CalendarDateRange range)
{
return (range.End >= this.Start) && (this.End >= range.Start);
}
#endregion Internal Methods
#region Private Methods
private void OnChanging(CalendarDateRangeChangingEventArgs e)
{
EventHandler<CalendarDateRangeChangingEventArgs> handler = this.Changing;
if (handler != null)
{
handler(this, e);
}
}
private void OnPropertyChanged(PropertyChangedEventArgs e)
{
PropertyChangedEventHandler handler = this.PropertyChanged;
if (handler != null)
{
handler(this, e);
}
}
/// <summary>
/// Coerced the end parameter to satisfy the start <= end constraint
/// </summary>
/// <param name="start"></param>
/// <param name="end"></param>
/// <returns>If start <= end the end parameter otherwise the start parameter</returns>
private static DateTime CoerceEnd(DateTime start, DateTime end)
{
return (DateTime.Compare(start, end) <= 0) ? end : start;
}
#endregion Private Methods
}
}
================================================
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarDateRangeChangingEventArgs.cs
================================================
//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System;
namespace Microsoft.Windows.Controls
{
/// <summary>
/// Event arguments to notify clients that the range is changing and what the new range will be
/// </summary>
internal class CalendarDateRangeChangingEventArgs : EventArgs
{
public CalendarDateRangeChangingEventArgs(DateTime start, DateTime end)
{
_start = start;
_end = end;
}
public DateTime Start
{
get { return _start; }
}
public DateTime End
{
get { return _end; }
}
private DateTime _start;
private DateTime _end;
}
}
================================================
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarDayButton.cs
================================================
//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System.Windows;
using System.Windows.Automation.Peers;
using System.Windows.Controls;
using System.Windows.Data;
using Microsoft.Windows.Automation.Peers;
namespace Microsoft.Windows.Controls.Primitives
{
/// <summary>
/// Represents a button control used in Calendar Control, which reacts to the Click event.
/// </summary>
[TemplateVisualState(Name = VisualStates.StateNormal, GroupName = VisualStates.GroupCommon)]
[TemplateVisualState(Name = VisualStates.StateMouseOver, GroupName = VisualStates.GroupCommon)]
[TemplateVisualState(Name = VisualStates.StatePressed, GroupName = VisualStates.GroupCommon)]
[TemplateVisualState(Name = VisualStates.StateDisabled, GroupName = VisualStates.GroupCommon)]
[TemplateVisualState(Name = VisualStates.StateUnselected, GroupName = VisualStates.GroupSelection)]
[TemplateVisualState(Name = VisualStates.StateSelected, GroupName = VisualStates.GroupSelection)]
[TemplateVisualState(Name = VisualStates.StateCalendarButtonUnfocused, GroupName = VisualStates.GroupCalendarButtonFocus)]
[TemplateVisualState(Name = VisualStates.StateCalendarButtonFocused, GroupName = VisualStates.GroupCalendarButtonFocus)]
[TemplateVisualState(Name = VisualStates.StateInactive, GroupName = VisualStates.GroupActive)]
[TemplateVisualState(Name = VisualStates.StateActive, GroupName = VisualStates.GroupActive)]
[TemplateVisualState(Name = CalendarDayButton.StateRegularDay, GroupName = CalendarDayButton.GroupDay)]
[TemplateVisualState(Name = CalendarDayButton.StateToday, GroupName = CalendarDayButton.GroupDay)]
[TemplateVisualState(Name = CalendarDayButton.StateNormalDay, GroupName = CalendarDayButton.GroupBlackout)]
[TemplateVisualState(Name = CalendarDayButton.StateBlackoutDay, GroupName = CalendarDayButton.GroupBlackout)]
public sealed class CalendarDayButton : Button
{
#region Constants
/// <summary>
/// Default content for the CalendarDayButton
/// </summary>
private const int DEFAULTCONTENT = 1;
/// <summary>
/// Identifies the Today state.
/// </summary>
internal const string StateToday = "Today";
/// <summary>
/// Identifies the RegularDay state.
/// </summary>
internal const string StateRegularDay = "RegularDay";
/// <summary>
/// Name of the Day state group.
/// </summary>
internal const string GroupDay = "DayStates";
/// <summary>
/// Identifies the BlackoutDay state.
/// </summary>
internal const string StateBlackoutDay = "BlackoutDay";
/// <summary>
/// Identifies the NormalDay state.
/// </summary>
internal const string StateNormalDay = "NormalDay";
/// <summary>
/// Name of the BlackoutDay state group.
/// </summary>
internal const string GroupBlackout = "BlackoutDayStates";
#endregion Constants
#region Data
private bool _shouldCoerceContent;
private object _coercedContent;
#endregion Data
/// <summary>
/// Static constructor
/// </summary>
static CalendarDayButton()
{
DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarDayButton), new FrameworkPropertyMetadata(typeof(CalendarDayButton)));
ContentProperty.OverrideMetadata(typeof(CalendarDayButton), new FrameworkPropertyMetadata(null, OnCoerceContent));
}
/// <summary>
/// Represents the CalendarDayButton that is used in Calendar Control.
/// </summary>
public CalendarDayButton()
: base()
{
// Attach the necessary events to their virtual counterparts
Loaded += delegate { ChangeVisualState(false); };
}
#region Public Properties
#region IsToday
internal static readonly DependencyPropertyKey IsTodayPropertyKey = DependencyProperty.RegisterReadOnly(
"IsToday",
typeof(bool),
typeof(CalendarDayButton),
new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged)));
/// <summary>
/// Dependency property field for IsToday property
/// </summary>
public static readonly DependencyProperty IsTodayProperty = IsTodayPropertyKey.DependencyProperty;
/// <summary>
/// True if the CalendarDayButton represents today
/// </summary>
public bool IsToday
{
get { return (bool)GetValue(IsTodayProperty); }
}
#endregion IsToday
#region IsSelected
internal static readonly DependencyPropertyKey IsSelectedPropertyKey = DependencyProperty.RegisterReadOnly(
"IsSelected",
typeof(bool),
typeof(CalendarDayButton),
new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged)));
/// <summary>
/// Dependency property field for IsSelected property
/// </summary>
public static readonly DependencyProperty IsSelectedProperty = IsSelectedPropertyKey.DependencyProperty;
/// <summary>
/// True if the CalendarDayButton is selected
/// </summary>
public bool IsSelected
{
get { return (bool)GetValue(IsSelectedProperty); }
}
#endregion IsSelected
#region IsInactive
internal static readonly DependencyPropertyKey IsInactivePropertyKey = DependencyProperty.RegisterReadOnly(
"IsInactive",
typeof(bool),
typeof(CalendarDayButton),
new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged)));
/// <summary>
/// Dependency property field for IsActive property
/// </summary>
public static readonly DependencyProperty IsInactiveProperty = IsInactivePropertyKey.DependencyProperty;
/// <summary>
/// True if the CalendarDayButton represents a day that falls in the currently displayed month
/// </summary>
public bool IsInactive
{
get { return (bool)GetValue(IsInactiveProperty); }
}
#endregion IsInactive
#region IsBlackedOut
internal static readonly DependencyPropertyKey IsBlackedOutPropertyKey = DependencyProperty.RegisterReadOnly(
"IsBlackedOut",
typeof(bool),
typeof(CalendarDayButton),
new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged)));
/// <summary>
/// Dependency property field for IsBlackedOut property
/// </summary>
public static readonly DependencyProperty IsBlackedOutProperty = IsBlackedOutPropertyKey.DependencyProperty;
/// <summary>
/// True if the CalendarDayButton represents a blackout date
/// </summary>
public bool IsBlackedOut
{
get { return (bool)GetValue(IsBlackedOutProperty); }
}
#endregion IsBlackedOut
#region IsHighlighted
internal static readonly DependencyPropertyKey IsHighlightedPropertyKey = DependencyProperty.RegisterReadOnly(
"IsHighlighted",
typeof(bool),
typeof(CalendarDayButton),
new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged)));
/// <summary>
/// Dependency property field for IsHighlighted property
/// </summary>
public static readonly DependencyProperty IsHighlightedProperty = IsHighlightedPropertyKey.DependencyProperty;
/// <summary>
/// True if the CalendarDayButton represents a highlighted date
/// </summary>
public bool IsHighlighted
{
get { return (bool)GetValue(IsHighlightedProperty); }
}
#endregion IsHighlighted
#endregion Public Properties
#region Internal Properties
internal Microsoft.Windows.Controls.Calendar Owner
{
get;
set;
}
#endregion Internal Properties
#region Public Methods
/// <summary>
/// Apply a template to the button.
/// </summary>
public override void OnApplyTemplate()
{
base.OnApplyTemplate();
// Sync the logical and visual states of the control
ChangeVisualState(false);
}
#endregion Public Methods
#region Protected Methods
/// <summary>
/// Creates the automation peer for the CalendarDayButton.
/// </summary>
/// <returns></returns>
protected override AutomationPeer OnCreateAutomationPeer()
{
return new CalendarDayButtonAutomationPeer(this);
}
protected override void OnGotKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs e)
{
ChangeVisualState(true);
base.OnGotKeyboardFocus(e);
}
protected override void OnLostKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs e)
{
ChangeVisualState(true);
base.OnLostKeyboardFocus(e);
}
#endregion Protected Methods
#region Internal Methods
/// <summary>
/// Change to the correct visual state for the button.
/// </summary>
/// <param name="useTransitions">
/// true to use transitions when updating the visual state, false to
/// snap directly to the new visual state.
/// </param>
internal void ChangeVisualState(bool useTransitions)
{
if (this.IsEnabled)
{
VisualStates.GoToState(this, useTransitions, VisualStates.StateNormal);
}
else
{
VisualStates.GoToState(this, useTransitions, VisualStates.StateDisabled);
}
// Update the SelectionStates group
if (IsSelected || IsHighlighted)
{
VisualStates.GoToState(this, useTransitions, VisualStates.StateSelected, VisualStates.StateUnselected);
}
else
{
VisualStates.GoToState(this, useTransitions, VisualStates.StateUnselected);
}
// Update the ActiveStates group
if (!IsInactive)
{
VisualStates.GoToState(this, useTransitions, VisualStates.StateActive, VisualStates.StateInactive);
}
else
{
VisualStates.GoToState(this, useTransitions, VisualStates.StateInactive);
}
// Update the DayStates group
if (IsToday && this.Owner != null && this.Owner.IsTodayHighlighted)
{
VisualStates.GoToState(this, useTransitions, StateToday, StateRegularDay);
}
else
{
VisualStates.GoToState(this, useTransitions, StateRegularDay);
}
// Update the BlackoutDayStates group
if (IsBlackedOut)
{
VisualStates.GoToState(this, useTransitions, StateBlackoutDay, StateNormalDay);
}
else
{
VisualStates.GoToState(this, useTransitions, StateNormalDay);
}
// Update the FocusStates group
if (IsKeyboardFocused)
{
VisualStates.GoToState(this, useTransitions, VisualStates.StateCalendarButtonFocused, VisualStates.StateCalendarButtonUnfocused);
}
else
{
VisualStateManager.GoToState(this, VisualStates.StateCalendarButtonUnfocused, useTransitions);
}
}
internal void SetContentInternal(string value)
{
if (BindingOperations.GetBindingExpressionBase(this, ContentControl.ContentProperty) != null)
{
Content = value;
}
else
{
this._shouldCoerceContent = true;
this._coercedContent = value;
this.CoerceValue(ContentControl.ContentProperty);
}
}
#endregion Internal Methods
#region Private Methods
/// <summary>
/// Common PropertyChangedCallback for dependency properties that trigger visual state changes
/// </summary>
/// <param name="dObject"></param>
/// <param name="e"></param>
private static void OnVisualStatePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
{
CalendarDayButton dayButton = sender as CalendarDayButton;
if (dayButton != null)
{
dayButton.ChangeVisualState(true);
}
}
private static object OnCoerceContent(DependencyObject sender, object baseValue)
{
CalendarDayButton button = (CalendarDayButton)sender;
if (button._shouldCoerceContent)
{
button._shouldCoerceContent = false;
return button._coercedContent;
}
return baseValue;
}
#endregion Private Methods
}
}
================================================
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarItem.cs
================================================
//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Input;
namespace Microsoft.Windows.Controls.Primitives
{
[TemplatePart(Name = CalendarItem.ElementRoot, Type = typeof(FrameworkElement))]
[TemplatePart(Name = CalendarItem.ElementHeaderButton, Type = typeof(Button))]
[TemplatePart(Name = CalendarItem.ElementPreviousButton, Type = typeof(Button))]
[TemplatePart(Name = CalendarItem.ElementNextButton, Type = typeof(Button))]
[TemplatePart(Name = CalendarItem.ElementDayTitleTemplate, Type = typeof(DataTemplate))]
[TemplatePart(Name = CalendarItem.ElementMonthView, Type = typeof(Grid))]
[TemplatePart(Name = CalendarItem.ElementYearView, Type = typeof(Grid))]
[TemplatePart(Name = CalendarItem.ElementDisabledVisual, Type = typeof(FrameworkElement))]
[TemplateVisualState(Name = VisualStates.StateNormal, GroupName = VisualStates.GroupCommon)]
[TemplateVisualState(Name = VisualStates.StateDisabled, GroupName = VisualStates.GroupCommon)]
public sealed partial class CalendarItem : Control
{
#region Constants
private const string ElementRoot = "PART_Root";
private const string ElementHeaderButton = "PART_HeaderButton";
private const string ElementPreviousButton = "PART_PreviousButton";
private const string ElementNextButton = "PART_NextButton";
private const string ElementDayTitleTemplate = "DayTitleTemplate";
private const string ElementMonthView = "PART_MonthView";
private const string ElementYearView = "PART_YearView";
private const string ElementDisabledVisual = "PART_DisabledVisual";
private const int COLS = 7;
private const int ROWS = 7;
private const int YEAR_COLS = 4;
private const int YEAR_ROWS = 3;
private const int NUMBER_OF_DAYS_IN_WEEK = 7;
#endregion Constants
#region Data
private System.Globalization.Calendar _calendar = new GregorianCalendar();
private DataTemplate _dayTitleTemplate;
private FrameworkElement _disabledVisual;
private Button _headerButton;
private Grid _monthView;
private Button _nextButton;
private Button _previousButton;
private Grid _yearView;
private bool _isMonthPressed;
private bool _isDayPressed;
#endregion Data
static CalendarItem()
{
DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(typeof(CalendarItem)));
FocusableProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(false));
KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
}
/// <summary>
/// Represents the month that is used in Calendar Control.
/// </summary>
public CalendarItem()
{
}
#region Internal Properties
internal Grid MonthView
{
get { return _monthView; }
}
internal Microsoft.Windows.Controls.Calendar Owner
{
get;
set;
}
internal Grid YearView
{
get { return _yearView; }
}
#endregion Internal Properties
#region Private Properties
/// <summary>
/// Gets a value indicating whether the calendar is displayed in months, years or decades.
/// </summary>
private CalendarMode DisplayMode
{
get
{
return (this.Owner != null) ? this.Owner.DisplayMode : CalendarMode.Month;
}
}
private Button HeaderButton
{
get
{
return this._headerButton;
}
}
private Button NextButton
{
get
{
return this._nextButton;
}
}
private Button PreviousButton
{
get
{
return this._previousButton;
}
}
private DateTime DisplayDate
{
get
{
return (Owner != null) ? Owner.DisplayDate : DateTime.Today;
}
}
#endregion Private Properties
#region Public Methods
/// <summary>
/// Invoked whenever application code or an internal process,
/// such as a rebuilding layout pass, calls the ApplyTemplate method.
/// </summary>
public override void OnApplyTemplate()
{
base.OnApplyTemplate();
if (this._previousButton != null)
{
this._previousButton.Click -= new RoutedEventHandler(PreviousButton_Click);
}
if (this._nextButton != null)
{
this._nextButton.Click -= new RoutedEventHandler(NextButton_Click);
}
if (this._headerButton != null)
{
this._headerButton.Click -= new RoutedEventHandler(HeaderButton_Click);
}
_monthView = GetTemplateChild(ElementMonthView) as Grid;
_yearView = GetTemplateChild(ElementYearView) as Grid;
_previousButton = GetTemplateChild(ElementPreviousButton) as Button;
_nextButton = GetTemplateChild(ElementNextButton) as Button;
_headerButton = GetTemplateChild(ElementHeaderButton) as Button;
_disabledVisual = GetTemplateChild(ElementDisabledVisual) as FrameworkElement;
// WPF Compat: Unlike SL, WPF is not able to get elements in template resources with GetTemplateChild()
_dayTitleTemplate = null;
if (Template != null && Template.Resources.Contains(ElementDayTitleTemplate))
{
_dayTitleTemplate = Template.Resources[ElementDayTitleTemplate] as DataTemplate;
}
if (this._previousButton != null)
{
// If the user does not provide a Content value in template, we provide a helper text that can be used in Accessibility
// this text is not shown on the UI, just used for Accessibility purposes
if (this._previousButton.Content == null)
{
this._previousButton.Content = SR.Get(SRID.Calendar_PreviousButtonName);
}
this._previousButton.Click += new RoutedEventHandler(PreviousButton_Click);
}
if (this._nextButton != null)
{
// If the user does not provide a Content value in template, we provide a helper text that can be used in Accessibility
// this text is not shown on the UI, just used for Accessibility purposes
if (this._nextButton.Content == null)
{
this._nextButton.Content = SR.Get(SRID.Calendar_NextButtonName);
}
this._nextButton.Click += new RoutedEventHandler(NextButton_Click);
}
if (this._headerButton != null)
{
this._headerButton.Click += new RoutedEventHandler(HeaderButton_Click);
}
PopulateGrids();
if (this.Owner != null)
{
switch (this.Owner.DisplayMode)
{
case CalendarMode.Year:
UpdateYearMode();
break;
case CalendarMode.Decade:
UpdateDecadeMode();
break;
case CalendarMode.Month:
UpdateMonthMode();
break;
default:
Debug.Assert(false);
break;
}
}
else
{
UpdateMonthMode();
}
}
#endregion Public Methods
#region Protected Methods
protected override void OnMouseUp(MouseButtonEventArgs e)
{
base.OnMouseUp(e);
if (this.IsMouseCaptured)
{
this.ReleaseMouseCapture();
}
this._isMonthPressed = false;
this._isDayPressed = false;
// In Month mode, we may need to end a drag selection even if the mouse up isn't on the calendar.
if (!e.Handled &&
this.Owner.DisplayMode == CalendarMode.Month &&
this.Owner.HoverEnd.HasValue)
{
FinishSelection(this.Owner.HoverEnd.Value);
}
}
protected override void OnLostMouseCapture(MouseEventArgs e)
{
base.OnLostMouseCapture(e);
if (!this.IsMouseCaptured)
{
this._isDayPressed = false;
this._isMonthPressed = false;
}
}
#endregion
#region Internal Methods
internal void UpdateDecadeMode()
{
DateTime selectedYear;
if (this.Owner != null)
{
selectedYear = this.Owner.DisplayYear;
}
else
{
selectedYear = DateTime.Today;
}
int decade = GetDecadeForDecadeMode(selectedYear);
int decadeEnd = decade + 9;
SetDecadeModeHeaderButton(decade);
SetDecadeModePreviousButton(decade);
SetDecadeModeNextButton(decadeEnd);
if (_yearView != null)
{
SetYearButtons(decade, decadeEnd);
}
}
internal void UpdateMonthMode()
{
SetMonthModeHeaderButton();
SetMonthModePreviousButton();
SetMonthModeNextButton();
if (_monthView != null)
{
SetMonthModeDayTitles();
SetMonthModeCalendarDayButtons();
AddMonthModeHighlight();
}
}
internal void UpdateYearMode()
{
SetYearModeHeaderButton();
SetYearModePreviousButton();
SetYearModeNextButton();
if (_yearView != null)
{
SetYearModeMonthButtons();
}
}
internal IEnumerable<CalendarDayButton> GetCalendarDayButtons()
{
// TODO: should be updated if we support MultiCalendar
int count = ROWS * COLS;
if (MonthView != null)
{
UIElementCollection dayButtonsHost = MonthView.Children;
for (int childIndex = COLS; childIndex < count; childIndex++)
{
CalendarDayButton b = dayButtonsHost[childIndex] as CalendarDayButton;
if (b != null)
{
yield return b;
}
}
}
}
internal CalendarDayButton GetFocusedCalendarDayButton()
{
foreach (CalendarDayButton b in GetCalendarDayButtons())
{
if (b != null && b.IsFocused)
{
return b;
}
}
return null;
}
internal CalendarDayButton GetCalendarDayButton(DateTime date)
{
foreach (CalendarDayButton b in GetCalendarDayButtons())
{
if (b != null && b.DataContext is DateTime)
{
if (DateTimeHelper.CompareDays(date, (DateTime)b.DataContext) == 0)
{
return b;
}
}
}
return null;
}
internal CalendarButton GetCalendarButton(DateTime date, CalendarMode mode)
{
Debug.Assert(mode != CalendarMode.Month);
foreach (CalendarButton b in GetCalendarButtons())
{
if (b != null && b.DataContext is DateTime)
{
if (mode == CalendarMode.Year)
{
if (DateTimeHelper.CompareYearMonth(date, (DateTime)b.DataContext) == 0)
{
return b;
}
}
else
{
if (date.Year == ((DateTime)b.DataContext).Year)
{
return b;
}
}
}
}
return null;
}
internal CalendarButton GetFocusedCalendarButton()
{
foreach (CalendarButton b in GetCalendarButtons())
{
if (b != null && b.IsFocused)
{
return b;
}
}
return null;
}
private IEnumerable<CalendarButton> GetCalendarButtons()
{
foreach (UIElement element in this.YearView.Children)
{
CalendarButton b = element as CalendarButton;
if (b != null)
{
yield return b;
}
}
}
internal void FocusDate(DateTime date)
{
FrameworkElement focusTarget = null;
switch (this.DisplayMode)
{
case CalendarMode.Month:
{
focusTarget = GetCalendarDayButton(date);
break;
}
case CalendarMode.Year:
case CalendarMode.Decade:
{
focusTarget = GetCalendarButton(date, this.DisplayMode);
break;
}
default:
{
Debug.Assert(false);
break;
}
}
if (focusTarget != null && !focusTarget.IsFocused)
{
focusTarget.MoveFocus(new TraversalRequest(FocusNavigationDirection.First));
}
}
#endregion Internal Methods
#region Private Methods
private int GetDecadeForDecadeMode(DateTime selectedYear)
{
int decade = DateTimeHelper.DecadeOfDate(selectedYear);
// Adjust the decade value if the mouse move selection is on,
// such that if first or last year among the children are selected
// then return the current selected decade as is.
if (_isMonthPressed && _yearView != null)
{
UIElementCollection yearViewChildren = _yearView.Children;
int count = yearViewChildren.Count;
if (count > 0)
{
CalendarButton child = yearViewChildren[0] as CalendarButton;
if (child != null &&
child.DataContext is DateTime &&
((DateTime)child.DataContext).Year == selectedYear.Year)
{
return (decade + 10);
}
}
if (count > 1)
{
CalendarButton child = yearViewChildren[count - 1] as CalendarButton;
if (child != null &&
child.DataContext is DateTime &&
((DateTime)child.DataContext).Year == selectedYear.Year)
{
return (decade - 10);
}
}
}
return decade;
}
private void EndDrag(bool ctrl, DateTime selectedDate)
{
if (this.Owner != null)
{
this.Owner.CurrentDate = selectedDate;
if (this.Owner.HoverStart.HasValue)
{
if (
ctrl &&
DateTime.Compare(this.Owner.HoverStart.Value, selectedDate) == 0 &&
(Owner.SelectionMode == CalendarSelectionMode.SingleDate || Owner.SelectionMode == CalendarSelectionMode.MultipleRange))
{
// Ctrl + single click = toggle
this.Owner.SelectedDates.Toggle(selectedDate);
}
else
{
// this is selection with Mouse, we do not guarantee the range does not include BlackOutDates.
// Use the internal AddRange that omits BlackOutDates based on the SelectionMode
this.Owner.SelectedDates.AddRangeInternal(this.Owner.HoverStart.Value, selectedDate);
}
Owner.OnDayClick(selectedDate);
}
}
}
private void CellOrMonth_PreviewKeyDown(object sender, RoutedEventArgs e)
{
Debug.Assert(e != null);
if (this.Owner == null)
{
return;
}
this.Owner.OnDayOrMonthPreviewKeyDown(e);
}
private void Cell_Clicked(object sender, RoutedEventArgs e)
{
if (this.Owner == null)
{
return;
}
CalendarDayButton b = sender as CalendarDayButton;
Debug.Assert(b != null);
if (!(b.DataContext is DateTime))
{
return;
}
// If the day is a blackout day selection is not allowed
if (!b.IsBlackedOut)
{
DateTime clickedDate = (DateTime)b.DataContext;
bool ctrl, shift;
KeyboardHelper.GetMetaKeyState(out ctrl, out shift);
switch (this.Owner.SelectionMode)
{
case CalendarSelectionMode.None:
{
break;
}
case CalendarSelectionMode.SingleDate:
{
if (!ctrl)
{
this.Owner.SelectedDate = clickedDate;
}
else
{
this.Owner.SelectedDates.Toggle(clickedDate);
}
break;
}
case CalendarSelectionMode.SingleRange:
{
DateTime? lastDate = this.Owner.CurrentDate;
this.Owner.SelectedDates.ClearInternal(true /*fireChangeNotification*/);
if (shift && lastDate.HasValue)
{
this.Owner.SelectedDates.AddRangeInternal(lastDate.Value, clickedDate);
}
else
{
this.Owner.SelectedDate = clickedDate;
this.Owner.HoverStart = null;
this.Owner.HoverEnd = null;
}
break;
}
case CalendarSelectionMode.MultipleRange:
{
if (!ctrl)
{
this.Owner.SelectedDates.ClearInternal(true /*fireChangeNotification*/);
}
if (shift)
{
this.Owner.SelectedDates.AddRangeInternal(this.Owner.CurrentDate, clickedDate);
}
else
{
if (!ctrl)
{
this.Owner.SelectedDate = clickedDate;
}
else
{
this.Owner.SelectedDates.Toggle(clickedDate);
this.Owner.HoverStart = null;
this.Owner.HoverEnd = null;
}
}
break;
}
}
this.Owner.OnDayClick(clickedDate);
}
}
private void Cell_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
CalendarDayButton b = sender as CalendarDayButton;
if (b == null)
{
return;
}
if (this.Owner == null || !(b.DataContext is DateTime))
{
return;
}
if (b.IsBlackedOut)
{
this.Owner.HoverStart = null;
}
else
{
this._isDayPressed = true;
Mouse.Capture(this, CaptureMode.SubTree);
b.MoveFocus(new TraversalRequest(FocusNavigationDirection.First));
bool ctrl, shift;
KeyboardHelper.GetMetaKeyState(out ctrl, out shift);
DateTime selectedDate = (DateTime)b.DataContext;
Debug.Assert(selectedDate != null);
switch (this.Owner.SelectionMode)
{
case CalendarSelectionMode.None:
{
break;
}
case CalendarSelectionMode.SingleDate:
{
this.Owner.DatePickerDisplayDateFlag = true;
if (!ctrl)
{
this.Owner.SelectedDate = selectedDate;
}
else
{
this.Owner.SelectedDates.Toggle(selectedDate);
}
break;
}
case CalendarSelectionMode.SingleRange:
{
this.Owner.SelectedDates.ClearInternal();
if (shift)
{
if (!this.Owner.HoverStart.HasValue)
{
this.Owner.HoverStart = this.Owner.HoverEnd = this.Owner.CurrentDate;
}
}
else
{
this.Owner.HoverStart = this.Owner.HoverEnd = selectedDate;
}
break;
}
case CalendarSelectionMode.MultipleRange:
{
if (!ctrl)
{
this.Owner.SelectedDates.ClearInternal();
}
if (shift)
{
if (!this.Owner.HoverStart.HasValue)
{
this.Owner.HoverStart = this.Owner.HoverEnd = this.Owner.CurrentDate;
}
}
else
{
this.Owner.HoverStart = this.Owner.HoverEnd = selectedDate;
}
break;
}
}
this.Owner.CurrentDate = selectedDate;
this.Owner.UpdateCellItems();
}
}
private void Cell_MouseEnter(object sender, MouseEventArgs e)
{
CalendarDayButton b = sender as CalendarDayButton;
if (b == null)
{
return;
}
if (b.IsBlackedOut)
{
return;
}
if (e.LeftButton == MouseButtonState.Pressed && this._isDayPressed)
{
b.MoveFocus(new TraversalRequest(FocusNavigationDirection.First));
if (this.Owner == null || !(b.DataContext is DateTime))
{
return;
}
DateTime selectedDate = (DateTime)b.DataContext;
switch (this.Owner.SelectionMode)
{
case CalendarSelectionMode.SingleDate:
{
this.Owner.DatePickerDisplayDateFlag = true;
this.Owner.HoverStart = this.Owner.HoverEnd = null;
if (this.Owner.SelectedDates.Count == 0)
{
this.Owner.SelectedDates.Add(selectedDate);
}
else
{
this.Owner.SelectedDates[0] = selectedDate;
}
return;
}
}
this.Owner.HoverEnd = selectedDate;
this.Owner.CurrentDate = selectedDate;
this.Owner.UpdateCellItems();
}
}
private void Cell_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
{
CalendarDayButton b = sender as CalendarDayButton;
if (b == null)
{
return;
}
if (this.Owner == null)
{
return;
}
if (!b.IsBlackedOut)
{
this.Owner.OnDayButtonMouseUp(e);
}
if (!(b.DataContext is DateTime))
{
return;
}
FinishSelection((DateTime)b.DataContext);
e.Handled = true;
}
private void FinishSelection(DateTime selectedDate)
{
bool ctrl, shift;
KeyboardHelper.GetMetaKeyState(out ctrl, out shift);
if (this.Owner.SelectionMode == CalendarSelectionMode.None || this.Owner.SelectionMode == CalendarSelectionMode.SingleDate)
{
this.Owner.OnDayClick(selectedDate);
return;
}
if (this.Owner.HoverStart.HasValue)
{
switch (this.Owner.SelectionMode)
{
case CalendarSelectionMode.SingleRange:
{
// Update SelectedDates
this.Owner.SelectedDates.ClearInternal();
EndDrag(ctrl, selectedDate);
break;
}
case CalendarSelectionMode.MultipleRange:
{
// add the selection (either single day or SingleRange day)
EndDrag(ctrl, selectedDate);
break;
}
}
}
else
{
// If the day is blacked out but also a trailing day we should be able to switch months
CalendarDayButton b = GetCalendarDayButton(selectedDate);
if (b != null && b.IsInactive && b.IsBlackedOut)
{
this.Owner.OnDayClick(selectedDate);
}
}
}
private void Month_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
CalendarButton b = sender as CalendarButton;
if (b != null)
{
this._isMonthPressed = true;
Mouse.Capture(this, CaptureMode.SubTree);
if (this.Owner != null)
{
this.Owner.OnCalendarButtonPressed(b, false);
}
}
}
private void Month_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
{
CalendarButton b = sender as CalendarButton;
if (b != null && this.Owner != null)
{
this.Owner.OnCalendarButtonPressed(b, true);
}
}
private void Month_MouseEnter(object sender, MouseEventArgs e)
{
CalendarButton b = sender as CalendarButton;
if (b != null)
{
if (this._isMonthPressed && this.Owner != null)
{
this.Owner.OnCalendarButtonPressed(b, false);
}
}
}
private void Month_Clicked(object sender, RoutedEventArgs e)
{
CalendarButton b = sender as CalendarButton;
if (b != null)
{
this.Owner.OnCalendarButtonPressed(b, true);
}
}
private void HeaderButton_Click(object sender, RoutedEventArgs e)
{
if (this.Owner != null)
{
if (this.Owner.DisplayMode == CalendarMode.Month)
{
this.Owner.DisplayMode = CalendarMode.Year;
}
else
{
Debug.Assert(this.Owner.DisplayMode == CalendarMode.Year);
this.Owner.DisplayMode = CalendarMode.Decade;
}
this.FocusDate(this.DisplayDate);
}
}
private void PreviousButton_Click(object sender, RoutedEventArgs e)
{
if (this.Owner != null)
{
this.Owner.OnPreviousClick();
}
}
private void NextButton_Click(object sender, RoutedEventArgs e)
{
if (this.Owner != null)
{
this.Owner.OnNextClick();
}
}
private void PopulateGrids()
{
if (_monthView != null)
{
if (_dayTitleTemplate != null)
{
for (int i = 0; i < COLS; i++)
{
FrameworkElement titleCell = (FrameworkElement)this._dayTitleTemplate.LoadContent();
titleCell.SetValue(Grid.RowProperty, 0);
titleCell.SetValue(Grid.ColumnProperty, i);
this._monthView.Children.Add(titleCell);
}
}
for (int i = 1; i < ROWS; i++)
{
for (int j = 0; j < COLS; j++)
{
CalendarDayButton dayCell = new CalendarDayButton();
dayCell.Owner = this.Owner;
dayCell.SetValue(Grid.RowProperty, i);
dayCell.SetValue(Grid.ColumnProperty, j);
dayCell.SetBinding(CalendarDayButton.StyleProperty, GetOwnerBinding("CalendarDayButtonStyle"));
dayCell.AddHandler(CalendarDayButton.MouseLeftButtonDownEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonDown), true);
dayCell.AddHandler(CalendarDayButton.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonUp), true);
dayCell.AddHandler(CalendarDayButton.MouseEnterEvent, new MouseEventHandler(Cell_MouseEnter), true);
dayCell.Click += new RoutedEventHandler(Cell_Clicked);
dayCell.AddHandler(PreviewKeyDownEvent, new RoutedEventHandler(CellOrMonth_PreviewKeyDown), true);
this._monthView.Children.Add(dayCell);
}
}
}
if (_yearView != null)
{
CalendarButton monthCell;
int count = 0;
for (int i = 0; i < YEAR_ROWS; i++)
{
for (int j = 0; j < YEAR_COLS; j++)
{
monthCell = new CalendarButton();
monthCell.Owner = this.Owner;
monthCell.SetValue(Grid.RowProperty, i);
monthCell.SetValue(Grid.ColumnProperty, j);
monthCell.SetBinding(CalendarButton.StyleProperty, GetOwnerBinding("CalendarButtonStyle"));
monthCell.AddHandler(CalendarButton.MouseLeftButtonDownEvent, new MouseButtonEventHandler(Month_MouseLeftButtonDown), true);
monthCell.AddHandler(CalendarButton.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Month_MouseLeftButtonUp), true);
monthCell.AddHandler(CalendarButton.MouseEnterEvent, new MouseEventHandler(Month_MouseEnter), true);
monthCell.AddHandler(UIElement.PreviewKeyDownEvent, new RoutedEventHandler(CellOrMonth_PreviewKeyDown), true);
monthCell.Click += new RoutedEventHandler(Month_Clicked);
this._yearView.Children.Add(monthCell);
count++;
}
}
}
}
#region Month Mode Display
private void SetMonthModeDayTitles()
{
if (_monthView != null)
{
string[] shortestDayNames = DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this)).ShortestDayNames;
for (int childIndex = 0; childIndex < COLS; childIndex++)
{
FrameworkElement daytitle = _monthView.Children[childIndex] as FrameworkElement;
if (daytitle != null && shortestDayNames != null && shortestDayNames.Length > 0)
{
if (this.Owner != null)
{
daytitle.DataContext = shortestDayNames[(childIndex + (int)this.Owner.FirstDayOfWeek) % shortestDayNames.Length];
}
else
{
daytitle.DataContext = shortestDayNames[(childIndex + (int)DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this)).FirstDayOfWeek) % shortestDayNames.Length];
}
}
}
}
}
private void SetMonthModeCalendarDayButtons()
{
DateTime firstDayOfMonth = DateTimeHelper.DiscardDayTime(DisplayDate);
int lastMonthToDisplay = GetNumberOfDisplayedDaysFromPreviousMonth(firstDayOfMonth);
bool isMinMonth = DateTimeHelper.CompareYearMonth(firstDayOfMonth, DateTime.MinValue) <= 0;
bool isMaxMonth = DateTimeHelper.CompareYearMonth(firstDayOfMonth, DateTime.MaxValue) >= 0;
int daysInMonth = _calendar.GetDaysInMonth(firstDayOfMonth.Year, firstDayOfMonth.Month);
CultureInfo culture = DateTimeHelper.GetCulture(this);
int count = ROWS * COLS;
for (int childIndex = COLS; childIndex < count; childIndex++)
{
CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton;
Debug.Assert(childButton != null);
int dayOffset = childIndex - lastMonthToDisplay - COLS;
if ((!isMinMonth || (dayOffset >= 0)) && (!isMaxMonth || (dayOffset < daysInMonth)))
{
DateTime dateToAdd = _calendar.AddDays(firstDayOfMonth, dayOffset);
SetMonthModeDayButtonState(childButton, dateToAdd);
childButton.DataContext = dateToAdd;
childButton.SetContentInternal(DateTimeHelper.ToDayString(dateToAdd, culture));
}
else
{
SetMonthModeDayButtonState(childButton, null);
childButton.DataContext = null;
childButton.SetContentInternal(DateTimeHelper.ToDayString(null, culture));
}
}
}
private void SetMonthModeDayButtonState(CalendarDayButton childButton, DateTime? dateToAdd)
{
if (this.Owner != null)
{
if (dateToAdd.HasValue)
{
childButton.Visibility = Visibility.Visible;
// If the day is outside the DisplayDateStart/End boundary, do not show it
if (DateTimeHelper.CompareDays(dateToAdd.Value, this.Owner.DisplayDateStartInternal) < 0 || DateTimeHelper.CompareDays(dateToAdd.Value, this.Owner.DisplayDateEndInternal) > 0)
{
childButton.IsEnabled = false;
childButton.Visibility = Visibility.Hidden;
}
else
{
childButton.IsEnabled = true;
// SET IF THE DAY IS SELECTABLE OR NOT
childButton.SetValue(
CalendarDayButton.IsBlackedOutPropertyKey,
this.Owner.BlackoutDates.Contains(dateToAdd.Value));
// SET IF THE DAY IS ACTIVE OR NOT: set if the day is a trailing day or not
childButton.SetValue(
CalendarDayButton.IsInactivePropertyKey,
DateTimeHelper.CompareYearMonth(dateToAdd.Value, this.Owner.DisplayDateInternal) != 0);
// SET IF THE DAY IS TODAY OR NOT
if (DateTimeHelper.CompareDays(dateToAdd.Value, DateTime.Today) == 0)
{
childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, true);
// Calendar.IsTodayHighlighted affects the final visual state for Today buttons
// but childButton property change callbacks are no called in response to
// Calendar.IsTodayHighlighted changing so we must explicitly update the visual state
childButton.ChangeVisualState(true);
}
else
{
childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, false);
}
// SET IF THE DAY IS SELECTED OR NOT
// Since we should be comparing the Date values not DateTime values, we can't use this.Owner.SelectedDates.Contains(dateToAdd) directly
bool isSelected = false;
foreach (DateTime item in this.Owner.SelectedDates)
{
isSelected |= (DateTimeHelper.CompareDays(dateToAdd.Value, item) == 0);
}
childButton.SetValue(CalendarDayButton.IsSelectedPropertyKey, isSelected);
}
}
else
{
childButton.Visibility = Visibility.Hidden;
childButton.IsEnabled = false;
childButton.SetValue(CalendarDayButton.IsBlackedOutPropertyKey, false);
childButton.SetValue(CalendarDayButton.IsInactivePropertyKey, true);
childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, false);
childButton.SetValue(CalendarDayButton.IsSelectedPropertyKey, false);
}
}
}
private void AddMonthModeHighlight()
{
var owner = this.Owner;
if (owner == null)
{
return;
}
if (owner.HoverStart.HasValue && owner.HoverEnd.HasValue)
{
DateTime hStart = owner.HoverEnd.Value;
DateTime hEnd = owner.HoverEnd.Value;
int daysToHighlight = DateTimeHelper.CompareDays(owner.HoverEnd.Value, owner.HoverStart.Value);
if (daysToHighlight < 0)
{
hEnd = this.Owner.HoverStart.Value;
}
else
{
hStart = this.Owner.HoverStart.Value;
}
int count = ROWS * COLS;
for (int childIndex = COLS; childIndex < count; childIndex++)
{
CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton;
if (childButton.DataContext is DateTime)
{
DateTime date = (DateTime)childButton.DataContext;
childButton.SetValue(
CalendarDayButton.IsHighlightedPropertyKey,
(daysToHighlight != 0) && DateTimeHelper.InRange(date, hStart, hEnd));
}
else
{
childButton.SetValue(CalendarDayButton.IsHighlightedPropertyKey, false);
}
}
}
else
{
int count = ROWS * COLS;
for (int childIndex = COLS; childIndex < count; childIndex++)
{
CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton;
childButton.SetValue(CalendarDayButton.IsHighlightedPropertyKey, false);
}
}
}
private void SetMonthModeHeaderButton()
{
if (this._headerButton != null)
{
this._headerButton.Content = DateTimeHelper.ToYearMonthPatternString(DisplayDate, DateTimeHelper.GetCulture(this));
if (this.Owner != null)
{
this._headerButton.IsEnabled = true;
}
}
}
private void SetMonthModeNextButton()
{
if (this.Owner != null && _nextButton != null)
{
DateTime firstDayOfMonth = DateTimeHelper.DiscardDayTime(DisplayDate);
// DisplayDate is equal to DateTime.MaxValue
if (DateTimeHelper.CompareYearMonth(firstDayOfMonth, DateTime.MaxValue) == 0)
{
_nextButton.IsEnabled = false;
}
else
{
// Since we are sure DisplayDate is not equal to DateTime.MaxValue,
// it is safe to use AddMonths
DateTime firstDayOfNextMonth = _calendar.AddMonths(firstDayOfMonth, 1);
_nextButton.IsEnabled = (DateTimeHelper.CompareDays(this.Owner.DisplayDateEndInternal, firstDayOfNextMonth) > -1);
}
}
}
private void SetMonthModePreviousButton()
{
if (this.Owner != null && _previousButton != null)
{
DateTime firstDayOfMonth = DateTimeHelper.DiscardDayTime(DisplayDate);
_previousButton.IsEnabled = (DateTimeHelper.CompareDays(this.Owner.DisplayDateStartInternal, firstDayOfMonth) < 0);
}
}
#endregion
#region Year Mode Display
private void SetYearButtons(int decade, int decadeEnd)
{
int year;
int count = -1;
foreach (object child in _yearView.Children)
{
CalendarButton childButton = child as CalendarButton;
Debug.Assert(childButton != null);
year = decade + count;
if (year <= DateTime.MaxValue.Year && year >= DateTime.MinValue.Year)
{
// There should be no time component. Time is 12:00 AM
DateTime day = new DateTime(year, 1, 1);
childButton.DataContext = day;
childButton.SetContentInternal(DateTimeHelper.ToYearString(day, DateTimeHelper.GetCulture(this)));
childButton.Visibility = Visibility.Visible;
if (this.Owner != null)
{
childButton.HasSelectedDays = (Owner.DisplayDate.Year == year);
if (year < this.Owner.DisplayDateStartInternal.Year || year > this.Owner.DisplayDateEndInternal.Year)
{
childButton.IsEnabled = false;
childButton.Opacity = 0;
}
else
{
childButton.IsEnabled = true;
childButton.Opacity = 1;
}
}
// SET IF THE YEAR IS INACTIVE OR NOT: set if the year is a trailing year or not
childButton.IsInactive = year < decade || year > decadeEnd;
}
else
{
childButton.DataContext = null;
childButton.IsEnabled = false;
childButton.Opacity = 0;
}
count++;
}
}
private void SetYearModeMonthButtons()
{
int count = 0;
foreach (object child in _yearView.Children)
{
CalendarButton childButton = child as CalendarButton;
Debug.Assert(childButton != null);
// There should be no time component. Time is 12:00 AM
DateTime day = new DateTime(DisplayDate.Year, count + 1, 1);
childButton.DataContext = day;
childButton.SetContentInternal(DateTimeHelper.ToAbbreviatedMonthString(day,DateTimeHelper.GetCulture(this)));
childButton.Visibility = Visibility.Visible;
if (this.Owner != null)
{
Debug.Assert(this.Owner.DisplayDateInternal != null);
childButton.HasSelectedDays = (DateTimeHelper.CompareYearMonth(day, this.Owner.DisplayDateInternal) == 0);
if (DateTimeHelper.CompareYearMonth(day, this.Owner.DisplayDateStartInternal) < 0 || DateTimeHelper.CompareYearMonth(day, this.Owner.DisplayDateEndInternal) > 0)
{
childButton.IsEnabled = false;
childButton.Opacity = 0;
}
else
{
childButton.IsEnabled = true;
childButton.Opacity = 1;
}
}
childButton.IsInactive = false;
count++;
}
}
private void SetYearModeHeaderButton()
{
if (this._headerButton != null)
{
this._headerButton.IsEnabled = true;
this._headerButton.Content = DateTimeHelper.ToYearString(DisplayDate, DateTimeHelper.GetCulture(this));
}
}
private void SetYearModeNextButton()
{
if (this.Owner != null && _nextButton != null)
{
_nextButton.IsEnabled = (this.Owner.DisplayDateEndInternal.Year != DisplayDate.Year);
}
}
private void SetYearModePreviousButton()
{
if (this.Owner != null && _previousButton != null)
{
_previousButton.IsEnabled = (this.Owner.DisplayDateStartInternal.Year != DisplayDate.Year);
}
}
#endregion Year Mode Display
#region Decade Mode Display
private void SetDecadeModeHeaderButton(int decade)
{
if (this._headerButton != null)
{
this._headerButton.Content = DateTimeHelper.ToDecadeRangeString(decade, DateTimeHelper.GetCulture(this));
this._headerButton.IsEnabled = false;
}
}
private void SetDecadeModeNextButton(int decadeEnd)
{
if (this.Owner != null && _nextButton != null)
{
_nextButton.IsEnabled = (this.Owner.DisplayDateEndInternal.Year > decadeEnd);
}
}
private void SetDecadeModePreviousButton(int decade)
{
if (this.Owner != null && _previousButton != null)
{
_previousButton.IsEnabled = (decade > this.Owner.DisplayDateStartInternal.Year);
}
}
#endregion Decade Mode Display
// How many days of the previous month need to be displayed
private int GetNumberOfDisplayedDaysFromPreviousMonth(DateTime firstOfMonth)
{
DayOfWeek day = _calendar.GetDayOfWeek(firstOfMonth);
int i;
if (this.Owner != null)
{
i = ((day - this.Owner.FirstDayOfWeek + NUMBER_OF_DAYS_IN_WEEK) % NUMBER_OF_DAYS_IN_WEEK);
}
else
{
i = ((day - DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this)).FirstDayOfWeek + NUMBER_OF_DAYS_IN_WEEK) % NUMBER_OF_DAYS_IN_WEEK);
}
if (i == 0)
{
return NUMBER_OF_DAYS_IN_WEEK;
}
else
{
return i;
}
}
/// <summary>
/// Gets a binding to a property on the owning calendar
/// </summary>
/// <param name="propertyName"></param>
/// <returns></returns>
private BindingBase GetOwnerBinding(string propertyName)
{
Binding result = new Binding(propertyName);
result.Source = this.Owner;
return result;
}
#endregion Private Methods
}
}
================================================
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarMode.cs
================================================
//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
namespace Microsoft.Windows.Controls
{
/// <summary>
/// Specifies values for the different modes of operation of a Calendar.
/// </summary>
public enum CalendarMode
{
/// <summary>
/// The Calendar displays a month at a time.
/// </summary>
Month = 0,
/// <summary>
/// The Calendar displays a year at a time.
/// </summary>
Year = 1,
/// <summary>
/// The Calendar displays a decade at a time.
/// </summary>
Decade = 2,
}
}
================================================
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarModeChangedEventArgs.cs
================================================
//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
namespace Microsoft.Windows.Controls
{
/// <summary>
/// Provides data for the DisplayModeChanged event.
/// </summary>
public class CalendarModeChangedEventArgs : System.Windows.RoutedEventArgs
{
/// <summary>
/// Initializes a new instance of t
gitextract_go_s1dlq/ ├── .editorconfig ├── .github/ │ └── FUNDING.yml ├── .gitignore ├── DotNetProjects.snk ├── README.md ├── WpfToolkit/ │ ├── AssemblyAttrs.cs │ ├── AssemblyInfo.cs │ ├── Calendar/ │ │ ├── Microsoft/ │ │ │ └── Windows/ │ │ │ ├── Automation/ │ │ │ │ └── Peers/ │ │ │ │ ├── CalendarAutomationPeer.cs │ │ │ │ ├── CalendarButtonAutomationPeer.cs │ │ │ │ └── CalendarDayButtonAutomationPeer.cs │ │ │ └── Controls/ │ │ │ ├── Calendar.cs │ │ │ ├── CalendarBlackoutDatesCollection.cs │ │ │ ├── CalendarButton.cs │ │ │ ├── CalendarDateChangedEventArgs.cs │ │ │ ├── CalendarDateRange.cs │ │ │ ├── CalendarDateRangeChangingEventArgs.cs │ │ │ ├── CalendarDayButton.cs │ │ │ ├── CalendarItem.cs │ │ │ ├── CalendarMode.cs │ │ │ ├── CalendarModeChangedEventArgs.cs │ │ │ ├── CalendarSelectionChangedEventArgs.cs │ │ │ ├── CalendarSelectionMode.cs │ │ │ ├── DateTimeHelper.cs │ │ │ ├── KeyboardHelper.cs │ │ │ ├── SelectedDatesCollection.cs │ │ │ └── VisualStates.cs │ │ └── Themes/ │ │ ├── Aero.NormalColor.xaml │ │ ├── Classic.xaml │ │ ├── Generic.xaml │ │ ├── Luna.HomeStead.xaml │ │ ├── Luna.Metallic.xaml │ │ ├── Luna.NormalColor.xaml │ │ └── Royale.NormalColor.xaml │ ├── Common/ │ │ └── System/ │ │ └── Windows/ │ │ └── Controls/ │ │ ├── BindingEvaluator.cs │ │ ├── Extensions.cs │ │ ├── IUpdateVisualState.cs │ │ ├── InteractionHelper.cs │ │ ├── ItemsControlHelper.cs │ │ ├── VisualStates.cs │ │ ├── VisualTreeExtensions.cs │ │ └── WeakEventListener.cs │ ├── DataVisualization/ │ │ ├── AggregatedObservableCollection.cs │ │ ├── AssemblyInfoShared.cs │ │ ├── Charting/ │ │ │ ├── AnimationSequence.cs │ │ │ ├── Axis/ │ │ │ │ ├── Axis.cs │ │ │ │ ├── AxisIntervalType.cs │ │ │ │ ├── AxisLabel.cs │ │ │ │ ├── AxisLocation.cs │ │ │ │ ├── AxisOrientation.cs │ │ │ │ ├── CategoryAxis.cs │ │ │ │ ├── CategorySortOrder.cs │ │ │ │ ├── DateTimeAxis.cs │ │ │ │ ├── DateTimeAxisLabel.cs │ │ │ │ ├── DateTimeIntervalType.cs │ │ │ │ ├── DisplayAxis.cs │ │ │ │ ├── DisplayAxisGridLines.cs │ │ │ │ ├── IAnchoredToOrigin.cs │ │ │ │ ├── IAxis.cs │ │ │ │ ├── IAxisListener.cs │ │ │ │ ├── ICategoryAxis.cs │ │ │ │ ├── IDataConsumer.cs │ │ │ │ ├── IDataProvider.cs │ │ │ │ ├── IRangeAxis.cs │ │ │ │ ├── IRangeConsumer.cs │ │ │ │ ├── IRangeProvider.cs │ │ │ │ ├── IValueMarginConsumer.cs │ │ │ │ ├── IValueMarginProvider.cs │ │ │ │ ├── LinearAxis.cs │ │ │ │ ├── LogarithmicAxis.cs │ │ │ │ ├── NullableConverter.cs │ │ │ │ ├── NumericAxis.cs │ │ │ │ ├── NumericAxisLabel.cs │ │ │ │ ├── OrientedAxisGridLines.cs │ │ │ │ ├── RangeAxis.cs │ │ │ │ └── ValueMargin.cs │ │ │ ├── Chart/ │ │ │ │ ├── Chart.cs │ │ │ │ └── SeriesHostAxesCollection.cs │ │ │ ├── DataPoint/ │ │ │ │ ├── AreaDataPoint.cs │ │ │ │ ├── BarDataPoint.cs │ │ │ │ ├── BubbleDataPoint.cs │ │ │ │ ├── CandlestickDataPoint.cs │ │ │ │ ├── ColumnDataPoint.cs │ │ │ │ ├── DataPoint.cs │ │ │ │ ├── DataPointState.cs │ │ │ │ ├── LineDataPoint.cs │ │ │ │ ├── PieDataPoint.cs │ │ │ │ └── ScatterDataPoint.cs │ │ │ ├── FrameworkElementExtensions.cs │ │ │ ├── Helper/ │ │ │ │ ├── Converters.cs │ │ │ │ ├── FormattingConverter.cs │ │ │ │ └── TreeHelper.cs │ │ │ ├── IRequireSeriesHost.cs │ │ │ ├── ISeriesHost.cs │ │ │ ├── ISeriesHostExtensions.cs │ │ │ ├── Pie/ │ │ │ │ ├── PieChartHelper.cs │ │ │ │ ├── PieChartLabel.cs │ │ │ │ └── PieChartLabelArea.cs │ │ │ ├── Primitives/ │ │ │ │ ├── DelegatingListBox.cs │ │ │ │ ├── Edge.cs │ │ │ │ └── EdgePanel.cs │ │ │ ├── ResourceDictionaryDispensedEventArgs.cs │ │ │ ├── ResourceDictionaryDispenser.cs │ │ │ ├── ResourceDictionaryEnumerator.cs │ │ │ ├── Series/ │ │ │ │ ├── AreaSeries.cs │ │ │ │ ├── BarSeries.cs │ │ │ │ ├── BubbleSeries.cs │ │ │ │ ├── CandlestickSeries.cs │ │ │ │ ├── ColumnBarBaseSeries.cs │ │ │ │ ├── ColumnSeries.cs │ │ │ │ ├── Compatible/ │ │ │ │ │ ├── AreaSeries.cs │ │ │ │ │ ├── BarSeries.cs │ │ │ │ │ ├── ColumnSeries.cs │ │ │ │ │ ├── LineSeries.cs │ │ │ │ │ ├── ScatterSeries.cs │ │ │ │ │ └── SelectionEnabledToSelectionModeConverter.cs │ │ │ │ ├── DataPointSeries.cs │ │ │ │ ├── DataPointSeriesWithAxes.cs │ │ │ │ ├── DataPointSingleSeriesWithAxes.cs │ │ │ │ ├── DefinitionSeries.cs │ │ │ │ ├── IRequireGlobalSeriesIndex.cs │ │ │ │ ├── ISeries.cs │ │ │ │ ├── LabeledPieSeries.cs │ │ │ │ ├── LegendItem.cs │ │ │ │ ├── LineAreaBaseSeries.cs │ │ │ │ ├── LineSeries.cs │ │ │ │ ├── PieSeries.cs │ │ │ │ ├── ScatterSeries.cs │ │ │ │ ├── Series.cs │ │ │ │ ├── SeriesDefinition.cs │ │ │ │ ├── SeriesSelectionMode.cs │ │ │ │ ├── SplineSeries.cs │ │ │ │ ├── Stacked100AreaSeries.cs │ │ │ │ ├── Stacked100BarSeries.cs │ │ │ │ ├── Stacked100ColumnSeries.cs │ │ │ │ ├── Stacked100LineSeries.cs │ │ │ │ ├── StackedAreaLineSeries.cs │ │ │ │ ├── StackedAreaSeries.cs │ │ │ │ ├── StackedBarColumnSeries.cs │ │ │ │ ├── StackedBarSeries.cs │ │ │ │ ├── StackedColumnSeries.cs │ │ │ │ └── StackedLineSeries.cs │ │ │ └── ValueMarginCoordinateAndOverlap.cs │ │ ├── Collections/ │ │ │ ├── LeftLeaningRedBlackTree.cs │ │ │ ├── MultipleDictionary.cs │ │ │ └── OrderedMultipleDictionary.cs │ │ ├── ColorExtensions.cs │ │ ├── DependencyPropertyAnimationHelper.cs │ │ ├── DesignerProperties.cs │ │ ├── DotNetProjects.DataVisualization.Toolkit.csproj │ │ ├── DotNetProjects.snk │ │ ├── EnumerableExtensions.cs │ │ ├── EnumerableFunctions.cs │ │ ├── GenericEqualityComparer.cs │ │ ├── GlobalSuppressions.cs │ │ ├── GridExtensions.cs │ │ ├── IResourceDictionaryDispenser.cs │ │ ├── LayoutTransformControl.cs │ │ ├── Legend/ │ │ │ └── Legend.cs │ │ ├── NoResetObservableCollection.cs │ │ ├── ObjectPool.cs │ │ ├── ObservableCollectionListAdapter.cs │ │ ├── OrientedPanel.cs │ │ ├── Properties/ │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ └── Resources.resx │ │ ├── Range.cs │ │ ├── RangeEnumerableFunctions.cs │ │ ├── ReadOnlyObservableCollection.cs │ │ ├── ResourceDictionaryCollection.cs │ │ ├── StoryboardQueue.cs │ │ ├── StringFormatConverter.cs │ │ ├── Themes/ │ │ │ └── generic.xaml │ │ ├── Title/ │ │ │ └── Title.cs │ │ ├── TreeMap/ │ │ │ ├── BindingExtractor.cs │ │ │ ├── Interpolators/ │ │ │ │ ├── DoubleInterpolator.cs │ │ │ │ ├── HSLSolidColorBrushInterpolator.cs │ │ │ │ ├── InterpolationMode.cs │ │ │ │ ├── Interpolator.cs │ │ │ │ ├── RangeInterpolator.cs │ │ │ │ └── SolidColorBrushInterpolator.cs │ │ │ ├── Layout/ │ │ │ │ ├── SquaringAlgorithm.cs │ │ │ │ └── TreeMapNode.cs │ │ │ ├── TreeMap.cs │ │ │ ├── TreeMapItemDefinition.cs │ │ │ └── TreeMapItemDefinitionSelector.cs │ │ ├── Tuple.cs │ │ ├── UniqueObservableCollection.cs │ │ ├── Unit.cs │ │ ├── UnitValue.cs │ │ ├── ValueHelper.cs │ │ ├── WeakEventListener.cs │ │ └── WeakReferenceBag.cs │ ├── DatePicker/ │ │ ├── Microsoft/ │ │ │ └── Windows/ │ │ │ ├── Automation/ │ │ │ │ └── Peers/ │ │ │ │ └── DatePickerAutomationPeer.cs │ │ │ └── Controls/ │ │ │ ├── DatePicker.cs │ │ │ ├── DatePickerDateValidationErrorEventArgs.cs │ │ │ ├── DatePickerFormat.cs │ │ │ └── DatePickerTextBox.cs │ │ └── Themes/ │ │ ├── Aero.NormalColor.xaml │ │ ├── Classic.xaml │ │ ├── Generic.xaml │ │ ├── Luna.HomeStead.xaml │ │ ├── Luna.Metallic.xaml │ │ ├── Luna.NormalColor.xaml │ │ └── Royale.NormalColor.xaml │ ├── GlobalSuppressions.cs │ ├── Input/ │ │ ├── AutoCompleteBox/ │ │ │ └── System/ │ │ │ └── Windows/ │ │ │ ├── Automation/ │ │ │ │ └── Peers/ │ │ │ │ └── AutoCompleteBoxAutomationPeer.cs │ │ │ └── Controls/ │ │ │ ├── AutoCompleteBox.cs │ │ │ ├── AutoCompleteFilter.cs │ │ │ ├── AutoCompleteFilterMode.cs │ │ │ ├── AutoCompleteFilterPredicate.cs │ │ │ ├── ISelectionAdapter.cs │ │ │ ├── ItemsControlExtensions.cs │ │ │ ├── PopulatedEventArgs.cs │ │ │ ├── PopulatedEventHandler.cs │ │ │ ├── PopulatingEventArgs.cs │ │ │ ├── PopulatingEventHandler.cs │ │ │ ├── PopupHelper.cs │ │ │ ├── RoutedPropertyChangingEventArgs.cs │ │ │ ├── RoutedPropertyChangingEventHandler.cs │ │ │ ├── SelectorSelectionAdapter.cs │ │ │ └── ValueByStringHelper.cs │ │ ├── DotNetProjects.Input.Toolkit.csproj │ │ ├── DotNetProjects.Input.Toolkit.csproj.DotSettings │ │ ├── DotNetProjects.snk │ │ ├── GlobalSuppressions.cs │ │ ├── Properties/ │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ └── Resources.resx │ │ ├── Rating/ │ │ │ └── System/ │ │ │ └── Windows/ │ │ │ ├── Automation/ │ │ │ │ └── Peers/ │ │ │ │ ├── RatingAutomationPeer.cs │ │ │ │ └── RatingItemAutomationPeer.cs │ │ │ └── Controls/ │ │ │ ├── Clipper.cs │ │ │ ├── EnumerableFunctions.cs │ │ │ ├── LinearClipper.cs │ │ │ ├── NullableConverter.cs │ │ │ ├── Rating.cs │ │ │ ├── RatingItem.cs │ │ │ ├── RatingSelectionMode.cs │ │ │ ├── Tuple.cs │ │ │ └── TupleExtensions.cs │ │ └── Themes/ │ │ └── Generic.xaml │ ├── Layout/ │ │ ├── Accordion/ │ │ │ └── System/ │ │ │ └── Windows/ │ │ │ ├── Automation/ │ │ │ │ └── Peers/ │ │ │ │ ├── AccordionAutomationPeer.cs │ │ │ │ ├── AccordionItemAutomationPeer.cs │ │ │ │ └── AccordionItemWrapperAutomationPeer.cs │ │ │ └── Controls/ │ │ │ ├── Accordion.cs │ │ │ ├── AccordionAction.cs │ │ │ ├── AccordionButton.cs │ │ │ ├── AccordionItem.cs │ │ │ ├── AccordionSelectionMode.cs │ │ │ ├── ExpandableContentControl.cs │ │ │ └── SelectionSequence.cs │ │ ├── DotNetProjects.Layout.Toolkit.csproj │ │ ├── DotNetProjects.snk │ │ ├── Extensions/ │ │ │ ├── MathExtensions.cs │ │ │ └── RectExtensions.cs │ │ ├── GlobalSuppressions.cs │ │ ├── Properties/ │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ └── Resources.resx │ │ ├── System.Windows.Controls.Layout.Toolkit.XML │ │ ├── Themes/ │ │ │ └── Generic.xaml │ │ ├── TransitioningContentControl/ │ │ │ └── System/ │ │ │ └── Windows/ │ │ │ └── Controls/ │ │ │ └── TransitioningContentControl.cs │ │ └── ZoomableCanvas/ │ │ ├── LinkedListExtensions.cs │ │ ├── PriorityQuadTree.cs │ │ ├── PriorityQueue.cs │ │ ├── VirtualPanel.cs │ │ └── ZoomableCanvas.cs │ ├── Resources/ │ │ ├── ExceptionStringTable.txt │ │ ├── SR.cs │ │ └── SRID.cs │ ├── Samples/ │ │ ├── Accordion/ │ │ │ ├── AccordionSample.xaml │ │ │ ├── AccordionSample.xaml.cs │ │ │ ├── AccordionShowcase.xaml │ │ │ ├── AccordionShowcase.xaml.cs │ │ │ ├── AccordionUsage.xaml │ │ │ └── AccordionUsage.xaml.cs │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── AutoCompleteBox/ │ │ │ ├── AutoCompleteBoxSample.xaml │ │ │ ├── AutoCompleteBoxSample.xaml.cs │ │ │ ├── AutoCompleteComboBox.xaml │ │ │ ├── AutoCompleteComboBox.xaml.cs │ │ │ ├── AutoCompleteLambda.xaml │ │ │ ├── AutoCompleteLambda.xaml.cs │ │ │ ├── CustomEvents.xaml │ │ │ ├── CustomEvents.xaml.cs │ │ │ ├── DataGridAutoCompleteBox.xaml │ │ │ ├── DataGridAutoCompleteBox.xaml.cs │ │ │ ├── DataGridAutoCompleteBoxEdit.xaml │ │ │ ├── DataGridAutoCompleteBoxEdit.xaml.cs │ │ │ ├── DataGridSelectionAdapter.cs │ │ │ ├── DictionaryKeyValueConverter.cs │ │ │ ├── RandomEmployeeDetails.cs │ │ │ ├── SampleEmployeeCollection.cs │ │ │ ├── SearchSuggestionSample.xaml │ │ │ └── SearchSuggestionSample.xaml.cs │ │ ├── BlogPostData.xml │ │ ├── Common/ │ │ │ ├── BusinessObjects/ │ │ │ │ ├── Airport.cs │ │ │ │ ├── City.cs │ │ │ │ ├── Contact.cs │ │ │ │ ├── Customer.cs │ │ │ │ ├── CustomerList.cs │ │ │ │ ├── Department.cs │ │ │ │ ├── Employee.cs │ │ │ │ ├── Feature.cs │ │ │ │ ├── MemberInfoData.cs │ │ │ │ ├── ObjectCollection.cs │ │ │ │ ├── Photograph.cs │ │ │ │ └── Words.cs │ │ │ ├── GridLengthAnimation.cs │ │ │ ├── SharedResources.cs │ │ │ └── WebServiceHelper.cs │ │ ├── DataVisualisation/ │ │ │ ├── DataVisualisationSample.xaml │ │ │ ├── DataVisualisationSample.xaml.cs │ │ │ └── SampleDataVM.cs │ │ ├── MainWindow.xaml │ │ ├── MainWindow.xaml.cs │ │ ├── Properties/ │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.cs │ │ │ └── Settings.settings │ │ ├── Rating/ │ │ │ ├── RatingSample.xaml │ │ │ └── RatingSample.xaml.cs │ │ ├── Themes/ │ │ │ ├── ThemesExample.xaml │ │ │ └── ThemesExample.xaml.cs │ │ ├── TreeMap/ │ │ │ ├── BlogPost.cs │ │ │ ├── TreeMapIntroduction.xaml │ │ │ └── TreeMapIntroduction.xaml.cs │ │ ├── WPFToolkitSamples.csproj │ │ └── app.config │ ├── Themes/ │ │ ├── Aero.NormalColor.xaml │ │ ├── Classic.xaml │ │ ├── Generic.xaml │ │ ├── Luna.HomeStead.xaml │ │ ├── Luna.Metallic.xaml │ │ ├── Luna.NormalColor.xaml │ │ └── Royale.NormalColor.xaml │ ├── WPF.Themes/ │ │ ├── BubbleCreme/ │ │ │ └── Theme.xaml │ │ ├── BureauBlack/ │ │ │ └── Theme.xaml │ │ ├── BureauBlue/ │ │ │ └── Theme.xaml │ │ ├── DavesGlossyControls/ │ │ │ └── Theme.xaml │ │ ├── DotNetProjects.WPF.Themes.csproj │ │ ├── DotNetProjects.snk │ │ ├── ExpressionDark/ │ │ │ └── Theme.xaml │ │ ├── ExpressionLight/ │ │ │ └── Theme.xaml │ │ ├── IG/ │ │ │ ├── IG.MSControls.Toolkit.Implicit.xaml │ │ │ ├── Styles.Shared.xaml │ │ │ ├── Styles.WPF.xaml │ │ │ ├── Theme.Colors.xaml │ │ │ └── Theme.xaml │ │ ├── JetPack/ │ │ │ ├── Assets/ │ │ │ │ ├── Brushes.xaml │ │ │ │ ├── CoreStyles.xaml │ │ │ │ ├── Fonts.xaml │ │ │ │ ├── SdkStyles.xaml │ │ │ │ └── Styles.xaml │ │ │ ├── Helpers/ │ │ │ │ ├── DataGridCheckBoxColumnFixer.cs │ │ │ │ └── GridLengthAnimation.cs │ │ │ └── Theme.xaml │ │ ├── MetroDark/ │ │ │ ├── MetroDark.MSControls.Toolkit.Implicit.xaml │ │ │ ├── Styles.Shared.xaml │ │ │ ├── Styles.WPF.xaml │ │ │ ├── Theme.Colors.xaml │ │ │ └── Theme.xaml │ │ ├── MetroLight/ │ │ │ ├── Metro.MSControls.Toolkit.Implicit.xaml │ │ │ ├── Styles.Shared.xaml │ │ │ ├── Styles.WPF.xaml │ │ │ ├── Theme.Colors.xaml │ │ │ └── Theme.xaml │ │ ├── MoonUICore/ │ │ │ └── Theme.xaml │ │ ├── Office2010Blue/ │ │ │ ├── Office2010Blue.MSControls.Toolkit.Implicit.xaml │ │ │ ├── Styles.Shared.xaml │ │ │ ├── Styles.WPF.xaml │ │ │ ├── Theme.Colors.xaml │ │ │ └── Theme.xaml │ │ ├── Properties/ │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.cs │ │ │ └── Settings.settings │ │ ├── RainierOrange/ │ │ │ └── Theme.xaml │ │ ├── RainierPurple/ │ │ │ └── Theme.xaml │ │ ├── RainierRadialBlue/ │ │ │ └── Theme.xaml │ │ ├── ShinyBlue/ │ │ │ └── Theme.xaml │ │ ├── ShinyDarkGreen/ │ │ │ └── Theme.xaml │ │ ├── ShinyDarkPurple/ │ │ │ └── Theme.xaml │ │ ├── ShinyDarkTeal/ │ │ │ └── Theme.xaml │ │ ├── ShinyRed/ │ │ │ └── Theme.xaml │ │ ├── SunnyOrange/ │ │ │ └── Theme.xaml │ │ ├── ThemeManager.cs │ │ ├── TwilightBlue/ │ │ │ └── Theme.xaml │ │ ├── UXMusingsBubblyBlue/ │ │ │ └── Theme.xaml │ │ ├── UXMusingsGreen/ │ │ │ └── Theme.xaml │ │ ├── UXMusingsRed/ │ │ │ └── Theme.xaml │ │ ├── UXMusingsRoughGreen/ │ │ │ └── Theme.xaml │ │ ├── UXMusingsRoughRed/ │ │ │ └── Theme.xaml │ │ └── WhistlerBlue/ │ │ └── Theme.xaml │ ├── WPFToolkit.sln │ └── WpfTest/ │ ├── App.xaml │ ├── App.xaml.cs │ ├── MainWindow.xaml │ ├── MainWindow.xaml.cs │ └── WpfTest.csproj ├── appveyor.yml └── build.bat
Showing preview only (252K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (2352 symbols across 267 files)
FILE: WpfToolkit/Calendar/Microsoft/Windows/Automation/Peers/CalendarAutomationPeer.cs
class CalendarAutomationPeer (line 22) | public sealed class CalendarAutomationPeer : FrameworkElementAutomationP...
method CalendarAutomationPeer (line 28) | public CalendarAutomationPeer(Calendar owner)
method GetPattern (line 72) | public override object GetPattern(PatternInterface patternInterface)
method GetAutomationControlTypeCore (line 103) | protected override AutomationControlType GetAutomationControlTypeCore()
method GetClassNameCore (line 113) | protected override string GetClassNameCore()
method RaiseSelectionEvents (line 122) | internal void RaiseSelectionEvents(SelectionChangedEventArgs e)
method GetItem (line 219) | IRawElementProviderSimple IGridProvider.GetItem(int row, int column)
method GetSupportedViews (line 259) | int[] IMultipleViewProvider.GetSupportedViews()
method GetViewName (line 270) | string IMultipleViewProvider.GetViewName(int viewId)
method SetCurrentView (line 295) | void IMultipleViewProvider.SetCurrentView(int viewId)
method GetSelection (line 320) | IRawElementProviderSimple[] ISelectionProvider.GetSelection()
method GetColumnHeaders (line 395) | IRawElementProviderSimple[] ITableProvider.GetColumnHeaders()
method GetRowHeaders (line 427) | IRawElementProviderSimple[] ITableProvider.GetRowHeaders()
FILE: WpfToolkit/Calendar/Microsoft/Windows/Automation/Peers/CalendarButtonAutomationPeer.cs
class CalendarButtonAutomationPeer (line 21) | public sealed class CalendarButtonAutomationPeer : ButtonAutomationPeer,...
method CalendarButtonAutomationPeer (line 27) | public CalendarButtonAutomationPeer(CalendarButton owner)
method GetPattern (line 92) | public override object GetPattern(PatternInterface patternInterface)
method GetAutomationControlTypeCore (line 131) | protected override AutomationControlType GetAutomationControlTypeCore()
method GetClassNameCore (line 141) | protected override string GetClassNameCore()
method GetLocalizedControlTypeCore (line 150) | protected override string GetLocalizedControlTypeCore()
method GetHelpTextCore (line 159) | protected override string GetHelpTextCore()
method GetNameCore (line 169) | protected override string GetNameCore()
method AddToSelection (line 253) | void ISelectionItemProvider.AddToSelection()
method RemoveFromSelection (line 258) | void ISelectionItemProvider.RemoveFromSelection()
method Select (line 263) | void ISelectionItemProvider.Select()
FILE: WpfToolkit/Calendar/Microsoft/Windows/Automation/Peers/CalendarDayButtonAutomationPeer.cs
class CalendarDayButtonAutomationPeer (line 22) | public sealed class CalendarDayButtonAutomationPeer : ButtonAutomationPe...
method CalendarDayButtonAutomationPeer (line 28) | public CalendarDayButtonAutomationPeer(CalendarDayButton owner)
method GetPattern (line 93) | public override object GetPattern(PatternInterface patternInterface)
method GetAutomationControlTypeCore (line 133) | protected override AutomationControlType GetAutomationControlTypeCore()
method GetClassNameCore (line 143) | protected override string GetClassNameCore()
method GetHelpTextCore (line 152) | protected override string GetHelpTextCore()
method GetLocalizedControlTypeCore (line 178) | protected override string GetLocalizedControlTypeCore()
method GetNameCore (line 187) | protected override string GetNameCore()
method AddToSelection (line 281) | void ISelectionItemProvider.AddToSelection()
method RemoveFromSelection (line 305) | void ISelectionItemProvider.RemoveFromSelection()
method Select (line 322) | void ISelectionItemProvider.Select()
method GetColumnHeaderItems (line 343) | IRawElementProviderSimple[] ITableItemProvider.GetColumnHeaderItems()
method GetRowHeaderItems (line 363) | IRawElementProviderSimple[] ITableItemProvider.GetRowHeaderItems()
method EnsureSelection (line 372) | private bool EnsureSelection()
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/Calendar.cs
class Calendar (line 22) | [TemplatePart(Name = Calendar.ElementRoot, Type = typeof(Panel))]
method Calendar (line 83) | static Calendar()
method Calendar (line 96) | public Calendar()
method OnDisplayDateChanged (line 210) | private static void OnDisplayDateChanged(DependencyObject d, Dependenc...
method CoerceDisplayDate (line 220) | private static object CoerceDisplayDate(DependencyObject d, object value)
method OnDisplayDateEndChanged (line 266) | private static void OnDisplayDateEndChanged(DependencyObject d, Depend...
method CoerceDisplayDateEnd (line 275) | private static object CoerceDisplayDateEnd(DependencyObject d, object ...
method OnDisplayDateStartChanged (line 327) | private static void OnDisplayDateStartChanged(DependencyObject d, Depe...
method CoerceDisplayDateStart (line 337) | private static object CoerceDisplayDateStart(DependencyObject d, objec...
method OnDisplayModePropertyChanged (line 384) | private static void OnDisplayModePropertyChanged(DependencyObject d, D...
method OnFirstDayOfWeekChanged (line 457) | private static void OnFirstDayOfWeekChanged(DependencyObject d, Depend...
method OnIsTodayHighlightedChanged (line 491) | private static void OnIsTodayHighlightedChanged(DependencyObject d, De...
method OnLanguageChanged (line 506) | private static void OnLanguageChanged(DependencyObject d, DependencyPr...
method OnSelectedDateChanged (line 544) | private static void OnSelectedDateChanged(DependencyObject d, Dependen...
method OnSelectionModeChanged (line 630) | private static void OnSelectionModeChanged(DependencyObject d, Depende...
method OnApplyTemplate (line 758) | public override void OnApplyTemplate()
method ToString (line 782) | public override string ToString()
method OnSelectedDatesChanged (line 798) | protected virtual void OnSelectedDatesChanged(SelectionChangedEventArg...
method OnDisplayDateChanged (line 803) | protected virtual void OnDisplayDateChanged(CalendarDateChangedEventAr...
method OnDisplayModeChanged (line 812) | protected virtual void OnDisplayModeChanged(CalendarModeChangedEventAr...
method OnSelectionModeChanged (line 822) | protected virtual void OnSelectionModeChanged(EventArgs e)
method OnCreateAutomationPeer (line 836) | protected override AutomationPeer OnCreateAutomationPeer()
method OnKeyDown (line 841) | protected override void OnKeyDown(KeyEventArgs e)
method OnKeyUp (line 849) | protected override void OnKeyUp(KeyEventArgs e)
method FindDayButtonFromDay (line 864) | internal CalendarDayButton FindDayButtonFromDay(DateTime day)
method IsValidDateSelection (line 883) | internal static bool IsValidDateSelection(Calendar cal, object value)
method OnDayButtonMouseUp (line 888) | internal void OnDayButtonMouseUp(MouseButtonEventArgs e)
method OnDayOrMonthPreviewKeyDown (line 897) | internal void OnDayOrMonthPreviewKeyDown(RoutedEventArgs e)
method OnDayClick (line 907) | internal void OnDayClick(DateTime selectedDate)
method OnCalendarButtonPressed (line 925) | internal void OnCalendarButtonPressed(CalendarButton b, bool switchDis...
method GetDateOffset (line 973) | private DateTime? GetDateOffset(DateTime date, int offset, CalendarMod...
method MoveDisplayTo (line 1004) | private void MoveDisplayTo(DateTime? date)
method OnNextClick (line 1038) | internal void OnNextClick()
method OnPreviousClick (line 1047) | internal void OnPreviousClick()
method OnSelectedDatesCollectionChanged (line 1056) | internal void OnSelectedDatesCollectionChanged(SelectionChangedEventAr...
method UpdateCellItems (line 1076) | internal void UpdateCellItems()
method CoerceFromSelection (line 1112) | private void CoerceFromSelection()
method AddKeyboardSelection (line 1120) | private void AddKeyboardSelection()
method IsSelectionChanged (line 1131) | private static bool IsSelectionChanged(SelectionChangedEventArgs e)
method IsValidDisplayMode (line 1149) | private static bool IsValidDisplayMode(object value)
method IsValidFirstDayOfWeek (line 1158) | internal static bool IsValidFirstDayOfWeek(object value)
method IsValidKeyboardSelection (line 1171) | private static bool IsValidKeyboardSelection(Calendar cal, object value)
method IsValidSelectionMode (line 1190) | private static bool IsValidSelectionMode(object value)
method OnSelectedMonthChanged (line 1200) | private void OnSelectedMonthChanged(DateTime? selectedMonth)
method OnSelectedYearChanged (line 1213) | private void OnSelectedYearChanged(DateTime? selectedYear)
method FocusDate (line 1226) | internal void FocusDate(DateTime date)
method OnGotFocus (line 1237) | private static void OnGotFocus(object sender, RoutedEventArgs e)
method ProcessCalendarKey (line 1259) | private bool ProcessCalendarKey(KeyEventArgs e)
method ProcessDownKey (line 1336) | private void ProcessDownKey(bool ctrl, bool shift)
method ProcessEndKey (line 1385) | private void ProcessEndKey(bool shift)
method ProcessEnterKey (line 1428) | private bool ProcessEnterKey()
method ProcessHomeKey (line 1450) | private void ProcessHomeKey(bool shift)
method ProcessLeftKey (line 1478) | private void ProcessLeftKey(bool shift)
method ProcessPageDownKey (line 1506) | private void ProcessPageDownKey(bool shift)
method ProcessPageUpKey (line 1533) | private void ProcessPageUpKey(bool shift)
method ProcessRightKey (line 1560) | private void ProcessRightKey(bool shift)
method ProcessSelection (line 1588) | private void ProcessSelection(bool shift, DateTime? lastSelectedDate)
method ProcessShiftKeyUp (line 1657) | private void ProcessShiftKeyUp()
method ProcessUpKey (line 1667) | private void ProcessUpKey(bool ctrl, bool shift)
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarBlackoutDatesCollection.cs
class CalendarBlackoutDatesCollection (line 18) | public sealed class CalendarBlackoutDatesCollection : ObservableCollecti...
method CalendarBlackoutDatesCollection (line 31) | public CalendarBlackoutDatesCollection(Calendar owner)
method AddDatesInPast (line 42) | public void AddDatesInPast()
method Contains (line 52) | public bool Contains(DateTime date)
method Contains (line 63) | public bool Contains(DateTime start, DateTime end)
method ContainsAny (line 95) | public bool ContainsAny(CalendarDateRange range)
method GetNonBlackoutDate (line 114) | internal DateTime? GetNonBlackoutDate(DateTime? requestedDate, int day...
method ClearItems (line 160) | protected override void ClearItems()
method InsertItem (line 181) | protected override void InsertItem(int index, CalendarDateRange item)
method RemoveItem (line 204) | protected override void RemoveItem(int index)
method SetItem (line 225) | protected override void SetItem(int index, CalendarDateRange item)
method RegisterItem (line 261) | private void RegisterItem(CalendarDateRange item)
method UnRegisterItem (line 273) | private void UnRegisterItem(CalendarDateRange item)
method Item_Changing (line 287) | private void Item_Changing(object sender, CalendarDateRangeChangingEve...
method Item_PropertyChanged (line 304) | private void Item_PropertyChanged(object sender, PropertyChangedEventA...
method IsValid (line 317) | private bool IsValid(CalendarDateRange item)
method IsValid (line 328) | private bool IsValid(DateTime start, DateTime end)
method IsValidThread (line 343) | private bool IsValidThread()
method GetContainingDateRange (line 353) | private CalendarDateRange GetContainingDateRange(DateTime date)
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarButton.cs
class CalendarButton (line 18) | [TemplateVisualState(Name = VisualStates.StateNormal, GroupName = Visual...
method CalendarButton (line 40) | static CalendarButton()
method CalendarButton (line 49) | public CalendarButton()
method OnApplyTemplate (line 126) | public override void OnApplyTemplate()
method OnCreateAutomationPeer (line 142) | protected override AutomationPeer OnCreateAutomationPeer()
method OnGotKeyboardFocus (line 147) | protected override void OnGotKeyboardFocus(System.Windows.Input.Keyboa...
method OnLostKeyboardFocus (line 153) | protected override void OnLostKeyboardFocus(System.Windows.Input.Keybo...
method SetContentInternal (line 163) | internal void SetContentInternal(string value)
method ChangeVisualState (line 188) | private void ChangeVisualState(bool useTransitions)
method OnVisualStatePropertyChanged (line 226) | private static void OnVisualStatePropertyChanged(DependencyObject dObj...
method OnCoerceContent (line 235) | private static object OnCoerceContent(DependencyObject sender, object ...
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarDateChangedEventArgs.cs
class CalendarDateChangedEventArgs (line 14) | public class CalendarDateChangedEventArgs : System.Windows.RoutedEventArgs
method CalendarDateChangedEventArgs (line 16) | internal CalendarDateChangedEventArgs(DateTime? removedDate, DateTime?...
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarDateRange.cs
class CalendarDateRange (line 15) | public sealed class CalendarDateRange : INotifyPropertyChanged
method CalendarDateRange (line 25) | public CalendarDateRange() :
method CalendarDateRange (line 34) | public CalendarDateRange(DateTime day) :
method CalendarDateRange (line 44) | public CalendarDateRange(DateTime start, DateTime end)
method ContainsAny (line 126) | internal bool ContainsAny(CalendarDateRange range)
method OnChanging (line 135) | private void OnChanging(CalendarDateRangeChangingEventArgs e)
method OnPropertyChanged (line 144) | private void OnPropertyChanged(PropertyChangedEventArgs e)
method CoerceEnd (line 159) | private static DateTime CoerceEnd(DateTime start, DateTime end)
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarDateRangeChangingEventArgs.cs
class CalendarDateRangeChangingEventArgs (line 14) | internal class CalendarDateRangeChangingEventArgs : EventArgs
method CalendarDateRangeChangingEventArgs (line 16) | public CalendarDateRangeChangingEventArgs(DateTime start, DateTime end)
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarDayButton.cs
class CalendarDayButton (line 18) | [TemplateVisualState(Name = VisualStates.StateNormal, GroupName = Visual...
method CalendarDayButton (line 82) | static CalendarDayButton()
method CalendarDayButton (line 91) | public CalendarDayButton()
method OnApplyTemplate (line 231) | public override void OnApplyTemplate()
method OnCreateAutomationPeer (line 247) | protected override AutomationPeer OnCreateAutomationPeer()
method OnGotKeyboardFocus (line 252) | protected override void OnGotKeyboardFocus(System.Windows.Input.Keyboa...
method OnLostKeyboardFocus (line 258) | protected override void OnLostKeyboardFocus(System.Windows.Input.Keybo...
method ChangeVisualState (line 275) | internal void ChangeVisualState(bool useTransitions)
method SetContentInternal (line 337) | internal void SetContentInternal(string value)
method OnVisualStatePropertyChanged (line 360) | private static void OnVisualStatePropertyChanged(DependencyObject send...
method OnCoerceContent (line 369) | private static object OnCoerceContent(DependencyObject sender, object ...
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarItem.cs
class CalendarItem (line 18) | [TemplatePart(Name = CalendarItem.ElementRoot, Type = typeof(FrameworkEl...
method CalendarItem (line 63) | static CalendarItem()
method CalendarItem (line 74) | public CalendarItem()
method OnApplyTemplate (line 151) | public override void OnApplyTemplate()
method OnMouseUp (line 244) | protected override void OnMouseUp(MouseButtonEventArgs e)
method OnLostMouseCapture (line 265) | protected override void OnLostMouseCapture(MouseEventArgs e)
method UpdateDecadeMode (line 280) | internal void UpdateDecadeMode()
method UpdateMonthMode (line 306) | internal void UpdateMonthMode()
method UpdateYearMode (line 320) | internal void UpdateYearMode()
method GetCalendarDayButtons (line 332) | internal IEnumerable<CalendarDayButton> GetCalendarDayButtons()
method GetFocusedCalendarDayButton (line 350) | internal CalendarDayButton GetFocusedCalendarDayButton()
method GetCalendarDayButton (line 363) | internal CalendarDayButton GetCalendarDayButton(DateTime date)
method GetCalendarButton (line 379) | internal CalendarButton GetCalendarButton(DateTime date, CalendarMode ...
method GetFocusedCalendarButton (line 407) | internal CalendarButton GetFocusedCalendarButton()
method GetCalendarButtons (line 420) | private IEnumerable<CalendarButton> GetCalendarButtons()
method FocusDate (line 432) | internal void FocusDate(DateTime date)
method GetDecadeForDecadeMode (line 468) | private int GetDecadeForDecadeMode(DateTime selectedYear)
method EndDrag (line 505) | private void EndDrag(bool ctrl, DateTime selectedDate)
method CellOrMonth_PreviewKeyDown (line 534) | private void CellOrMonth_PreviewKeyDown(object sender, RoutedEventArgs e)
method Cell_Clicked (line 546) | private void Cell_Clicked(object sender, RoutedEventArgs e)
method Cell_MouseLeftButtonDown (line 641) | private void Cell_MouseLeftButtonDown(object sender, MouseButtonEventA...
method Cell_MouseEnter (line 741) | private void Cell_MouseEnter(object sender, MouseEventArgs e)
method Cell_MouseLeftButtonUp (line 790) | private void Cell_MouseLeftButtonUp(object sender, MouseButtonEventArg...
method FinishSelection (line 817) | private void FinishSelection(DateTime selectedDate)
method Month_MouseLeftButtonDown (line 859) | private void Month_MouseLeftButtonDown(object sender, MouseButtonEvent...
method Month_MouseLeftButtonUp (line 874) | private void Month_MouseLeftButtonUp(object sender, MouseButtonEventAr...
method Month_MouseEnter (line 883) | private void Month_MouseEnter(object sender, MouseEventArgs e)
method Month_Clicked (line 895) | private void Month_Clicked(object sender, RoutedEventArgs e)
method HeaderButton_Click (line 904) | private void HeaderButton_Click(object sender, RoutedEventArgs e)
method PreviousButton_Click (line 923) | private void PreviousButton_Click(object sender, RoutedEventArgs e)
method NextButton_Click (line 931) | private void NextButton_Click(object sender, RoutedEventArgs e)
method PopulateGrids (line 939) | private void PopulateGrids()
method SetMonthModeDayTitles (line 1004) | private void SetMonthModeDayTitles()
method SetMonthModeCalendarDayButtons (line 1029) | private void SetMonthModeCalendarDayButtons()
method SetMonthModeDayButtonState (line 1062) | private void SetMonthModeDayButtonState(CalendarDayButton childButton,...
method AddMonthModeHighlight (line 1128) | private void AddMonthModeHighlight()
method SetMonthModeHeaderButton (line 1181) | private void SetMonthModeHeaderButton()
method SetMonthModeNextButton (line 1194) | private void SetMonthModeNextButton()
method SetMonthModePreviousButton (line 1215) | private void SetMonthModePreviousButton()
method SetYearButtons (line 1228) | private void SetYearButtons(int decade, int decadeEnd)
method SetYearModeMonthButtons (line 1276) | private void SetYearModeMonthButtons()
method SetYearModeHeaderButton (line 1312) | private void SetYearModeHeaderButton()
method SetYearModeNextButton (line 1321) | private void SetYearModeNextButton()
method SetYearModePreviousButton (line 1329) | private void SetYearModePreviousButton()
method SetDecadeModeHeaderButton (line 1341) | private void SetDecadeModeHeaderButton(int decade)
method SetDecadeModeNextButton (line 1350) | private void SetDecadeModeNextButton(int decadeEnd)
method SetDecadeModePreviousButton (line 1358) | private void SetDecadeModePreviousButton(int decade)
method GetNumberOfDisplayedDaysFromPreviousMonth (line 1369) | private int GetNumberOfDisplayedDaysFromPreviousMonth(DateTime firstOf...
method GetOwnerBinding (line 1398) | private BindingBase GetOwnerBinding(string propertyName)
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarMode.cs
type CalendarMode (line 12) | public enum CalendarMode
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarModeChangedEventArgs.cs
class CalendarModeChangedEventArgs (line 12) | public class CalendarModeChangedEventArgs : System.Windows.RoutedEventArgs
method CalendarModeChangedEventArgs (line 19) | public CalendarModeChangedEventArgs(CalendarMode oldMode, CalendarMode...
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarSelectionChangedEventArgs.cs
class CalendarSelectionChangedEventArgs (line 20) | internal class CalendarSelectionChangedEventArgs : SelectionChangedEvent...
method CalendarSelectionChangedEventArgs (line 28) | public CalendarSelectionChangedEventArgs(RoutedEvent eventId, IList re...
method InvokeEventHandler (line 33) | protected override void InvokeEventHandler(Delegate genericHandler, ob...
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarSelectionMode.cs
type CalendarSelectionMode (line 12) | public enum CalendarSelectionMode
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/DateTimeHelper.cs
class DateTimeHelper (line 16) | internal static class DateTimeHelper
method AddDays (line 20) | public static DateTime? AddDays(DateTime time, int days)
method AddMonths (line 32) | public static DateTime? AddMonths(DateTime time, int months)
method AddYears (line 44) | public static DateTime? AddYears(DateTime time, int years)
method SetYear (line 56) | public static DateTime? SetYear(DateTime date, int year)
method SetYearMonth (line 61) | public static DateTime? SetYearMonth(DateTime date, DateTime yearMonth)
method CompareDays (line 72) | public static int CompareDays(DateTime dt1, DateTime dt2)
method CompareYearMonth (line 77) | public static int CompareYearMonth(DateTime dt1, DateTime dt2)
method DecadeOfDate (line 82) | public static int DecadeOfDate(DateTime date)
method DiscardDayTime (line 87) | public static DateTime DiscardDayTime(DateTime d)
method DiscardTime (line 92) | public static DateTime? DiscardTime(DateTime? d)
method EndOfDecade (line 102) | public static int EndOfDecade(DateTime date)
method GetCurrentDateFormat (line 107) | public static DateTimeFormatInfo GetCurrentDateFormat()
method GetCulture (line 112) | internal static CultureInfo GetCulture(FrameworkElement element)
method GetCultureInfo (line 129) | internal static CultureInfo GetCultureInfo(DependencyObject element)
method GetDateFormat (line 143) | internal static DateTimeFormatInfo GetDateFormat(CultureInfo culture)
method InRange (line 191) | public static bool InRange(DateTime date, CalendarDateRange range)
method InRange (line 197) | public static bool InRange(DateTime date, DateTime start, DateTime end)
method ToDayString (line 209) | public static string ToDayString(DateTime? date, CultureInfo culture)
method ToDecadeRangeString (line 222) | public static string ToDecadeRangeString(int decade, CultureInfo culture)
method ToYearMonthPatternString (line 236) | public static string ToYearMonthPatternString(DateTime? date, CultureI...
method ToYearString (line 249) | public static string ToYearString(DateTime? date, CultureInfo culture)
method ToAbbreviatedMonthString (line 262) | public static string ToAbbreviatedMonthString(DateTime? date, CultureI...
method ToLongDateString (line 279) | public static string ToLongDateString(DateTime? date, CultureInfo cult...
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/KeyboardHelper.cs
class KeyboardHelper (line 5) | internal static class KeyboardHelper
method GetMetaKeyState (line 7) | public static void GetMetaKeyState(out bool ctrl, out bool shift)
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/SelectedDatesCollection.cs
class SelectedDatesCollection (line 21) | public sealed class SelectedDatesCollection : ObservableCollection<DateT...
method SelectedDatesCollection (line 38) | public SelectedDatesCollection(Calendar owner)
method AddRange (line 111) | public void AddRange(DateTime start, DateTime end)
method ClearItems (line 136) | protected override void ClearItems()
method InsertItem (line 153) | protected override void InsertItem(int index, DateTime item)
method RemoveItem (line 214) | protected override void RemoveItem(int index)
method SetItem (line 263) | protected override void SetItem(int index, DateTime item)
method AddRangeInternal (line 320) | internal void AddRangeInternal(DateTime start, DateTime end)
method ClearInternal (line 347) | internal void ClearInternal()
method ClearInternal (line 352) | internal void ClearInternal(bool fireChangeNotification)
method Toggle (line 384) | internal void Toggle(DateTime date)
method RaiseSelectionChanged (line 427) | private void RaiseSelectionChanged(IList removedItems, IList addedItems)
method BeginAddRange (line 432) | private void BeginAddRange()
method EndAddRange (line 438) | private void EndAddRange()
method CheckSelectionMode (line 449) | private bool CheckSelectionMode()
method IsValidThread (line 474) | private bool IsValidThread()
method UpdateMinMax (line 479) | private void UpdateMinMax(DateTime date)
method ClearMinMax (line 492) | private void ClearMinMax()
method GetDaysInRange (line 498) | private static IEnumerable<DateTime> GetDaysInRange(DateTime start, Da...
method GetDirection (line 514) | private static int GetDirection(DateTime start, DateTime end)
FILE: WpfToolkit/Calendar/Microsoft/Windows/Controls/VisualStates.cs
class VisualStates (line 16) | internal static class VisualStates
method GoToState (line 167) | public static void GoToState(Control control, bool useTransitions, par...
FILE: WpfToolkit/Common/System/Windows/Controls/BindingEvaluator.cs
class BindingEvaluator (line 15) | internal partial class BindingEvaluator<T> : FrameworkElement
method BindingEvaluator (line 60) | public BindingEvaluator()
method BindingEvaluator (line 69) | public BindingEvaluator(Binding binding)
method ClearDataContext (line 78) | public void ClearDataContext()
method GetDynamicValue (line 92) | public T GetDynamicValue(object o, bool clearDataContext)
method GetDynamicValue (line 110) | public T GetDynamicValue(object o)
FILE: WpfToolkit/Common/System/Windows/Controls/Extensions.cs
class Extensions (line 17) | internal static partial class Extensions
method Invert (line 30) | public static bool Invert(this Matrix m, out Matrix outputMatrix)
method Contains (line 60) | public static bool Contains(this string s, string value, StringCompari...
FILE: WpfToolkit/Common/System/Windows/Controls/IUpdateVisualState.cs
type IUpdateVisualState (line 15) | [SuppressMessage("Microsoft.Design", "CA1064:ExceptionsShouldBePublic", ...
method UpdateVisualState (line 25) | void UpdateVisualState(bool useTransitions);
FILE: WpfToolkit/Common/System/Windows/Controls/InteractionHelper.cs
class InteractionHelper (line 21) | internal sealed partial class InteractionHelper
method InteractionHelper (line 98) | public InteractionHelper(Control control)
method UpdateVisualState (line 125) | private void UpdateVisualState(bool useTransitions)
method UpdateVisualStateBase (line 140) | public void UpdateVisualStateBase(bool useTransitions)
method OnLoaded (line 181) | private void OnLoaded(object sender, RoutedEventArgs e)
method OnIsEnabledChanged (line 191) | private void OnIsEnabledChanged(object sender, DependencyPropertyChang...
method OnIsReadOnlyChanged (line 208) | [SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivate...
method OnApplyTemplateBase (line 225) | public void OnApplyTemplateBase()
method AllowGotFocus (line 238) | public bool AllowGotFocus(RoutedEventArgs e)
method OnGotFocusBase (line 256) | public void OnGotFocusBase()
method AllowLostFocus (line 270) | public bool AllowLostFocus(RoutedEventArgs e)
method OnLostFocusBase (line 288) | public void OnLostFocusBase()
method AllowMouseEnter (line 303) | public bool AllowMouseEnter(MouseEventArgs e)
method OnMouseEnterBase (line 321) | public void OnMouseEnterBase()
method AllowMouseLeave (line 335) | public bool AllowMouseLeave(MouseEventArgs e)
method OnMouseLeaveBase (line 353) | public void OnMouseLeaveBase()
method AllowMouseLeftButtonDown (line 367) | public bool AllowMouseLeftButtonDown(MouseButtonEventArgs e)
method OnMouseLeftButtonDownBase (line 421) | public void OnMouseLeftButtonDownBase()
method AllowMouseLeftButtonUp (line 435) | public bool AllowMouseLeftButtonUp(MouseButtonEventArgs e)
method OnMouseLeftButtonUpBase (line 453) | public void OnMouseLeftButtonUpBase()
method AllowKeyDown (line 467) | public bool AllowKeyDown(KeyEventArgs e)
method AllowKeyUp (line 486) | public bool AllowKeyUp(KeyEventArgs e)
FILE: WpfToolkit/Common/System/Windows/Controls/ItemsControlHelper.cs
class ItemsControlHelper (line 22) | internal sealed partial class ItemsControlHelper
method ItemsControlHelper (line 102) | internal ItemsControlHelper(ItemsControl control)
method OnApplyTemplate (line 111) | internal void OnApplyTemplate()
method PrepareContainerForItemOverride (line 127) | [SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivate...
method UpdateItemContainerStyle (line 149) | internal void UpdateItemContainerStyle(Style itemContainerStyle)
method ScrollIntoView (line 176) | [SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivate...
FILE: WpfToolkit/Common/System/Windows/Controls/VisualStates.cs
class VisualStates (line 18) | internal static class VisualStates
method GoToState (line 358) | public static void GoToState(Control control, bool useTransitions, par...
method GetImplementationRoot (line 378) | public static FrameworkElement GetImplementationRoot(DependencyObject ...
method TryGetVisualStateGroup (line 394) | public static VisualStateGroup TryGetVisualStateGroup(DependencyObject...
FILE: WpfToolkit/Common/System/Windows/Controls/VisualTreeExtensions.cs
class VisualTreeExtensions (line 19) | internal static class VisualTreeExtensions
method GetVisualChildren (line 26) | internal static IEnumerable<DependencyObject> GetVisualChildren(this D...
method GetLogicalChildrenBreadthFirst (line 46) | internal static IEnumerable<FrameworkElement> GetLogicalChildrenBreadt...
FILE: WpfToolkit/Common/System/Windows/Controls/WeakEventListener.cs
class WeakEventListener (line 17) | [SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInt...
method WeakEventListener (line 39) | public WeakEventListener(TInstance instance)
method OnEvent (line 53) | public void OnEvent(TSource source, TEventArgs eventArgs)
method Detach (line 74) | public void Detach()
FILE: WpfToolkit/DataVisualization/AggregatedObservableCollection.cs
class AggregatedObservableCollection (line 20) | internal class AggregatedObservableCollection<T> : ReadOnlyObservableCol...
method AggregatedObservableCollection (line 25) | public AggregatedObservableCollection()
method ChildCollectionsCollectionChanged (line 36) | private void ChildCollectionsCollectionChanged(object sender, System.C...
method ChildCollectionCollectionChanged (line 104) | private void ChildCollectionCollectionChanged(object sender, NotifyCol...
method GetStartingIndexOfCollectionAtIndex (line 148) | private int GetStartingIndexOfCollectionAtIndex(int index)
method Rebuild (line 157) | private void Rebuild()
FILE: WpfToolkit/DataVisualization/Charting/AnimationSequence.cs
type AnimationSequence (line 12) | public enum AnimationSequence
FILE: WpfToolkit/DataVisualization/Charting/Axis/Axis.cs
class Axis (line 21) | public abstract class Axis : Control, IAxis
method OnLocationPropertyChanged (line 48) | private static void OnLocationPropertyChanged(DependencyObject d, Depe...
method OnLocationPropertyChanged (line 61) | protected virtual void OnLocationPropertyChanged(AxisLocation oldValue...
method OnOrientationPropertyChanged (line 107) | private static void OnOrientationPropertyChanged(DependencyObject d, D...
method OnOrientationPropertyChanged (line 120) | protected virtual void OnOrientationPropertyChanged(AxisOrientation ol...
method OnInvalidated (line 140) | protected virtual void OnInvalidated(RoutedEventArgs args)
method CanPlot (line 159) | public abstract bool CanPlot(object value);
method GetPlotAreaCoordinate (line 167) | public abstract UnitValue GetPlotAreaCoordinate(object value);
method Axis (line 172) | protected Axis()
method OnChildAxesCollectionChanged (line 185) | private void OnChildAxesCollectionChanged(object sender, NotifyCollect...
method OnDependentAxesCollectionChanged (line 193) | protected virtual void OnDependentAxesCollectionChanged()
method RegisteredListenersCollectionChanged (line 203) | private void RegisteredListenersCollectionChanged(object sender, Syste...
method OnObjectRegistered (line 225) | protected virtual void OnObjectRegistered(IAxisListener series)
method OnObjectUnregistered (line 233) | protected virtual void OnObjectUnregistered(IAxisListener series)
FILE: WpfToolkit/DataVisualization/Charting/Axis/AxisIntervalType.cs
type AxisIntervalType (line 12) | internal enum AxisIntervalType
FILE: WpfToolkit/DataVisualization/Charting/Axis/AxisLabel.cs
class AxisLabel (line 17) | public class AxisLabel : Control
method OnStringFormatPropertyChanged (line 44) | private static void OnStringFormatPropertyChanged(DependencyObject d, ...
method OnStringFormatPropertyChanged (line 55) | protected virtual void OnStringFormatPropertyChanged(string newValue)
method AxisLabel (line 85) | [SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceT...
method AxisLabel (line 94) | public AxisLabel()
method UpdateFormattedContent (line 102) | protected virtual void UpdateFormattedContent()
FILE: WpfToolkit/DataVisualization/Charting/Axis/AxisLocation.cs
type AxisLocation (line 11) | public enum AxisLocation
FILE: WpfToolkit/DataVisualization/Charting/Axis/AxisOrientation.cs
type AxisOrientation (line 12) | public enum AxisOrientation
FILE: WpfToolkit/DataVisualization/Charting/Axis/CategoryAxis.cs
class CategoryAxis (line 16) | [StyleTypedProperty(Property = "GridLineStyle", StyleTargetType = typeof...
method OnSortOrderPropertyChanged (line 59) | private static void OnSortOrderPropertyChanged(DependencyObject d, Dep...
method OnSortOrderPropertyChanged (line 68) | private void OnSortOrderPropertyChanged()
method CategoryAxis (line 88) | public CategoryAxis()
method OnObjectRegistered (line 100) | protected override void OnObjectRegistered(IAxisListener series)
method OnObjectUnregistered (line 113) | protected override void OnObjectUnregistered(IAxisListener series)
method GetPlotAreaCoordinateRange (line 128) | public Range<UnitValue> GetPlotAreaCoordinateRange(object category)
method GetCategoryAtPosition (line 174) | public object GetCategoryAtPosition(UnitValue position)
method DataChanged (line 210) | public void DataChanged(IDataProvider dataProvider, IEnumerable<object...
method UpdateCategories (line 218) | private void UpdateCategories()
method GetMajorGridLineCoordinates (line 245) | protected override IEnumerable<UnitValue> GetMajorGridLineCoordinates(...
method GetPlotAreaCoordinate (line 256) | public override UnitValue GetPlotAreaCoordinate(object value)
method CreateAndPrepareAxisLabel (line 281) | private Control CreateAndPrepareAxisLabel(object value)
method RenderOriented (line 292) | private void RenderOriented(Size availableSize)
method Render (line 345) | protected override void Render(Size availableSize)
method CanPlot (line 358) | public override bool CanPlot(object value)
FILE: WpfToolkit/DataVisualization/Charting/Axis/CategorySortOrder.cs
type CategorySortOrder (line 11) | public enum CategorySortOrder
FILE: WpfToolkit/DataVisualization/Charting/Axis/DateTimeAxis.cs
class DateTimeAxis (line 21) | [StyleTypedProperty(Property = "GridLineStyle", StyleTargetType = typeof...
method OnMaximumPropertyChanged (line 98) | private static void OnMaximumPropertyChanged(DependencyObject d, Depen...
method OnMaximumPropertyChanged (line 109) | private void OnMaximumPropertyChanged(DateTime? newValue)
method OnMinimumPropertyChanged (line 141) | private static void OnMinimumPropertyChanged(DependencyObject d, Depen...
method OnMinimumPropertyChanged (line 152) | private void OnMinimumPropertyChanged(DateTime? newValue)
method OnIntervalPropertyChanged (line 184) | private static void OnIntervalPropertyChanged(DependencyObject d, Depe...
method OnIntervalPropertyChanged (line 193) | private void OnIntervalPropertyChanged()
method OnIntervalTypePropertyChanged (line 246) | private static void OnIntervalTypePropertyChanged(DependencyObject d, ...
method OnIntervalTypePropertyChanged (line 257) | private void OnIntervalTypePropertyChanged(DateTimeIntervalType newValue)
method DateTimeAxis (line 297) | public DateTimeAxis()
method CreateAxisLabel (line 308) | protected override Control CreateAxisLabel()
method PrepareAxisLabel (line 321) | protected override void PrepareAxisLabel(Control label, object dataCon...
method OnActualRangeChanged (line 342) | protected override void OnActualRangeChanged(Range<IComparable> range)
method CanPlot (line 365) | public override bool CanPlot(object value)
method GetPlotAreaCoordinate (line 377) | protected override UnitValue GetPlotAreaCoordinate(object value, doubl...
method GetPlotAreaCoordinate (line 389) | protected override UnitValue GetPlotAreaCoordinate(object value, Range...
method GetPlotAreaCoordinate (line 401) | private static UnitValue GetPlotAreaCoordinate(object value, Range<Dat...
method CalculateActualInterval (line 424) | private double CalculateActualInterval(Size availableSize)
method GetMajorAxisValues (line 442) | protected virtual IEnumerable<DateTime> GetMajorAxisValues(Size availa...
method GetMajorTickMarkValues (line 475) | protected override IEnumerable<IComparable> GetMajorTickMarkValues(Siz...
method GetLabelValues (line 485) | protected override IEnumerable<IComparable> GetLabelValues(Size availa...
method IncrementDateTime (line 497) | private DateTime IncrementDateTime(DateTime date, double interval)
method AlignIntervalStart (line 569) | private static DateTime AlignIntervalStart(DateTime start, double inte...
method GetValueAtPosition (line 700) | protected override IComparable GetValueAtPosition(UnitValue value)
method CalculateDateTimeInterval (line 730) | [SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveCo...
method OverrideDataRange (line 933) | [SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveCo...
FILE: WpfToolkit/DataVisualization/Charting/Axis/DateTimeAxisLabel.cs
class DateTimeAxisLabel (line 16) | public class DateTimeAxisLabel : AxisLabel
method OnIntervalTypePropertyChanged (line 43) | private static void OnIntervalTypePropertyChanged(System.Windows.Depen...
method OnIntervalTypePropertyChanged (line 56) | protected virtual void OnIntervalTypePropertyChanged(DateTimeIntervalT...
method OnYearsIntervalStringFormatPropertyChanged (line 87) | private static void OnYearsIntervalStringFormatPropertyChanged(Depende...
method OnYearsIntervalStringFormatPropertyChanged (line 96) | protected virtual void OnYearsIntervalStringFormatPropertyChanged()
method OnMonthsIntervalStringFormatPropertyChanged (line 127) | private static void OnMonthsIntervalStringFormatPropertyChanged(Depend...
method OnMonthsIntervalStringFormatPropertyChanged (line 136) | protected virtual void OnMonthsIntervalStringFormatPropertyChanged()
method OnWeeksIntervalStringFormatPropertyChanged (line 167) | private static void OnWeeksIntervalStringFormatPropertyChanged(Depende...
method OnWeeksIntervalStringFormatPropertyChanged (line 176) | protected virtual void OnWeeksIntervalStringFormatPropertyChanged()
method OnDaysIntervalStringFormatPropertyChanged (line 207) | private static void OnDaysIntervalStringFormatPropertyChanged(Dependen...
method OnDaysIntervalStringFormatPropertyChanged (line 216) | protected virtual void OnDaysIntervalStringFormatPropertyChanged()
method OnHoursIntervalStringFormatPropertyChanged (line 247) | private static void OnHoursIntervalStringFormatPropertyChanged(Depende...
method OnHoursIntervalStringFormatPropertyChanged (line 256) | protected virtual void OnHoursIntervalStringFormatPropertyChanged()
method OnMinutesIntervalStringFormatPropertyChanged (line 287) | private static void OnMinutesIntervalStringFormatPropertyChanged(Depen...
method OnMinutesIntervalStringFormatPropertyChanged (line 296) | protected virtual void OnMinutesIntervalStringFormatPropertyChanged()
method OnSecondsIntervalStringFormatPropertyChanged (line 327) | private static void OnSecondsIntervalStringFormatPropertyChanged(Depen...
method OnSecondsIntervalStringFormatPropertyChanged (line 336) | protected virtual void OnSecondsIntervalStringFormatPropertyChanged()
method OnMillisecondsIntervalStringFormatPropertyChanged (line 367) | private static void OnMillisecondsIntervalStringFormatPropertyChanged(...
method OnMillisecondsIntervalStringFormatPropertyChanged (line 376) | protected virtual void OnMillisecondsIntervalStringFormatPropertyChang...
method DateTimeAxisLabel (line 385) | [SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceT...
method DateTimeAxisLabel (line 394) | public DateTimeAxisLabel()
method UpdateFormattedContent (line 401) | [SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveCo...
FILE: WpfToolkit/DataVisualization/Charting/Axis/DateTimeIntervalType.cs
type DateTimeIntervalType (line 11) | public enum DateTimeIntervalType
FILE: WpfToolkit/DataVisualization/Charting/Axis/DisplayAxis.cs
class DisplayAxis (line 20) | public abstract class DisplayAxis : Axis, IRequireSeriesHost
method OnAxisLabelStylePropertyChanged (line 62) | private static void OnAxisLabelStylePropertyChanged(DependencyObject d...
method OnAxisLabelStylePropertyChanged (line 75) | protected virtual void OnAxisLabelStylePropertyChanged(Style oldValue,...
method GetLength (line 96) | protected double GetLength(Size availableSize)
method OnGridLinesPropertyChanged (line 145) | private void OnGridLinesPropertyChanged(DisplayAxisGridLines oldValue,...
method OnMajorTickMarkStylePropertyChanged (line 184) | private static void OnMajorTickMarkStylePropertyChanged(DependencyObje...
method OnMajorTickMarkStylePropertyChanged (line 197) | protected virtual void OnMajorTickMarkStylePropertyChanged(Style oldVa...
method OnTitlePropertyChanged (line 227) | private static void OnTitlePropertyChanged(DependencyObject d, Depende...
method OnTitlePropertyChanged (line 240) | protected virtual void OnTitlePropertyChanged(object oldValue, object ...
method OnShowGridLinesPropertyChanged (line 304) | private static void OnShowGridLinesPropertyChanged(DependencyObject d,...
method OnShowGridLinesPropertyChanged (line 317) | [SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCase...
method SetShowGridLines (line 331) | private void SetShowGridLines(bool newValue)
method CreateMajorTickMark (line 449) | protected virtual Line CreateMajorTickMark()
method CreateTickMark (line 459) | protected Line CreateTickMark(Style style)
method InternalGetMajorGridLinePositions (line 481) | internal IEnumerable<UnitValue> InternalGetMajorGridLinePositions()
method GetMajorGridLineCoordinates (line 492) | [SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCase...
method DisplayAxis (line 499) | [SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceT...
method DisplayAxis (line 508) | protected DisplayAxis()
method DisplayAxisSizeChanged (line 525) | private void DisplayAxisSizeChanged(object sender, SizeChangedEventArg...
method CreateAxisLabel (line 537) | protected virtual Control CreateAxisLabel()
method OnDependentAxesCollectionChanged (line 546) | protected override void OnDependentAxesCollectionChanged()
method PrepareAxisLabel (line 558) | protected virtual void PrepareAxisLabel(Control label, object dataCont...
method OnApplyTemplate (line 567) | public override void OnApplyTemplate()
method OnOrientedPanelSizeChanged (line 588) | private void OnOrientedPanelSizeChanged(object sender, SizeChangedEven...
method OnLocationPropertyChanged (line 598) | protected override void OnLocationPropertyChanged(AxisLocation oldValu...
method ArrangeAxisGrid (line 607) | private void ArrangeAxisGrid()
method MeasureOverride (line 691) | protected override Size MeasureOverride(Size availableSize)
method OnOrientationPropertyChanged (line 705) | protected override void OnOrientationPropertyChanged(AxisOrientation o...
method OnInvalidated (line 715) | protected override void OnInvalidated(RoutedEventArgs args)
method RenderAxis (line 726) | private void RenderAxis(Size availableSize)
method Render (line 738) | protected abstract void Render(Size availableSize);
method Invalidate (line 743) | protected void Invalidate()
method OnSeriesHostPropertyChanged (line 778) | protected virtual void OnSeriesHostPropertyChanged(ISeriesHost oldValu...
FILE: WpfToolkit/DataVisualization/Charting/Axis/DisplayAxisGridLines.cs
class DisplayAxisGridLines (line 20) | [SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedC...
method OnAxisPropertyChanged (line 56) | private void OnAxisPropertyChanged(DisplayAxis oldValue, DisplayAxis n...
method DisplayAxisGridLines (line 76) | public DisplayAxisGridLines(DisplayAxis axis)
method OnSizeChanged (line 87) | private void OnSizeChanged(object sender, SizeChangedEventArgs e)
method AxisInvalidated (line 96) | public void AxisInvalidated(IAxis axis)
method Invalidate (line 104) | protected abstract void Invalidate();
FILE: WpfToolkit/DataVisualization/Charting/Axis/IAnchoredToOrigin.cs
type IAnchoredToOrigin (line 17) | public interface IAnchoredToOrigin
FILE: WpfToolkit/DataVisualization/Charting/Axis/IAxis.cs
type IAxis (line 13) | public interface IAxis
method CanPlot (line 31) | bool CanPlot(object value);
method GetPlotAreaCoordinate (line 39) | UnitValue GetPlotAreaCoordinate(object value);
FILE: WpfToolkit/DataVisualization/Charting/Axis/IAxisListener.cs
type IAxisListener (line 11) | public interface IAxisListener
method AxisInvalidated (line 17) | void AxisInvalidated(IAxis axis);
FILE: WpfToolkit/DataVisualization/Charting/Axis/ICategoryAxis.cs
type ICategoryAxis (line 13) | public interface ICategoryAxis : IAxis, IDataConsumer
method GetPlotAreaCoordinateRange (line 22) | Range<UnitValue> GetPlotAreaCoordinateRange(object category);
method GetCategoryAtPosition (line 29) | object GetCategoryAtPosition(UnitValue position);
FILE: WpfToolkit/DataVisualization/Charting/Axis/IDataConsumer.cs
type IDataConsumer (line 13) | public interface IDataConsumer
method DataChanged (line 20) | void DataChanged(IDataProvider dataProvider, IEnumerable<object> data);
FILE: WpfToolkit/DataVisualization/Charting/Axis/IDataProvider.cs
type IDataProvider (line 13) | public interface IDataProvider
method GetData (line 20) | IEnumerable<object> GetData(IDataConsumer axis);
FILE: WpfToolkit/DataVisualization/Charting/Axis/IRangeAxis.cs
type IRangeAxis (line 15) | public interface IRangeAxis : IAxis, IRangeConsumer
method GetValueAtPosition (line 28) | IComparable GetValueAtPosition(UnitValue position);
FILE: WpfToolkit/DataVisualization/Charting/Axis/IRangeConsumer.cs
type IRangeConsumer (line 13) | public interface IRangeConsumer
method RangeChanged (line 20) | void RangeChanged(IRangeProvider provider, Range<IComparable> range);
FILE: WpfToolkit/DataVisualization/Charting/Axis/IRangeProvider.cs
type IRangeProvider (line 14) | public interface IRangeProvider
method GetRange (line 22) | Range<IComparable> GetRange(IRangeConsumer rangeConsumer);
FILE: WpfToolkit/DataVisualization/Charting/Axis/IValueMarginConsumer.cs
type IValueMarginConsumer (line 13) | public interface IValueMarginConsumer
method ValueMarginsChanged (line 20) | void ValueMarginsChanged(IValueMarginProvider provider, IEnumerable<Va...
FILE: WpfToolkit/DataVisualization/Charting/Axis/IValueMarginProvider.cs
type IValueMarginProvider (line 14) | public interface IValueMarginProvider
method GetValueMargins (line 22) | [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropr...
FILE: WpfToolkit/DataVisualization/Charting/Axis/LinearAxis.cs
class LinearAxis (line 19) | [StyleTypedProperty(Property = "GridLineStyle", StyleTargetType = typeof...
method OnIntervalPropertyChanged (line 54) | private static void OnIntervalPropertyChanged(DependencyObject d, Depe...
method OnIntervalPropertyChanged (line 63) | private void OnIntervalPropertyChanged()
method LinearAxis (line 93) | public LinearAxis()
method OnActualRangeChanged (line 107) | protected override void OnActualRangeChanged(Range<IComparable> range)
method GetPlotAreaCoordinate (line 119) | protected override UnitValue GetPlotAreaCoordinate(object value, doubl...
method GetPlotAreaCoordinate (line 131) | protected override UnitValue GetPlotAreaCoordinate(object value, Range...
method GetPlotAreaCoordinate (line 143) | private static UnitValue GetPlotAreaCoordinate(object value, Range<dou...
method CalculateActualInterval (line 166) | protected virtual double CalculateActualInterval(Size availableSize)
method GetMajorTickMarkValues (line 206) | protected override IEnumerable<IComparable> GetMajorTickMarkValues(Siz...
method GetMajorValues (line 217) | private IEnumerable<double> GetMajorValues(Size availableSize)
method GetLabelValues (line 242) | protected override IEnumerable<IComparable> GetLabelValues(Size availa...
method AlignToInterval (line 254) | private static double AlignToInterval(double value, double interval)
method GetValueAtPosition (line 266) | protected override IComparable GetValueAtPosition(UnitValue value)
method LengthToRange (line 296) | private static Range<double> LengthToRange(double midPoint, double len...
method OverrideDataRange (line 308) | protected override Range<IComparable> OverrideDataRange(Range<ICompara...
FILE: WpfToolkit/DataVisualization/Charting/Axis/LogarithmicAxis.cs
class LogarithmicAxis (line 13) | [StyleTypedProperty(Property = "GridLineStyle", StyleTargetType = typeof...
method LogarithmicAxis (line 25) | public LogarithmicAxis()
method OnActualRangeChanged (line 39) | protected override void OnActualRangeChanged(Range<IComparable> range)
method GetPlotAreaCoordinate (line 52) | protected override UnitValue GetPlotAreaCoordinate(object value, Range...
method GetPlotAreaCoordinate (line 56) | protected override UnitValue GetPlotAreaCoordinate(object value, doubl...
method GetPlotAreaCoordinate (line 68) | protected static UnitValue GetPlotAreaCoordinate(object value, Range<d...
method GetValueAtPosition (line 98) | protected override IComparable GetValueAtPosition(UnitValue value)
method GetMajorTickMarkValues (line 135) | protected override IEnumerable<IComparable> GetMajorTickMarkValues(Siz...
method GetLabelValues (line 145) | protected override IEnumerable<IComparable> GetLabelValues(Size availa...
method GetMajorValues (line 163) | private IEnumerable<double> GetMajorValues(Size availableSize)
FILE: WpfToolkit/DataVisualization/Charting/Axis/NullableConverter.cs
class NullableConverter (line 24) | public class NullableConverter<T> : TypeConverter where T : struct
method CanConvertFrom (line 37) | public override bool CanConvertFrom(ITypeDescriptorContext context, Ty...
method CanConvertTo (line 62) | public override bool CanConvertTo(ITypeDescriptorContext context, Type...
method ConvertFrom (line 81) | public override object ConvertFrom(ITypeDescriptorContext context, Sys...
method ConvertTo (line 112) | public override object ConvertTo(ITypeDescriptorContext context, Cultu...
FILE: WpfToolkit/DataVisualization/Charting/Axis/NumericAxis.cs
class NumericAxis (line 20) | public abstract class NumericAxis : RangeAxis
method OnMaximumPropertyChanged (line 92) | private static void OnMaximumPropertyChanged(DependencyObject d, Depen...
method OnMaximumPropertyChanged (line 103) | protected virtual void OnMaximumPropertyChanged(double? newValue)
method OnMinimumPropertyChanged (line 135) | private static void OnMinimumPropertyChanged(DependencyObject d, Depen...
method OnMinimumPropertyChanged (line 146) | protected virtual void OnMinimumPropertyChanged(double? newValue)
method OnExtendRangeToOriginPropertyChanged (line 177) | private static void OnExtendRangeToOriginPropertyChanged(DependencyObj...
method OnExtendRangeToOriginPropertyChanged (line 190) | protected virtual void OnExtendRangeToOriginPropertyChanged(bool oldVa...
method NumericAxis (line 207) | protected NumericAxis()
method OnActualRangeChanged (line 216) | protected override void OnActualRangeChanged(Range<IComparable> range)
method CanPlot (line 237) | public override bool CanPlot(object value)
method CreateAxisLabel (line 247) | protected override Control CreateAxisLabel()
method OverrideDataRange (line 259) | protected override Range<IComparable> OverrideDataRange(Range<ICompara...
FILE: WpfToolkit/DataVisualization/Charting/Axis/NumericAxisLabel.cs
class NumericAxisLabel (line 13) | public class NumericAxisLabel : AxisLabel
method NumericAxisLabel (line 18) | static NumericAxisLabel()
method NumericAxisLabel (line 26) | public NumericAxisLabel()
FILE: WpfToolkit/DataVisualization/Charting/Axis/OrientedAxisGridLines.cs
class OrientedAxisGridLines (line 20) | [SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedC...
method OrientedAxisGridLines (line 33) | public OrientedAxisGridLines(DisplayAxis displayAxis)
method Invalidate (line 42) | protected override void Invalidate()
FILE: WpfToolkit/DataVisualization/Charting/Axis/RangeAxis.cs
class RangeAxis (line 21) | public abstract class RangeAxis : DisplayAxis, IRangeAxis, IValueMarginC...
method RangeAxis (line 146) | [SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceT...
method RangeAxis (line 155) | protected RangeAxis()
method CreateMinorTickMark (line 177) | protected Line CreateMinorTickMark()
method OnActualRangeChanged (line 186) | protected virtual void OnActualRangeChanged(Range<IComparable> range)
method GetPlotAreaCoordinate (line 196) | public override UnitValue GetPlotAreaCoordinate(object value)
method GetPlotAreaCoordinate (line 212) | protected abstract UnitValue GetPlotAreaCoordinate(object value, doubl...
method GetPlotAreaCoordinate (line 221) | protected abstract UnitValue GetPlotAreaCoordinate(object value, Range...
method OverrideDataRange (line 228) | protected virtual Range<IComparable> OverrideDataRange(Range<IComparab...
method EnforceMaximumAndMinimum (line 239) | private Range<IComparable> EnforceMaximumAndMinimum(Range<IComparable>...
method UpdateActualRange (line 278) | private void UpdateActualRange()
method RenderOriented (line 326) | private void RenderOriented(Size availableSize)
method Render (line 390) | protected override void Render(Size availableSize)
method GetMajorGridLineCoordinates (line 400) | protected override IEnumerable<UnitValue> GetMajorGridLineCoordinates(...
method GetMajorGridLineValues (line 411) | [SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCase...
method GetMajorTickMarkValues (line 423) | [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropr...
method GetMinorTickMarkValues (line 431) | [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropr...
method GetLabelValues (line 442) | [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropr...
method GetValueAtPosition (line 450) | protected abstract IComparable GetValueAtPosition(UnitValue value);
method GetValueAtPosition (line 465) | IComparable IRangeAxis.GetValueAtPosition(UnitValue value)
method RangeChanged (line 476) | void IRangeConsumer.RangeChanged(IRangeProvider usesRangeAxis, Range<I...
method ValueMarginsChanged (line 487) | void IValueMarginConsumer.ValueMarginsChanged(IValueMarginProvider pro...
method OnObjectRegistered (line 528) | protected override void OnObjectRegistered(IAxisListener series)
method OnObjectUnregistered (line 541) | protected override void OnObjectUnregistered(IAxisListener series)
method UpdateValueMargins (line 558) | internal void UpdateValueMargins(IList<ValueMarginCoordinateAndOverlap...
method GetMaxLeftAndRightOverlap (line 582) | internal static void GetMaxLeftAndRightOverlap(IList<ValueMarginCoordi...
FILE: WpfToolkit/DataVisualization/Charting/Axis/ValueMargin.cs
type ValueMargin (line 11) | public struct ValueMargin
method ValueMargin (line 34) | public ValueMargin(object value, double lowMargin, double highMargin) ...
method Equals (line 47) | public override bool Equals(object obj)
method GetHashCode (line 85) | public override int GetHashCode()
FILE: WpfToolkit/DataVisualization/Charting/Chart/Chart.cs
class Chart (line 25) | [TemplatePart(Name = Chart.ChartAreaName, Type = typeof(EdgePanel))]
method InitSeries (line 216) | private void InitSeries()
method OnPalettePropertyChanged (line 357) | private static void OnPalettePropertyChanged(DependencyObject d, Depen...
method OnPalettePropertyChanged (line 368) | private void OnPalettePropertyChanged(Collection<ResourceDictionary> n...
method Chart (line 439) | [SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceT...
method Chart (line 448) | public Chart()
method OnResourceDictionariesChanged (line 487) | private void OnResourceDictionariesChanged(EventArgs e)
method GetAutoAxisLocation (line 503) | private AxisLocation GetAutoAxisLocation(Axis axis)
method AddAxisToChartArea (line 527) | private void AddAxisToChartArea(Axis axis)
method AxisOrientationChanged (line 556) | private void AxisOrientationChanged(object sender, RoutedPropertyChang...
method SetEdge (line 568) | private static void SetEdge(Axis axis)
method AxisLocationChanged (line 592) | private void AxisLocationChanged(object sender, RoutedPropertyChangedE...
method AddSeriesToPlotArea (line 611) | private void AddSeriesToPlotArea(ISeries series)
method OnApplyTemplate (line 624) | public override void OnApplyTemplate()
method GetPlotAreaCoordinates (line 678) | private KeyValuePair<object, object> GetPlotAreaCoordinates(Point posi...
method CrosshairContainer_MouseMove (line 741) | void CrosshairContainer_MouseMove(object sender, MouseEventArgs e)
method CrosshairContainer_MouseLeave (line 750) | void CrosshairContainer_MouseLeave(object sender, MouseEventArgs e)
method CrosshairContainer_MouseEnter (line 755) | private void CrosshairContainer_MouseEnter(object sender, MouseEventAr...
method SetCrossHairVisibility (line 760) | private void SetCrossHairVisibility(bool visible)
method SelectionArea_MouseLeftButtonDown (line 769) | private void SelectionArea_MouseLeftButtonDown(object sender, MouseBut...
method ActualAxesCollectionChanged (line 821) | private void ActualAxesCollectionChanged(object sender, NotifyCollecti...
method RemoveAxisFromChartArea (line 843) | private void RemoveAxisFromChartArea(Axis axis)
method RemoveSeriesFromPlotArea (line 861) | private void RemoveSeriesFromPlotArea(ISeries series)
method SeriesCollectionChanged (line 875) | private void SeriesCollectionChanged(object sender, NotifyCollectionCh...
method ChildSeriesCollectionChanged (line 926) | private void ChildSeriesCollectionChanged(object sender, NotifyCollect...
method GetResourceDictionariesWhere (line 940) | public IEnumerator<ResourceDictionary> GetResourceDictionariesWhere(Fu...
method OnGlobalSeriesIndexesInvalidated (line 951) | private void OnGlobalSeriesIndexesInvalidated(object sender, RoutedEve...
method UpdateGlobalIndexes (line 960) | private void UpdateGlobalIndexes()
FILE: WpfToolkit/DataVisualization/Charting/Chart/SeriesHostAxesCollection.cs
class SeriesHostAxesCollection (line 17) | internal class SeriesHostAxesCollection : UniqueObservableCollection<IAxis>
method SeriesHostAxesCollection (line 34) | internal SeriesHostAxesCollection(ISeriesHost seriesHost)
method SeriesHostAxesCollection (line 47) | internal SeriesHostAxesCollection(ISeriesHost seriesHost, UniqueObserv...
method ThisCollectionChanged (line 62) | private void ThisCollectionChanged(object sender, NotifyCollectionChan...
method AxisRegisteredListenersCollectionChanged (line 86) | private void AxisRegisteredListenersCollectionChanged(object sender, N...
method PersistentAxesCollectionChanged (line 105) | public void PersistentAxesCollectionChanged(object sender, NotifyColle...
method RemoveItem (line 134) | protected override void RemoveItem(int index)
FILE: WpfToolkit/DataVisualization/Charting/DataPoint/AreaDataPoint.cs
class AreaDataPoint (line 12) | [TemplateVisualState(Name = DataPoint.StateCommonNormal, GroupName = Dat...
method AreaDataPoint (line 23) | static AreaDataPoint()
method AreaDataPoint (line 31) | public AreaDataPoint()
FILE: WpfToolkit/DataVisualization/Charting/DataPoint/BarDataPoint.cs
class BarDataPoint (line 12) | [TemplateVisualState(Name = DataPoint.StateCommonNormal, GroupName = Dat...
method BarDataPoint (line 23) | static BarDataPoint()
method BarDataPoint (line 31) | public BarDataPoint()
FILE: WpfToolkit/DataVisualization/Charting/DataPoint/BubbleDataPoint.cs
class BubbleDataPoint (line 14) | [TemplateVisualState(Name = DataPoint.StateCommonNormal, GroupName = Dat...
method OnSizePropertyChanged (line 47) | private static void OnSizePropertyChanged(DependencyObject d, Dependen...
method OnSizePropertyChanged (line 60) | private void OnSizePropertyChanged(double oldValue, double newValue)
method OnActualSizePropertyChanged (line 106) | private static void OnActualSizePropertyChanged(DependencyObject d, De...
method OnActualSizePropertyChanged (line 119) | private void OnActualSizePropertyChanged(double oldValue, double newVa...
method BubbleDataPoint (line 138) | [SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceT...
method BubbleDataPoint (line 147) | public BubbleDataPoint()
FILE: WpfToolkit/DataVisualization/Charting/DataPoint/CandlestickDataPoint.cs
class CandlestickDataPoint (line 12) | [TemplateVisualState(Name = DataPoint.StateCommonNormal, GroupName = Dat...
method CandlestickDataPoint (line 116) | static CandlestickDataPoint()
method CandlestickDataPoint (line 124) | public CandlestickDataPoint()
method OnApplyTemplate (line 128) | public override void OnApplyTemplate()
method UpdateBody (line 136) | public void UpdateBody(IRangeAxis rangeAxis)
FILE: WpfToolkit/DataVisualization/Charting/DataPoint/ColumnDataPoint.cs
class ColumnDataPoint (line 12) | [TemplateVisualState(Name = DataPoint.StateCommonNormal, GroupName = Dat...
method ColumnDataPoint (line 23) | static ColumnDataPoint()
method ColumnDataPoint (line 31) | public ColumnDataPoint()
FILE: WpfToolkit/DataVisualization/Charting/DataPoint/DataPoint.cs
class DataPoint (line 21) | [TemplateVisualState(Name = DataPoint.StateCommonNormal, GroupName = Dat...
method OnIsSelectionEnabledPropertyChanged (line 105) | private static void OnIsSelectionEnabledPropertyChanged(DependencyObje...
method OnIsSelectionEnabledPropertyChanged (line 118) | protected virtual void OnIsSelectionEnabledPropertyChanged(bool oldVal...
method OnIsHoveredPropertyChanged (line 167) | protected virtual void OnIsHoveredPropertyChanged(bool oldValue, bool ...
method OnIsSelectedPropertyChanged (line 198) | private static void OnIsSelectedPropertyChanged(DependencyObject d, De...
method OnIsSelectedPropertyChanged (line 211) | protected virtual void OnIsSelectedPropertyChanged(bool oldValue, bool...
method OnActualDependentValuePropertyChanged (line 253) | private static void OnActualDependentValuePropertyChanged(System.Windo...
method OnActualDependentValuePropertyChanged (line 277) | protected virtual void OnActualDependentValuePropertyChanged(IComparab...
method OnDependentValuePropertyChanged (line 340) | private static void OnDependentValuePropertyChanged(DependencyObject d...
method OnDependentValuePropertyChanged (line 353) | protected virtual void OnDependentValuePropertyChanged(IComparable old...
method OnDependentValueStringFormatPropertyChanged (line 404) | private static void OnDependentValueStringFormatPropertyChanged(Depend...
method OnDependentValueStringFormatPropertyChanged (line 417) | protected virtual void OnDependentValueStringFormatPropertyChanged(str...
method OnIndependentValuePropertyChanged (line 493) | private static void OnIndependentValuePropertyChanged(DependencyObject...
method OnIndependentValuePropertyChanged (line 506) | protected virtual void OnIndependentValuePropertyChanged(object oldVal...
method OnIndependentValueStringFormatPropertyChanged (line 557) | private static void OnIndependentValueStringFormatPropertyChanged(Depe...
method OnIndependentValueStringFormatPropertyChanged (line 570) | protected virtual void OnIndependentValueStringFormatPropertyChanged(s...
method OnActualIndependentValuePropertyChanged (line 618) | private static void OnActualIndependentValuePropertyChanged(Dependency...
method OnActualIndependentValuePropertyChanged (line 631) | protected virtual void OnActualIndependentValuePropertyChanged(object ...
method OnStatePropertyChanged (line 699) | private static void OnStatePropertyChanged(DependencyObject d, Depende...
method OnStatePropertyChanged (line 712) | protected virtual void OnStatePropertyChanged(DataPointState oldValue,...
method DataPoint (line 803) | protected DataPoint()
method GoToCurrentRevealState (line 813) | private bool GoToCurrentRevealState()
method OnApplyTemplate (line 853) | public override void OnApplyTemplate()
method OnCurrentStateChanged (line 892) | private void OnCurrentStateChanged(object sender, VisualStateChangedEv...
method OnLoaded (line 916) | private void OnLoaded(object sender, RoutedEventArgs e)
method OnMouseEnter (line 925) | protected override void OnMouseEnter(MouseEventArgs e)
method OnMouseLeave (line 939) | protected override void OnMouseLeave(MouseEventArgs e)
method OnMouseLeftButtonDown (line 952) | protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
method SetFormattedProperty (line 988) | internal void SetFormattedProperty(DependencyProperty property, string...
FILE: WpfToolkit/DataVisualization/Charting/DataPoint/DataPointState.cs
type DataPointState (line 11) | public enum DataPointState
FILE: WpfToolkit/DataVisualization/Charting/DataPoint/LineDataPoint.cs
class LineDataPoint (line 12) | [TemplateVisualState(Name = DataPoint.StateCommonNormal, GroupName = Dat...
method LineDataPoint (line 23) | static LineDataPoint()
method LineDataPoint (line 31) | public LineDataPoint()
FILE: WpfToolkit/DataVisualization/Charting/DataPoint/PieDataPoint.cs
class PieDataPoint (line 22) | [TemplatePart(Name = SliceName, Type = typeof(UIElement))]
method OnActualOffsetRatioPropertyChanged (line 141) | private static void OnActualOffsetRatioPropertyChanged(DependencyObjec...
method OnActualOffsetRatioPropertyChanged (line 154) | private void OnActualOffsetRatioPropertyChanged(double oldValue, doubl...
method OnActualRatioPropertyChanged (line 200) | private static void OnActualRatioPropertyChanged(DependencyObject d, D...
method OnActualRatioPropertyChanged (line 213) | private void OnActualRatioPropertyChanged(double oldValue, double newV...
method OnOffsetRatioPropertyChanged (line 286) | private static void OnOffsetRatioPropertyChanged(DependencyObject d, D...
method OnOffsetRatioPropertyChanged (line 299) | private void OnOffsetRatioPropertyChanged(double oldValue, double newV...
method OnRatioPropertyChanged (line 352) | private static void OnRatioPropertyChanged(DependencyObject d, Depende...
method OnRatioPropertyChanged (line 365) | private void OnRatioPropertyChanged(double oldValue, double newValue)
method OnRatioStringFormatPropertyChanged (line 413) | private static void OnRatioStringFormatPropertyChanged(DependencyObjec...
method OnRatioStringFormatPropertyChanged (line 424) | private void OnRatioStringFormatPropertyChanged(string newValue)
method PieDataPoint (line 485) | [SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceT...
method PieDataPoint (line 494) | public PieDataPoint()
method OnApplyTemplate (line 511) | public override void OnApplyTemplate()
method OnMouseEnter (line 534) | protected override void OnMouseEnter(MouseEventArgs e)
method OnMouseLeave (line 543) | protected override void OnMouseLeave(MouseEventArgs e)
method SliceElement_MouseEnter (line 553) | private void SliceElement_MouseEnter(object sender, MouseEventArgs e)
method SliceElement_MouseLeave (line 564) | private void SliceElement_MouseLeave(object sender, MouseEventArgs e)
FILE: WpfToolkit/DataVisualization/Charting/DataPoint/ScatterDataPoint.cs
class ScatterDataPoint (line 12) | [TemplateVisualState(Name = DataPoint.StateCommonNormal, GroupName = Dat...
method ScatterDataPoint (line 23) | static ScatterDataPoint()
method ScatterDataPoint (line 31) | public ScatterDataPoint()
FILE: WpfToolkit/DataVisualization/Charting/FrameworkElementExtensions.cs
class FrameworkElementExtensions (line 11) | internal static class FrameworkElementExtensions
method GetActualMargin (line 21) | public static double GetActualMargin(this FrameworkElement element, IA...
method GetMargin (line 43) | public static double GetMargin(this FrameworkElement element, IAxis axis)
FILE: WpfToolkit/DataVisualization/Charting/Helper/Converters.cs
class DoubleToVisibilityConverter (line 5) | public class DoubleToVisibilityConverter : IValueConverter
method Convert (line 7) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 17) | public object ConvertBack(object value, Type targetType, object parame...
FILE: WpfToolkit/DataVisualization/Charting/Helper/FormattingConverter.cs
class FormattingConverter (line 15) | public class FormattingConverter : IValueConverter
method Convert (line 17) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 23) | public object ConvertBack(object value, Type targetType, object parame...
FILE: WpfToolkit/DataVisualization/Charting/Helper/TreeHelper.cs
class TreeHelper (line 5) | internal static class TreeHelper
method FindAncestor (line 13) | public static T FindAncestor<T>(DependencyObject element) where T : class
FILE: WpfToolkit/DataVisualization/Charting/IRequireSeriesHost.cs
type IRequireSeriesHost (line 11) | public interface IRequireSeriesHost
FILE: WpfToolkit/DataVisualization/Charting/ISeriesHost.cs
type ISeriesHost (line 18) | public interface ISeriesHost : IRequireSeriesHost, IResourceDictionaryDi...
FILE: WpfToolkit/DataVisualization/Charting/ISeriesHostExtensions.cs
class ISeriesHostExtensions (line 14) | internal static class ISeriesHostExtensions
method GetDescendentSeries (line 21) | public static IEnumerable<ISeries> GetDescendentSeries(this ISeriesHos...
method IsUsedByASeries (line 49) | public static bool IsUsedByASeries(this ISeriesHost that, IAxis axis)
FILE: WpfToolkit/DataVisualization/Charting/Pie/PieChartHelper.cs
class PieChartHelper (line 6) | internal static class PieChartHelper
method GetPieChartInfo (line 20) | public static bool GetPieChartInfo(Geometry geometry, out Point center...
method CalculateArcInfo (line 65) | private static void CalculateArcInfo(Point center, Point startPoint, A...
FILE: WpfToolkit/DataVisualization/Charting/Pie/PieChartLabel.cs
class PieChartLabel (line 13) | [TemplatePart(Name = "Canvas_PART", Type = typeof(Canvas))]
method PieChartLabel (line 24) | static PieChartLabel()
method GeometryPropertyChanged (line 51) | private static void GeometryPropertyChanged(DependencyObject obj, Depe...
method ArrangeOverride (line 107) | protected override Size ArrangeOverride(Size arrangeBounds)
method OnApplyTemplate (line 117) | public override void OnApplyTemplate()
method PositionLabel (line 134) | private void PositionLabel()
method PositionInsideArc (line 157) | private void PositionInsideArc()
method PositionArcMidpoint (line 176) | private void PositionArcMidpoint()
method PositionConnected (line 193) | private void PositionConnected()
method RemovePolyline (line 238) | private void RemovePolyline()
method PositionAutoMixed (line 254) | private void PositionAutoMixed()
method PositionAuto (line 270) | private void PositionAuto()
method SnapPoint (line 293) | private Point SnapPoint(Point point)
method OnMouseLeftButtonDown (line 316) | protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
type DisplayMode (line 333) | public enum DisplayMode
FILE: WpfToolkit/DataVisualization/Charting/Pie/PieChartLabelArea.cs
class PieChartLabelArea (line 9) | public class PieChartLabelArea : Canvas
method HasSmallArcPropertyChanged (line 28) | private static void HasSmallArcPropertyChanged(DependencyObject obj, D...
method MeasureOverride (line 46) | protected override Size MeasureOverride(Size constraint)
FILE: WpfToolkit/DataVisualization/Charting/Primitives/DelegatingListBox.cs
class DelegatingListBox (line 14) | public class DelegatingListBox : ListBox
method DelegatingListBox (line 43) | static DelegatingListBox()
method DelegatingListBox (line 51) | public DelegatingListBox()
method IsItemItsOwnContainerOverride (line 60) | protected override bool IsItemItsOwnContainerOverride(object item)
method GetContainerForItemOverride (line 71) | protected override DependencyObject GetContainerForItemOverride()
method PrepareContainerForItemOverride (line 83) | protected override void PrepareContainerForItemOverride(DependencyObje...
method ClearContainerForItemOverride (line 97) | protected override void ClearContainerForItemOverride(DependencyObject...
FILE: WpfToolkit/DataVisualization/Charting/Primitives/Edge.cs
type Edge (line 15) | public enum Edge
FILE: WpfToolkit/DataVisualization/Charting/Primitives/EdgePanel.cs
class EdgePanel (line 19) | public class EdgePanel : Panel
method GetEdge (line 40) | [SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesA...
method SetEdge (line 57) | [SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesA...
method OnEdgePropertyChanged (line 82) | [SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExcepti...
method EdgePanel (line 126) | public EdgePanel()
method EdgePanelSizeChanged (line 136) | private void EdgePanelSizeChanged(object sender, SizeChangedEventArgs e)
method MeasureOverride (line 167) | [SuppressMessage("Microsoft.Maintainability", "CA1505:AvoidUnmaintaina...
method ArrangeOverride (line 473) | [SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveCo...
method SafeCreateRect (line 549) | private static Rect SafeCreateRect(double left, double top, double wid...
FILE: WpfToolkit/DataVisualization/Charting/ResourceDictionaryDispensedEventArgs.cs
class ResourceDictionaryDispensedEventArgs (line 12) | internal class ResourceDictionaryDispensedEventArgs : EventArgs
method ResourceDictionaryDispensedEventArgs (line 19) | public ResourceDictionaryDispensedEventArgs(int index, ResourceDiction...
method Equals (line 42) | public override bool Equals(object obj)
method GetHashCode (line 51) | public override int GetHashCode()
FILE: WpfToolkit/DataVisualization/Charting/ResourceDictionaryDispenser.cs
class ResourceDictionaryDispenser (line 15) | internal class ResourceDictionaryDispenser : IResourceDictionaryDispenser
method ResourceDictionariesCollectionChanged (line 77) | private void ResourceDictionariesCollectionChanged(object sender, Noti...
method ResourceDictionaryDispenser (line 125) | public ResourceDictionaryDispenser()
method Reset (line 132) | private void Reset()
method Unregister (line 148) | internal void Unregister(ResourceDictionaryEnumerator enumerator)
method GetResourceDictionariesWhere (line 162) | [SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects befo...
method EnumeratorResourceDictionaryDispensed (line 189) | internal void EnumeratorResourceDictionaryDispensed(object sender, Res...
method OnParentChanged (line 200) | private void OnParentChanged()
method OnEnumeratorResourceDictionaryDispensed (line 213) | private void OnEnumeratorResourceDictionaryDispensed(object source, Re...
method OnResetting (line 230) | private void OnResetting()
method ParentResourceDictionariesChanged (line 245) | private void ParentResourceDictionariesChanged(object sender, EventArg...
FILE: WpfToolkit/DataVisualization/Charting/ResourceDictionaryEnumerator.cs
class ResourceDictionaryEnumerator (line 15) | internal class ResourceDictionaryEnumerator : IEnumerator<ResourceDictio...
method ResourceDictionaryEnumerator (line 54) | public ResourceDictionaryEnumerator(ResourceDictionaryDispenser dispen...
method ResourceDictionaryDispenserParentChanged (line 63) | internal void ResourceDictionaryDispenserParentChanged()
method GetIndexOfNextSuitableResourceDictionary (line 73) | private int? GetIndexOfNextSuitableResourceDictionary(int startIndex)
method ResourceDictionaryDispenserResetting (line 103) | internal void ResourceDictionaryDispenserResetting()
method ResourceDictionaryDispenserResourceDictionaryDispensed (line 128) | internal void ResourceDictionaryDispenserResourceDictionaryDispensed(o...
method OnStyleDispensed (line 144) | protected virtual void OnStyleDispensed(ResourceDictionaryDispensedEve...
method MoveNext (line 175) | public bool MoveNext()
method Reset (line 213) | public void Reset()
method Dispose (line 221) | public void Dispose()
FILE: WpfToolkit/DataVisualization/Charting/Series/AreaSeries.cs
class AreaSeries (line 21) | [StyleTypedProperty(Property = DataPointStyleName, StyleTargetType = typ...
method AreaSeries (line 74) | [SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceT...
method AreaSeries (line 83) | public AreaSeries()
method GetAxes (line 91) | protected override void GetAxes(DataPoint firstDataPoint)
method UpdateShapeFromPoints (line 128) | protected override void UpdateShapeFromPoints(IEnumerable<Point> points)
method GetValueMargins (line 175) | protected override IEnumerable<ValueMargin> GetValueMargins(IValueMarg...
FILE: WpfToolkit/DataVisualization/Charting/Series/BarSeries.cs
class BarSeries (line 18) | [SuppressMessage("Microsoft.Maintainability", "CA1501:AvoidExcessiveInhe...
method BarSeries (line 27) | public BarSeries()
method GetAxes (line 35) | protected override void GetAxes(DataPoint firstDataPoint)
method UpdateDataPoint (line 67) | protected override void UpdateDataPoint(DataPoint dataPoint)
FILE: WpfToolkit/DataVisualization/Charting/Series/BubbleSeries.cs
class BubbleSeries (line 17) | [TemplatePart(Name = DataPointSeries.PlotAreaName, Type = typeof(Canvas))]
method BubbleSeries (line 81) | public BubbleSeries()
method CreateDataPoint (line 89) | protected override DataPoint CreateDataPoint()
method GetResourceDictionaryEnumeratorFromHost (line 100) | protected override IEnumerator<ResourceDictionary> GetResourceDictiona...
method GetAxes (line 109) | protected override void GetAxes(DataPoint firstDataPoint)
method PrepareDataPoint (line 145) | protected override void PrepareDataPoint(DataPoint dataPoint, object d...
method AttachEventHandlersToDataPoint (line 158) | protected override void AttachEventHandlersToDataPoint(DataPoint dataP...
method DetachEventHandlersFromDataPoint (line 171) | protected override void DetachEventHandlersFromDataPoint(DataPoint dat...
method BubbleDataPointActualSizePropertyChanged (line 185) | private void BubbleDataPointActualSizePropertyChanged(object sender, R...
method BubbleDataPointSizePropertyChanged (line 206) | private void BubbleDataPointSizePropertyChanged(object sender, RoutedP...
method OnBeforeUpdateDataPoints (line 222) | protected override void OnBeforeUpdateDataPoints()
method UpdateDataPoints (line 232) | protected override void UpdateDataPoints(IEnumerable<DataPoint> dataPo...
method UpdateDataPoint (line 241) | protected override void UpdateDataPoint(DataPoint dataPoint)
method OnAfterUpdateDataPoints (line 278) | protected override void OnAfterUpdateDataPoints()
method OnDependentRangeAxisPropertyChanged (line 328) | private static void OnDependentRangeAxisPropertyChanged(DependencyObje...
method OnDependentRangeAxisPropertyChanged (line 339) | private void OnDependentRangeAxisPropertyChanged(IRangeAxis newValue)
method OnIndependentAxisPropertyChanged (line 375) | private static void OnIndependentAxisPropertyChanged(DependencyObject ...
method OnIndependentAxisPropertyChanged (line 386) | private void OnIndependentAxisPropertyChanged(IAxis newValue)
method GetValueMargins (line 397) | protected override IEnumerable<ValueMargin> GetValueMargins(IValueMarg...
FILE: WpfToolkit/DataVisualization/Charting/Series/CandlestickSeries.cs
class CandlestickSeries (line 16) | [StyleTypedProperty(Property = "DataPointStyle", StyleTargetType = typeo...
method CandlestickSeries (line 25) | public CandlestickSeries()
method OnDependentRangeAxisPropertyChanged (line 58) | private static void OnDependentRangeAxisPropertyChanged(DependencyObje...
method OnDependentRangeAxisPropertyChanged (line 69) | private void OnDependentRangeAxisPropertyChanged(IRangeAxis newValue)
method OnIndependentRangeAxisPropertyChanged (line 105) | private static void OnIndependentRangeAxisPropertyChanged(DependencyOb...
method OnIndependentRangeAxisPropertyChanged (line 116) | private void OnIndependentRangeAxisPropertyChanged(IRangeAxis newValue)
method GetAxes (line 151) | protected override void GetAxes(DataPoint firstDataPoint)
method GetResourceDictionaryEnumeratorFromHost (line 186) | protected override IEnumerator<ResourceDictionary> GetResourceDictiona...
method PrepareDataPoint (line 191) | protected override void PrepareDataPoint(DataPoint dataPoint, object d...
method CreateDataPoint (line 206) | protected override DataPoint CreateDataPoint()
method UpdateDataPoint (line 224) | protected override void UpdateDataPoint(DataPoint dataPoint)
FILE: WpfToolkit/DataVisualization/Charting/Series/ColumnBarBaseSeries.cs
class ColumnBarBaseSeries (line 16) | public abstract class ColumnBarBaseSeries<T> : DataPointSingleSeriesWith...
method OnDependentRangeAxisPropertyChanged (line 45) | private static void OnDependentRangeAxisPropertyChanged(DependencyObje...
method OnDependentRangeAxisPropertyChanged (line 56) | private void OnDependentRangeAxisPropertyChanged(IRangeAxis newValue)
method OnIndependentAxisPropertyChanged (line 88) | private static void OnIndependentAxisPropertyChanged(DependencyObject ...
method OnIndependentAxisPropertyChanged (line 99) | private void OnIndependentAxisPropertyChanged(IAxis newValue)
method GetDataPointGroup (line 116) | protected IGrouping<object, DataPoint> GetDataPointGroup(object category)
method GetIsDataPointGrouped (line 128) | protected bool GetIsDataPointGrouped(object category)
method ColumnBarBaseSeries (line 151) | protected ColumnBarBaseSeries()
method OnBeforeUpdateDataPoints (line 158) | protected override void OnBeforeUpdateDataPoints()
method GetResourceDictionaryEnumeratorFromHost (line 179) | protected override IEnumerator<ResourceDictionary> GetResourceDictiona...
method OnDataPointActualDependentValueChanged (line 190) | protected override void OnDataPointActualDependentValueChanged(DataPoi...
method RedrawOtherSeries (line 201) | protected void RedrawOtherSeries(ISeriesHost seriesHost)
method OnDataPointsChanged (line 217) | protected override void OnDataPointsChanged(IList<DataPoint> newDataPo...
method OnSeriesHostPropertyChanged (line 234) | protected override void OnSeriesHostPropertyChanged(ISeriesHost oldVal...
method CreateDataPoint (line 249) | protected override DataPoint CreateDataPoint()
method CalculateDataPointLength (line 257) | protected void CalculateDataPointLength()
method GetValueMargins (line 284) | protected override IEnumerable<ValueMargin> GetValueMargins(IValueMarg...
method GetCategoryRange (line 327) | protected Range<UnitValue> GetCategoryRange(object category)
FILE: WpfToolkit/DataVisualization/Charting/Series/ColumnSeries.cs
class ColumnSeries (line 18) | [SuppressMessage("Microsoft.Maintainability", "CA1501:AvoidExcessiveInhe...
method ColumnSeries (line 27) | public ColumnSeries()
method GetAxes (line 35) | protected override void GetAxes(DataPoint firstDataPoint)
method UpdateDataPoint (line 67) | protected override void UpdateDataPoint(DataPoint dataPoint)
FILE: WpfToolkit/DataVisualization/Charting/Series/Compatible/AreaSeries.cs
class AreaSeries (line 26) | [StyleTypedProperty(Property = DataPointStyleName, StyleTargetType = typ...
method AreaSeries (line 54) | public AreaSeries()
FILE: WpfToolkit/DataVisualization/Charting/Series/Compatible/BarSeries.cs
class BarSeries (line 23) | [StyleTypedProperty(Property = DataPointStyleName, StyleTargetType = typ...
method BarSeries (line 45) | public BarSeries()
FILE: WpfToolkit/DataVisualization/Charting/Series/Compatible/ColumnSeries.cs
class ColumnSeries (line 23) | [StyleTypedProperty(Property = DataPointStyleName, StyleTargetType = typ...
method ColumnSeries (line 45) | public ColumnSeries()
FILE: WpfToolkit/DataVisualization/Charting/Series/Compatible/LineSeries.cs
class LineSeries (line 27) | [StyleTypedProperty(Property = DataPointStyleName, StyleTargetType = typ...
method LineSeries (line 55) | public LineSeries()
FILE: WpfToolkit/DataVisualization/Charting/Series/Compatible/ScatterSeries.cs
class ScatterSeries (line 25) | [StyleTypedProperty(Property = DataPointStyleName, StyleTargetType = typ...
method ScatterSeries (line 47) | public ScatterSeries()
method CreateDataPoint (line 70) | protected override DataPoint CreateDataPoint()
method UpdateShape (line 79) | protected override void UpdateShape(IList<IEnumerable<Point>> definiti...
FILE: WpfToolkit/DataVisualization/Charting/Series/Compatible/SelectionEnabledToSelectionModeConverter.cs
class SelectionEnabledToSelectionModeConverter (line 14) | internal class SelectionEnabledToSelectionModeConverter : IValueConverter
method SelectionEnabledToSelectionModeConverter (line 19) | public SelectionEnabledToSelectionModeConverter()
method Convert (line 31) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 49) | public object ConvertBack(object value, Type targetType, object parame...
FILE: WpfToolkit/DataVisualization/Charting/Series/DataPointSeries.cs
class DataPointSeries (line 22) | public abstract partial class DataPointSeries : Series
method OnItemsSourceChanged (line 191) | private static void OnItemsSourceChanged(DependencyObject o, Dependenc...
method OnItemsSourceChanged (line 201) | protected virtual void OnItemsSourceChanged(IEnumerable oldValue, IEnu...
method OnIsSelectionEnabledPropertyChanged (line 315) | private static void OnIsSelectionEnabledPropertyChanged(DependencyObje...
method OnIsSelectionEnabledPropertyChanged (line 328) | protected virtual void OnIsSelectionEnabledPropertyChanged(bool oldVal...
method OnSelectedItemPropertyChanged (line 427) | private static void OnSelectedItemPropertyChanged(DependencyObject d, ...
method OnSelectedItemPropertyChanged (line 440) | protected virtual void OnSelectedItemPropertyChanged(object oldValue, ...
method OnDataPointStylePropertyChanged (line 527) | private static void OnDataPointStylePropertyChanged(DependencyObject d...
method OnDataPointStylePropertyChanged (line 537) | protected virtual void OnDataPointStylePropertyChanged(Style oldValue,...
method OnLegendItemStylePropertyChanged (line 574) | private static void OnLegendItemStylePropertyChanged(DependencyObject ...
method OnLegendItemStylePropertyChanged (line 585) | protected virtual void OnLegendItemStylePropertyChanged(Style oldValue...
method DataPointSeries (line 625) | [SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceT...
method DataPointSeries (line 634) | protected DataPointSeries()
method AddObject (line 646) | protected virtual DataPoint AddObject(object dataContext)
method ShouldCreateDataPoint (line 665) | protected virtual bool ShouldCreateDataPoint(object dataContext)
method GetInsertionIndex (line 677) | protected virtual int GetInsertionIndex(DataPoint dataPoint)
method AddDataPoint (line 687) | protected virtual void AddDataPoint(DataPoint dataPoint)
method GetDataPoint (line 713) | protected virtual DataPoint GetDataPoint(object dataContext)
method CreateAndPrepareDataPoint (line 725) | private DataPoint CreateAndPrepareDataPoint(object dataContext)
method CreateDataPoint (line 736) | protected abstract DataPoint CreateDataPoint();
method CreateLegendItem (line 744) | protected virtual LegendItem CreateLegendItem(DataPointSeries owner)
method ItemsSourceCollectionChanged (line 758) | private void ItemsSourceCollectionChanged(object sender, NotifyCollect...
method LoadDataPoints (line 770) | protected void LoadDataPoints(IEnumerable newItems, IEnumerable oldItems)
method OnApplyTemplate (line 813) | public override void OnApplyTemplate()
method InvokeOnLayoutUpdated (line 831) | internal void InvokeOnLayoutUpdated(Action action)
method OnSeriesHostPropertyChanged (line 848) | protected override void OnSeriesHostPropertyChanged(ISeriesHost oldVal...
method OnDataPointsChanged (line 864) | protected virtual void OnDataPointsChanged(IList<DataPoint> newDataPoi...
method OnItemsSourceCollectionChanged (line 874) | protected virtual void OnItemsSourceCollectionChanged(IEnumerable coll...
method OnPlotAreaChanged (line 910) | protected virtual void OnPlotAreaChanged(Panel oldValue, Panel newValue)
method OnSizeChanged (line 935) | private void OnSizeChanged(object sender, SizeChangedEventArgs e)
method Refresh (line 959) | public void Refresh()
method RemoveObject (line 987) | protected virtual DataPoint RemoveObject(object dataContext)
method RemoveDataPoint (line 1002) | protected virtual void RemoveDataPoint(DataPoint dataPoint)
method UpdateDataPoints (line 1028) | protected virtual void UpdateDataPoints(IEnumerable<DataPoint> dataPoi...
method AttachEventHandlersToDataPoints (line 1055) | private void AttachEventHandlersToDataPoints(IEnumerable<DataPoint> da...
method DetachEventHandlersFromDataPoints (line 1067) | private void DetachEventHandlersFromDataPoints(IEnumerable<DataPoint> ...
method AttachEventHandlersToDataPoint (line 1079) | protected virtual void AttachEventHandlersToDataPoint(DataPoint dataPo...
method Unselect (line 1093) | private void Unselect(DataPoint dataPoint)
method Select (line 1105) | private void Select(DataPoint dataPoint)
method OnDataPointIsSelectedChanged (line 1115) | private void OnDataPointIsSelectedChanged(object sender, RoutedPropert...
method DetachEventHandlersFromDataPoint (line 1133) | protected virtual void DetachEventHandlersFromDataPoint(DataPoint data...
method OnBeforeUpdateDataPoints (line 1146) | protected virtual void OnBeforeUpdateDataPoints()
method OnAfterUpdateDataPoints (line 1153) | protected virtual void OnAfterUpdateDataPoints()
method UpdateDataPoint (line 1162) | protected abstract void UpdateDataPoint(DataPoint dataPoint);
method PrepareDataPoint (line 1170) | protected virtual void PrepareDataPoint(DataPoint dataPoint, object da...
method StaggeredStateChange (line 1198) | private void StaggeredStateChange(IEnumerable<DataPoint> dataPoints, i...
method OnDataPointStateChanged (line 1253) | private void OnDataPointStateChanged(object sender, RoutedPropertyChan...
method OnDataPointStateChanged (line 1264) | protected virtual void OnDataPointStateChanged(DataPoint dataPoint, Da...
method OnDataPointActualDependentValueChanged (line 1278) | private void OnDataPointActualDependentValueChanged(object sender, Rou...
method OnDataPointActualDependentValueChanged (line 1289) | protected virtual void OnDataPointActualDependentValueChanged(DataPoin...
method OnDataPointActualIndependentValueChanged (line 1298) | private void OnDataPointActualIndependentValueChanged(object sender, R...
method OnDataPointActualIndependentValueChanged (line 1309) | protected virtual void OnDataPointActualIndependentValueChanged(DataPo...
method OnDataPointDependentValueChanged (line 1318) | private void OnDataPointDependentValueChanged(object sender, RoutedPro...
method OnDataPointDependentValueChanged (line 1329) | protected virtual void OnDataPointDependentValueChanged(DataPoint data...
method OnDataPointIndependentValueChanged (line 1338) | private void OnDataPointIndependentValueChanged(object sender, RoutedP...
method OnDataPointIndependentValueChanged (line 1349) | protected virtual void OnDataPointIndependentValueChanged(DataPoint da...
method GetResourceDictionaryWithTargetType (line 1362) | internal static IEnumerator<ResourceDictionary> GetResourceDictionaryW...
FILE: WpfToolkit/DataVisualization/Charting/Series/DataPointSeriesWithAxes.cs
class DataPointSeriesWithAxes (line 22) | public abstract class DataPointSeriesWithAxes : DataPointSeries, IDataPr...
method CreateRangeAxisFromData (line 36) | protected static IRangeAxis CreateRangeAxisFromData(object value)
method GetActualDataPointAxisValue (line 61) | protected virtual object GetActualDataPointAxisValue(DataPoint dataPoi...
method OnInternalDependentAxisPropertyChanged (line 108) | protected virtual void OnInternalDependentAxisPropertyChanged(IAxis ol...
method OnInternalIndependentAxisPropertyChanged (line 156) | protected virtual void OnInternalIndependentAxisPropertyChanged(IAxis ...
method DataPointSeriesWithAxes (line 173) | protected DataPointSeriesWithAxes()
method OnDataPointActualDependentValueChanged (line 190) | protected override void OnDataPointActualDependentValueChanged(DataPoi...
method OnDataPointDependentValueChanged (line 212) | protected override void OnDataPointDependentValueChanged(DataPoint dat...
method UpdateActualDependentAxis (line 228) | private void UpdateActualDependentAxis()
method OnDataPointActualIndependentValueChanged (line 254) | protected override void OnDataPointActualIndependentValueChanged(DataP...
method OnDataPointIndependentValueChanged (line 267) | protected override void OnDataPointIndependentValueChanged(DataPoint d...
method UpdateActualIndependentAxis (line 283) | private void UpdateActualIndependentAxis()
method OnDataPointsChanged (line 307) | protected override void OnDataPointsChanged(IList<DataPoint> newDataPo...
method UpdateDataPoints (line 372) | protected override void UpdateDataPoints(IEnumerable<DataPoint> dataPo...
method GetAxes (line 384) | private void GetAxes()
method GetAxes (line 403) | protected abstract void GetAxes(DataPoint firstDataPoint);
method GetAxes (line 419) | protected virtual void GetAxes(DataPoint firstDataPoint, Func<IAxis, b...
method AxisInvalidated (line 506) | void IAxisListener.AxisInvalidated(IAxis axis)
method GetRange (line 526) | protected virtual Range<IComparable> GetRange(IRangeConsumer consumer)
method GetValueMargins (line 553) | protected virtual IEnumerable<ValueMargin> GetValueMargins(IValueMargi...
method GetData (line 595) | IEnumerable<object> IDataProvider.GetData(IDataConsumer dataConsumer)
method OnSeriesHostPropertyChanged (line 625) | protected override void OnSeriesHostPropertyChanged(ISeriesHost oldVal...
method GetRange (line 649) | Range<IComparable> IRangeProvider.GetRange(IRangeConsumer rangeConsumer)
method GetValueMargins (line 660) | IEnumerable<ValueMargin> IValueMarginProvider.GetValueMargins(IValueMa...
FILE: WpfToolkit/DataVisualization/Charting/Series/DataPointSingleSeriesWithAxes.cs
class DataPointSingleSeriesWithAxes (line 18) | public abstract class DataPointSingleSeriesWithAxes : DataPointSeriesWit...
method OnDataPointStylePropertyChanged (line 61) | protected override void OnDataPointStylePropertyChanged(Style oldValue...
method OnLegendItemStylePropertyChanged (line 115) | protected override void OnLegendItemStylePropertyChanged(Style oldValu...
method OnGlobalSeriesIndexPropertyChanged (line 147) | private static void OnGlobalSeriesIndexPropertyChanged(DependencyObjec...
method OnGlobalSeriesIndexPropertyChanged (line 160) | [SuppressMessage("Microsoft.Usage", "CA2233:OperationsShouldNotOverflo...
method OnTitleChanged (line 177) | protected override void OnTitleChanged(object oldValue, object newValue)
method DataPointSingleSeriesWithAxes (line 186) | protected DataPointSingleSeriesWithAxes()
method GetResourceDictionaryEnumeratorFromHost (line 196) | [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropr...
method OnPlotAreaChanged (line 205) | protected override void OnPlotAreaChanged(Panel oldValue, Panel newValue)
method OnSeriesHostPropertyChanged (line 220) | protected override void OnSeriesHostPropertyChanged(ISeriesHost oldVal...
method CreateLegendItemDataPoint (line 240) | private void CreateLegendItemDataPoint()
method OnDataPointsChanged (line 271) | protected override void OnDataPointsChanged(IList<DataPoint> newDataPo...
method PrepareDataPoint (line 294) | protected override void PrepareDataPoint(DataPoint dataPoint, object d...
method GlobalSeriesIndexChanged (line 304) | public void GlobalSeriesIndexChanged(int? globalIndex)
method SeriesHostResourceDictionariesChanged (line 314) | private void SeriesHostResourceDictionariesChanged(object sender, Even...
method DispensedResourcesChanging (line 322) | private void DispensedResourcesChanging()
FILE: WpfToolkit/DataVisualization/Charting/Series/DefinitionSeries.cs
class DefinitionSeries (line 26) | [ContentProperty("SeriesDefinitions")]
method DefinitionSeries (line 118) | [SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceT...
method DefinitionSeries (line 127) | protected DefinitionSeries()
method OnDependentAxisChanged (line 155) | private static void OnDependentAxisChanged(DependencyObject o, Depende...
method OnDependentAxisChanged (line 165) | [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", M...
method OnIndependentAxisChanged (line 195) | private static void OnIndependentAxisChanged(DependencyObject o, Depen...
method OnIndependentAxisChanged (line 205) | [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", M...
method OnSelectionModeChanged (line 338) | private static void OnSelectionModeChanged(DependencyObject o, Depende...
method OnSelectionModeChanged (line 348) | [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", M...
method SelectedItemsCollectionChanged (line 415) | private void SelectedItemsCollectionChanged(object sender, NotifyColle...
method ItemContainerSelectionChanged (line 468) | private void ItemContainerSelectionChanged(object sender, SelectionCha...
method OnApplyTemplate (line 519) | public override void OnApplyTemplate()
method PrepareContainerForItem (line 565) | private void PrepareContainerForItem(DependencyObject element, object ...
method ClearContainerForItem (line 597) | private void ClearContainerForItem(DependencyObject element, object item)
method PrepareDataPoint (line 620) | protected virtual void PrepareDataPoint(DataPoint dataPoint) { }
method CreateDataPoint (line 626) | protected abstract DataPoint CreateDataPoint();
method InternalCreateDataPoint (line 632) | internal DataPoint InternalCreateDataPoint()
method ItemContainerSizeChanged (line 642) | private void ItemContainerSizeChanged(object sender, SizeChangedEventA...
method DataItemFromDataPoint (line 653) | protected DataItem DataItemFromDataPoint(DataPoint dataPoint)
method DataPointDependentValueChanged (line 663) | private void DataPointDependentValueChanged(object sender, RoutedPrope...
method DataPointActualDependentValueChanged (line 683) | private void DataPointActualDependentValueChanged(object sender, Route...
method DataPointIndependentValueChanged (line 694) | private void DataPointIndependentValueChanged(object sender, RoutedPro...
method DataPointActualIndependentValueChanged (line 714) | private void DataPointActualIndependentValueChanged(object sender, Rou...
method DataPointStateChanged (line 725) | private void DataPointStateChanged(object sender, RoutedPropertyChange...
method NotifyAxisValuesChanged (line 739) | protected void NotifyAxisValuesChanged(IAxis axis)
method NotifyValueMarginsChanged (line 763) | protected void NotifyValueMarginsChanged(IAxis axis, IEnumerable<Value...
method SeriesDefinitionsCollectionChanged (line 781) | private void SeriesDefinitionsCollectionChanged(object sender, NotifyC...
method SeriesDefinitionsCollectionChanged (line 794) | protected virtual void SeriesDefinitionsCollectionChanged(NotifyCollec...
method UpdatePaletteProperties (line 830) | private void UpdatePaletteProperties(SeriesDefinition definition)
method SeriesDefinitionItemsSourceChanged (line 863) | internal void SeriesDefinitionItemsSourceChanged(SeriesDefinition defi...
method SeriesDefinitionItemsSourceCollectionChanged (line 892) | [SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveCo...
method SeriesHostResourceDictionariesChanged (line 963) | private void SeriesHostResourceDictionariesChanged(object sender, Even...
method AddDataItems (line 977) | private void AddDataItems(SeriesDefinition definition, IEnumerable<obj...
method AddedDataItems (line 992) | private void AddedDataItems()
method RemovedDataItems (line 1000) | private void RemovedDataItems()
method EnsureAxes (line 1012) | private void EnsureAxes(bool updateDependentAxis, bool updateIndepende...
method AcquireDependentAxis (line 1073) | protected abstract IAxis AcquireDependentAxis();
method AcquireIndependentAxis (line 1079) | protected abstract IAxis AcquireIndependentAxis();
method AxisInvalidated (line 1085) | void IAxisListener.AxisInvalidated(IAxis axis)
method QueueUpdateDataItemPlacement (line 1096) | private void QueueUpdateDataItemPlacement(bool dependentAxisValuesChan...
method ArrangeOverride (line 1112) | protected override Size ArrangeOverride(Size arrangeBounds)
method UpdateDataItemPlacement (line 1134) | protected abstract void UpdateDataItemPlacement(IEnumerable<DataItem> ...
method GetRange (line 1141) | Range<IComparable> IRangeProvider.GetRange(IRangeConsumer rangeConsumer)
method IRangeProviderGetRange (line 1151) | protected virtual Range<IComparable> IRangeProviderGetRange(IRangeCons...
method GetValueMargins (line 1181) | IEnumerable<ValueMargin> IValueMarginProvider.GetValueMargins(IValueMa...
method IValueMarginProviderGetValueMargins (line 1191) | protected virtual IEnumerable<ValueMargin> IValueMarginProviderGetValu...
method GetData (line 1201) | IEnumerable<object> IDataProvider.GetData(IDataConsumer dataConsumer)
method IDataProviderGetData (line 1211) | protected virtual IEnumerable<object> IDataProviderGetData(IDataConsum...
class IndependentValueGroup (line 1273) | protected class IndependentValueGroup
method IndependentValueGroup (line 1280) | public IndependentValueGroup(object independentValue, IEnumerable<Da...
class DataItem (line 1308) | protected class DataItem
method DataItem (line 1319) | public DataItem(SeriesDefinition seriesDefinition)
class BindingHelper (line 1416) | private class BindingHelper : FrameworkElement
method BindingHelper (line 1421) | public BindingHelper()
method EvaluateBinding (line 1437) | public object EvaluateBinding(Binding binding, object instance)
class SelectedItemToDataItemConverter (line 1451) | private class SelectedItemToDataItemConverter : IValueConverter
method SelectedItemToDataItemConverter (line 1462) | public SelectedItemToDataItemConverter(ObservableCollection<DataItem...
method Convert (line 1475) | public object Convert(object value, Type targetType, object paramete...
method ConvertBack (line 1488) | public object ConvertBack(object value, Type targetType, object para...
class SelectionModeToSelectionEnabledConverter (line 1498) | private class SelectionModeToSelectionEnabledConverter : IValueConverter
method SelectionModeToSelectionEnabledConverter (line 1503) | public SelectionModeToSelectionEnabledConverter()
method Convert (line 1515) | public object Convert(object value, Type targetType, object paramete...
method ConvertBack (line 1533) | public object ConvertBack(object value, Type targetType, object para...
method GetResourceDictionariesWhere (line 1579) | IEnumerator<ResourceDictionary> IResourceDictionaryDispenser.GetResour...
FILE: WpfToolkit/DataVisualization/Charting/Series/IRequireGlobalSeriesIndex.cs
type IRequireGlobalSeriesIndex (line 12) | public interface IRequireGlobalSeriesIndex
method GlobalSeriesIndexChanged (line 19) | void GlobalSeriesIndexChanged(int? globalIndex);
FILE: WpfToolkit/DataVisualization/Charting/Series/ISeries.cs
type ISeries (line 13) | public interface ISeries : IRequireSeriesHost
FILE: WpfToolkit/DataVisualization/Charting/Series/LabeledPieSeries.cs
class LabeledPieSeries (line 5) | public class LabeledPieSeries : PieSeries
method OnAfterUpdateDataPoints (line 46) | protected override void OnAfterUpdateDataPoints()
method AddLabelPieDataPoint (line 72) | private void AddLabelPieDataPoint(PieDataPoint pieDataPoint, Canvas la...
FILE: WpfToolkit/DataVisualization/Charting/Series/LegendItem.cs
class LegendItem (line 12) | public class LegendItem : ContentControl
method LegendItem (line 22) | static LegendItem()
method LegendItem (line 30) | public LegendItem()
FILE: WpfToolkit/DataVisualization/Charting/Series/LineAreaBaseSeries.cs
class LineAreaBaseSeries (line 18) | public abstract class LineAreaBaseSeries<T> : DataPointSingleSeriesWithAxes
method OnDependentRangeAxisPropertyChanged (line 47) | private static void OnDependentRangeAxisPropertyChanged(DependencyObje...
method OnDependentRangeAxisPropertyChanged (line 58) | private void OnDependentRangeAxisPropertyChanged(IRangeAxis newValue)
method OnIndependentAxisPropertyChanged (line 90) | private static void OnIndependentAxisPropertyChanged(DependencyObject ...
method OnIndependentAxisPropertyChanged (line 101) | private void OnIndependentAxisPropertyChanged(IAxis newValue)
method LineAreaBaseSeries (line 125) | protected LineAreaBaseSeries()
method OnApplyTemplate (line 139) | public override void OnApplyTemplate()
method OnDataPointsChanged (line 166) | protected override void OnDataPointsChanged(IList<DataPoint> newDataPo...
method OnAfterUpdateDataPoints (line 187) | protected override void OnAfterUpdateDataPoints()
method OnDataPointIndependentValueChanged (line 202) | protected override void OnDataPointIndependentValueChanged(DataPoint d...
method CreateDataPoint (line 220) | protected override DataPoint CreateDataPoint()
method GetResourceDictionaryEnumeratorFromHost (line 231) | protected override IEnumerator<ResourceDictionary> GetResourceDictiona...
method UpdateDataPoint (line 240) | protected override void UpdateDataPoint(DataPoint dataPoint)
method UpdateShape (line 272) | protected virtual void UpdateShape()
method UpdateShapeFromPoints (line 304) | protected abstract void UpdateShapeFromPoints(IEnumerable<Point> points);
FILE: WpfToolkit/DataVisualization/Charting/Series/LineSeries.cs
class LineSeries (line 21) | [StyleTypedProperty(Property = DataPointStyleName, StyleTargetType = typ...
method LineSeries (line 76) | [SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceT...
method LineSeries (line 85) | public LineSeries()
method GetAxes (line 93) | protected override void GetAxes(DataPoint firstDataPoint)
method UpdateShapeFromPoints (line 126) | protected override void UpdateShapeFromPoints(IEnumerable<Point> points)
FILE: WpfToolkit/DataVisualization/Charting/Series/PieSeries.cs
class PieSeries (line 20) | [StyleTypedProperty(Property = DataPointStyleName, StyleTargetType = typ...
method OnPalettePropertyChanged (line 51) | private static void OnPalettePropertyChanged(DependencyObject d, Depen...
method OnPalettePropertyChanged (line 62) | private void OnPalettePropertyChanged(Collection<ResourceDictionary> n...
method PieSeries (line 76) | static PieSeries()
method PieSeries (line 84) | public PieSeries()
method OnResourceDictionariesChanged (line 97) | protected virtual void OnResourceDictionariesChanged(EventArgs e)
method ConvertRatioOfRotationToPoint (line 123) | private static Point ConvertRatioOfRotationToPoint(double ratio, doubl...
method AddDataPoint (line 133) | protected override void AddDataPoint(DataPoint dataPoint)
method RemoveDataPoint (line 171) | protected override void RemoveDataPoint(DataPoint dataPoint)
method CreateDataPoint (line 188) | protected override DataPoint CreateDataPoint()
method OnBeforeUpdateDataPoints (line 204) | protected override void OnBeforeUpdateDataPoints()
method OnDataPointsChanged (line 216) | protected override void OnDataPointsChanged(IList<DataPoint> newDataPo...
method UpdateLegendItemIndexes (line 225) | private void UpdateLegendItemIndexes()
method UpdateRatios (line 239) | private void UpdateRatios()
method UpdateDataPoint (line 264) | protected override void UpdateDataPoint(DataPoint dataPoint)
method UpdatePieDataPointGeometry (line 280) | internal static void UpdatePieDataPointGeometry(PieDataPoint pieDataPo...
method CreatePieLegendItem (line 361) | protected virtual LegendItem CreatePieLegendItem(DataPoint dataPoint, ...
method AttachEventHandlersToDataPoint (line 384) | protected override void AttachEventHandlersToDataPoint(DataPoint dataP...
method DetachEventHandlersFromDataPoint (line 400) | protected override void DetachEventHandlersFromDataPoint(DataPoint dat...
method GlobalSeriesIndexChanged (line 416) | public void GlobalSeriesIndexChanged(int? globalIndex)
method OnDataPointDependentValueChanged (line 428) | protected override void OnDataPointDependentValueChanged(DataPoint dat...
method OnDataPointIndependentValueChanged (line 440) | protected override void OnDataPointIndependentValueChanged(DataPoint d...
method OnPieDataPointActualRatioChanged (line 452) | private void OnPieDataPointActualRatioChanged(object sender, RoutedPro...
method OnPieDataPointActualOffsetRatioChanged (line 463) | private void OnPieDataPointActualOffsetRatioChanged(object sender, Rou...
method OnPieDataPointRatioChanged (line 473) | private void OnPieDataPointRatioChanged(object sender, RoutedPropertyC...
method OnPieDataPointOffsetRatioChanged (line 485) | private void OnPieDataPointOffsetRatioChanged(object sender, RoutedPro...
method GetResourceDictionariesWhere (line 511) | public IEnumerator<ResourceDictionary> GetResourceDictionariesWhere(Fu...
method OnSeriesHostPropertyChanged (line 521) | protected override void OnSeriesHostPropertyChanged(ISeriesHost oldVal...
method SeriesHostResourceDictionariesChanged (line 552) | private void SeriesHostResourceDictionariesChanged(object sender, Even...
method OnDataPointStylePropertyChanged (line 562) | protected override void OnDataPointStylePropertyChanged(Style oldValue...
method OnLegendItemStylePropertyChanged (line 577) | protected override void OnLegendItemStylePropertyChanged(Style oldValu...
FILE: WpfToolkit/DataVisualization/Charting/Series/ScatterSeries.cs
class ScatterSeries (line 16) | [StyleTypedProperty(Property = DataPointStyleName, StyleTargetType = typ...
method ScatterSeries (line 24) | public ScatterSeries()
method OnDependentRangeAxisPropertyChanged (line 58) | private static void OnDependentRangeAxisPropertyChanged(DependencyObje...
method OnDependentRangeAxisPropertyChanged (line 69) | private void OnDependentRangeAxisPropertyChanged(IRangeAxis newValue)
method OnIndependentAxisPropertyChanged (line 105) | private static void OnIndependentAxisPropertyChanged(DependencyObject ...
method OnIndependentAxisPropertyChanged (line 116) | private void OnIndependentAxisPropertyChanged(IAxis newValue)
method GetAxes (line 126) | protected override void GetAxes(DataPoint firstDataPoint)
method CreateDataPoint (line 159) | protected override DataPoint CreateDataPoint()
method GetResourceDictionaryEnumeratorFromHost (line 170) | protected override IEnumerator<ResourceDictionary> GetResourceDictiona...
method UpdateDataPoint (line 179) | protected override void UpdateDataPoint(DataPoint dataPoint)
FILE: WpfToolkit/DataVisualization/Charting/Series/Series.cs
class Series (line 14) | public abstract partial class Series : Control, ISeries, IRequireSeriesHost
method OnSeriesHostPropertyChanged (line 54) | protected virtual void OnSeriesHostPropertyChanged(ISeriesHost oldValu...
method OnTitleChanged (line 95) | private static void OnTitleChanged(DependencyObject o, DependencyPrope...
method OnTitleChanged (line 105) | protected virtual void OnTitleChanged(object oldValue, object newValue)
method Series (line 113) | protected Series()
FILE: WpfToolkit/DataVisualization/Charting/Series/SeriesDefinition.cs
class SeriesDefinition (line 22) | [StyleTypedProperty(Property = DataPointStyleName, StyleTargetType = typ...
method SeriesDefinition (line 65) | public SeriesDefinition()
method OnItemsSourceChanged (line 93) | private static void OnItemsSourceChanged(DependencyObject o, Dependenc...
method OnItemsSourceChanged (line 103) | private void OnItemsSourceChanged(IEnumerable oldValue, IEnumerable ne...
method ItemsSourceCollectionChanged (line 139) | private void ItemsSourceCollectionChanged(object sender, NotifyCollect...
method OnTitleChanged (line 185) | private static void OnTitleChanged(DependencyObject o, DependencyPrope...
method OnTitleChanged (line 195) | [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", M...
method OnDataPointStyleChanged (line 254) | private static void OnDataPointStyleChanged(DependencyObject o, Depend...
method OnDataPointStyleChanged (line 264) | [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", M...
method OnLegendItemStyleChanged (line 323) | private static void OnLegendItemStyleChanged(DependencyObject o, Depen...
method OnLegendItemStyleChanged (line 333) | [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", M...
method OnDataShapeStyleChanged (line 392) | private static void OnDataShapeStyleChanged(DependencyObject o, Depend...
method OnDataShapeStyleChanged (line 402) | [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", M...
method Reset (line 518) | private void Reset()
method GlobalSeriesIndexChanged (line 580) | void IRequireGlobalSeriesIndex.GlobalSeriesIndexChanged(int? globalIndex)
FILE: WpfToolkit/DataVisualization/Charting/Series/SeriesSelectionMode.cs
type SeriesSelectionMode (line 11) | public enum SeriesSelectionMode
FILE: WpfToolkit/DataVisualization/Charting/Series/SplineSeries.cs
class SplineSeries (line 21) | [StyleTypedProperty(Property = DataPointStyleName, StyleTargetType = typ...
method SplineSeries (line 123) | [SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceT...
method SplineSeries (line 132) | public SplineSeries()
method GetAxes (line 140) | protected override void GetAxes(DataPoint firstDataPoint)
method UpdateShapeFromPoints (line 173) | protected override void UpdateShapeFromPoints(IEnumerable<Point> points)
method GetBezierPoints (line 226) | private PointCollection GetBezierPoints(PointCollection pts)
method GetB1 (line 249) | private Point GetB1(PointCollection pts, int i, double a)
method GetB2 (line 255) | private Point GetB2(PointCollection pts, int i, double a)
method GetDerivative (line 261) | private Point GetDerivative(PointCollection pts, int i, double a)
FILE: WpfToolkit/DataVisualization/Charting/Series/Stacked100AreaSeries.cs
class Stacked100AreaSeries (line 12) | public class Stacked100AreaSeries : StackedAreaSeries
method Stacked100AreaSeries (line 17) | public Stacked100AreaSeries()
FILE: WpfToolkit/DataVisualization/Charting/Series/Stacked100BarSeries.cs
class Stacked100BarSeries (line 12) | public class Stacked100BarSeries : StackedBarSeries
method Stacked100BarSeries (line 17) | public Stacked100BarSeries()
FILE: WpfToolkit/DataVisualization/Charting/Series/Stacked100ColumnSeries.cs
class Stacked100ColumnSeries (line 12) | public class Stacked100ColumnSeries : StackedColumnSeries
method Stacked100ColumnSeries (line 17) | public Stacked100ColumnSeries()
FILE: WpfToolkit/DataVisualization/Charting/Series/Stacked100LineSeries.cs
class Stacked100LineSeries (line 12) | public class Stacked100LineSeries : StackedLineSeries
method Stacked100LineSeries (line 17) | public Stacked100LineSeries()
FILE: WpfToolkit/DataVisualization/Charting/Series/StackedAreaLineSeries.cs
class StackedAreaLineSeries (line 21) | public abstract class StackedAreaLineSeries : DefinitionSeries
method StackedAreaLineSeries (line 31) | protected StackedAreaLineSeries()
method OnApplyTemplate (line 39) | public override void OnApplyTemplate()
method SeriesDefinitionsCollectionChanged (line 54) | protected override void SeriesDefinitionsCollectionChanged(NotifyColle...
method AcquireDependentAxis (line 81) | protected override IAxis AcquireDependentAxis()
method AcquireIndependentAxis (line 104) | protected override IAxis AcquireIndependentAxis()
method PrepareDataPoint (line 135) | protected override void PrepareDataPoint(DataPoint dataPoint)
method DataPointSizeChanged (line 146) | private void DataPointSizeChanged(object sender, SizeChangedEventArgs e)
method CreateDataShape (line 168) | protected abstract Shape CreateDataShape();
method SynchronizeSeriesDefinitionShapes (line 175) | private void SynchronizeSeriesDefinitionShapes(IEnumerable<SeriesDefin...
method IRangeProviderGetRange (line 201) | protected override Range<IComparable> IRangeProviderGetRange(IRangeCon...
method IValueMarginProviderGetValueMargins (line 232) | protected override IEnumerable<ValueMargin> IValueMarginProviderGetVal...
method UpdateDataItemPlacement (line 265) | protected override void UpdateDataItemPlacement(IEnumerable<Definition...
method UpdateShape (line 351) | [SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMe...
FILE: WpfToolkit/DataVisualization/Charting/Series/StackedAreaSeries.cs
class StackedAreaSeries (line 18) | public class StackedAreaSeries : StackedAreaLineSeries, IAnchoredToOrigin
method StackedAreaSeries (line 23) | public StackedAreaSeries()
method CreateDataPoint (line 31) | protected override DataPoint CreateDataPoint()
method CreateDataShape (line 40) | protected override Shape CreateDataShape()
method UpdateShape (line 49) | protected override void UpdateShape(IList<IEnumerable<Point>> definiti...
method SetPolygonPointsProperty (line 101) | [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic"...
method IValueMarginProviderGetValueMargins (line 112) | protected override IEnumerable<ValueMargin> IValueMarginProviderGetVal...
FILE: WpfToolkit/DataVisualization/Charting/Series/StackedBarColumnSeries.cs
class StackedBarColumnSeries (line 17) | public abstract class StackedBarColumnSeries : DefinitionSeries, IAnchor...
method StackedBarColumnSeries (line 32) | protected StackedBarColumnSeries()
method AcquireDependentAxis (line 40) | protected override IAxis AcquireDependentAxis()
method AcquireIndependentAxis (line 63) | protected override IAxis AcquireIndependentAxis()
method IRangeProviderGetRange (line 80) | [SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveCo...
method IValueMarginProviderGetValueMargins (line 173) | protected override IEnumerable<ValueMargin> IValueMarginProviderGetVal...
method UpdateDataItemPlacement (line 208) | [SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveCo...
method GetMarginForNonCategoryAxis (line 318) | private double GetMarginForNonCategoryAxis(IAxis axis)
FILE: WpfToolkit/DataVisualization/Charting/Series/StackedBarSeries.cs
class StackedBarSeries (line 12) | public class StackedBarSeries : StackedBarColumnSeries
method StackedBarSeries (line 17) | public StackedBarSeries()
method CreateDataPoint (line 27) | protected override DataPoint CreateDataPoint()
FILE: WpfToolkit/DataVisualization/Charting/Series/StackedColumnSeries.cs
class StackedColumnSeries (line 12) | public class StackedColumnSeries : StackedBarColumnSeries
method StackedColumnSeries (line 17) | public StackedColumnSeries()
method CreateDataPoint (line 27) | protected override DataPoint CreateDataPoint()
FILE: WpfToolkit/DataVisualization/Charting/Series/StackedLineSeries.cs
class StackedLineSeries (line 18) | public class StackedLineSeries : StackedAreaLineSeries
method StackedLineSeries (line 23) | public StackedLineSeries()
method CreateDataPoint (line 31) | protected override DataPoint CreateDataPoint()
method CreateDataShape (line 40) | protected override Shape CreateDataShape()
method UpdateShape (line 49) | protected override void UpdateShape(IList<IEnumerable<Point>> definiti...
method SetPolylinePointsProperty (line 67) | [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelle...
FILE: WpfToolkit/DataVisualization/Charting/ValueMarginCoordinateAndOverlap.cs
class ValueMarginCoordinateAndOverlap (line 11) | internal class ValueMarginCoordinateAndOverlap
method ValueMarginCoordinateAndOverlap (line 37) | public ValueMarginCoordinateAndOverlap()
FILE: WpfToolkit/DataVisualization/Collections/LeftLeaningRedBlackTree.cs
class LeftLeaningRedBlackTree (line 30) | internal class LeftLeaningRedBlackTree<TKey, TValue>
class Node (line 53) | [DebuggerDisplay("Key={Key}, Value={Value}, Siblings={Siblings}")]
method LeftLeaningRedBlackTree (line 113) | public LeftLeaningRedBlackTree(Comparison<TKey> keyComparison)
method LeftLeaningRedBlackTree (line 127) | public LeftLeaningRedBlackTree(Comparison<TKey> keyComparison, Compari...
method Add (line 150) | public void Add(TKey key, TValue value)
method Remove (line 164) | public bool Remove(TKey key)
method Remove (line 179) | public bool Remove(TKey key, TValue value)
method Clear (line 199) | public void Clear()
method GetKeys (line 212) | public IEnumerable<TKey> GetKeys()
method GetValueForKey (line 232) | [SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelle...
method GetValuesForKey (line 255) | public IEnumerable<TValue> GetValuesForKey(TKey key)
method GetValuesForAllKeys (line 264) | public IEnumerable<TValue> GetValuesForAllKeys()
method IsRed (line 311) | private static bool IsRed(Node node)
method Add (line 328) | private Node Add(Node node, TKey key, TValue value)
method Remove (line 390) | private Node Remove(Node node, TKey key, TValue value)
method FlipColor (line 477) | private static void FlipColor(Node node)
method RotateLeft (line 489) | private static Node RotateLeft(Node node)
method RotateRight (line 504) | private static Node RotateRight(Node node)
method MoveRedLeft (line 519) | private static Node MoveRedLeft(Node node)
method MoveRedRight (line 542) | private static Node MoveRedRight(Node node)
method DeleteMinimum (line 558) | private Node DeleteMinimum(Node node)
method FixUp (line 584) | private static Node FixUp(Node node)
method GetNodeForKey (line 623) | private Node GetNodeForKey(TKey key)
method GetExtreme (line 658) | private static T GetExtreme<T>(Node node, Func<Node, Node> successor, ...
method Traverse (line 680) | private IEnumerable<T> Traverse<T>(Node node, Func<Node, bool> conditi...
method KeyAndValueComparison (line 723) | private int KeyAndValueComparison(TKey leftKey, TValue leftValue, TKey...
method AssertInvariants (line 739) | private void AssertInvariants()
FILE: WpfToolkit/DataVisualization/Collections/MultipleDictionary.cs
class MultipleDictionary (line 18) | internal class MultipleDictionary<TKey, TValue>
method MultipleDictionary (line 28) | protected MultipleDictionary()
method MultipleDictionary (line 38) | [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", M...
method Add (line 53) | public void Add(TKey key, TValue value)
method Remove (line 64) | public bool Remove(TKey key, TValue value)
method Clear (line 96) | public void Clear()
FILE: WpfToolkit/DataVisualization/Collections/OrderedMultipleDictionary.cs
class OrderedMultipleDictionary (line 19) | internal class OrderedMultipleDictionary<TKey, TValue> : MultipleDiction...
method OrderedMultipleDictionary (line 28) | [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", M...
method GetKeyRange (line 40) | public Range<TKey> GetKeyRange()
method GetLargestAndSmallestValues (line 56) | public Tuple<TValue, TValue> GetLargestAndSmallestValues()
method GetEnumerator (line 72) | public IEnumerator<TValue> GetEnumerator()
method GetEnumerator (line 81) | IEnumerator IEnumerable.GetEnumerator()
FILE: WpfToolkit/DataVisualization/ColorExtensions.cs
class ColorExtensions (line 14) | internal static class ColorExtensions
method MaxColor (line 23) | private static byte MaxColor(byte red, byte green, byte blue)
method MinColor (line 35) | private static byte MinColor(byte red, byte green, byte blue)
method GetHue (line 51) | public static float GetHue(this Color color)
method GetSaturation (line 95) | public static float GetSaturation(this Color color)
method GetLightness (line 122) | public static float GetLightness(this Color color)
method FromAhsl (line 139) | [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelle...
FILE: WpfToolkit/DataVisualization/DependencyPropertyAnimationHelper.cs
class DependencyPropertyAnimationHelper (line 19) | internal static class DependencyPropertyAnimationHelper
method GetStoryboardKey (line 38) | private static string GetStoryboardKey(string propertyPath)
method BeginAnimation (line 57) | public static void BeginAnimation(
method CreateStoryboard (line 104) | [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", M...
FILE: WpfToolkit/DataVisualization/DesignerProperties.cs
class DesignerProperties (line 14) | internal static class DesignerProperties
method GetIsInDesignMode (line 23) | [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", M...
FILE: WpfToolkit/DataVisualization/EnumerableExtensions.cs
class EnumerableExtensions (line 15) | internal static class EnumerableExtensions
method Iterate (line 26) | [SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivate...
method Prepend (line 44) | [SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivate...
method Zip (line 71) | [SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivate...
method MaxOrNull (line 91) | [SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivate...
method MaxOrNullable (line 124) | public static T? MaxOrNullable<T>(this IEnumerable<T> that)
method MinOrNullable (line 141) | public static T? MinOrNullable<T>(this IEnumerable<T> that)
FILE: WpfToolkit/DataVisualization/EnumerableFunctions.cs
class EnumerableFunctions (line 19) | internal static class EnumerableFunctions
method FastCount (line 27) | public static int FastCount(this IEnumerable that)
method MinOrNull (line 46) | public static T MinOrNull<T>(this IEnumerable<T> that, Func<T, ICompar...
method SumOrDefault (line 76) | public static double SumOrDefault(this IEnumerable<double> that)
method MaxOrNull (line 97) | public static T MaxOrNull<T>(this IEnumerable<T> that, Func<T, ICompar...
method Zip (line 134) | public static IEnumerable<R> Zip<T0, T1, R>(IEnumerable<T0> enumerable...
method Iterate (line 153) | public static IEnumerable<T> Iterate<T>(T value, Func<T, T> nextFunction)
method IndexOf (line 169) | public static int IndexOf(this IEnumerable that, object value)
method ForEachWithIndex (line 191) | public static void ForEachWithIndex<T>(this IEnumerable<T> that, Actio...
method MaxOrNullable (line 208) | public static T? MaxOrNullable<T>(this IEnumerable<T> that)
method MinOrNullable (line 225) | public static T? MinOrNullable<T>(this IEnumerable<T> that)
method FastElementAt (line 244) | public static T FastElementAt<T>(this IEnumerable that, int index)
method Scan (line 272) | public static IEnumerable<S> Scan<T, S>(this IEnumerable<T> that, S se...
method CastWrapper (line 295) | public static IEnumerable<TResult> CastWrapper<TResult>(this IEnumerab...
FILE: WpfToolkit/DataVisualization/GenericEqualityComparer.cs
class GenericEqualityComparer (line 14) | internal class GenericEqualityComparer<T> : EqualityComparer<T>
method GenericEqualityComparer (line 33) | public GenericEqualityComparer(Func<T, T, bool> equalityFunction, Func...
method Equals (line 45) | public override bool Equals(T x, T y)
method GetHashCode (line 55) | public override int GetHashCode(T obj)
FILE: WpfToolkit/DataVisualization/GridExtensions.cs
class GridExtensions (line 16) | internal static class GridExtensions
method Mirror (line 24) | public static void Mirror(this Grid grid, Orientation orientation)
FILE: WpfToolkit/DataVisualization/IResourceDictionaryDispenser.cs
type IResourceDictionaryDispenser (line 14) | public interface IResourceDictionaryDispenser
method GetResourceDictionariesWhere (line 25) | IEnumerator<ResourceDictionary> GetResourceDictionariesWhere(Func<Reso...
FILE: WpfToolkit/DataVisualization/LayoutTransformControl.cs
class LayoutTransformControl (line 20) | [ContentProperty("Child")]
method LayoutTransformControl (line 99) | public LayoutTransformControl()
method OnApplyTemplate (line 125) | public override void OnApplyTemplate()
method ChildChanged (line 146) | private static void ChildChanged(DependencyObject o, DependencyPropert...
method OnChildChanged (line 156) | private void OnChildChanged(FrameworkElement newContent)
method TransformChanged (line 177) | private static void TransformChanged(DependencyObject o, DependencyPro...
method OnTransformChanged (line 187) | private void OnTransformChanged(Transform newValue)
method TransformUpdated (line 200) | public void TransformUpdated()
method ProcessTransform (line 211) | private void ProcessTransform(Transform transform)
method GetTransformMatrix (line 229) | private Matrix GetTransformMatrix(Transform transform)
method MeasureOverride (line 302) | protected override Size MeasureOverride(Size availableSize)
method ArrangeOverride (line 354) | protected override Size ArrangeOverride(Size finalSize)
method ComputeLargestTransformedSize (line 410) | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainab...
method IsSizeSmaller (line 560) | private static bool IsSizeSmaller(Size a, Size b)
method RoundMatrix (line 575) | private static Matrix RoundMatrix(Matrix matrix, int decimalsAfterRound)
method RectTransform (line 594) | private static Rect RectTransform(Rect rectangle, Matrix matrix)
method MatrixMultiply (line 617) | private static Matrix MatrixMultiply(Matrix matrix1, Matrix matrix2)
method MatrixHasInverse (line 636) | private static bool MatrixHasInverse(Matrix matrix)
FILE: WpfToolkit/DataVisualization/Legend/Legend.cs
class Legend (line 16) | [StyleTypedProperty(Property = "ItemContainerStyle", StyleTargetType = t...
method Legend (line 24) | [SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceT...
method Legend (line 34) | public Legend()
method OnHeaderChanged (line 86) | protected override void OnHeaderChanged(object oldHeader, object newHe...
method OnItemsChanged (line 96) | protected override void OnItemsChanged(NotifyCollectionChangedEventArg...
method UpdateContentVisibility (line 105) | private void UpdateContentVisibility()
FILE: WpfToolkit/DataVisualization/NoResetObservableCollection.cs
class NoResetObservableCollection (line 20) | internal class NoResetObservableCollection<T> : ObservableCollection<T>
method NoResetObservableCollection (line 26) | public NoResetObservableCollection()
method ClearItems (line 33) | protected override void ClearItems()
FILE: WpfToolkit/DataVisualization/ObjectPool.cs
class ObjectPool (line 15) | internal class ObjectPool<T>
method ObjectPool (line 56) | public ObjectPool(
method ObjectPool (line 72) | public ObjectPool(Func<T> createObject)
method ForEachRemaining (line 83) | public void ForEachRemaining(Action<T> action)
method Next (line 95) | public T Next()
method Reset (line 109) | public void Reset()
method Done (line 124) | public void Done()
method Clear (line 140) | public void Clear()
FILE: WpfToolkit/DataVisualization/ObservableCollectionListAdapter.cs
class ObservableCollectionListAdapter (line 21) | internal class ObservableCollectionListAdapter<T>
method OnCollectionChanged (line 72) | public void OnCollectionChanged(object sender, NotifyCollectionChanged...
method Populate (line 149) | public void Populate()
method ClearItems (line 170) | public void ClearItems()
FILE: WpfToolkit/DataVisualization/OrientedPanel.cs
class OrientedPanel (line 25) | internal class OrientedPanel : Panel
method OnMinimumDistanceBetweenChildrenPropertyChanged (line 74) | private static void OnMinimumDistanceBetweenChildrenPropertyChanged(De...
method OnMinimumDistanceBetweenChildrenPropertyChanged (line 87) | protected virtual void OnMinimumDistanceBetweenChildrenPropertyChanged...
method GetCenterCoordinate (line 119) | [SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesA...
method SetCenterCoordinate (line 134) | [SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesA...
method OnCenterCoordinatePropertyChanged (line 159) | public static void OnCenterCoordinatePropertyChanged(DependencyObject ...
method OnOffsetPaddingPropertyChanged (line 199) | private static void OnOffsetPaddingPropertyChanged(DependencyObject d,...
method OnOffsetPaddingPropertyChanged (line 212) | protected virtual void OnOffsetPaddingPropertyChanged(double oldValue,...
method GetPriority (line 224) | [SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesA...
method SetPriority (line 239) | [SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesA...
method OnPriorityPropertyChanged (line 264) | public static void OnPriorityPropertyChanged(DependencyObject dependen...
method OnIsInvertedPropertyChanged (line 304) | private static void OnIsInvertedPropertyChanged(DependencyObject d, De...
method OnIsInvertedPropertyChanged (line 317) | protected virtual void OnIsInvertedPropertyChanged(bool oldValue, bool...
method OnIsReversedPropertyChanged (line 348) | private static void OnIsReversedPropertyChanged(DependencyObject d, De...
method OnIsReversedPropertyChanged (line 361) | protected virtual void OnIsReversedPropertyChanged(bool oldValue, bool...
method OnOrientationPropertyChanged (line 392) | private static void OnOrientationPropertyChanged(DependencyObject d, D...
method OnOrientationPropertyChanged (line 403) | protected virtual void OnOrientationPropertyChanged(Orientation newValue)
method OrientedPanel (line 418) | public OrientedPanel()
method UpdateActualLength (line 426) | private void UpdateActualLength()
method GetRanges (line 439) | private static IEnumerable<Range<double>> GetRanges(IEnumerable<UIElem...
method MeasureOverride (line 456) | [SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveCo...
method ArrangeOverride (line 584) | protected override Size ArrangeOverride(Size finalSize)
method GetCorrectedDesiredSize (line 656) | private static Size GetCorrectedDesiredSize(UIElement element)
FILE: WpfToolkit/DataVisualization/Properties/Resources.Designer.cs
class Resources (line 22) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resource...
method Resources (line 31) | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Mic...
FILE: WpfToolkit/DataVisualization/Range.cs
type Range (line 17) | public struct Range<T>
method Range (line 81) | public Range(T minimum, T maximum)
method Add (line 143) | public Range<T> Add(Range<T> range)
method Equals (line 163) | public bool Equals(Range<T> range)
method Equals (line 175) | public override bool Equals(object obj)
method Contains (line 190) | public bool Contains(T value)
method IntersectsWith (line 224) | public bool IntersectsWith(Range<T> range)
method GetHashCode (line 243) | public override int GetHashCode()
method ToString (line 259) | public override string ToString()
FILE: WpfToolkit/DataVisualization/RangeEnumerableFunctions.cs
class RangeEnumerableExtensions (line 15) | internal static class RangeEnumerableExtensions
method GetRange (line 23) | public static Range<T> GetRange<T>(this IEnumerable<T> that)
method Sum (line 55) | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "...
FILE: WpfToolkit/DataVisualization/ReadOnlyObservableCollection.cs
class ReadOnlyObservableCollection (line 17) | internal class ReadOnlyObservableCollection<T> : NoResetObservableCollec...
method Mutate (line 29) | public void Mutate(Action<ReadOnlyObservableCollection<T>> action)
method RemoveItem (line 46) | protected override void RemoveItem(int index)
method SetItem (line 63) | protected override void SetItem(int index, T item)
method InsertItem (line 80) | protected override void InsertItem(int index, T item)
method ClearItems (line 95) | protected override void ClearItems()
FILE: WpfToolkit/DataVisualization/ResourceDictionaryCollection.cs
class ResourceDictionaryCollection (line 14) | public partial class ResourceDictionaryCollection : Collection<ResourceD...
method ResourceDictionaryCollection (line 19) | public ResourceDictionaryCollection()
FILE: WpfToolkit/DataVisualization/StoryboardQueue.cs
class StoryboardQueue (line 15) | internal class StoryboardQueue
method Enqueue (line 28) | public void Enqueue(Storyboard storyBoard, EventHandler completedAction)
method Dequeue (line 53) | private void Dequeue()
FILE: WpfToolkit/DataVisualization/StringFormatConverter.cs
class StringFormatConverter (line 15) | public class StringFormatConverter : IValueConverter
method Convert (line 25) | public object Convert(object value, Type targetType, object parameter,...
method ConvertBack (line 44) | public object ConvertBack(object value, Type targetType, object parame...
FILE: WpfToolkit/DataVisualization/Title/Title.cs
class Title (line 15) | public partial class Title : ContentControl
method Title (line 21) | static Title()
method Title (line 30) | public Title()
FILE: WpfToolkit/DataVisualization/TreeMap/BindingExtractor.cs
class BindingExtractor (line 15) | internal class BindingExtractor : FrameworkElement
method RetrieveProperty (line 46) | public object RetrieveProperty(object instance, Binding valueBinding)
FILE: WpfToolkit/DataVisualization/TreeMap/Interpolators/DoubleInterpolator.cs
class DoubleInterpolator (line 15) | public class DoubleInterpolator : RangeInterpolator<double>
method Interpolate (line 23) | public override object Interpolate(double value)
FILE: WpfToolkit/DataVisualization/TreeMap/Interpolators/HSLSolidColorBrushInterpolator.cs
class HSLSolidColorBrushInterpolator (line 16) | public class HSLSolidColorBrushInterpolator : RangeInterpolator<Color>
method Interpolate (line 24) | public override object Interpolate(double value)
FILE: WpfToolkit/DataVisualization/TreeMap/Interpolators/InterpolationMode.cs
type InterpolationMode (line 12) | public enum InterpolationMode
FILE: WpfToolkit/DataVisualization/TreeMap/Interpolators/Interpolator.cs
class Interpolator (line 27) | public abstract class Interpolator : FrameworkElement
method Interpolator (line 174) | protected Interpolator()
method IncludeInRange (line 187) | internal virtual void IncludeInRange(object data)
method Interpolate (line 223) | public abstract object Interpolate(double value);
FILE: WpfToolkit/DataVisualization/TreeMap/Interpolators/RangeInterpolator.cs
class RangeInterpolator (line 14) | public abstract class RangeInterpolator<T> : Interpolator
FILE: WpfToolkit/DataVisualization/TreeMap/Interpolators/SolidColorBrushInterpolator.cs
class SolidColorBrushInterpolator (line 14) | public class SolidColorBrushInterpolator : RangeInterpolator<Color>
method Interpolate (line 22) | public override object Interpolate(double value)
FILE: WpfToolkit/DataVisualization/TreeMap/Layout/SquaringAlgorithm.cs
class SquaringAlgorithm (line 17) | internal class SquaringAlgorithm
method Split (line 50) | public IEnumerable<Tuple<Rect, TreeMapNode>> Split(Rect parentRectangl...
method BuildTreeMap (line 98) | private IEnumerable<Tuple<Rect, TreeMapNode>> BuildTreeMap()
method BuildTreeMapStep (line 114) | private IEnumerable<Tuple<Rect, TreeMapNode>> BuildTreeMapStep()
method GetArea (line 180) | private double GetArea(int i)
method GetAspect (line 191) | private double GetAspect(int i, double wh)
FILE: WpfToolkit/DataVisualization/TreeMap/Layout/TreeMapNode.cs
class TreeMapNode (line 18) | internal class TreeMapNode
FILE: WpfToolkit/DataVisualization/TreeMap/TreeMap.cs
class TreeMap (line 32) | [TemplatePart(Name = ContainerName, Type = typeof(Canvas))]
method OnItemDefinitionSelectorPropertyChanged (line 102) | private static void OnItemDefinitionSelectorPropertyChanged(Dependency...
method OnItemDefinitionSelectorPropertyChanged (line 119) | protected virtual void OnItemDefinitionSelectorPropertyChanged(TreeMap...
method OnItemDefinitionPropertyChanged (line 151) | private static void OnItemDefinitionPropertyChanged(DependencyObject d...
method OnItemDefinitionPropertyChanged (line 180) | private void OnItemDefinitionPropertyChanged(object sender, PropertyCh...
method OnItemDefinitionPropertyChanged (line 191) | protected virtual void OnItemDefinitionPropertyChanged(TreeMapItemDefi...
method OnItemsSourcePropertyChanged (line 223) | private static void OnItemsSourcePropertyChanged(DependencyObject d, D...
method OnItemsSourcePropertyChanged (line 239) | protected virtual void OnItemsSourcePropertyChanged(IEnumerable oldVal...
method ItemsSourceCollectionChanged (line 278) | private void ItemsSourceCollectionChanged(object sender, NotifyCollect...
method OnInterpolatorsPropertyChanged (line 311) | private static void OnInterpolatorsPropertyChanged(DependencyObject d,...
method OnInterpolatorsPropertyChanged (line 328) | protected virtual void OnInterpolatorsPropertyChanged(Collection<Inter...
method TreeMap (line 365) | public TreeMap()
method OnApplyTemplate (line 380) | public override void OnApplyTemplate()
method GetContainerForItemOverride (line 402) | protected virtual FrameworkElement GetContainerForItemOverride(object ...
method ArrangeOverride (line 420) | protected override Size ArrangeOverride(Size finalSize)
method OnInterpolatorsCollectionChanged (line 472) | private void OnInterpolatorsCollectionChanged(object sender, NotifyCol...
method GetTreeMapNodes (line 481) | private IEnumerable<TreeMapNode> GetTreeMapNodes()
method ComputeRectangles (line 519) | private IEnumerable<Tuple<Rect, TreeMapNode>> ComputeRectangles(TreeMa...
method BuildTreeMapTree (line 546) | private IEnumerable<TreeMapNode> BuildTreeMapTree(IEnumerable nodes, i...
method CreateChildren (line 654) | private void CreateChildren()
method RebuildTree (line 720) | private void RebuildTree()
FILE: WpfToolkit/DataVisualization/TreeMap/TreeMapItemDefinition.cs
class TreeMapItemDefinition (line 16) | [ContentProperty("ItemTemplate")]
method TreeMapItemDefinition (line 142) | public TreeMapItemDefinition()
method NotifyPropertyChanged (line 156) | protected void NotifyPropertyChanged(string parameterName)
FILE: WpfToolkit/DataVisualization/TreeMap/TreeMapItemDefinitionSelector.cs
class TreeMapItemDefinitionSelector (line 16) | public abstract class TreeMapItemDefinitionSelector
method TreeMapItemDefinitionSelector (line 21) | protected TreeMapItemDefinitionSelector()
method SelectItemDefinition (line 34) | public abstract TreeMapItemDefinition SelectItemDefinition(TreeMap tre...
FILE: WpfToolkit/DataVisualization/Tuple.cs
class Tuple (line 13) | internal class Tuple<T1, T2>
method Tuple (line 30) | public Tuple(T1 item1, T2 item2)
FILE: WpfToolkit/DataVisualization/UniqueObservableCollection.cs
class UniqueObservableCollection (line 15) | internal class UniqueObservableCollection<T> : ObservableCollection<T>
method InsertItem (line 22) | protected override void InsertItem(int index, T item)
method SetItem (line 39) | protected override void SetItem(int index, T item)
method ClearItems (line 55) | protected override void ClearItems()
FILE: WpfToolkit/DataVisualization/Unit.cs
type Unit (line 11) | public enum Unit
FILE: WpfToolkit/DataVisualization/UnitValue.cs
type UnitValue (line 13) | public struct UnitValue : IComparable
method NaN (line 19) | public static UnitValue NaN()
method UnitValue (line 29) | public UnitValue(double value, Unit unit) : this()
method CompareTo (line 52) | public int CompareTo(object obj)
method Equals (line 69) | public override bool Equals(object obj)
method GetHashCode (line 136) | public override int GetHashCode()
FILE: WpfToolkit/DataVisualization/ValueHelper.cs
class ValueHelper (line 18) | internal static class ValueHelper
method CanGraph (line 32) | public static bool CanGraph(double value)
method TryConvert (line 44) | public static bool TryConvert(object value, out double doubleValue)
method TryConvert (line 82) | public static bool TryConvert(object value, out DateTime dateTimeValue)
method ToDouble (line 120) | public static double ToDouble(object value)
method ToDateTime (line 130) | public static DateTime ToDateTime(object value)
method GetDateTimesBetweenInclusive (line 143) | public static IEnumerable<DateTime> GetDateTimesBetweenInclusive(DateT...
method GetTimeSpanIntervalsInclusive (line 156) | public static IEnumerable<TimeSpan> GetTimeSpanIntervalsInclusive(Time...
method GetIntervalsInclusive (line 173) | public static IEnumerable<long> GetIntervalsInclusive(long start, long...
method RemoveNoiseFromDoubleMath (line 191) | internal static double RemoveNoiseFromDoubleMath(double value)
method ToDoubleRange (line 205) | public static Range<double> ToDoubleRange(this Range<IComparable> range)
method ToDateTimeRange (line 223) | public static Range<DateTime> ToDateTimeRange(this Range<IComparable> ...
method Compare (line 253) | public static int Compare(IComparable left, IComparable right)
method Translate (line 279) | public static Point Translate(this Point origin, Point offset)
method ToComparableRange (line 289) | public static Range<IComparable> ToComparableRange(this Range<double> ...
method LeftOrDefault (line 307) | public static double LeftOrDefault(this Rect rectangle, double value)
method RightOrDefault (line 318) | public static double RightOrDefault(this Rect rectangle, double value)
method WidthOrDefault (line 329) | public static double WidthOrDefault(this Rect rectangle, double value)
method HeightOrDefault (line 340) | public static double HeightOrDefault(this Rect rectangle, double value)
method BottomOrDefault (line 351) | public static double BottomOrDefault(this Rect rectangle, double value)
method TopOrDefault (line 362) | public static double TopOrDefault(this Rect rectangle, double value)
method ToComparableRange (line 372) | public static Range<IComparable> ToComparableRange(this Range<DateTime...
method GetLength (line 389) | public static TimeSpan? GetLength(this Range<DateTime> range)
method GetLength (line 399) | public static double? GetLength(this Range<double> range)
method IsEmptyOrHasNoSize (line 411) | public static bool IsEmptyOrHasNoSize(this Rect rect)
method SetStyle (line 421) | public static void SetStyle(this FrameworkElement element, Style style)
FILE: WpfToolkit/DataVisualization/WeakEventListener.cs
class WeakEventListener (line 17) | [SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInt...
method WeakEventListener (line 39) | public WeakEventListener(TInstance instance)
method OnEvent (line 53) | public void OnEvent(TSource source, TEventArgs eventArgs)
method Detach (line 74) | public void Detach()
FILE: WpfToolkit/DataVisualization/WeakReferenceBag.cs
class WeakReferenceBag (line 15) | internal class WeakReferenceBag<T> : IEnumerable<T>
method WeakReferenceBag (line 26) | public WeakReferenceBag()
method Add (line 35) | public void Add(T item)
method Remove (line 45) | public void Remove(T item)
method GetEnumerator (line 67) | public IEnumerator<T> GetEnumerator()
method GetEnumerator (line 89) | System.Collections.IEnumerator System.Collections.IEnumerable.GetEnume...
FILE: WpfToolkit/DatePicker/Microsoft/Windows/Automation/Peers/DatePickerAutomationPeer.cs
class DatePickerAutomationPeer (line 17) | public sealed class DatePickerAutomationPeer : FrameworkElementAutomatio...
method DatePickerAutomationPeer (line 23) | public DatePickerAutomationPeer(DatePicker owner)
method GetPattern (line 47) | public override object GetPattern(PatternInterface patternInterface)
method GetAutomationControlTypeCore (line 65) | protected override AutomationControlType GetAutomationControlTypeCore()
method GetClassNameCore (line 75) | protected override string GetClassNameCore()
method GetLocalizedControlTypeCore (line 84) | protected override string GetLocalizedControlTypeCore()
method Collapse (line 108) | void IExpandCollapseProvider.Collapse()
method Expand (line 113) | void IExpandCollapseProvider.Expand()
method SetValue (line 132) | void IValueProvider.SetValue(string value)
method RaiseValuePropertyChangedEvent (line 141) | [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerSer...
FILE: WpfToolkit/DatePicker/Microsoft/Windows/Controls/DatePicker.cs
class DatePicker (line 28) | [TemplatePart(Name = DatePicker.ElementRoot, Type = typeof(Grid))]
method DatePicker (line 93) | static DatePicker()
method DatePicker (line 105) | public DatePicker()
method CoerceDisplayDate (line 173) | private static object CoerceDisplayDate(DependencyObject d, object value)
method OnDisplayDateEndChanged (line 211) | private static void OnDisplayDateEndChanged(DependencyObject d, Depend...
method CoerceDisplayDateEnd (line 219) | private static object CoerceDisplayDateEnd(DependencyObject d, object ...
method OnDisplayDateStartChanged (line 257) | private static void OnDisplayDateStartChanged(DependencyObject d, Depe...
method CoerceDisplayDateStart (line 266) | private static object CoerceDisplayDateStart(DependencyObject d, objec...
method OnCoerceIsDropDownOpen (line 322) | private static object OnCoerceIsDropDownOpen(DependencyObject d, objec...
method OnIsDropDownOpenChanged (line 340) | private static void OnIsDropDownOpenChanged(DependencyObject d, Depend...
method OnIsEnabledChanged (line 375) | private static void OnIsEnabledChanged(DependencyObject d, DependencyP...
method OnVisualStatePropertyChanged (line 385) | private static void OnVisualStatePropertyChanged(DatePicker dp)
method OnSelectedDateChanged (line 457) | private static void OnSelectedDateChanged(DependencyObject d, Dependen...
method CoerceSelectedDate (line 515) | private static object CoerceSelectedDate(DependencyObject d, object va...
method OnSelectedDateFormatChanged (line 553) | private static void OnSelectedDateFormatChanged(DependencyObject d, De...
method OnTextChanged (line 605) | private static void OnTextChanged(DependencyObject d, DependencyProper...
method OnCoerceText (line 634) | private static object OnCoerceText(DependencyObject dObject, object ba...
method SetTextInternal (line 650) | private void SetTextInternal(string value)
method OnApplyTemplate (line 684) | public override void OnApplyTemplate()
method ToString (line 771) | public override string ToString()
method OnCreateAutomationPeer (line 791) | protected override AutomationPeer OnCreateAutomationPeer()
method OnCalendarClosed (line 796) | protected virtual void OnCalendarClosed(RoutedEventArgs e)
method OnCalendarOpened (line 805) | protected virtual void OnCalendarOpened(RoutedEventArgs e)
method OnSelectedDateChanged (line 814) | protected virtual void OnSelectedDateChanged(SelectionChangedEventArgs e)
method OnDateValidationError (line 823) | protected virtual void OnDateValidationError(DatePickerDateValidationE...
method OnGotFocus (line 839) | private static void OnGotFocus(object sender, RoutedEventArgs e)
method SetValueNoCallback (line 858) | private void SetValueNoCallback(DependencyProperty property, object va...
method IsHandlerSuspended (line 871) | private bool IsHandlerSuspended(DependencyProperty property)
method SetIsHandlerSuspended (line 876) | private void SetIsHandlerSuspended(DependencyProperty property, bool v...
method PopUp_PreviewMouseLeftButtonDown (line 896) | private void PopUp_PreviewMouseLeftButtonDown(object sender, MouseButt...
method PopUp_Opened (line 914) | private void PopUp_Opened(object sender, EventArgs e)
method PopUp_Closed (line 930) | private void PopUp_Closed(object sender, EventArgs e)
method Calendar_DayButtonMouseUp (line 945) | private void Calendar_DayButtonMouseUp(object sender, MouseButtonEvent...
method Calendar_DisplayDateChanged (line 950) | private void Calendar_DisplayDateChanged(object sender, CalendarDateCh...
method CalendarDayOrMonthButton_PreviewKeyDown (line 958) | private void CalendarDayOrMonthButton_PreviewKeyDown(object sender, Ro...
method Calendar_SelectedDatesChanged (line 976) | private void Calendar_SelectedDatesChanged(object sender, SelectionCha...
method DateTimeToString (line 1002) | private string DateTimeToString(DateTime d)
method DiscardDayTime (line 1022) | private static DateTime DiscardDayTime(DateTime d)
method DiscardTime (line 1030) | private static DateTime? DiscardTime(DateTime? d)
method DropDownButton_Click (line 1047) | private void DropDownButton_Click(object sender, RoutedEventArgs e)
method DropDownButton_MouseLeave (line 1052) | private void DropDownButton_MouseLeave(object sender, MouseEventArgs e)
method TogglePopUp (line 1057) | private void TogglePopUp()
method InitializeCalendar (line 1077) | private void InitializeCalendar()
method GetDatePickerBinding (line 1094) | private BindingBase GetDatePickerBinding(DependencyProperty property)
method IsValidSelectedDateFormat (line 1101) | private static bool IsValidSelectedDateFormat(object value)
method ParseText (line 1115) | private DateTime? ParseText(string text)
method ProcessDatePickerKey (line 1153) | private bool ProcessDatePickerKey(KeyEventArgs e)
method SetSelectedDate (line 1186) | private void SetSelectedDate()
method SetTextBoxValue (line 1233) | private DateTime? SetTextBoxValue(string s)
method SetWaterMarkText (line 1268) | private void SetWaterMarkText()
method TextBox_LostFocus (line 1293) | private void TextBox_LostFocus(object sender, RoutedEventArgs e)
method TextBox_KeyDown (line 1298) | private void TextBox_KeyDown(object sender, KeyEventArgs e)
method TextBox_TextChanged (line 1303) | private void TextBox_TextChanged(object sender, TextChangedEventArgs e)
method UpdateDisabledVisual (line 1308) | private void UpdateDisabledVisual()
FILE: WpfToolkit/DatePicker/Microsoft/Windows/Controls/DatePickerDateValidationErrorEventArgs.cs
class DatePickerDateValidationErrorEventArgs (line 14) | public class DatePickerDateValidationErrorEventArgs : EventArgs
method DatePickerDateValidationErrorEventArgs (line 23) | public DatePickerDateValidationErrorEventArgs(Exception exception, str...
FILE: WpfToolkit/DatePicker/Microsoft/Windows/Controls/DatePickerFormat.cs
type DatePickerFormat (line 12) | public enum DatePickerFormat
FILE: WpfToolkit/DatePicker/Microsoft/Windows/Controls/DatePickerTextBox.cs
class DatePickerTextBox (line 19) | [TemplatePart(Name = DatePickerTextBox.ElementContentName, Type = typeof...
method DatePickerTextBox (line 46) | static DatePickerTextBox()
method DatePickerTextBox (line 54) | public DatePickerTextBox()
method OnApplyTemplate (line 90) | public override void OnApplyTemplate()
method OnGotFocus (line 101) | protected override void OnGotFocus(RoutedEventArgs e)
method OnLostFocus (line 115) | protected override void OnLostFocus(RoutedEventArgs e)
method OnMouseEnter (line 121) | protected override void OnMouseEnter(MouseEventArgs e)
method OnMouseLeave (line 133) | protected override void OnMouseLeave(MouseEventArgs e)
method OnTextChanged (line 145) | protected override void OnTextChanged(TextChangedEventArgs e)
method OnLoaded (line 156) | private void OnLoaded(object sender, RoutedEventArgs e)
method ChangeVisualState (line 169) | private void ChangeVisualState(bool useTransitions)
method ExtractTemplatePart (line 206) | private T ExtractTemplatePart<T>(string partName) where T : Dependency...
method ExtractTemplatePart (line 212) | private static T ExtractTemplatePart<T>(string partName, DependencyObj...
method OnDatePickerTextBoxIsEnabledChanged (line 225) | private void OnDatePickerTextBoxIsEnabledChanged(object sender, Depend...
method OnWatermarkChanged (line 235) | private void OnWatermarkChanged()
method OnWatermarkPropertyChanged (line 253) | private static void OnWatermarkPropertyChanged(DependencyObject sender...
FILE: WpfToolkit/Input/AutoCompleteBox/System/Windows/Automation/Peers/AutoCompleteBoxAutomationPeer.cs
class AutoCompleteBoxAutomationPeer (line 18) | public sealed class AutoCompleteBoxAutomationPeer : FrameworkElementAuto...
method AutoCompleteBoxAutomationPeer (line 70) | public AutoCompleteBoxAutomationPeer(AutoCompleteBox owner)
method GetAutomationControlTypeCore (line 81) | protected override AutomationControlType GetAutomationControlTypeCore()
method GetClassNameCore (line 92) | protected override string GetClassNameCore()
method GetPattern (line 103) | public override object GetPattern(PatternInterface patternInterface)
method Expand (line 141) | void IExpandCollapseProvider.Expand()
method Collapse (line 158) | void IExpandCollapseProvider.Collapse()
method RaiseExpandCollapseAutomationEvent (line 188) | internal void RaiseExpandCollapseAutomationEvent(bool oldValue, bool n...
method SetValue (line 204) | void IValueProvider.SetValue(string value)
method GetChildrenCore (line 244) | [SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists",...
method GetSelection (line 290) | IRawElementProviderSimple[] ISelectionProvider.GetSelection()
FILE: WpfToolkit/Input/AutoCompleteBox/System/Windows/Controls/AutoCompleteBox.cs
class AutoCompleteBox (line 29) | [TemplatePart(Name = AutoCompleteBox.ElementSelectionAdapter, Type = typ...
method OnMinimumPrefixLengthPropertyChanged (line 211) | [SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExcepti...
method OnMinimumPopulateDelayPropertyChanged (line 264) | [SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExcepti...
method OnMaxDropDownHeightPropertyChanged (line 488) | [SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExcepti...
method OnIsDropDownOpenPropertyChanged (line 548) | private static void OnIsDropDownOpenPropertyChanged(DependencyObject d...
method OnItemsSourcePropertyChanged (line 610) | private static void OnItemsSourcePropertyChanged(DependencyObject d, D...
method OnSelectedItemPropertyChanged (line 657) | private static void OnSelectedItemPropertyChanged(DependencyObject d, ...
method OnSelectedItemChanged (line 701) | private void OnSelectedItemChanged(object newItem)
method OnTextPropertyChanged (line 759) | private static void OnTextPropertyChanged(DependencyObject d, Dependen...
method OnSearchTextPropertyChanged (line 819) | private static void OnSearchTextPropertyChanged(DependencyObject d, De...
method OnFilterModePropertyChanged (line 883) | [SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExcepti...
method OnItemFilterPropertyChanged (line 956) | private static void OnItemFilterPropertyChanged(DependencyObject d, De...
method ValueMemberPathChanged (line 1412) | private static void ValueMemberPathChanged(DependencyObject d, Depende...
method AutoCompleteBox (line 1424) | static AutoCompleteBox()
method AutoCompleteBox (line 1434) | public AutoCompleteBox()
method ArrangeOverride (line 1457) | protected override Size ArrangeOverride(Size finalSize)
method OnApplyTemplate (line 1472) | public override void OnApplyTemplate()
method OnDropDownPopupUpdateVisualStates (line 1526) | private void OnDropDownPopupUpdateVisualStates(object sender, EventArg...
method OnDropDownFocusChanged (line 1536) | private void OnDropDownFocusChanged(object sender, EventArgs e)
method ClosingDropDown (line 1545) | private void ClosingDropDown(bool oldValue)
method OpeningDropDown (line 1592) | private void OpeningDropDown(bool oldValue)
method RaiseExpandCollapseAutomationEvent (line 1621) | private void RaiseExpandCollapseAutomationEvent(bool oldValue, bool ne...
method OnTextBoxPreviewKeyDown (line 1635) | private void OnTextBoxPreviewKeyDown(object sender, KeyEventArgs e)
method DropDownPopup_Closed (line 1645) | private void DropDownPopup_Closed(object sender, EventArgs e)
method OnCreateAutomationPeer (line 1672) | protected override AutomationPeer OnCreateAutomationPeer()
method FocusChanged (line 1684) | private void FocusChanged(bool hasFocus)
method HasFocus (line 1718) | protected bool HasFocus()
method OnGotFocus (line 1758) | protected override void OnGotFocus(RoutedEventArgs e)
method OnIsKeyboardFocusWithinChanged (line 1770) | protected override void OnIsKeyboardFocusWithinChanged(DependencyPrope...
method OnLostFocus (line 1783) | protected override void OnLostFocus(RoutedEventArgs e)
method ControlIsEnabledChanged (line 1796) | private void ControlIsEnabledChanged(object sender, DependencyProperty...
method GetSelectionAdapterPart (line 1814) | [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropr...
method PopulateDropDown (line 1841) | private void PopulateDropDown(object sender, EventArgs e)
method OnPopulating (line 1876) | protected virtual void OnPopulating(PopulatingEventArgs e)
method OnPopulated (line 1897) | protected virtual void OnPopulated(PopulatedEventArgs e)
method OnSelectionChanged (line 1918) | protected virtual void OnSelectionChanged(SelectionChangedEventArgs e)
method OnDropDownOpening (line 1939) | protected virtual void OnDropDownOpening(RoutedPropertyChangingEventAr...
method OnDropDownOpened (line 1960) | protected virtual void OnDropDownOpened(RoutedPropertyChangedEventArgs...
method OnDropDownClosing (line 1981) | protected virtual void OnDropDownClosing(RoutedPropertyChangingEventAr...
method OnDropDownClosed (line 1994) | protected virtual void OnDropDownClosed(RoutedPropertyChangedEventArgs...
method FormatValue (line 2008) | private string FormatValue(object value, bool clearDataContext)
method FormatValue (line 2026) | protected virtual string FormatValue(object value)
method OnTextChanged (line 2044) | protected virtual void OnTextChanged(RoutedEventArgs e)
method OnTextBoxTextChanged (line 2064) | private void OnTextBoxTextChanged(object sender, TextChangedEventArgs e)
method OnTextBoxSelectionChanged (line 2075) | private void OnTextBoxSelectionChanged(object sender, RoutedEventArgs e)
method UpdateTextValue (line 2094) | private void UpdateTextValue(string value)
method UpdateTextValue (line 2110) | private void UpdateTextValue(string value, bool? userInitiated)
method TextUpdated (line 2150) | private void TextUpdated(string newText, bool userInitiated)
method PopulateComplete (line 2228) | public void PopulateComplete()
method UpdateTextCompletion (line 2268) | private void UpdateTextCompletion(object selectedItem)
method UpdateTextCompletion (line 2298) | private void UpdateTextCompletion(bool userInitiated)
method TryGetMatch (line 2373) | private object TryGetMatch(string searchText, object priorityView,Obse...
method ClearView (line 2400) | private void ClearView()
method RefreshView (line 2416) | private void RefreshView()
method OnItemsSourceChanged (line 2492) | [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", M...
method ItemsSourceCollectionChanged (line 2533) | private void ItemsSourceCollectionChanged(object sender, NotifyCollect...
method OnAdapterSelectionChanged (line 2588) | private void OnAdapterSelectionChanged(object sender, SelectionChanged...
method OnAdapterSelectionComplete (line 2605) | private void OnAdapterSelectionComplete(object sender, RoutedEventArgs e)
method OnAdapterSelectionCanceled (line 2648) | private void OnAdapterSelectionCanceled(object sender, RoutedEventArgs e)
method OnMaxDropDownHeightChanged (line 2665) | [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", M...
method OpenDropDown (line 2682) | private void OpenDropDown(bool oldValue, bool newValue)
method CloseDropDown (line 2702) | private void CloseDropDown(bool oldValue, bool newValue)
method OnKeyDown (line 2730) | protected override void OnKeyDown(KeyEventArgs e)
method UpdateVisualState (line 2803) | void IUpdateVisualState.UpdateVisualState(bool useTransitions)
method UpdateVisualState (line 2815) | internal virtual void UpdateVisualState(bool useTransitions)
FILE: WpfToolkit/Input/AutoCompleteBox/System/Windows/Controls/AutoCompleteFilter.cs
class AutoCompleteSearch (line 17) | internal static class AutoCompleteSearch
method GetFilter (line 25) | public static AutoCompleteFilterPredicate<string> GetFilter(AutoComple...
method StartsWith (line 78) | public static bool StartsWith(string text, string value)
method StartsWithCaseSensitive (line 89) | public static bool StartsWithCaseSensitive(string text, string value)
method StartsWithOrdinal (line 100) | public static bool StartsWithOrdinal(string text, string value)
method StartsWithOrdinalCaseSensitive (line 111) | public static bool StartsWithOrdinalCaseSensitive(string text, string ...
method Contains (line 123) | public static bool Contains(string text, string value)
method ContainsCaseSensitive (line 134) | public static bool ContainsCaseSensitive(string text, string value)
method ContainsOrdinal (line 145) | public static bool ContainsOrdinal(string text, string value)
method ContainsOrdinalCaseSensitive (line 156) | public static bool ContainsOrdinalCaseSensitive(string text, string va...
method Equals (line 167) | public static bool Equals(string text, string value)
method EqualsCaseSensitive (line 178) | public static bool EqualsCaseSensitive(string text, string value)
method EqualsOrdinal (line 189) | public static bool EqualsOrdinal(string text, string value)
method EqualsOrdinalCaseSensitive (line 200) | public static bool EqualsOrdinalCaseSensitive(string text, string value)
FILE: WpfToolkit/Input/AutoCompleteBox/System/Windows/Controls/AutoCompleteFilterMode.cs
type AutoCompleteFilterMode (line 21) | public enum AutoCompleteFilterMode
FILE: WpfToolkit/Input/AutoCompleteBox/System/Windows/Controls/ISelectionAdapter.cs
type ISelectionAdapter (line 20) | public interface ISelectionAdapter
method HandleKeyDown (line 63) | void HandleKeyDown(KeyEventArgs e);
method CreateAutomationPeer (line 71) | AutomationPeer CreateAutomationPeer();
FILE: WpfToolkit/Input/AutoCompleteBox/System/Windows/Controls/ItemsControlExtensions.cs
class ItemsControlExtensions (line 14) | public static class ItemsControlExtensions
method ScrollToCenterOfView (line 16) | public static void ScrollToCenterOfView(this ItemsControl itemsControl...
method TryScrollToCenterOfView (line 30) | private static bool TryScrollToCenterOfView(this ItemsControl itemsCon...
method CenteringOffset (line 73) | private static double CenteringOffset(double center, double viewport, ...
method FirstVisualChild (line 77) | private static DependencyObject FirstVisualChild(Visual visual)
FILE: WpfToolkit/Input/AutoCompleteBox/System/Windows/Controls/PopulatedEventArgs.cs
class PopulatedEventArgs (line 18) | public class PopulatedEventArgs : RoutedEventArgs
method PopulatedEventArgs (line 36) | public PopulatedEventArgs(IEnumerable data)
method PopulatedEventArgs (line 50) | public PopulatedEventArgs(IEnumerable data, RoutedEvent routedEvent)
FILE: WpfToolkit/Input/AutoCompleteBox/System/Windows/Controls/PopulatingEventArgs.cs
class PopulatingEventArgs (line 17) | public class PopulatingEventArgs : RoutedEventArgs
method PopulatingEventArgs (line 45) | public PopulatingEventArgs(string parameter)
method PopulatingEventArgs (line 60) | public PopulatingEventArgs(string parameter, RoutedEvent routedEvent)
FILE: WpfToolkit/Input/AutoCompleteBox/System/Windows/Controls/PopupHelper.cs
class PopupHelper (line 20) | internal class PopupHelper
method PopupHelper (line 83) | public PopupHelper(Control parent)
method PopupHelper (line 94) | public PopupHelper(Control parent, Popup popup)
method Arrange (line 103) | [SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptio...
method OnClosed (line 218) | private void OnClosed(EventArgs e)
method OnPopupClosedStateChanged (line 232) | private void OnPopupClosedStateChanged(object sender, VisualStateChang...
method BeforeOnApplyTemplate (line 249) | public void BeforeOnApplyTemplate()
method AfterOnApplyTemplate (line 274) | public void AfterOnApplyTemplate()
method PopupChild_SizeChanged (line 331) | private void PopupChild_SizeChanged(object sender, SizeChangedEventArg...
method OutsidePopup_MouseLeftButtonDown (line 341) | private void OutsidePopup_MouseLeftButtonDown(object sender, MouseButt...
method Popup_Closed (line 354) | private void Popup_Closed(object sender, EventArgs e)
method OnFocusChanged (line 364) | private void OnFocusChanged(EventArgs e)
method OnUpdateVisualStates (line 377) | private void OnUpdateVisualStates(EventArgs e)
method PopupChild_GotFocus (line 391) | private void PopupChild_GotFocus(object sender, RoutedEventArgs e)
method PopupChild_LostFocus (line 401) | private void PopupChild_LostFocus(object sender, RoutedEventArgs e)
method PopupChild_MouseEnter (line 411) | private void PopupChild_MouseEnter(object sender, MouseEventArgs e)
method PopupChild_MouseLeave (line 421) | private void PopupChild_MouseLeave(object sender, MouseEventArgs e)
FILE: WpfToolkit/Input/AutoCompleteBox/System/Windows/Controls/RoutedPropertyChangingEventArgs.cs
class RoutedPropertyChangingEventArgs (line 19) | public class RoutedPropertyChangingEventArgs<T> : RoutedEventArgs
method RoutedPropertyChangingEventArgs (line 129) | public RoutedPropertyChangingEventArgs(
method RoutedPropertyChangingEventArgs (line 163) | public RoutedPropertyChangingEventArgs(DependencyProperty property,
FILE: WpfToolkit/Input/AutoCompleteBox/System/Windows/Controls/SelectorSelectionAdapter.cs
class SelectorSelectionAdapter (line 22) | public partial class SelectorSelectionAdapter : ISelectionAdapter
method SelectorSelectionAdapter (line 89) | public SelectorSelectionAdapter()
method SelectorSelectionAdapter (line 104) | public SelectorSelectionAdapter(Selector selector)
method ResetScrollViewer (line 163) | private void ResetScrollViewer()
method OnSelectorMouseLeftButtonUp (line 180) | private void OnSelectorMouseLeftButtonUp(object sender, MouseButtonEve...
method OnSelectionChanged (line 190) | private void OnSelectionChanged(object sender, SelectionChangedEventAr...
method SelectedIndexIncrement (line 213) | protected void SelectedIndexIncrement()
method SelectedIndexDecrement (line 228) | protected void SelectedIndexDecrement()
method HandleKeyDown (line 253) | public void HandleKeyDown(KeyEventArgs e)
method OnCommit (line 290) | protected virtual void OnCommit()
method OnCommit (line 300) | private void OnCommit(object sender, RoutedEventArgs e)
method OnCancel (line 316) | protected virtual void OnCancel()
method OnCancel (line 326) | private void OnCancel(object sender, RoutedEventArgs e)
method AfterAdapterAction (line 340) | private void AfterAdapterAction()
method CreateAutomationPeer (line 358) | public AutomationPeer CreateAutomationPeer()
FILE: WpfToolkit/Input/AutoCompleteBox/System/Windows/Controls/ValueByStringHelper.cs
class ValueByStringHelper (line 9) | public class ValueByStringHelper
method GetStringValue (line 11) | public static string GetStringValue(string path, Binding binding, obje...
FILE: WpfToolkit/Input/Properties/Resources.Designer.cs
class Resources (line 22) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resource...
method Resources (line 31) | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Mic...
FILE: WpfToolkit/Input/Rating/System/Windows/Automation/Peers/RatingAutomationPeer.cs
class RatingAutomationPeer (line 18) | public sealed partial class RatingAutomationPeer : ItemsControlAutomatio...
method CreateItemAutomationPeer (line 26) | protected override ItemAutomationPeer CreateItemAutomationPeer(object ...
method RatingAutomationPeer (line 48) | public RatingAutomationPeer(Rating owner) : base(owner)
method GetNameCore (line 56) | protected override string GetNameCore()
method GetLocalizedControlTypeCore (line 70) | protected override string GetLocalizedControlTypeCore()
method GetAutomationControlTypeCore (line 81) | protected override AutomationControlType GetAutomationControlTypeCore()
method GetPattern (line 92) | public override object GetPattern(PatternInterface patternInterface)
method GetChildrenCore (line 113) | [SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists",...
method GetSelection (line 163) | public IRawElementProviderSimple[] GetSelection()
method SetValue (line 203) | public void SetValue(string value)
FILE: WpfToolkit/Input/Rating/System/Windows/Automation/Peers/RatingItemAutomationPeer.cs
class RatingItemAutomationPeer (line 24) | public class RatingItemAutomationPeer : FrameworkElementAutomationPeer, ...
method RatingItemAutomationPeer (line 41) | public RatingItemAutomationPeer(RatingItem owner)
method GetLocalizedControlTypeCore (line 50) | protected override string GetLocalizedControlTypeCore()
method GetAutomationControlTypeCore (line 61) | protected override AutomationControlType GetAutomationControlTypeCore()
method GetClassNameCore (line 71) | protected override string GetClassNameCore()
method GetPattern (line 82) | public override object GetPattern(PatternInterface patternInterface)
method GetNameCore (line 97) | protected override string GetNameCore()
method AddToSelection (line 117) | void ISelectionItemProvider.AddToSelection()
method RemoveFromSelection (line 149) | void ISelectionItemProvider.RemoveFromSelection()
method Select (line 172) | void ISelectionItemProvider.Select()
FILE: WpfToolkit/Input/Rating/System/Windows/Controls/Clipper.cs
class Clipper (line 12) | public abstract class Clipper : ContentControl
method OnRatioVisibleChanged (line 39) | private static void OnRatioVisibleChanged(DependencyObject d, Dependen...
method OnRatioVisibleChanged (line 52) | protected virtual void OnRatioVisibleChanged(double oldValue, double n...
method Clipper (line 76) | protected Clipper()
method ClipContent (line 84) | protected abstract void ClipContent();
FILE: WpfToolkit/Input/Rating/System/Windows/Controls/EnumerableFunctions.cs
class EnumerableFunctions (line 19) | internal static class EnumerableFunctions
method Scan (line 60) | public static IEnumerable<R> Scan<T, R>(this IEnumerable<T> that, Func...
method Zip (line 85) | public static IEnumerable<R> Zip<T0, T1, R>(IEnumerable<T0> enumerable...
method IndexOf (line 102) | public static int? IndexOf<T>(this IEnumerable<T> that, T item)
method GetWeightedValues (line 123) | public static IEnumerable<double> GetWeightedValues(this IEnumerable<d...
FILE: WpfToolkit/Input/Rating/System/Windows/Controls/LinearClipper.cs
class LinearClipper (line 14) | public class LinearClipper : Clipper
method OnExpandDirectionChanged (line 41) | private static void OnExpandDirectionChanged(DependencyObject d, Depen...
method OnExpandDirectionChanged (line 54) | protected virtual void OnExpandDirectionChanged(ExpandDirection oldVal...
method ClipContent (line 63) | protected override void ClipContent()
FILE: WpfToolkit/Input/Rating/System/Windows/Controls/NullableConverter.cs
class NullableConverter (line 16) | public class NullableConverter<T> : TypeConverter where T : struct
method CanConvertFrom (line 29) | public override bool CanConvertFrom(ITypeDescriptorContext context, Ty...
method CanConvertTo (line 54) | public override bool CanConvertTo(ITypeDescriptorContext context, Type...
method ConvertFrom (line 73) | public override object ConvertFrom(ITypeDescriptorContext context, Sys...
method ConvertTo (line 104) | public override object ConvertTo(ITypeDescriptorContext context, Cultu...
FILE: WpfToolkit/Input/Rating/System/Windows/Controls/Rating.cs
class Rating (line 25) | [TemplateVisualState(Name = VisualStates.StateNormal, GroupName = Visual...
method OnDisplayValueChanged (line 60) | private static void OnDisplayValueChanged(DependencyObject dependencyO...
method OnDisplayValueChanged (line 69) | private void OnDisplayValueChanged()
method OnItemCountChanged (line 112) | private static void OnItemCountChanged(DependencyObject d, DependencyP...
method OnItemCountChanged (line 123) | private void OnItemCountChanged(int newValue)
method OnIsReadOnlyChanged (line 173) | private static void OnIsReadOnlyChanged(DependencyObject d, Dependency...
method OnIsReadOnlyChanged (line 186) | protected virtual void OnIsReadOnlyChanged(bool oldValue, bool newValue)
method OnSelectionModeChanged (line 223) | private static void OnSelectionModeChanged(DependencyObject d, Depende...
method OnSelectionModeChanged (line 236) | protected virtual void OnSelectionModeChanged(RatingSelectionMode oldV...
method OnValueChanged (line 269) | private static void OnValueChanged(DependencyObject d, DependencyPrope...
method OnValueChanged (line 282) | protected virtual void OnValueChanged(double? oldValue, double? newValue)
method OnItemsChanged (line 300) | protected override void OnItemsChanged(NotifyCollectionChangedEventArg...
method Rating (line 336) | static Rating()
method Rating (line 344) | public Rating()
method OnMouseEnter (line 353) | protected override void OnMouseEnter(MouseEventArgs e)
method OnMouseLeave (line 366) | protected override void OnMouseLeave(MouseEventArgs e)
method OnMouseLeftButtonDown (line 379) | protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
method OnMouseLeftButtonUp (line 392) | protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
method UpdateValues (line 404) | private void UpdateValues()
method UpdateDisplayValues (line 456) | private void UpdateDisplayValues()
method UpdateHoverStates (line 496) | private void UpdateHoverStates()
method GetContainerForItemOverride (line 537) | protected override DependencyObject GetContainerForItemOverride()
method IsItemItsOwnContainerOverride (line 548) | protected override bool IsItemItsOwnContainerOverride(object item)
method PrepareContainerForItemOverride (line 558) | protected override void PrepareContainerForItemOverride(DependencyObje...
method ClearContainerForItemOverride (line 585) | protected override void ClearContainerForItemOverride(DependencyObject...
method RatingItemMouseEnter (line 609) | private void RatingItemMouseEnter(object sender, MouseEventArgs e)
method RatingItemMouseLeave (line 621) | private void RatingItemMouseLeave(object sender, MouseEventArgs e)
method GetRatingItems (line 632) | internal IEnumerable<RatingItem> GetRatingItems()
method SelectRatingItem (line 643) | internal void SelectRatingItem(RatingItem selectedRatingItem)
method RatingItemClick (line 664) | private void RatingItemClick(object sender, RoutedEventArgs e)
method GetSelectedRatingItem (line 677) | private RatingItem GetSelectedRatingItem()
method OnRatingItemValueSelected (line 687) | protected virtual void OnRatingItemValueSelected(RatingItem ratingItem...
method OnCreateAutomationPeer (line 705) | protected override AutomationPeer OnCreateAutomationPeer()
method OnKeyDown (line 722) | [SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveCo...
method GetRatingItemAtOffsetFrom (line 835) | private RatingItem GetRatingItemAtOffsetFrom(RatingItem ratingItem, in...
method UpdateVisualState (line 859) | void IUpdateVisualState.UpdateVisualState(bool useTransitions)
FILE: WpfToolkit/Input/Rating/System/Windows/Controls/RatingItem.cs
class RatingItem (line 18) | [TemplateVisualState(Name = VisualStates.StateNormal, GroupName = Visual...
method OnDisplayValueChanged (line 96) | private static void OnDisplayValueChanged(DependencyObject d, Dependen...
method OnDisplayValueChanged (line 107) | private void OnDisplayValueChanged(double oldValue, double newValue)
method OnIsReadOnlyChanged (line 176) | private static void OnIsReadOnlyChanged(DependencyObject d, Dependency...
method OnIsReadOnlyChanged (line 189) | protected virtual void OnIsReadOnlyChanged(bool oldValue, bool newValue)
method SelectValue (line 234) | internal void SelectValue()
method RatingItem (line 248) | static RatingItem()
method RatingItem (line 256) | public RatingItem()
method OnMouseLeftButtonDown (line 265) | protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
method OnMouseLeftButtonUp (line 278) | protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
method OnMouseEnter (line 291) | protected override void OnMouseEnter(MouseEventArgs e)
method OnMouseLeave (line 304) | protected override void OnMouseLeave(MouseEventArgs e)
method OnClick (line 316) | protected override void OnClick()
method UpdateVisualState (line 326) | void IUpdateVisualState.UpdateVisualState(bool useTransitions)
method OnCreateAutomationPeer (line 336) | protected override AutomationPeer OnCreateAutomationPeer()
FILE: WpfToolkit/Input/Rating/System/Windows/Controls/RatingSelectionMode.cs
type RatingSelectionMode (line 13) | public enum RatingSelectionMode
FILE: WpfToolkit/Input/Rating/System/Windows/Controls/Tuple.cs
class Tuple (line 13) | internal class Tuple<T0, T1>
method Tuple (line 30) | public Tuple(T0 first, T1 second)
FILE: WpfToolkit/Input/Rating/System/Windows/Controls/TupleExtensions.cs
class Tuple (line 11) | internal static class Tuple
method Create (line 21) | public static Tuple<T0, T1> Create<T0, T1>(T0 arg0, T1 arg1)
FILE: WpfToolkit/Layout/Accordion/System/Windows/Automation/Peers/AccordionAutomationPeer.cs
class AccordionAutomationPeer (line 17) | public class AccordionAutomationPeer : ItemsControlAutomationPeer, ISele...
method AccordionAutomationPeer (line 30) | public AccordionAutomationPeer(Accordion owner)
method GetClassNameCore (line 40) | protected override string GetClassNameCore()
method GetAutomationControlTypeCore (line 51) | protected override AutomationControlType GetAutomationControlTypeCore()
method GetPattern (line 62) | public override object GetPattern(PatternInterface patternInterface)
method GetChildrenCore (line 82) | [SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists",...
method GetSelection (line 133) | public IRawElementProviderSimple[] GetSelection()
method CreateItemAutomationPeer (line 179) | protected override ItemAutomationPeer CreateItemAutomationPeer(object ...
FILE: WpfToolkit/Layout/Accordion/System/Windows/Automation/Peers/AccordionItemAutomationPeer.cs
class AccordionItemAutomationPeer (line 26) | public class AccordionItemAutomationPeer : FrameworkElementAutomationPee...
method AccordionItemAutomationPeer (line 51) | public AccordionItemAutomationPeer(AccordionItem owner)
method AccordionItemAutomationPeer (line 65) | public AccordionItemAutomationPeer(object item, ItemsControlAutomation...
method GetAutomationControlTypeCore (line 77) | protected override AutomationControlType GetAutomationControlTypeCore()
method GetClassNameCore (line 87) | protected override string GetClassNameCore()
method GetPattern (line 98) | public override object GetPattern(PatternInterface patternInterface)
method Collapse (line 131) | void IExpandCollapseProvider.Collapse()
method Expand (line 154) | void IExpandCollapseProvider.Expand()
method AddToSelection (line 177) | void ISelectionItemProvider.AddToSelection()
method RemoveFromSelection (line 208) | void ISelectionItemProvider.RemoveFromSelection()
method Select (line 227) | void ISelectionItemProvider.Select()
FILE: WpfToolkit/Layout/Accordion/System/Windows/Automation/Peers/AccordionItemWrapperAutomationPeer.cs
class AccordionItemWrapperAutomationPeer (line 15) | public class AccordionItemWrapperAutomationPeer : FrameworkElementAutoma...
method AccordionItemWrapperAutomationPeer (line 21) | public AccordionItemWrapperAutomationPeer(AccordionItem item)
FILE: WpfToolkit/Layout/Accordion/System/Windows/Controls/Accordion.cs
class Accordion (line 24) | [StyleTypedProperty(Property = "ItemContainerStyle", StyleTargetType = t...
method OnExpandDirectionPropertyChanged (line 131) | private static void OnExpandDirectionPropertyChanged(DependencyObject ...
method OnSelectionModePropertyChanged (line 198) | private static void OnSelectionModePropertyChanged(DependencyObject d,...
method OnSelectedItemPropertyChanged (line 319) | private static void OnSelectedItemPropertyChanged(DependencyObject d, ...
method IsValidItemForSelection (line 382) | private bool IsValidItemForSelection(object newValue)
method OnSelectedIndexPropertyChanged (line 429) | private static void OnSelectedIndexPropertyChanged(DependencyObject d,...
method IsValidIndexForSelection (line 481) | private bool IsValidIndexForSelection(int newValue)
method OnSelectionSequencePropertyChanged (line 529) | private static void OnSelectionSequencePropertyChanged(DependencyObjec...
method OnSelectedItemsChanged (line 579) | private static void OnSelectedItemsChanged(DependencyObject d, Depende...
method OnSelectedIndicesChanged (line 625) | private static void OnSelectedIndicesChanged(DependencyObject d, Depen...
method OnItemContainerStylePropertyChanged (line 669) | private static void OnItemContainerStylePropertyChanged(DependencyObje...
method OnAccordionButtonStylePropertyChanged (line 703) | private static void OnAccordionButtonStylePropertyChanged(DependencyOb...
method Accordion (line 768) | static Accordion()
method Accordion (line 777) | public Accordion()
method OnApplyTemplate (line 802) | public override void OnApplyTemplate()
method OnCreateAutomationPeer (line 814) | protected override AutomationPeer OnCreateAutomationPeer()
method GetContainerForItemOverride (line 827) | protected override DependencyObject GetContainerForItemOverride()
method IsItemItsOwnContainerOverride (line 841) | protected override bool IsItemItsOwnContainerOverride(object item)
method PrepareContainerForItemOverride (line 851) | protected override void PrepareContainerForItemOverride(DependencyObje...
method ClearContainerForItemOverride (line 976) | protected override void ClearContainerForItemOverride(DependencyObject...
method OnItemsChanged (line 996) | protected override void OnItemsChanged(NotifyCollectionChangedEventArg...
method InitializeNewItemsSource (line 1125) | private void InitializeNewItemsSource()
method OnAccordionItemUnselected (line 1146) | internal void OnAccordionItemUnselected(AccordionItem accordionItem)
method UnselectItem (line 1156) | private void UnselectItem(int index, object item)
method OnAccordionItemSelected (line 1219) | internal void OnAccordionItemSelected(AccordionItem accordionItem)
method SelectItem (line 1228) | private void SelectItem(int index)
method ChangeSelectedIndex (line 1270) | private void ChangeSelectedIndex(int oldIndex, int newIndex)
method OnSelectedItemsCollectionChanged (line 1332) | private void OnSelectedItemsCollectionChanged(object sender, NotifyCol...
method OnSelectedIndicesCollectionChanged (line 1433) | [SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveCo...
method ProposeSelectedIndexCandidate (line 1561) | private int ProposeSelectedIndexCandidate(int nonCandidateIndex)
method SelectAll (line 1589) | public void SelectAll()
method UnselectAll (line 1601) | public void UnselectAll()
method UpdateAccordionItemsSelection (line 1611) | private void UpdateAccordionItemsSelection(bool selectedValue)
method SetLockedProperties (line 1627) | private void SetLockedProperties()
method OnSelectedItemChanged (line 1649) | protected virtual void OnSelectedItemChanged(SelectionChangedEventArgs e)
method RaiseOnSelectedItemsCollectionChanged (line 1670) | private void RaiseOnSelectedItemsCollectionChanged(NotifyCollectionCha...
method OnAccordionSizeChanged (line 1689) | private void OnAccordionSizeChanged(object sender, SizeChangedEventArg...
method OnHeaderSizeChange (line 1701) | [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", M...
method ScheduleAction (line 1715) | internal virtual bool ScheduleAction(AccordionItem item, AccordionActi...
method OnActionFinish (line 1745) | internal virtual void OnActionFinish(AccordionItem item)
method StartNextAction (line 1768) | private void StartNextAction()
method LayoutChildren (line 1796) | private void LayoutChildren()
method SetPanelOrientation (line 1921) | private void SetPanelOrientation()
method OnGotFocus (line 1950) | protected override void OnGotFocus(RoutedEventArgs e)
method OnLostFocus (line 1963) | protected override void OnLostFocus(RoutedEventArgs e)
method OnMouseEnter (line 1976) | protected override void OnMouseEnter(MouseEventArgs e)
method OnMouseLeave (line 1989) | protected override void OnMouseLeave(MouseEventArgs e)
method OnMouseLeftButtonDown (line 2002) | protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
method OnMouseLeftButtonUp (line 2015) | protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
method UpdateVisualState (line 2031) | void IUpdateVisualState.UpdateVisualState(bool useTransitions)
method UpdateVisualState (line 2043) | internal virtual void UpdateVisualState(bool useTransitions)
FILE: WpfToolkit/Layout/Accordion/System/Windows/Controls/AccordionAction.cs
type AccordionAction (line 12) | internal enum AccordionAction
FILE: WpfToolkit/Layout/Accordion/System/Windows/Controls/AccordionButton.cs
class AccordionButton (line 14) | [TemplateVisualState(Name = VisualStates.StateNormal, GroupName = Visual...
method AccordionButton (line 44) | static AccordionButton()
method AccordionButton (line 54) | public AccordionButton()
method UpdateVisualState (line 66) | internal virtual void UpdateVisualState(bool useTransitions)
FILE: WpfToolkit/Layout/Accordion/System/Windows/Controls/AccordionItem.cs
class AccordionItem (line 21) | [TemplateVisualState(Name = VisualStates.StateNormal, GroupName = Visual...
method OnExpandDirectionPropertyChanged (line 154) | private static void OnExpandDirectionPropertyChanged(DependencyObject ...
method OnIsSelectedPropertyChanged (line 230) | private static void OnIsSelectedPropertyChanged(DependencyObject d, De...
method OnAccordionButtonStylePropertyChanged (line 334) | private static void OnAccordionButtonStylePropertyChanged(DependencyOb...
method OnAccordionButtonStyleChanged (line 345) | protected virtual void OnAccordionButtonStyleChanged(Style oldStyle, S...
method OnExpandableContentControlStylePropertyChanged (line 375) | private static void OnExpandableContentControlStylePropertyChanged(Dep...
method OnExpandableContentControlStyleChanged (line 386) | protected virtual void OnExpandableContentControlStyleChanged(Style ol...
method OnContentTargetSizePropertyChanged (line 427) | private static void OnContentTargetSizePropertyChanged(DependencyObjec...
method AccordionItem (line 487) | static AccordionItem()
method AccordionItem (line 495) | public AccordionItem()
method OnHeaderSizeChanged (line 514) | private void OnHeaderSizeChanged(object sender, SizeChangedEventArgs e)
method Schedule (line 535) | private void Schedule(AccordionAction action)
method StartAction (line 578) | internal virtual void StartAction()
method OnStoryboardFinished (line 660) | private void OnStoryboardFinished(object sender, EventArgs e)
method OnApplyTemplate (line 700) | public override void OnApplyTemplate()
method OnCreateAutomationPeer (line 758) | protected override AutomationPeer OnCreateAutomationPeer()
method PreparePrepareHeaderedContentControlContainerForItemOverride (line 778) | [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", M...
method HasDefaultValue (line 801) | private static bool HasDefaultValue(Control control, DependencyPropert...
method OnKeyDown (line 812) | protected override void OnKeyDown(KeyEventArgs e)
method OnSelected (line 855) | protected virtual void OnSelected()
method OnUnselected (line 868) | protected virtual void OnUnselected()
method ToggleSelected (line 883) | private void ToggleSelected(RoutedEventHandler handler, RoutedEventArg...
method ToggleSelected (line 890) | private void ToggleSelected(RoutedEventArgs args)
method RaiseEvent (line 923) | private void RaiseEvent(RoutedEventHandler handler, RoutedEventArgs args)
method OnExpanderButtonClicked (line 937) | private void OnExpanderButtonClicked(object sender, RoutedEventArgs e)
method OnGotFocus (line 958) | protected override void OnGotFocus(RoutedEventArgs e)
method OnLostFocus (line 971) | protected override void OnLostFocus(RoutedEventArgs e)
method OnMouseEnter (line 984) | protected override void OnMouseEnter(MouseEventArgs e)
method OnMouseLeave (line 997) | protected override void OnMouseLeave(MouseEventArgs e)
method OnMouseLeftButtonDown (line 1010) | protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
method OnMouseLeftButtonUp (line 1023) | protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
method UpdateVisualState (line 1039) | void IUpdateVisualState.UpdateVisualState(bool useTransitions)
method UpdateVisualState (line 1051) | internal virtual void UpdateVisualState(bool useTransitions)
FILE: WpfToolkit/Layout/Accordion/System/Windows/Controls/AccordionSelectionMode.cs
type AccordionSelectionMode (line 12) | public enum AccordionSelectionMode
FILE: WpfToolkit/Layout/Accordion/System/Windows/Controls/ExpandableContentControl.cs
class ExpandableContentControl (line 8) | public class ExpandableContentControl : ContentControl
method ExpandableContentControl (line 10) | static ExpandableConten
Copy disabled (too large)
Download .json
Condensed preview — 404 files, each showing path, character count, and a content snippet. Download the .json file for the full structured content (10,932K chars).
[
{
"path": ".editorconfig",
"chars": 108,
"preview": "root = true\r\n\r\n[*]\r\nend_of_line = crlf\r\ninsert_final_newline = true\r\nindent_style = space\r\nindent_size = 4\r\n"
},
{
"path": ".github/FUNDING.yml",
"chars": 90,
"preview": "# These are supported funding model platforms\n\ngithub: jogibear9988\npatreon: jogibear9988\n"
},
{
"path": ".gitignore",
"chars": 1547,
"preview": "# Build Folders (you can keep bin if you'd like, to store dlls and pdbs)\n[Bb]in/\n[Oo]bj/\n\n# mstest test results\nTestResu"
},
{
"path": "README.md",
"chars": 1191,
"preview": "DotNetProjects.Wpf.Toolkit\n==========================\n\nNews\n----\n\n!!NetCore 3 support!!\n\nNuget\n-----\n\nA Fork of the MS W"
},
{
"path": "WpfToolkit/AssemblyAttrs.cs",
"chars": 1481,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporatio"
},
{
"path": "WpfToolkit/AssemblyInfo.cs",
"chars": 1899,
"preview": "using System.Reflection;\r\nusing System.Resources;\r\nusing System.Runtime.CompilerServices;\r\nusing System.Runtime.Interop"
},
{
"path": "WpfToolkit/Calendar/Microsoft/Windows/Automation/Peers/CalendarAutomationPeer.cs",
"chars": 14827,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporati"
},
{
"path": "WpfToolkit/Calendar/Microsoft/Windows/Automation/Peers/CalendarButtonAutomationPeer.cs",
"chars": 8444,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporati"
},
{
"path": "WpfToolkit/Calendar/Microsoft/Windows/Automation/Peers/CalendarDayButtonAutomationPeer.cs",
"chars": 12617,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporati"
},
{
"path": "WpfToolkit/Calendar/Microsoft/Windows/Controls/Calendar.cs",
"chars": 58975,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporati"
},
{
"path": "WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarBlackoutDatesCollection.cs",
"chars": 12058,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporati"
},
{
"path": "WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarButton.cs",
"chars": 9187,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporati"
},
{
"path": "WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarDateChangedEventArgs.cs",
"chars": 1112,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporati"
},
{
"path": "WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarDateRange.cs",
"chars": 4990,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporati"
},
{
"path": "WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarDateRangeChangingEventArgs.cs",
"chars": 914,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporatio"
},
{
"path": "WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarDayButton.cs",
"chars": 14059,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporati"
},
{
"path": "WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarItem.cs",
"chars": 52077,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporati"
},
{
"path": "WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarMode.cs",
"chars": 811,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporatio"
},
{
"path": "WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarModeChangedEventArgs.cs",
"chars": 1393,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporati"
},
{
"path": "WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarSelectionChangedEventArgs.cs",
"chars": 1759,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporatio"
},
{
"path": "WpfToolkit/Calendar/Microsoft/Windows/Controls/CalendarSelectionMode.cs",
"chars": 972,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporati"
},
{
"path": "WpfToolkit/Calendar/Microsoft/Windows/Controls/DateTimeHelper.cs",
"chars": 9503,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to [###LICENSE_NAME###].\r\n// Please see [###LICENSE_"
},
{
"path": "WpfToolkit/Calendar/Microsoft/Windows/Controls/KeyboardHelper.cs",
"chars": 404,
"preview": "using System.Windows.Input;\r\n\r\nnamespace Microsoft.Windows.Controls\r\n{\r\n internal static class KeyboardHelper\r\n {"
},
{
"path": "WpfToolkit/Calendar/Microsoft/Windows/Controls/SelectedDatesCollection.cs",
"chars": 17806,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporati"
},
{
"path": "WpfToolkit/Calendar/Microsoft/Windows/Controls/VisualStates.cs",
"chars": 5662,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporati"
},
{
"path": "WpfToolkit/Calendar/Themes/Aero.NormalColor.xaml",
"chars": 682,
"preview": "<!--=================================================================\r\nCopyright (C) Microsoft Corporation. All rights"
},
{
"path": "WpfToolkit/Calendar/Themes/Classic.xaml",
"chars": 674,
"preview": "<!--=================================================================\r\nCopyright (C) Microsoft Corporation. All rights"
},
{
"path": "WpfToolkit/Calendar/Themes/Generic.xaml",
"chars": 35211,
"preview": "<!--=================================================================\r\nCopyright (C) Microsoft Corporation. All rights"
},
{
"path": "WpfToolkit/Calendar/Themes/Luna.HomeStead.xaml",
"chars": 680,
"preview": "<!--=================================================================\r\nCopyright (C) Microsoft Corporation. All rights"
},
{
"path": "WpfToolkit/Calendar/Themes/Luna.Metallic.xaml",
"chars": 679,
"preview": "<!--=================================================================\r\nCopyright (C) Microsoft Corporation. All rights"
},
{
"path": "WpfToolkit/Calendar/Themes/Luna.NormalColor.xaml",
"chars": 682,
"preview": "<!--=================================================================\r\nCopyright (C) Microsoft Corporation. All rights"
},
{
"path": "WpfToolkit/Calendar/Themes/Royale.NormalColor.xaml",
"chars": 684,
"preview": "<!--=================================================================\r\nCopyright (C) Microsoft Corporation. All rights"
},
{
"path": "WpfToolkit/Common/System/Windows/Controls/BindingEvaluator.cs",
"chars": 3871,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/Common/System/Windows/Controls/Extensions.cs",
"chars": 2756,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/Common/System/Windows/Controls/IUpdateVisualState.cs",
"chars": 1053,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/Common/System/Windows/Controls/InteractionHelper.cs",
"chars": 17208,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/Common/System/Windows/Controls/ItemsControlHelper.cs",
"chars": 9169,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/Common/System/Windows/Controls/VisualStates.cs",
"chars": 13832,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/Common/System/Windows/Controls/VisualTreeExtensions.cs",
"chars": 2619,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/Common/System/Windows/Controls/WeakEventListener.cs",
"chars": 3116,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/AggregatedObservableCollection.cs",
"chars": 7560,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/AssemblyInfoShared.cs",
"chars": 1534,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/AnimationSequence.cs",
"chars": 869,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/Axis.cs",
"chars": 9233,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/AxisIntervalType.cs",
"chars": 1602,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/AxisLabel.cs",
"chars": 4123,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/AxisLocation.cs",
"chars": 935,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/AxisOrientation.cs",
"chars": 1187,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/CategoryAxis.cs",
"chars": 14094,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/CategorySortOrder.cs",
"chars": 726,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/DateTimeAxis.cs",
"chars": 41385,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/DateTimeAxisLabel.cs",
"chars": 20849,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/DateTimeIntervalType.cs",
"chars": 1388,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/DisplayAxis.cs",
"chars": 30758,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/DisplayAxisGridLines.cs",
"chars": 3704,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/IAnchoredToOrigin.cs",
"chars": 908,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/IAxis.cs",
"chars": 1826,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/IAxisListener.cs",
"chars": 661,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/ICategoryAxis.cs",
"chars": 1235,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/IDataConsumer.cs",
"chars": 762,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/IDataProvider.cs",
"chars": 760,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/IRangeAxis.cs",
"chars": 1127,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/IRangeConsumer.cs",
"chars": 759,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/IRangeProvider.cs",
"chars": 789,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/IValueMarginConsumer.cs",
"chars": 844,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/IValueMarginProvider.cs",
"chars": 1024,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/LinearAxis.cs",
"chars": 17985,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/LogarithmicAxis.cs",
"chars": 6850,
"preview": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing System.Windows;\r\nusing System.Windows.Contr"
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/NullableConverter.cs",
"chars": 5092,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/NumericAxis.cs",
"chars": 10522,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/NumericAxisLabel.cs",
"chars": 962,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/OrientedAxisGridLines.cs",
"chars": 3630,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/RangeAxis.cs",
"chars": 25961,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Axis/ValueMargin.cs",
"chars": 3427,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Chart/Chart.cs",
"chars": 40276,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Chart/SeriesHostAxesCollection.cs",
"chars": 5944,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/DataPoint/AreaDataPoint.cs",
"chars": 1612,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/DataPoint/BarDataPoint.cs",
"chars": 1603,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/DataPoint/BubbleDataPoint.cs",
"chars": 6231,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/DataPoint/CandlestickDataPoint.cs",
"chars": 5866,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/DataPoint/ColumnDataPoint.cs",
"chars": 1627,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/DataPoint/DataPoint.cs",
"chars": 40673,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/DataPoint/DataPointState.cs",
"chars": 1150,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/DataPoint/LineDataPoint.cs",
"chars": 1611,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/DataPoint/PieDataPoint.cs",
"chars": 22927,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/DataPoint/ScatterDataPoint.cs",
"chars": 1635,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/FrameworkElementExtensions.cs",
"chars": 2212,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Helper/Converters.cs",
"chars": 612,
"preview": "using System.Windows.Data;\r\n\r\nnamespace System.Windows.Controls.DataVisualization.Charting\r\n{\r\n\tpublic class DoubleToVi"
},
{
"path": "WpfToolkit/DataVisualization/Charting/Helper/FormattingConverter.cs",
"chars": 915,
"preview": "using System;\r\nusing System.Net;\r\nusing System.Windows;\r\nusing System.Windows.Controls;\r\nusing System.Windows.Documents"
},
{
"path": "WpfToolkit/DataVisualization/Charting/Helper/TreeHelper.cs",
"chars": 833,
"preview": "using System.Windows.Media;\r\n\r\nnamespace System.Windows.Controls.DataVisualization.Charting\r\n{\r\n\tinternal static class "
},
{
"path": "WpfToolkit/DataVisualization/Charting/IRequireSeriesHost.cs",
"chars": 587,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/ISeriesHost.cs",
"chars": 1378,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/ISeriesHostExtensions.cs",
"chars": 2043,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Pie/PieChartHelper.cs",
"chars": 4210,
"preview": "using System.Diagnostics;\r\nusing System.Windows.Media;\r\n\r\nnamespace System.Windows.Controls.DataVisualization.Charting\r"
},
{
"path": "WpfToolkit/DataVisualization/Charting/Pie/PieChartLabel.cs",
"chars": 15207,
"preview": "using System.Linq;\r\nusing System.Windows.Data;\r\nusing System.Windows.Input;\r\nusing System.Windows.Media;\r\nusing System."
},
{
"path": "WpfToolkit/DataVisualization/Charting/Pie/PieChartLabelArea.cs",
"chars": 2123,
"preview": "using System.Linq;\r\n\r\nnamespace System.Windows.Controls.DataVisualization.Charting\r\n{\r\n\t/// <summary>\r\n\t/// Canvas wher"
},
{
"path": "WpfToolkit/DataVisualization/Charting/Primitives/DelegatingListBox.cs",
"chars": 4247,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Primitives/Edge.cs",
"chars": 1282,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Primitives/EdgePanel.cs",
"chars": 25589,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/ResourceDictionaryDispensedEventArgs.cs",
"chars": 2025,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/ResourceDictionaryDispenser.cs",
"chars": 9830,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/ResourceDictionaryEnumerator.cs",
"chars": 8671,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/AreaSeries.cs",
"chars": 8166,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/BarSeries.cs",
"chars": 6075,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/BubbleSeries.cs",
"chars": 16924,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/CandlestickSeries.cs",
"chars": 11301,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/ColumnBarBaseSeries.cs",
"chars": 15259,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/ColumnSeries.cs",
"chars": 6279,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/Compatible/AreaSeries.cs",
"chars": 11335,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/Compatible/BarSeries.cs",
"chars": 9761,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/Compatible/ColumnSeries.cs",
"chars": 9803,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/Compatible/LineSeries.cs",
"chars": 11909,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/Compatible/ScatterSeries.cs",
"chars": 11156,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/Compatible/SelectionEnabledToSelectionModeConverter.cs",
"chars": 2285,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/DataPointSeries.cs",
"chars": 55594,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/DataPointSeriesWithAxes.cs",
"chars": 27646,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/DataPointSingleSeriesWithAxes.cs",
"chars": 14136,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/DefinitionSeries.cs",
"chars": 74194,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/IRequireGlobalSeriesIndex.cs",
"chars": 750,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/ISeries.cs",
"chars": 648,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/LabeledPieSeries.cs",
"chars": 4212,
"preview": "using System.Windows.Data;\r\n\r\nnamespace System.Windows.Controls.DataVisualization.Charting\r\n{\r\n\tpublic class LabeledPie"
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/LegendItem.cs",
"chars": 1104,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/LineAreaBaseSeries.cs",
"chars": 12883,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/LineSeries.cs",
"chars": 5999,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/PieSeries.cs",
"chars": 26081,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/ScatterSeries.cs",
"chars": 8427,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/Series.cs",
"chars": 4270,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/SeriesDefinition.cs",
"chars": 25636,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/SeriesSelectionMode.cs",
"chars": 804,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/SplineSeries.cs",
"chars": 10997,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/Stacked100AreaSeries.cs",
"chars": 740,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/Stacked100BarSeries.cs",
"chars": 735,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/Stacked100ColumnSeries.cs",
"chars": 750,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/Stacked100LineSeries.cs",
"chars": 740,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/StackedAreaLineSeries.cs",
"chars": 16998,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/StackedAreaSeries.cs",
"chars": 5924,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/StackedBarColumnSeries.cs",
"chars": 18425,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/StackedBarSeries.cs",
"chars": 1100,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/StackedColumnSeries.cs",
"chars": 1115,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/Series/StackedLineSeries.cs",
"chars": 3263,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Charting/ValueMarginCoordinateAndOverlap.cs",
"chars": 1234,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Collections/LeftLeaningRedBlackTree.cs",
"chars": 29224,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Collections/MultipleDictionary.cs",
"chars": 3947,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Collections/OrderedMultipleDictionary.cs",
"chars": 3482,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/ColorExtensions.cs",
"chars": 7204,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/DependencyPropertyAnimationHelper.cs",
"chars": 8055,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/DesignerProperties.cs",
"chars": 1544,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/DotNetProjects.DataVisualization.Toolkit.csproj",
"chars": 1144,
"preview": "<Project Sdk=\"Microsoft.NET.Sdk\">\r\n <PropertyGroup>\r\n <RootNamespace>System.Windows.Controls.DataVisualizatio"
},
{
"path": "WpfToolkit/DataVisualization/EnumerableExtensions.cs",
"chars": 6181,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/EnumerableFunctions.cs",
"chars": 11817,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/GenericEqualityComparer.cs",
"chars": 2327,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/GlobalSuppressions.cs",
"chars": 26463,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/GridExtensions.cs",
"chars": 2097,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/IResourceDictionaryDispenser.cs",
"chars": 1425,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/LayoutTransformControl.cs",
"chars": 28486,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Legend/Legend.cs",
"chars": 4198,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/NoResetObservableCollection.cs",
"chars": 1431,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/ObjectPool.cs",
"chars": 4691,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/ObservableCollectionListAdapter.cs",
"chars": 6483,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/OrientedPanel.cs",
"chars": 28860,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Properties/AssemblyInfo.cs",
"chars": 499,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Properties/Resources.Designer.cs",
"chars": 17781,
"preview": "//------------------------------------------------------------------------------\r\n// <auto-generated>\r\n// This code"
},
{
"path": "WpfToolkit/DataVisualization/Properties/Resources.resx",
"chars": 14581,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<root>\r\n <!-- \r\n Microsoft ResX Schema \r\n \r\n Version 2.0\r\n \r\n T"
},
{
"path": "WpfToolkit/DataVisualization/Range.cs",
"chars": 9426,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/RangeEnumerableFunctions.cs",
"chars": 2623,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/ReadOnlyObservableCollection.cs",
"chars": 3493,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/ResourceDictionaryCollection.cs",
"chars": 763,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/StoryboardQueue.cs",
"chars": 1925,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/StringFormatConverter.cs",
"chars": 1999,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Themes/generic.xaml",
"chars": 88106,
"preview": "\r\n<!--\r\n // (c) Copyright Microsoft Corporation.\r\n // This source is subject to the Microsoft Public License (Ms-"
},
{
"path": "WpfToolkit/DataVisualization/Title/Title.cs",
"chars": 1065,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/TreeMap/BindingExtractor.cs",
"chars": 3450,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/TreeMap/Interpolators/DoubleInterpolator.cs",
"chars": 1362,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/TreeMap/Interpolators/HSLSolidColorBrushInterpolator.cs",
"chars": 1788,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/TreeMap/Interpolators/InterpolationMode.cs",
"chars": 753,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/TreeMap/Interpolators/Interpolator.cs",
"chars": 8705,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/TreeMap/Interpolators/RangeInterpolator.cs",
"chars": 1005,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/TreeMap/Interpolators/SolidColorBrushInterpolator.cs",
"chars": 1636,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/TreeMap/Layout/SquaringAlgorithm.cs",
"chars": 8427,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/TreeMap/Layout/TreeMapNode.cs",
"chars": 3674,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/TreeMap/TreeMap.cs",
"chars": 34698,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/TreeMap/TreeMapItemDefinition.cs",
"chars": 5544,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/TreeMap/TreeMapItemDefinitionSelector.cs",
"chars": 1553,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Tuple.cs",
"chars": 1329,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/UniqueObservableCollection.cs",
"chars": 2387,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/Unit.cs",
"chars": 610,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/UnitValue.cs",
"chars": 5204,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/ValueHelper.cs",
"chars": 16377,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/WeakEventListener.cs",
"chars": 3115,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DataVisualization/WeakReferenceBag.cs",
"chars": 3045,
"preview": "// (c) Copyright Microsoft Corporation.\r\n// This source is subject to the Microsoft Public License (Ms-PL).\r\n// Please "
},
{
"path": "WpfToolkit/DatePicker/Microsoft/Windows/Automation/Peers/DatePickerAutomationPeer.cs",
"chars": 4920,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporati"
},
{
"path": "WpfToolkit/DatePicker/Microsoft/Windows/Controls/DatePicker.cs",
"chars": 47953,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporati"
},
{
"path": "WpfToolkit/DatePicker/Microsoft/Windows/Controls/DatePickerDateValidationErrorEventArgs.cs",
"chars": 1866,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporati"
},
{
"path": "WpfToolkit/DatePicker/Microsoft/Windows/Controls/DatePickerFormat.cs",
"chars": 767,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporati"
},
{
"path": "WpfToolkit/DatePicker/Microsoft/Windows/Controls/DatePickerTextBox.cs",
"chars": 9198,
"preview": "//---------------------------------------------------------------------------\r\n//\r\n// Copyright (C) Microsoft Corporati"
},
{
"path": "WpfToolkit/DatePicker/Themes/Aero.NormalColor.xaml",
"chars": 684,
"preview": "<!--=================================================================\r\nCopyright (C) Microsoft Corporation. All rights"
},
{
"path": "WpfToolkit/DatePicker/Themes/Classic.xaml",
"chars": 676,
"preview": "<!--=================================================================\r\nCopyright (C) Microsoft Corporation. All rights"
},
{
"path": "WpfToolkit/DatePicker/Themes/Generic.xaml",
"chars": 21479,
"preview": "<!--=================================================================\r\nCopyright (C) Microsoft Corporation. All rights"
},
{
"path": "WpfToolkit/DatePicker/Themes/Luna.HomeStead.xaml",
"chars": 682,
"preview": "<!--=================================================================\r\nCopyright (C) Microsoft Corporation. All rights"
},
{
"path": "WpfToolkit/DatePicker/Themes/Luna.Metallic.xaml",
"chars": 681,
"preview": "<!--=================================================================\r\nCopyright (C) Microsoft Corporation. All rights"
}
]
// ... and 204 more files (download for full content)
About this extraction
This page contains the full source code of the dotnetprojects/WpfToolkit GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 404 files (9.8 MB), approximately 2.6M tokens, and a symbol index with 2352 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.