From 03d4331dc6512678ad625c9541ecf97a9dbdc764 Mon Sep 17 00:00:00 2001 From: Simon Boucher Date: Mon, 22 Jan 2024 09:51:34 -0500 Subject: [PATCH] V4.6.0 Released --- .../AeroColors.cs | 2 +- .../AeroTheme.cs | 2 +- .../Brushes.xaml | 2 +- .../Controls/SplineBorder.cs | 30 +- .../Properties/AssemblyInfo.cs | 2 +- .../Theme.xaml | 2 +- .../Brushes.xaml | 2 +- .../MetroTheme.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../Theme.xaml | 2 +- .../Brushes.xaml | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../Theme.xaml | 2 +- .../VS2010Theme.cs | 2 +- .../Commands/RelayCommand.cs | 2 +- .../AnchorablePaneControlOverlayArea.cs | 2 +- .../Controls/AnchorablePaneDropTarget.cs | 2 +- .../Controls/AnchorablePaneTabPanel.cs | 2 +- .../Controls/AnchorablePaneTitle.cs | 24 +- .../Controls/AutoHideWindowManager.cs | 2 +- .../Controls/BindingHelper.cs | 2 +- .../Controls/ContextMenuEx.cs | 2 +- .../Controls/DockingManagerDropTarget.cs | 2 +- .../Controls/DockingManagerOverlayArea.cs | 2 +- .../DocumentPaneControlOverlayArea.cs | 2 +- .../DocumentPaneDropAsAnchorableTarget.cs | 2 +- .../Controls/DocumentPaneDropTarget.cs | 2 +- .../Controls/DocumentPaneGroupDropTarget.cs | 2 +- .../Controls/DocumentPaneTabPanel.cs | 2 +- .../Controls/DragService.cs | 2 +- .../Xceed.Wpf.AvalonDock/Controls/DropArea.cs | 2 +- .../Controls/DropDownButton.cs | 22 +- .../Controls/DropDownControlArea.cs | 16 +- .../Controls/DropTarget.cs | 2 +- .../Controls/DropTargetBase.cs | 13 +- .../Controls/DropTargetType.cs | 2 +- .../Controls/Extentions.cs | 2 +- .../Controls/FocusElementManager.cs | 16 +- .../Controls/FullWeakDictionary.cs | 2 +- .../Controls/IDropTarget.cs | 2 +- .../Controls/IOverlayWindow.cs | 2 +- .../Controls/IOverlayWindowArea.cs | 2 +- .../Controls/IOverlayWindowDropTarget.cs | 2 +- .../Controls/IOverlayWindowHost.cs | 2 +- .../Controls/LayoutAnchorControl.cs | 14 +- .../Controls/LayoutAnchorGroupControl.cs | 2 +- .../Controls/LayoutAnchorSideControl.cs | 50 +- .../Controls/LayoutAnchorableControl.cs | 27 +- .../LayoutAnchorableFloatingWindowControl.cs | 15 +- .../Controls/LayoutAnchorableItem.cs | 65 +- .../Controls/LayoutAnchorablePaneControl.cs | 2 +- .../LayoutAnchorablePaneGroupControl.cs | 2 +- .../Controls/LayoutAnchorableTabItem.cs | 27 +- .../Controls/LayoutAutoHideWindowControl.cs | 16 +- .../Controls/LayoutCachePaneControl.cs | 2 +- .../Controls/LayoutDocumentControl.cs | 27 +- .../LayoutDocumentFloatingWindowControl.cs | 2 +- .../Controls/LayoutDocumentItem.cs | 15 +- .../Controls/LayoutDocumentPaneControl.cs | 2 +- .../LayoutDocumentPaneGroupControl.cs | 2 +- .../Controls/LayoutDocumentTabItem.cs | 27 +- .../Controls/LayoutFloatingWindowControl.cs | 46 +- .../Controls/LayoutGridControl.cs | 2 +- .../Controls/LayoutGridResizerControl.cs | 16 +- .../Controls/LayoutItem.cs | 243 +--- .../Controls/LayoutPanelControl.cs | 2 +- .../Controls/MenuItemEx.cs | 28 +- .../Controls/NavigatorWindow.cs | 52 +- .../Controls/OverlayArea.cs | 2 +- .../Controls/OverlayWindow.cs | 15 +- .../Controls/OverlayWindowDropTarget.cs | 2 +- .../Controls/OverlayWindowDropTargetType.cs | 2 +- .../Controls/ReentrantFlag.cs | 2 +- .../Controls/Shell/Standard/ComGuids.cs | 38 +- .../Controls/Shell/Standard/Debug.cs | 114 +- .../Controls/Shell/Standard/DoubleUtil.cs | 75 +- .../Controls/Shell/Standard/DpiHelper.cs | 12 +- .../Controls/Shell/Standard/ErrorCodes.cs | 104 +- .../Controls/Shell/Standard/MessageWindow.cs | 2 +- .../Controls/Shell/Standard/NativeMethods.cs | 226 +--- .../Controls/Shell/Standard/ShellProvider.cs | 182 +-- .../Controls/Shell/Standard/StreamHelper.cs | 162 +-- .../Controls/Shell/Standard/Utilities.cs | 56 +- .../Controls/Shell/Standard/Verify.cs | 57 +- .../Controls/Shell/SystemCommands.cs | 4 +- .../Controls/Shell/SystemParameters2.cs | 5 +- .../Controls/Shell/WindowChrome.cs | 7 +- .../Controls/Shell/WindowChromeWorker.cs | 28 +- .../Controls/TransformExtentions.cs | 2 +- .../Controls/WeakDictionary.cs | 2 +- .../Controls/WindowActivateEventArgs.cs | 2 +- .../Controls/WindowHookHandler.cs | 2 +- ...mmandLayoutItemFromLayoutModelConverter.cs | 2 +- .../Converters/AnchorSideToAngleConverter.cs | 2 +- .../AnchorSideToOrientationConverter.cs | 2 +- ...rableContextMenuAutoHideHeaderConverter.cs | 2 +- ...rableContextMenuHideVisibilityConverter.cs | 2 +- ...mmandLayoutItemFromLayoutModelConverter.cs | 2 +- .../Converters/BoolToVisibilityConverter.cs | 23 +- ...mmandLayoutItemFromLayoutModelConverter.cs | 2 +- .../InverseBoolToVisibilityConverter.cs | 22 +- .../LayoutItemFromLayoutModelConverter.cs | 2 +- .../Converters/NullToDoNothingConverter.cs | 2 +- .../UriSourceToBitmapImageConverter.cs | 2 +- .../Xceed.Wpf.AvalonDock/DockingManager.cs | 514 +------- .../DocumentClosedEventArgs.cs | 2 +- .../DocumentClosingEventArgs.cs | 2 +- .../Src/Xceed.Wpf.AvalonDock/Extentions.cs | 2 +- .../Xceed.Wpf.AvalonDock/Layout/AnchorSide.cs | 2 +- .../Layout/AnchorableShowStrategy.cs | 2 +- .../Layout/ChildrenTreeChangedEventArgs.cs | 8 +- .../Xceed.Wpf.AvalonDock/Layout/Extentions.cs | 2 +- .../Layout/ILayoutAnchorablePane.cs | 2 +- .../Layout/ILayoutContainer.cs | 2 +- .../Layout/ILayoutContentSelector.cs | 2 +- .../Layout/ILayoutControl.cs | 2 +- .../Layout/ILayoutDocumentPane.cs | 2 +- .../Layout/ILayoutElement.cs | 2 +- .../Layout/ILayoutElementWithVisibility.cs | 2 +- .../Layout/ILayoutGroup.cs | 2 +- .../Layout/ILayoutInitialContainer.cs | 2 +- .../Layout/ILayoutOrientableElement.cs | 2 +- .../Layout/ILayoutPane.cs | 2 +- .../Layout/ILayoutPaneSerializable.cs | 2 +- .../Layout/ILayoutPanelElement.cs | 2 +- .../Layout/ILayoutPositionableElement.cs | 2 +- .../Layout/ILayoutPreviousContainer.cs | 2 +- .../Layout/ILayoutRoot.cs | 2 +- .../Layout/ILayoutUpdateStrategy.cs | 2 +- .../Layout/LayoutAnchorGroup.cs | 2 +- .../Layout/LayoutAnchorSide.cs | 2 +- .../Layout/LayoutAnchorable.cs | 18 +- .../Layout/LayoutAnchorableFloatingWindow.cs | 2 +- .../Layout/LayoutAnchorablePane.cs | 2 +- .../Layout/LayoutAnchorablePaneGroup.cs | 2 +- .../Layout/LayoutContent.cs | 41 +- .../Layout/LayoutDocument.cs | 2 +- .../Layout/LayoutDocumentFloatingWindow.cs | 2 +- .../Layout/LayoutDocumentPane.cs | 2 +- .../Layout/LayoutDocumentPaneGroup.cs | 2 +- .../Layout/LayoutElement.cs | 8 +- .../Layout/LayoutElementEventArgs.cs | 2 +- .../Layout/LayoutFloatingWindow.cs | 2 +- .../Layout/LayoutGroup.cs | 2 +- .../Layout/LayoutGroupBase.cs | 2 +- .../Layout/LayoutPanel.cs | 2 +- .../Layout/LayoutPositionableGroup.cs | 8 +- .../Xceed.Wpf.AvalonDock/Layout/LayoutRoot.cs | 5 +- .../LayoutSerializationCallbackEventArgs.cs | 2 +- .../Layout/Serialization/LayoutSerializer.cs | 2 +- .../Serialization/XmlLayoutSerializer.cs | 2 +- .../Xceed.Wpf.AvalonDock/LayoutEventArgs.cs | 2 +- .../Src/Xceed.Wpf.AvalonDock/MathHelper.cs | 2 +- .../Properties/AssemblyInfo.cs | 4 +- .../Properties/Resources.Designer.cs | 75 +- .../Properties/Resources.cs-CZ.Designer.cs | 2 +- .../Properties/Resources.de.Designer.cs | 2 +- .../Properties/Resources.es.Designer.cs | 2 +- .../Properties/Resources.fr.Designer.cs | 2 +- .../Properties/Resources.hu.Designer.cs | 2 +- .../Properties/Resources.it.Designer.cs | 2 +- .../Properties/Resources.ja-JP.Designer.cs | 2 +- .../Properties/Resources.nl-BE.Designer.cs | 2 +- .../Properties/Resources.pt-BR.Designer.cs | 2 +- .../Properties/Resources.ro.Designer.cs | 2 +- .../Properties/Resources.ru.Designer.cs | 2 +- .../Properties/Resources.sv.Designer.cs | 2 +- .../Properties/Resources.zh-Hans.Designer.cs | 2 +- .../Xceed.Wpf.AvalonDock/Themes/Default.xaml | 2 +- .../Themes/DictionaryTheme.cs | 2 +- .../Themes/GenericTheme.cs | 2 +- .../Src/Xceed.Wpf.AvalonDock/Themes/Theme.cs | 2 +- .../Xceed.Wpf.AvalonDock/Themes/generic.xaml | 2 +- .../Src/Xceed.Wpf.AvalonDock/Win32Helper.cs | 106 +- .../Src/Xceed.Wpf.AvalonDock/WindowHelper.cs | 2 +- .../Xceed.Wpf.AvalonDock.NET5.csproj | 3 + .../Xceed.Wpf.AvalonDock.csproj | 3 + .../Xceed.Wpf.Toolkit.LiveExplorer/App.xaml | 19 +- .../App.xaml.cs | 20 +- .../Xceed.Wpf.Toolkit.LiveExplorer/CodeBox.cs | 17 + .../CodeFiles/AutoSelectTextboxView.xaml.txt | 8 +- .../AvalonDockPropertiesView.xaml.txt | 49 +- .../CodeFiles/AvalonDockSourcesView.xaml.txt | 10 +- ...ndicatorCustomContentTemplateView.xaml.txt | 2 +- .../BusyIndicatorCustomContentView.xaml.txt | 4 +- .../CodeFiles/ButtonSpinnerView.xaml.txt | 6 +- .../CodeFiles/CalculatorView.xaml.txt | 2 +- .../CodeFiles/ChartAxisView.xaml.cs.txt | 103 +- .../CodeFiles/ChartAxisView.xaml.txt | 406 ++++++ .../CodeFiles/ChartLegendView.xaml.cs.txt | 2 + .../CodeFiles/ChartLegendView.xaml.txt | 135 +- .../ChartSeriesBasicTypesView.xaml.cs.txt | 122 ++ .../ChartSeriesBasicTypesView.xaml.txt | 141 ++- ...artSeriesDataPointsBindingView.xaml.cs.txt | 2 + .../ChartSeriesDataPointsBindingView.xaml.txt | 46 +- .../ChartStylingAxesGridView.xaml.cs.txt | 2 + .../ChartStylingAxesGridView.xaml.txt | 184 ++- .../ChartStylingColumnSeriesView.xaml.cs.txt | 2 + .../ChartStylingColumnSeriesView.xaml.txt | 180 ++- .../ChartStylingLineSeriesView.xaml.cs.txt | 12 + .../ChartStylingLineSeriesView.xaml.txt | 141 ++- .../ChartStylingPieSeriesView.xaml.cs.txt | 2 + .../ChartStylingPieSeriesView.xaml.txt | 173 ++- .../CodeFiles/CheckListsView.xaml.txt | 4 +- .../CodeFiles/ChildWindowView.xaml.txt | 8 +- .../CodeFiles/DataGridView.xaml.cs.txt | 3 + .../CodeFiles/DataGridView.xaml.txt | 181 ++- .../CodeFiles/DateTimeView.xaml.txt | 28 + .../DisplayLocalizationRes.Designer.cs.txt | 40 +- .../DisplayLocalizationRes.fr.resx.txt | 159 --- .../CodeFiles/DisplayLocalizationRes.resx.txt | 159 --- .../DropDownSplitButtonView.xaml.txt | 4 +- .../CodeFiles/ExtTabControlView.xaml.cs.txt | 58 +- .../CodeFiles/ExtTabControlView.xaml.txt | 218 +++- .../CodeFiles/FilePickerView.xaml.cs.txt | 13 +- .../CodeFiles/FilePickerView.xaml.txt | 200 ++- .../CodeFiles/IconButtonView.xaml.txt | 6 +- .../CodeFiles/ListBoxView.xaml.cs.txt | 8 + .../CodeFiles/ListBoxView.xaml.txt | 1101 +++++++++++++++-- .../CodeFiles/MaskedTextboxView.xaml.txt | 2 +- .../CodeFiles/MaterialButtonView.xaml.cs.txt | 8 + .../CodeFiles/MaterialButtonView.xaml.txt | 173 ++- .../CodeFiles/MaterialCheckBoxView.xaml.txt | 78 +- .../CodeFiles/MaterialComboBoxView.xaml.txt | 144 ++- .../MaterialControlsView.xaml.cs.txt | 166 ++- .../CodeFiles/MaterialControlsView.xaml.txt | 925 +++++++++++++- .../CodeFiles/MaterialDropDownView.xaml.txt | 151 ++- .../CodeFiles/MaterialFrameView.xaml.txt | 159 +++ .../MaterialHamburgerView.xaml.cs.txt | 68 +- .../CodeFiles/MaterialHamburgerView.xaml.txt | 606 ++++++++- .../CodeFiles/MaterialListBoxView.xaml.txt | 124 +- ...aterialProgressBarCircularView.xaml.cs.txt | 27 + .../MaterialProgressBarCircularView.xaml.txt | 191 ++- .../MaterialProgressBarView.xaml.cs.txt | 27 + .../MaterialProgressBarView.xaml.txt | 159 ++- .../MaterialRadioButtonView.xaml.txt | 66 +- .../CodeFiles/MaterialSliderView.xaml.txt | 284 +++++ .../CodeFiles/MaterialSwitchView.xaml.txt | 101 +- .../CodeFiles/MaterialTabsView.xaml.txt | 229 +++- .../CodeFiles/MaterialTextFieldView.xaml.txt | 216 +++- .../CodeFiles/MaterialToastView.xaml.cs.txt | 16 + .../CodeFiles/MaterialToastView.xaml.txt | 273 +++- .../CodeFiles/MaterialToolTipView.xaml.txt | 66 +- .../CodeFiles/MultiCalendarView.xaml.cs.txt | 111 +- .../CodeFiles/MultiCalendarView.xaml.txt | 756 ++++++++++- .../MultiColumnComboBoxView.xaml.cs.txt | 28 +- .../MultiColumnComboBoxView.xaml.txt | 136 +- .../MultiLineTextEditorView.xaml.txt | 4 +- .../CodeFiles/PieChartView.xaml.txt | 4 +- .../CodeFiles/PieProgressView.xaml.txt | 4 +- .../CodeFiles/PieView.xaml.txt | 2 +- .../CodeFiles/PileFlowPanelView.xaml.cs.txt | 122 +- .../CodeFiles/PileFlowPanelView.xaml.txt | 320 ++++- ...opertyGridAdvancedContextMenuView.xaml.txt | 2 +- .../PropertyGridAttributesView.xaml.cs.txt | 26 + .../PropertyGridAttributesView.xaml.txt | 10 +- .../PropertyGridBindingToStructsView.xaml.txt | 6 +- .../PropertyGridCategoryOrderView.xaml.txt | 10 +- .../PropertyGridCustomEditorsView.xaml.txt | 6 +- ...PropertyGridCustomPropertyView.xaml.cs.txt | 17 + .../PropertyGridCustomPropertyView.xaml.txt | 68 + ...PropertyGridDefaultEditorsView.xaml.cs.txt | 11 + .../PropertyGridDefaultEditorsView.xaml.txt | 6 +- .../PropertyGridDefinitionKeyView.xaml.cs.txt | 29 +- .../PropertyGridDefinitionKeyView.xaml.txt | 22 +- ...rtyGridDisplayLocalizationView.xaml.cs.txt | 108 +- ...opertyGridDisplayLocalizationView.xaml.txt | 37 +- ...orComboBoxDefinitionSourceView.xaml.cs.txt | 43 + ...ditorComboBoxDefinitionSourceView.xaml.txt | 30 + ...pertyGridEditorDefinitionsView.xaml.cs.txt | 87 ++ ...PropertyGridEditorDefinitionsView.xaml.txt | 109 +- ...GridExpandingNonPrimitivesView.xaml.cs.txt | 163 ++- ...rtyGridExpandingNonPrimitivesView.xaml.txt | 52 +- ...tyGridMultiSelectedObjectsView.xaml.cs.txt | 3 + ...pertyGridMultiSelectedObjectsView.xaml.txt | 39 +- ...opertyGridPropertiesSourceView.xaml.cs.txt | 55 + .../PropertyGridPropertiesSourceView.xaml.txt | 61 +- .../PropertyGridPropertiesView.xaml.cs.txt | 24 + .../PropertyGridPropertiesView.xaml.txt | 77 +- ...PropertyGridPropertyItemStyleView.xaml.txt | 2 +- .../PropertyGridSelectedObjectView.xaml.txt | 2 +- ...tyGridSpecifyingPropertiesView.xaml.cs.txt | 1 + ...pertyGridSpecifyingPropertiesView.xaml.txt | 19 +- .../CodeFiles/RadialGaugeView.xaml.cs.txt | 23 + .../CodeFiles/RadialGaugeView.xaml.txt | 1021 ++++++++++++++- .../CodeFiles/RangeSliderView.xaml.txt | 2 +- .../CodeFiles/RatingView.xaml.cs.txt | 33 + .../CodeFiles/RatingView.xaml.txt | 434 ++++++- .../CodeFiles/RichTextboxView.xaml.txt | 2 +- .../CodeFiles/SlideShowView.xaml.cs.txt | 34 + .../CodeFiles/SlideShowView.xaml.txt | 204 ++- .../CodeFiles/StyleableWindowView.xaml.cs.txt | 83 +- .../CodeFiles/StyleableWindowView.xaml.txt | 69 ++ .../CodeFiles/SwitchPanelView.xaml.cs.txt | 466 +++++++ .../CodeFiles/SwitchPanelView.xaml.txt | 908 +++++++++++++- .../ThemingAvalonDockView.xaml.cs.txt | 317 +++-- .../CodeFiles/ThemingAvalonDockView.xaml.txt | 473 ++++--- .../CodeFiles/ThemingCoreWPFView.xaml.cs.txt | 169 ++- .../CodeFiles/ThemingCoreWPFView.xaml.txt | 182 ++- .../CodeFiles/ThemingDataGridView.xaml.cs.txt | 165 ++- .../CodeFiles/ThemingDataGridView.xaml.txt | 185 ++- .../ThemingExtendedToolkitView.xaml.cs.txt | 163 ++- .../ThemingExtendedToolkitView.xaml.txt | 182 ++- .../CodeFiles/ThemingListBoxView.xaml.cs.txt | 185 ++- .../CodeFiles/ThemingListBoxView.xaml.txt | 177 ++- .../CodeFiles/TimelinePanelView.xaml.txt | 4 +- .../CodeFiles/ToggleSwitchView.xaml.txt | 524 +++++++- .../TokenizedTextBoxView.xaml.cs.txt | 85 ++ .../CodeFiles/TokenizedTextBoxView.xaml.txt | 296 ++++- .../WatermarkPasswordBoxView.xaml.txt | 4 +- .../CodeFiles/WatermarkTextboxView.xaml.txt | 2 +- .../CodeFiles/WindowContainerView.xaml.cs.txt | 1 + .../CodeFiles/WizardView.xaml.txt | 2 +- .../CodeFiles/ZoomboxView.xaml.txt | 2 +- .../Core/CSharpFormatter.cs | 20 +- .../Core/CodeFormatting/CSharpFormat.cs | 133 +- .../Core/CodeFormatting/XamlFormat.cs | 19 +- .../Core/Converters/ZeroToBoolConverter.cs | 17 + .../Core/LiveExplorerTreeViewItem.cs | 17 + .../Core/ThemeBaseNames.cs | 42 + .../Core/XamlFormatter.cs | 20 +- .../DemoView.cs | 17 + .../HomeView.xaml | 19 +- .../HomeView.xaml.cs | 20 +- .../MainWindow.xaml | 28 +- .../MainWindow.xaml.cs | 27 +- .../Properties/AssemblyInfo.cs | 21 +- ...ndDataService.NorthwindEntities.datasource | 10 + .../Properties/Resources.Designer.cs | 29 +- .../Properties/Settings.Designer.cs | 19 +- .../Resources/LiveExplorerScrollViewer.xaml | 19 +- .../Resources/TextBlockStyles.xaml | 19 +- .../Samples/AvalonDock/Resources/Document.cs | 17 + .../AvalonDock/Resources/DocumentBase.cs | 19 +- .../AvalonDock/Resources/DocumentView.xaml | 19 +- .../AvalonDock/Resources/DocumentView.xaml.cs | 20 +- .../Samples/AvalonDock/Resources/Note.cs | 17 + .../AvalonDock/Resources/NoteView.xaml | 19 +- .../AvalonDock/Resources/NoteView.xaml.cs | 20 +- .../Samples/AvalonDock/Resources/Page.cs | 17 + .../AvalonDock/Resources/PageView.xaml | 19 +- .../AvalonDock/Resources/PageView.xaml.cs | 20 +- .../Views/AvalonDockPropertiesView.xaml | 19 +- .../Views/AvalonDockPropertiesView.xaml.cs | 20 +- .../Views/AvalonDockSourcesView.xaml | 19 +- .../Views/AvalonDockSourcesView.xaml.cs | 20 +- .../AvalonDock/Views/AvalonDockView.xaml | 19 +- .../AvalonDock/Views/AvalonDockView.xaml.cs | 20 +- .../Converters/IntegerToTimespanConverter.cs | 19 +- .../BusyIndicator/Resources/Common.xaml | 19 +- ...usyIndicatorCustomContentTemplateView.xaml | 19 +- ...IndicatorCustomContentTemplateView.xaml.cs | 22 +- .../Views/BusyIndicatorCustomContentView.xaml | 21 +- .../BusyIndicatorCustomContentView.xaml.cs | 22 +- .../Views/BusyIndicatorView.xaml | 19 +- .../Views/BusyIndicatorView.xaml.cs | 22 +- .../Button/Views/ButtonSpinnerView.xaml | 19 +- .../Button/Views/ButtonSpinnerView.xaml.cs | 22 +- .../Button/Views/DropDownSplitButtonView.xaml | 19 +- .../Views/DropDownSplitButtonView.xaml.cs | 22 +- .../Samples/Button/Views/IconButtonView.xaml | 19 +- .../Button/Views/IconButtonView.xaml.cs | 22 +- .../Calculator/Views/CalculatorView.xaml | 19 +- .../Calculator/Views/CalculatorView.xaml.cs | 22 +- .../GraduationModeToComboBoxConverter.cs | 19 +- .../Samples/Chart/Views/ChartAxisView.xaml | 19 +- .../Samples/Chart/Views/ChartAxisView.xaml.cs | 22 +- .../Samples/Chart/Views/ChartLegendView.xaml | 21 +- .../Chart/Views/ChartLegendView.xaml.cs | 22 +- .../Views/ChartSeriesBasicTypesView.xaml | 21 +- .../Views/ChartSeriesBasicTypesView.xaml.cs | 22 +- .../ChartSeriesDataPointsBindingView.xaml | 19 +- .../ChartSeriesDataPointsBindingView.xaml.cs | 22 +- .../Chart/Views/ChartStylingAxesGridView.xaml | 19 +- .../Views/ChartStylingAxesGridView.xaml.cs | 22 +- .../Views/ChartStylingColumnSeriesView.xaml | 19 +- .../ChartStylingColumnSeriesView.xaml.cs | 22 +- .../Views/ChartStylingLineSeriesView.xaml | 19 +- .../Views/ChartStylingLineSeriesView.xaml.cs | 22 +- .../Views/ChartStylingPieSeriesView.xaml | 19 +- .../Views/ChartStylingPieSeriesView.xaml.cs | 22 +- .../CheckLists/Views/CheckListsView.xaml | 19 +- .../CheckLists/Views/CheckListsView.xaml.cs | 22 +- .../Samples/Color/Views/ColorView.xaml | 19 +- .../Samples/Color/Views/ColorView.xaml.cs | 20 +- .../DataGrid/Converters/FlagPathConverter.cs | 17 + .../Samples/DataGrid/Views/DataGridView.xaml | 19 +- .../DataGrid/Views/DataGridView.xaml.cs | 20 +- .../Views/MultiColumnComboBoxView.xaml | 19 +- .../Views/MultiColumnComboBoxView.xaml.cs | 22 +- .../Converters/CustomFormatToBoolConverter.cs | 19 +- .../Converters/DateTimeToTimeSpanConverter.cs | 19 +- .../Samples/DateTime/Views/DateTimeView.xaml | 19 +- .../DateTime/Views/DateTimeView.xaml.cs | 22 +- .../Views/ExtTabControlView.xaml | 19 +- .../Views/ExtTabControlView.xaml.cs | 22 +- .../FilePicker/Views/FilePickerView.xaml | 19 +- .../FilePicker/Views/FilePickerView.xaml.cs | 22 +- .../Samples/Gauge/Views/RadialGaugeView.xaml | 19 +- .../Gauge/Views/RadialGaugeView.xaml.cs | 20 +- .../Converters/BoxArtImageSourceConverter.cs | 19 +- .../Samples/ListBox/Views/ListBoxView.xaml | 19 +- .../Samples/ListBox/Views/ListBoxView.xaml.cs | 22 +- .../Magnifier/Converters/ColorConverter.cs | 19 +- .../Converters/VisibilityConverter.cs | 19 +- .../Magnifier/Views/MagnifierView.xaml | 19 +- .../Magnifier/Views/MagnifierView.xaml.cs | 22 +- .../Converters/EqualsMinusOneConverter.cs | 19 +- .../MaterialControls/Data/RequiredRule.cs | 19 +- .../Resources/CommonResources.xaml | 19 +- .../Views/MaterialButtonView.xaml | 19 +- .../Views/MaterialButtonView.xaml.cs | 22 +- .../Views/MaterialCheckBoxView.xaml | 19 +- .../Views/MaterialCheckBoxView.xaml.cs | 22 +- .../Views/MaterialComboBoxView.xaml | 19 +- .../Views/MaterialComboBoxView.xaml.cs | 22 +- .../Views/MaterialControlsView.xaml | 19 +- .../Views/MaterialControlsView.xaml.cs | 22 +- .../Views/MaterialDemoView.cs | 19 +- .../Views/MaterialDropDownView.xaml | 19 +- .../Views/MaterialDropDownView.xaml.cs | 22 +- .../Views/MaterialFrameView.xaml | 19 +- .../Views/MaterialFrameView.xaml.cs | 22 +- .../Views/MaterialHamburgerView.xaml | 19 +- .../Views/MaterialHamburgerView.xaml.cs | 22 +- .../Views/MaterialListBoxView.xaml | 19 +- .../Views/MaterialListBoxView.xaml.cs | 22 +- .../MaterialProgressBarCircularView.xaml | 19 +- .../MaterialProgressBarCircularView.xaml.cs | 22 +- .../Views/MaterialProgressBarView.xaml | 19 +- .../Views/MaterialProgressBarView.xaml.cs | 22 +- .../Views/MaterialRadioButtonView.xaml | 19 +- .../Views/MaterialRadioButtonView.xaml.cs | 22 +- .../Views/MaterialSliderView.xaml | 19 +- .../Views/MaterialSliderView.xaml.cs | 22 +- .../Views/MaterialSwitchView.xaml | 19 +- .../Views/MaterialSwitchView.xaml.cs | 22 +- .../Views/MaterialTabsView.xaml | 19 +- .../Views/MaterialTabsView.xaml.cs | 22 +- .../Views/MaterialTextFieldView.xaml | 19 +- .../Views/MaterialTextFieldView.xaml.cs | 22 +- .../Views/MaterialToastView.xaml | 19 +- .../Views/MaterialToastView.xaml.cs | 22 +- .../Views/MaterialToolTipView.xaml | 19 +- .../Views/MaterialToolTipView.xaml.cs | 22 +- .../Views/MultiCalendarView.xaml | 21 +- .../Views/MultiCalendarView.xaml.cs | 20 +- .../Samples/Numeric/Views/NumericView.xaml | 19 +- .../Samples/Numeric/Views/NumericView.xaml.cs | 22 +- .../ComboBoxToVisibilityConverter.cs | 19 +- .../Samples/Panels/Views/SwitchPanelView.xaml | 19 +- .../Panels/Views/SwitchPanelView.xaml.cs | 22 +- .../Pie/Converters/SliceLabelConverter.cs | 19 +- .../Samples/Pie/Views/PieChartView.xaml | 19 +- .../Samples/Pie/Views/PieChartView.xaml.cs | 22 +- .../Samples/Pie/Views/PieProgressView.xaml | 19 +- .../Samples/Pie/Views/PieProgressView.xaml.cs | 22 +- .../Samples/Pie/Views/PieView.xaml | 19 +- .../Samples/Pie/Views/PieView.xaml.cs | 22 +- .../Converters/FullNameStringConverter.cs | 19 +- .../Views/PileFlowPanelView.xaml | 19 +- .../Views/PileFlowPanelView.xaml.cs | 22 +- .../Converters/DimensionConverter.cs | 19 +- .../Resources/LastNameUserControlEditor.xaml | 19 +- .../LastNameUserControlEditor.xaml.cs | 22 +- .../Views/DisplayLocalizationRes.Designer.cs | 68 +- .../PropertyGridAdvancedContextMenuView.xaml | 21 +- ...ropertyGridAdvancedContextMenuView.xaml.cs | 22 +- .../Views/PropertyGridAttributesView.xaml | 23 +- .../Views/PropertyGridAttributesView.xaml.cs | 22 +- .../PropertyGridBindingToStructsView.xaml | 21 +- .../PropertyGridBindingToStructsView.xaml.cs | 22 +- .../Views/PropertyGridCategoryOrderView.xaml | 23 +- .../PropertyGridCategoryOrderView.xaml.cs | 22 +- .../Views/PropertyGridCustomEditorsView.xaml | 19 +- .../PropertyGridCustomEditorsView.xaml.cs | 22 +- .../Views/PropertyGridCustomPropertyView.xaml | 19 +- .../PropertyGridCustomPropertyView.xaml.cs | 22 +- .../Views/PropertyGridDefaultEditorsView.xaml | 21 +- .../PropertyGridDefaultEditorsView.xaml.cs | 22 +- .../Views/PropertyGridDefinitionKeyView.xaml | 23 +- .../PropertyGridDefinitionKeyView.xaml.cs | 22 +- .../PropertyGridDisplayLocalizationView.xaml | 19 +- ...ropertyGridDisplayLocalizationView.xaml.cs | 22 +- ...ridEditorComboBoxDefinitionSourceView.xaml | 19 +- ...EditorComboBoxDefinitionSourceView.xaml.cs | 22 +- .../PropertyGridEditorDefinitionsView.xaml | 21 +- .../PropertyGridEditorDefinitionsView.xaml.cs | 22 +- ...ropertyGridExpandingNonPrimitivesView.xaml | 21 +- ...ertyGridExpandingNonPrimitivesView.xaml.cs | 22 +- .../PropertyGridMultiSelectedObjectsView.xaml | 21 +- ...opertyGridMultiSelectedObjectsView.xaml.cs | 22 +- .../PropertyGridPropertiesSourceView.xaml | 19 +- .../PropertyGridPropertiesSourceView.xaml.cs | 22 +- .../Views/PropertyGridPropertiesView.xaml | 23 +- .../Views/PropertyGridPropertiesView.xaml.cs | 22 +- .../PropertyGridPropertyItemStyleView.xaml | 21 +- .../PropertyGridPropertyItemStyleView.xaml.cs | 22 +- .../Views/PropertyGridSelectedObjectView.xaml | 21 +- .../PropertyGridSelectedObjectView.xaml.cs | 22 +- .../PropertyGridSpecifyingPropertiesView.xaml | 21 +- ...opertyGridSpecifyingPropertiesView.xaml.cs | 22 +- .../PropertyGrid/Views/PropertyGridView.xaml | 19 +- .../Views/PropertyGridView.xaml.cs | 22 +- .../Converters/AbsoluteAdditionConverter.cs | 19 +- .../Converters/RangeSliderEnabledConverter.cs | 19 +- .../RangeSlider/Views/RangeSliderView.xaml | 19 +- .../RangeSlider/Views/RangeSliderView.xaml.cs | 20 +- .../Samples/Rating/Views/RatingView.xaml | 19 +- .../Samples/Rating/Views/RatingView.xaml.cs | 20 +- .../SlideShow/Views/SlideShowView.xaml | 19 +- .../SlideShow/Views/SlideShowView.xaml.cs | 20 +- .../Text/Views/AutoSelectTextboxView.xaml | 21 +- .../Text/Views/AutoSelectTextboxView.xaml.cs | 22 +- .../Samples/Text/Views/MaskedTextboxView.xaml | 19 +- .../Text/Views/MaskedTextboxView.xaml.cs | 22 +- .../Text/Views/MultiLineTextEditorView.xaml | 19 +- .../Views/MultiLineTextEditorView.xaml.cs | 22 +- .../Samples/Text/Views/RichTextboxView.xaml | 19 +- .../Text/Views/RichTextboxView.xaml.cs | 22 +- .../Text/Views/TokenizedTextBoxView.xaml | 19 +- .../Text/Views/TokenizedTextBoxView.xaml.cs | 20 +- .../Text/Views/WatermarkPasswordBoxView.xaml | 19 +- .../Views/WatermarkPasswordBoxView.xaml.cs | 22 +- .../Text/Views/WatermarkTextboxView.xaml | 21 +- .../Text/Views/WatermarkTextboxView.xaml.cs | 22 +- .../Theming/Converters/FlagPathConverter.cs | 19 +- .../Theming/Helpers/ThemeChoiceViewModel.cs | 92 ++ .../Helpers/ThemingSharedProperties.cs | 55 + .../Samples/Theming/ItemTemplates/Common.xaml | 19 +- .../OpenSourceImages/AvalonDockMetroDark.png | Bin 25433 -> 0 bytes .../OpenSourceImages/AvalonDockMetroLight.png | Bin 25483 -> 0 bytes .../AvalonDockOffice2007Black.png | Bin 30582 -> 0 bytes .../AvalonDockOffice2007Blue.png | Bin 27558 -> 0 bytes .../AvalonDockOffice2007Silver.png | Bin 27624 -> 0 bytes .../OpenSourceImages/AvalonDockWindows10.png | Bin 26188 -> 0 bytes .../OpenSourceImages/AvalonDock_Aero.png | Bin 0 -> 34542 bytes .../AvalonDock_FluentDark.png | Bin 0 -> 33310 bytes .../AvalonDock_FluentLight.png | Bin 0 -> 33353 bytes .../OpenSourceImages/AvalonDock_Generic.png | Bin 0 -> 28487 bytes .../OpenSourceImages/AvalonDock_Material.png | Bin 0 -> 30107 bytes .../OpenSourceImages/AvalonDock_Metro.png | Bin 0 -> 28581 bytes .../OpenSourceImages/AvalonDock_MetroDark.png | Bin 0 -> 27933 bytes .../AvalonDock_MetroLight.png | Bin 0 -> 27350 bytes .../AvalonDock_Office2007Black.png | Bin 0 -> 32860 bytes .../AvalonDock_Office2007Blue.png | Bin 0 -> 28639 bytes .../AvalonDock_Office2007Silver.png | Bin 0 -> 32362 bytes .../OpenSourceImages/AvalonDock_VS2010.png | Bin 0 -> 40582 bytes .../OpenSourceImages/AvalonDock_Windows10.png | Bin 0 -> 28822 bytes .../OpenSourceImages/CoreWPFControls.png | Bin 56330 -> 0 bytes .../OpenSourceImages/Core_FluentDark.png | Bin 0 -> 91145 bytes .../OpenSourceImages/Core_FluentLight.png | Bin 0 -> 90678 bytes .../OpenSourceImages/Core_Material.png | Bin 0 -> 77224 bytes .../OpenSourceImages/Core_MetroDark.png | Bin 0 -> 83643 bytes .../OpenSourceImages/Core_MetroLight.png | Bin 0 -> 84416 bytes .../OpenSourceImages/Core_Office2007Black.png | Bin 0 -> 109263 bytes .../OpenSourceImages/Core_Office2007Blue.png | Bin 0 -> 105822 bytes .../Core_Office2007Silver.png | Bin 0 -> 110610 bytes .../Theming/OpenSourceImages/Core_System.png | Bin 0 -> 93714 bytes .../OpenSourceImages/Core_Windows10.png | Bin 0 -> 81581 bytes .../OpenSourceImages/DataGridControls.png | Bin 71742 -> 0 bytes .../OpenSourceImages/DataGrid_FluentDark.png | Bin 0 -> 89563 bytes .../OpenSourceImages/DataGrid_FluentLight.png | Bin 0 -> 89701 bytes .../OpenSourceImages/DataGrid_Material.png | Bin 0 -> 90738 bytes .../OpenSourceImages/DataGrid_MetroDark.png | Bin 0 -> 124901 bytes .../OpenSourceImages/DataGrid_MetroLight.png | Bin 0 -> 123840 bytes .../DataGrid_Office2007Black.png | Bin 0 -> 137871 bytes .../DataGrid_Office2007Blue.png | Bin 0 -> 135807 bytes .../DataGrid_Office2007Silver.png | Bin 0 -> 137833 bytes .../OpenSourceImages/DataGrid_Windows10.png | Bin 0 -> 89865 bytes .../ExtendedWPFToolkitControls.png | Bin 58792 -> 0 bytes .../OpenSourceImages/ListBoxControls.png | Bin 100845 -> 0 bytes .../OpenSourceImages/ListBox_FluentDark.png | Bin 0 -> 86226 bytes .../OpenSourceImages/ListBox_FluentLight.png | Bin 0 -> 85858 bytes .../OpenSourceImages/ListBox_LiveExplorer.png | Bin 0 -> 147880 bytes .../OpenSourceImages/ListBox_Material.png | Bin 0 -> 85234 bytes .../OpenSourceImages/ListBox_MediaPlayer.png | Bin 0 -> 95738 bytes .../OpenSourceImages/ListBox_MetroDark.png | Bin 0 -> 29823 bytes .../OpenSourceImages/ListBox_MetroLight.png | Bin 0 -> 34226 bytes .../ListBox_Office2007Black.png | Bin 0 -> 94541 bytes .../ListBox_Office2007Blue.png | Bin 0 -> 95178 bytes .../ListBox_Office2007Silver.png | Bin 0 -> 94900 bytes .../OpenSourceImages/ListBox_System.png | Bin 0 -> 95887 bytes .../OpenSourceImages/ListBox_Windows10.png | Bin 0 -> 91603 bytes .../OpenSourceImages/Toolkit_FluentDark.png | Bin 0 -> 53531 bytes .../OpenSourceImages/Toolkit_FluentLight.png | Bin 0 -> 52898 bytes .../OpenSourceImages/Toolkit_Material.png | Bin 0 -> 49805 bytes .../OpenSourceImages/Toolkit_MetroDark.png | Bin 0 -> 44287 bytes .../OpenSourceImages/Toolkit_MetroLight.png | Bin 0 -> 42425 bytes .../Toolkit_Office2007Black.png | Bin 0 -> 50996 bytes .../Toolkit_Office2007Blue.png | Bin 0 -> 47276 bytes .../Toolkit_Office2007Silver.png | Bin 0 -> 50750 bytes .../OpenSourceImages/Toolkit_System.png | Bin 0 -> 47256 bytes .../OpenSourceImages/Toolkit_Windows10.png | Bin 0 -> 44843 bytes .../Theming/Views/ThemingAvalonDockView.xaml | 473 ++++--- .../Views/ThemingAvalonDockView.xaml.cs | 332 +++-- .../Theming/Views/ThemingCoreWPFView.xaml | 176 ++- .../Theming/Views/ThemingCoreWPFView.xaml.cs | 191 ++- .../Theming/Views/ThemingDataGridView.xaml | 185 ++- .../Theming/Views/ThemingDataGridView.xaml.cs | 187 ++- .../Views/ThemingExtendedToolkitView.xaml | 176 ++- .../Views/ThemingExtendedToolkitView.xaml.cs | 185 ++- .../Theming/Views/ThemingListBoxView.xaml | 171 ++- .../Theming/Views/ThemingListBoxView.xaml.cs | 205 ++- .../Samples/TimeSpan/Views/TimeSpanView.xaml | 19 +- .../TimeSpan/Views/TimeSpanView.xaml.cs | 22 +- .../Views/TimelinePanelView.xaml | 21 +- .../Views/TimelinePanelView.xaml.cs | 22 +- .../ToggleSwitch/Views/ToggleSwitchView.xaml | 19 +- .../Views/ToggleSwitchView.xaml.cs | 20 +- .../Views/WatermarkComboBoxView.xaml | 19 +- .../Views/WatermarkComboBoxView.xaml.cs | 20 +- .../Window/Converters/IntToBoolConverter.cs | 19 +- .../Converters/WindowStateToBoolConverter.cs | 19 +- .../Samples/Window/Resources/FancyStyles.xaml | 19 +- .../Window/Resources/WindowModelEditor.xaml | 19 +- .../Resources/WindowModelEditor.xaml.cs | 22 +- .../Samples/Window/Views/ChildWindowView.xaml | 19 +- .../Window/Views/ChildWindowView.xaml.cs | 22 +- .../Window/Views/StyleableWindowView.xaml | 19 +- .../Window/Views/StyleableWindowView.xaml.cs | 26 +- .../Window/Views/WindowContainerView.xaml | 19 +- .../Window/Views/WindowContainerView.xaml.cs | 22 +- .../Samples/Wizard/Views/WizardView.xaml | 19 +- .../Samples/Wizard/Views/WizardView.xaml.cs | 22 +- .../Zoombox/Converters/PointConverter.cs | 19 +- .../Zoombox/Converters/RectConverter.cs | 19 +- .../Zoombox/Converters/SimpleConverter.cs | 19 +- .../Zoombox/Converters/ViewFinderConverter.cs | 19 +- .../Zoombox/Converters/ViewNameConverter.cs | 19 +- .../Converters/ViewStackCountConverter.cs | 19 +- .../Samples/Zoombox/Views/ZoomboxView.xaml | 19 +- .../Samples/Zoombox/Views/ZoomboxView.xaml.cs | 22 +- .../NorthwindDataService/Reference.cs | 478 +------ ...Xceed.Wpf.Toolkit.LiveExplorer.NET5.csproj | 86 +- .../Xceed.Wpf.Toolkit.LiveExplorer.csproj | 103 +- .../Xceed.Wpf.Toolkit/AssemblyVersionInfo.cs | 4 +- .../AssemblyVersionInfoCommon.cs | 2 +- .../Implementation/AutoSelectBehaviorEnum.cs | 2 +- .../Implementation/AutoSelectTextBox.cs | 2 +- .../Implementation/QueryMoveFocusEventArgs.cs | 2 +- .../Implementation/BusyIndicator.cs | 74 +- .../Converters/ProgressBarWidthConverter.cs | 2 +- .../VisualStates.BusyIndicator.cs | 20 +- .../Themes/Aero2.NormalColor.xaml | 2 +- .../BusyIndicator/Themes/Generic.xaml | 2 +- .../Implementation/ButtonSpinner.cs | 43 +- .../Implementation/SpinDirection.cs | 12 +- .../Implementation/SpinEventArgs.cs | 17 +- .../ButtonSpinner/Implementation/Spinner.cs | 28 +- .../Implementation/ValidSpinDirections.cs | 14 +- .../Themes/Aero2.NormalColor.xaml | 2 +- .../ButtonSpinner/Themes/Generic.xaml | 2 +- .../Calculator/Implementation/Calculator.cs | 2 +- .../Implementation/CalculatorCommands.cs | 2 +- .../Calculator/Themes/Aero2.NormalColor.xaml | 2 +- .../Calculator/Themes/Generic.xaml | 2 +- .../Implementation/CalculatorUpDown.cs | 2 +- .../Themes/Aero2.NormalColor.xaml | 2 +- .../CalculatorUpDown/Themes/Generic.xaml | 2 +- .../Implementation/CheckComboBox.cs | 23 +- .../Themes/Aero2.NormalColor.xaml | 2 +- .../CheckComboBox/Themes/Generic.xaml | 2 +- .../Implementation/CheckListBox.cs | 2 +- .../Themes/Aero2.NormalColor.xaml | 2 +- .../CheckListBox/Themes/Generic.xaml | 2 +- .../ChildWindow/Implementation/ChildWindow.cs | 15 +- .../Implementation/WindowStartupLocation.cs | 2 +- .../ChildWindow/Implementation/WindowState.cs | 2 +- .../ChildWindow/Themes/Aero2.NormalColor.xaml | 2 +- .../ChildWindow/Themes/Generic.xaml | 2 +- .../Chromes/Implementation/ButtonChrome.cs | 2 +- .../Chromes/Themes/Aero2.NormalColor.xaml | 2 +- .../Chromes/Themes/Generic.xaml | 2 +- .../Implementation/CollectionControl.cs | 2 +- .../Implementation/CollectionControlButton.cs | 2 +- .../CollectionControlDialog.xaml | 2 +- .../CollectionControlDialog.xaml.cs | 5 +- .../NewItemTypesComboBoxConverter.cs | 11 +- .../Implementation/ItemAddingEventArgs.cs | 2 +- .../Implementation/ItemDeletingEventArgs.cs | 2 +- .../Implementation/ItemEventArgs.cs | 2 +- .../PrimitiveTypeCollectionControl.cs | 2 +- .../Themes/Aero2.NormalColor.xaml | 2 +- .../CollectionControl/Themes/Generic.xaml | 2 +- .../ColorCanvas/Implementation/ColorCanvas.cs | 2 +- .../Implementation/ColorSpectrumSlider.cs | 2 +- .../ColorCanvas/Themes/Aero2.NormalColor.xaml | 2 +- .../ColorCanvas/Themes/Generic.xaml | 2 +- .../ColorPicker/Implementation/ColorItem.cs | 2 +- .../ColorPicker/Implementation/ColorPicker.cs | 2 +- .../Implementation/ColorPickerTabItem.cs | 2 +- .../ColorPicker/Implementation/ColorSorter.cs | 2 +- .../ColorPicker/Themes/Aero2.NormalColor.xaml | 2 +- .../ColorPicker/Themes/Generic.xaml | 2 +- .../Core/CancelRoutedEventArgs.cs | 8 +- .../Core/Converters/AditionConverter.cs | 2 +- ...rderThicknessToStrokeThicknessConverter.cs | 2 +- .../CalculatorMemoryToVisibilityConverter.cs | 2 +- .../Core/Converters/CenterTitleConverter.cs | 2 +- .../Core/Converters/ColorBlendConverter.cs | 11 +- .../ColorModeToTabItemSelectedConverter.cs | 2 +- .../ColorToSolidColorBrushConverter.cs | 23 +- .../CornerRadiusToDoubleConverter.cs | 2 +- .../Core/Converters/HalfConverter.cs | 2 +- .../Converters/IntToThicknessConverter.cs | 2 +- .../Core/Converters/InverseBoolConverter.cs | 2 +- .../Core/Converters/NullToBoolConverter.cs | 2 +- .../Converters/ObjectTypeToNameConverter.cs | 2 +- .../PrintableFontFamilyConverter.cs | 2 +- .../Core/Converters/RoundedValueConverter.cs | 2 +- .../SolidColorBrushToColorConverter.cs | 2 +- .../Core/Converters/TabItemSizeConverter.cs | 2 +- .../ThicknessSideRemovalConverter.cs | 2 +- .../Converters/ThicknessToDoubleConverter.cs | 2 +- .../Converters/VisibilityToBoolConverter.cs | 2 +- .../WindowContentBorderMarginConverter.cs | 5 +- .../WindowControlBackgroundConverter.cs | 11 +- .../WizardPageButtonVisibilityConverter.cs | 2 +- .../Core/EditableKeyValuePair.cs | 2 +- .../Xceed.Wpf.Toolkit/Core/ErrorMessages.cs | 2 +- .../Core/GenericTextBlock.cs | 2 +- .../Core/ImageUriExtension.cs | 6 +- .../Core/IndexChangedEventArgs.cs | 2 +- .../Core/IndexChangedEventHandler.cs | 2 +- .../Core/Input/IValidateInput.cs | 2 +- .../Input/InputValidationErrorEventArgs.cs | 2 +- .../Core/Input/KeyModifier.cs | 2 +- .../Core/Input/KeyModifierCollection.cs | 2 +- .../Input/KeyModifierCollectionConverter.cs | 2 +- .../Core/InvalidContentException.cs | 2 +- .../Core/InvalidTemplateException.cs | 2 +- .../Xceed.Wpf.Toolkit/Core/LocationEnum.cs | 2 +- .../Core/Media/Animation/AnimationRate.cs | 2 +- .../Media/Animation/AnimationRateConverter.cs | 2 +- .../Animation/IterativeAnimationEquation.cs | 2 +- .../IterativeAnimationEquationDelegate.cs | 2 +- .../Animation/IterativeEquationConverter.cs | 2 +- .../Core/Media/Animation/PennerEquation.cs | 2 +- .../Core/Media/Animation/PennerEquations.cs | 2 +- .../Core/Media/WindowColors.cs | 19 +- .../Core/PackUriExtension.cs | 2 +- .../Core/PropertyChangedEventArgs.cs | 2 +- .../Core/PropertyChangedEventHandler.cs | 2 +- .../Core/QueryTextFromValueEventArgs.cs | 2 +- .../Core/QueryValueFromTextEventArgs.cs | 2 +- .../Core/ResourceDictionary.cs | 2 +- .../Core/UIElementAdorner.cs | 50 +- .../Core/Utilities/CalculatorUtilities.cs | 2 +- .../Core/Utilities/ChangeTypeHelper.cs | 2 +- .../Core/Utilities/ColorUtilities.cs | 20 +- .../Core/Utilities/ContextMenuUtilities.cs | 2 +- .../Core/Utilities/DateTimeUtilities.cs | 2 +- .../Core/Utilities/DoubleHelper.cs | 2 +- .../Core/Utilities/EllipseHelper.cs | 2 +- .../Core/Utilities/FontUtilities.cs | 2 +- .../Core/Utilities/GeneralUtilities.cs | 2 +- .../Core/Utilities/KeyboardUtilities.cs | 2 +- .../Core/Utilities/ListUtilities.cs | 2 +- .../Core/Utilities/PointHelper.cs | 2 +- .../Core/Utilities/PropertyChangedExt.cs | 2 +- .../Core/Utilities/RectHelper.cs | 2 +- .../Core/Utilities/ReflectionHelper.cs | 18 +- .../Core/Utilities/ResourceHelper.cs | 2 +- .../Core/Utilities/RoutedEventHelper.cs | 2 +- .../Core/Utilities/Segment.cs | 2 +- .../Core/Utilities/TreeHelper.cs | 64 +- .../Core/Utilities/ValueChangeHelper.cs | 10 +- .../Core/Utilities/VisualTreeHelperEx.cs | 2 +- .../Core/Utilities/WeakEventListener.cs | 2 +- .../Core/Utilities/WindowUtilities.cs | 2 +- .../Core/VersionResourceDictionary.cs | 2 +- .../Core/WeakCollectionChangedWrapper.cs | 2 +- .../Converters/BorderThicknessConverter.cs | 2 +- .../Implementation/DateTimePicker.cs | 15 +- .../Themes/Aero2.NormalColor.xaml | 2 +- .../DateTimePicker/Themes/Generic.xaml | 2 +- .../Implementation/DateTimeFormat.cs | 2 +- .../Implementation/DateTimeInfo.cs | 2 +- .../Implementation/DateTimeParser.cs | 2 +- .../Implementation/DateTimePart.cs | 2 +- .../Implementation/DateTimeUpDown.cs | 4 +- .../Themes/Aero2.NormalColor.xaml | 2 +- .../DateTimeUpDown/Themes/Generic.xaml | 2 +- .../Implementation/DropDownButton.cs | 21 +- .../Themes/Aero2.NormalColor.xaml | 2 +- .../DropDownButton/Themes/Generic.xaml | 2 +- .../Implementation/TabItemEventArgs.cs | 13 +- .../IconButton/Implementation/IconButton.cs | 2 +- .../IconButton/Themes/Aero2.NormalColor.xaml | 2 +- .../IconButton/Themes/Generic.xaml | 2 +- .../Converters/RadiusConverter.cs | 2 +- .../Magnifier/Implementation/FrameType.cs | 2 +- .../Magnifier/Implementation/Magnifier.cs | 5 +- .../Implementation/MagnifierAdorner.cs | 2 +- .../Implementation/MagnifierManager.cs | 2 +- .../Magnifier/Themes/Generic.xaml | 2 +- .../AutoCompletingMaskEventArgs.cs | 2 +- .../Implementation/InsertKeyModeEnum.cs | 2 +- .../Implementation/MaskFormatEnum.cs | 2 +- .../Implementation/MaskedTextBox.cs | 2 +- .../MessageBox/Implementation/MessageBox.cs | 184 +-- .../Implementation/VisualStates.MessageBox.cs | 2 +- .../MessageBox/Themes/Aero2.NormalColor.xaml | 2 +- .../MessageBox/Themes/Generic.xaml | 2 +- .../Implementation/MultiLineTextEditor.cs | 2 +- .../Themes/Aero2.NormalColor.xaml | 2 +- .../MultiLineTextEditor/Themes/Generic.xaml | 2 +- .../AllowedSpecialValuesEnum.cs | 2 +- .../Implementation/ByteUpDown.cs | 2 +- .../Implementation/CommonNumericUpDown.cs | 2 +- .../Implementation/DecimalUpDown.cs | 2 +- .../Implementation/DoubleUpDown.cs | 2 +- .../Implementation/IntegerUpDown.cs | 2 +- .../Implementation/LongUpDown.cs | 2 +- .../Implementation/NumericUpDown.cs | 2 +- .../Implementation/SByteUpDown.cs | 2 +- .../Implementation/ShortUpDown.cs | 2 +- .../Implementation/SingleUpDown.cs | 2 +- .../Implementation/UIntegerUpDown.cs | 2 +- .../Implementation/ULongUpDown.cs | 2 +- .../Implementation/UShortUpDown.cs | 2 +- .../Themes/Aero2.NormalColor.xaml | 2 +- .../NumericUpDown/Themes/Generic.xaml | 2 +- .../Implementation/MaskedTextBox.cs | 5 +- .../Panels/AnimationPanel.cs | 2 +- .../Panels/AnimatorConverter.cs | 2 +- .../Src/Xceed.Wpf.Toolkit/Panels/Animators.cs | 2 +- .../Panels/ChildEnteredEventArgs.cs | 2 +- .../Panels/ChildEnteredEventHandler.cs | 2 +- .../Panels/ChildEnteringEventArgs.cs | 2 +- .../Panels/ChildEnteringEventHandler.cs | 2 +- .../Panels/ChildExitedEventArgs.cs | 2 +- .../Panels/ChildExitedEventHandler.cs | 2 +- .../Panels/ChildExitingEventArgs.cs | 2 +- .../Panels/ChildExitingEventHandler.cs | 2 +- .../Panels/DoubleAnimator.cs | 2 +- .../Panels/IterativeAnimator.cs | 2 +- .../Src/Xceed.Wpf.Toolkit/Panels/PanelBase.cs | 2 +- .../Xceed.Wpf.Toolkit/Panels/RandomPanel.cs | 2 +- .../Xceed.Wpf.Toolkit/Panels/ScrollHelper.cs | 2 +- .../Xceed.Wpf.Toolkit/Panels/SwitchPanel.cs | 2 +- .../Panels/SwitchPresenter.cs | 2 +- .../Panels/SwitchTemplate.cs | 2 +- .../Src/Xceed.Wpf.Toolkit/Panels/WrapPanel.cs | 2 +- .../Pie/Implementation/Pie.cs | 2 +- .../Pie/Implementation/PieModeEnum.cs | 2 +- .../Pie/Themes/Aero2.NormalColor.xaml | 2 +- .../Xceed.Wpf.Toolkit/Pie/Themes/Generic.xaml | 2 +- .../Primitives/CachedTextInfo.cs | 2 +- .../Primitives/DateTimePickerBase.cs | 2 +- .../Primitives/DateTimeUpDownBase.cs | 2 +- .../Xceed.Wpf.Toolkit/Primitives/HsvColor.cs | 2 +- .../Xceed.Wpf.Toolkit/Primitives/InputBase.cs | 2 +- .../Primitives/MouseWheelActiveTriggerEnum.cs | 5 +- .../Primitives/SelectAllSelector.cs | 32 +- .../Primitives/SelectAllSelectorItem.cs | 2 +- .../Xceed.Wpf.Toolkit/Primitives/Selector.cs | 55 +- .../Primitives/SelectorItem.cs | 2 +- .../Xceed.Wpf.Toolkit/Primitives/ShapeBase.cs | 2 +- .../Primitives/Themes/Aero2/SelectorItem.xaml | 2 +- .../Themes/Aero2/WindowControl.xaml | 2 +- .../Themes/Generic/SelectorItem.xaml | 2 +- .../Themes/Generic/WindowControl.xaml | 2 +- .../Primitives/Themes/ResourceKeys.cs | 2 +- .../Primitives/UpDownBase.cs | 53 +- .../Primitives/ValueRangeTextBox.cs | 2 +- .../Primitives/WindowContainer.cs | 15 +- .../Primitives/WindowControl.cs | 2 +- .../Properties/AssemblyInfo.cs | 5 +- .../Attributes/CategoryOrderAttribute.cs | 2 +- .../CategoryPropertyOrderAttribute.cs | 2 +- .../Attributes/ExpandableObjectAttribute.cs | 2 +- .../Implementation/Attributes/IItemsSource.cs | 2 +- .../Attributes/ItemsSourceAttribute.cs | 2 +- .../Attributes/NewItemTypesAttribute.cs | 7 +- .../Attributes/PropertyOrderAttribute.cs | 2 +- .../CategoryGroupStyleSelector.cs | 2 +- .../Commands/PropertyGridCommands.cs | 2 +- .../Commands/PropertyItemCommands.cs | 2 +- .../CommonPropertyExceptionValidationRule.cs | 2 +- .../Implementation/ContainerHelperBase.cs | 2 +- .../Converters/EditorTimeSpanConverter.cs | 8 +- .../ExpandableObjectMarginConverter.cs | 2 +- .../Converters/IsDefaultCategoryConverter.cs | 2 +- .../Converters/IsStringEmptyConverter.cs | 2 +- .../Converters/ListConverter.cs | 2 +- .../Converters/ObjectToUIElementConverter.cs | 2 +- .../Converters/PropertyItemEditorConverter.cs | 2 +- .../PropertyNameTextTrimmingConverter.cs | 2 +- .../Converters/SelectedObjectConverter.cs | 2 +- .../Implementation/CustomPropertyItem.cs | 9 +- .../Definitions/DefinitionBase.cs | 2 +- .../Definitions/EditorDefinitionBase.cs | 2 +- .../Definitions/EditorTemplateDefinition.cs | 2 +- .../Definitions/PropertyDefinitionBase.cs | 2 +- .../DescriptorPropertyDefinition.cs | 2 +- .../DescriptorPropertyDefinitionBase.cs | 2 +- .../Implementation/EditorDefinition.cs | 13 +- .../Implementation/Editors/CheckBoxEditor.cs | 2 +- .../Editors/CollectionEditor.cs | 2 +- .../Implementation/Editors/ColorEditor.cs | 2 +- .../Implementation/Editors/ComboBoxEditor.cs | 2 +- .../Editors/EnumCheckComboBoxEditor.cs | 2 +- .../Editors/EnumComboBoxEditor.cs | 2 +- .../Editors/FontComboBoxEditor.cs | 2 +- .../Implementation/Editors/ITypeEditor.cs | 2 +- .../Editors/ItemsSourceAttributeEditor.cs | 2 +- .../Editors/MaskedTextBoxEditor.cs | 2 +- .../Implementation/Editors/PasswordEditor.cs | 2 +- .../Editors/PrimitiveTypeCollectionEditor.cs | 2 +- .../Editors/SourceComboBoxEditor.cs | 2 +- .../Implementation/Editors/TextBlockEditor.cs | 2 +- .../Implementation/Editors/TextBoxEditor.cs | 2 +- .../Implementation/Editors/TypeEditor.cs | 2 +- .../Implementation/Editors/UpDownEditors.cs | 2 +- .../PropertyGrid/Implementation/FilterInfo.cs | 2 +- .../Implementation/IPropertyContainer.cs | 2 +- .../Implementation/ObjectContainerHelper.cs | 2 +- .../ObjectContainerHelperBase.cs | 2 +- .../Implementation/PropertyDefinition.cs | 2 +- .../PropertyDefinitionBaseCollection.cs | 2 +- .../Implementation/PropertyGrid.cs | 61 +- .../Implementation/PropertyGridContextMenu.cs | 2 +- .../Implementation/PropertyGridUtilities.cs | 2 +- .../Implementation/PropertyItem.cs | 8 +- .../Implementation/PropertyItemBase.cs | 11 +- .../Implementation/PropertyItemCollection.cs | 2 +- .../Implementation/PropertyItemsControl.cs | 7 +- .../Implementation/StringConstants.cs | 2 +- .../Implementation/TargetPropertyType.cs | 7 +- .../Implementation/TrimmedTextBlock.cs | 2 +- .../Themes/Aero2.NormalColor.xaml | 2 +- .../PropertyGrid/Themes/Generic.xaml | 2 +- .../Converters/SliderThumbWidthConverter.cs | 2 +- .../RangeSlider/Implementation/RangeSlider.cs | 61 +- .../RangeSlider/Themes/Aero2.NormalColor.xaml | 2 +- .../RangeSlider/Themes/Generic.xaml | 2 +- .../RichTextBox/Formatters/ITextFormatter.cs | 2 +- .../Formatters/PlainTextFormatter.cs | 5 +- .../RichTextBox/Formatters/RtfFormatter.cs | 5 +- .../RichTextBox/Formatters/XamlFormatter.cs | 5 +- .../RichTextBox/RichTextBox.cs | 5 +- .../IRichTextBoxFormatBar.cs | 11 +- .../RichTextBoxFormatBar.cs | 9 +- .../RichTextBoxFormatBarManager.cs | 21 +- .../Themes/Aero2.NormalColor.xaml | 2 +- .../RichTextBoxFormatBar/Themes/Generic.xaml | 2 +- .../SplitButton/Implementation/SplitButton.cs | 2 +- .../SplitButton/Themes/Aero2.NormalColor.xaml | 2 +- .../SplitButton/Themes/Generic.xaml | 2 +- .../StyleableWindowClippingBorderConverter.cs | 2 +- .../Themes/Aero.NormalColor.xaml | 2 +- .../Themes/Aero/Brushes_NormalColor.xaml | 2 +- .../Themes/Aero/Buttons_NormalColor.xaml | 2 +- .../Themes/Aero2.NormalColor.xaml | 2 +- .../Themes/Aero2/Brushes.xaml | 2 +- .../Themes/Aero2/Buttons.xaml | 2 +- .../Themes/Aero2/Common.xaml | 2 +- .../Themes/Aero2/Glyphs.xaml | 2 +- .../Src/Xceed.Wpf.Toolkit/Themes/Generic.xaml | 2 +- .../Themes/Generic/Brushes.xaml | 2 +- .../Themes/Generic/Buttons.xaml | 2 +- .../Themes/Generic/Common.xaml | 2 +- .../Themes/Generic/Glyphs.xaml | 2 +- .../Src/Xceed.Wpf.Toolkit/Themes/classic.xaml | 2 +- .../Themes/luna.homestead.xaml | 2 +- .../Themes/luna.metallic.xaml | 2 +- .../Themes/luna.normalcolor.xaml | 2 +- .../Themes/royale.normalcolor.xaml | 2 +- .../TimePicker/Implementation/TimeItem.cs | 2 +- .../TimePicker/Implementation/TimePicker.cs | 15 +- .../TimePicker/Themes/Aero2.NormalColor.xaml | 2 +- .../TimePicker/Themes/Generic.xaml | 2 +- .../Implementation/TimeSpanUpDown.cs | 2 +- .../Themes/Aero2.NormalColor.xaml | 2 +- .../TimeSpanUpDown/Themes/Generic.xaml | 2 +- .../Implementation/DateElement.cs | 2 +- .../Implementation/OverlapBehavior.cs | 2 +- .../Implementation/TimelinePanel.cs | 2 +- .../Utils/Exceptions/ThrowException.cs | 2 +- .../Utils/Licensing/LicenseOrigin.cs} | 75 +- .../Src/Xceed.Wpf.Toolkit/VisualStates.cs | 2 +- .../Implementation/WatermarkComboBox.cs | 2 +- .../Themes/Aero2.NormalColor.xaml | 2 +- .../WatermarkComboBox/Themes/Generic.xaml | 2 +- .../Implementation/WatermarkPasswordBox.cs | 2 +- .../Implementation/WatermarkTextBox.cs | 2 +- .../Themes/Aero2.NormalColor.xaml | 2 +- .../WatermarkTextBox/Themes/Generic.xaml | 2 +- .../Wizard/Implementation/Wizard.cs | 22 +- .../Wizard/Implementation/WizardCommands.cs | 2 +- .../Wizard/Implementation/WizardPage.cs | 2 +- .../WizardPageButtonVisibility.cs | 2 +- .../Wizard/Implementation/WizardPageType.cs | 2 +- .../Wizard/Themes/Aero2.NormalColor.xaml | 2 +- .../Wizard/Themes/Generic.xaml | 2 +- .../Xceed.Wpf.Toolkit.NET5.csproj | 1 + .../Xceed.Wpf.Toolkit.csproj | 1 + .../Zoombox/Themes/Aero2.NormalColor.xaml | 2 +- .../Zoombox/Themes/Generic.xaml | 2 +- .../Src/Xceed.Wpf.Toolkit/Zoombox/Zoombox.cs | 2 +- .../Zoombox/ZoomboxCursors.cs | 2 +- .../Xceed.Wpf.Toolkit/Zoombox/ZoomboxView.cs | 2 +- .../Zoombox/ZoomboxViewChangedEventArgs.cs | 2 +- .../Zoombox/ZoomboxViewChangedEventHandler.cs | 2 +- .../Zoombox/ZoomboxViewConverter.cs | 2 +- .../Zoombox/ZoomboxViewException.cs | 2 +- .../Zoombox/ZoomboxViewFinderDisplay.cs | 2 +- .../Zoombox/ZoomboxViewKind.cs | 2 +- .../Zoombox/ZoomboxViewStack.cs | 2 +- .../Zoombox/ZoomboxViewStackMode.cs | 2 +- .../Zoombox/ZoomboxZoomOn.cs | 2 +- 1013 files changed, 22518 insertions(+), 7834 deletions(-) delete mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DisplayLocalizationRes.fr.resx.txt delete mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DisplayLocalizationRes.resx.txt create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Core/ThemeBaseNames.cs create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/DataSources/Xceed.Wpf.Toolkit.LiveExplorer.NorthwindDataService.NorthwindEntities.datasource create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/Helpers/ThemeChoiceViewModel.cs create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/Helpers/ThemingSharedProperties.cs delete mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/AvalonDockMetroDark.png delete mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/AvalonDockMetroLight.png delete mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/AvalonDockOffice2007Black.png delete mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/AvalonDockOffice2007Blue.png delete mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/AvalonDockOffice2007Silver.png delete mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/AvalonDockWindows10.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/AvalonDock_Aero.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/AvalonDock_FluentDark.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/AvalonDock_FluentLight.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/AvalonDock_Generic.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/AvalonDock_Material.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/AvalonDock_Metro.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/AvalonDock_MetroDark.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/AvalonDock_MetroLight.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/AvalonDock_Office2007Black.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/AvalonDock_Office2007Blue.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/AvalonDock_Office2007Silver.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/AvalonDock_VS2010.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/AvalonDock_Windows10.png delete mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/CoreWPFControls.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Core_FluentDark.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Core_FluentLight.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Core_Material.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Core_MetroDark.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Core_MetroLight.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Core_Office2007Black.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Core_Office2007Blue.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Core_Office2007Silver.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Core_System.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Core_Windows10.png delete mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/DataGridControls.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/DataGrid_FluentDark.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/DataGrid_FluentLight.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/DataGrid_Material.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/DataGrid_MetroDark.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/DataGrid_MetroLight.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/DataGrid_Office2007Black.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/DataGrid_Office2007Blue.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/DataGrid_Office2007Silver.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/DataGrid_Windows10.png delete mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/ExtendedWPFToolkitControls.png delete mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/ListBoxControls.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/ListBox_FluentDark.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/ListBox_FluentLight.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/ListBox_LiveExplorer.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/ListBox_Material.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/ListBox_MediaPlayer.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/ListBox_MetroDark.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/ListBox_MetroLight.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/ListBox_Office2007Black.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/ListBox_Office2007Blue.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/ListBox_Office2007Silver.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/ListBox_System.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/ListBox_Windows10.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Toolkit_FluentDark.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Toolkit_FluentLight.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Toolkit_Material.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Toolkit_MetroDark.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Toolkit_MetroLight.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Toolkit_Office2007Black.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Toolkit_Office2007Blue.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Toolkit_Office2007Silver.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Toolkit_System.png create mode 100644 ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Theming/OpenSourceImages/Toolkit_Windows10.png rename ExtendedWPFToolkitSolution/Src/{Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialDemoView.cs.txt => Xceed.Wpf.Toolkit/Utils/Licensing/LicenseOrigin.cs} (64%) diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AeroColors.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AeroColors.cs index b9dc3961..5f8a3693 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AeroColors.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AeroColors.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AeroTheme.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AeroTheme.cs index 29e273eb..b1cf8e99 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AeroTheme.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AeroTheme.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Brushes.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Brushes.xaml index c3b55b6d..d9095b22 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Brushes.xaml +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Brushes.xaml @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Controls/SplineBorder.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Controls/SplineBorder.cs index b9d5be12..a98b770d 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Controls/SplineBorder.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Controls/SplineBorder.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -32,17 +32,10 @@ namespace Xceed.Wpf.AvalonDock.Themes.Controls #region Thickness - /// - /// Thickness Dependency Property - /// public static readonly DependencyProperty ThicknessProperty = DependencyProperty.Register( "Thickness", typeof( double ), typeof( SplineBorder ), new FrameworkPropertyMetadata( ( double )1.0, FrameworkPropertyMetadataOptions.AffectsRender ) ); - /// - /// Gets or sets the Thickness property. This dependency property - /// indicates the border thickness. - /// public double Thickness { get @@ -59,17 +52,10 @@ namespace Xceed.Wpf.AvalonDock.Themes.Controls #region Fill - /// - /// Fill Dependency Property - /// public static readonly DependencyProperty FillProperty = DependencyProperty.Register( "Fill", typeof( Brush ), typeof( SplineBorder ), new FrameworkPropertyMetadata( ( Brush )null, FrameworkPropertyMetadataOptions.AffectsRender ) ); - /// - /// Gets or sets the Fill property. This dependency property - /// indicates the fill color. - /// public Brush Fill { get @@ -86,17 +72,10 @@ namespace Xceed.Wpf.AvalonDock.Themes.Controls #region Stroke - /// - /// Stroke Dependency Property - /// public static readonly DependencyProperty StrokeProperty = DependencyProperty.Register( "Stroke", typeof( Brush ), typeof( SplineBorder ), new FrameworkPropertyMetadata( Brushes.Black, FrameworkPropertyMetadataOptions.AffectsRender ) ); - /// - /// Gets or sets the Stroke property. This dependency property - /// indicates the stroke brush. - /// public Brush Stroke { get @@ -113,17 +92,10 @@ namespace Xceed.Wpf.AvalonDock.Themes.Controls #region BottomBorderMargin - /// - /// BottomBorderMargin Dependency Property - /// public static readonly DependencyProperty BottomBorderMarginProperty = DependencyProperty.Register( "BottomBorderMargin", typeof( double ), typeof( SplineBorder ), new FrameworkPropertyMetadata( ( double )0.0, FrameworkPropertyMetadataOptions.AffectsRender ) ); - /// - /// Gets or sets the BottomBorderMargin property. This dependency property - /// indicates the adjustment for the bottom margin. - /// public double BottomBorderMargin { get diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Properties/AssemblyInfo.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Properties/AssemblyInfo.cs index 8ddfc22d..0600bfd9 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Properties/AssemblyInfo.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Properties/AssemblyInfo.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Theme.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Theme.xaml index c8790d43..bbb15fb2 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Theme.xaml +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Theme.xaml @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Brushes.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Brushes.xaml index d512c2e6..dfe25d3d 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Brushes.xaml +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Brushes.xaml @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/MetroTheme.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/MetroTheme.cs index b3c6eacd..a388d569 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/MetroTheme.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/MetroTheme.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Properties/AssemblyInfo.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Properties/AssemblyInfo.cs index f0df5680..8219158b 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Properties/AssemblyInfo.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Properties/AssemblyInfo.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Theme.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Theme.xaml index 9af2c16c..d3310fc3 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Theme.xaml +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Theme.xaml @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Brushes.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Brushes.xaml index fc60125e..61b570eb 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Brushes.xaml +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Brushes.xaml @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Properties/AssemblyInfo.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Properties/AssemblyInfo.cs index 8bf0f9f8..50730abf 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Properties/AssemblyInfo.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Properties/AssemblyInfo.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Theme.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Theme.xaml index 927d2f5b..b07c17f2 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Theme.xaml +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Theme.xaml @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/VS2010Theme.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/VS2010Theme.cs index 0f01c239..27597e24 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/VS2010Theme.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/VS2010Theme.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Commands/RelayCommand.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Commands/RelayCommand.cs index 7def2607..5e8f63c3 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Commands/RelayCommand.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Commands/RelayCommand.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneControlOverlayArea.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneControlOverlayArea.cs index 0135766b..d301450e 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneControlOverlayArea.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneControlOverlayArea.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneDropTarget.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneDropTarget.cs index c4ded83e..bc8fb85d 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneDropTarget.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneDropTarget.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneTabPanel.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneTabPanel.cs index 2160a7a7..943940a6 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneTabPanel.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneTabPanel.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneTitle.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneTitle.cs index ffdea2f6..36cca34d 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneTitle.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AnchorablePaneTitle.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -50,16 +50,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region Model - /// - /// Model Dependency Property - /// public static readonly DependencyProperty ModelProperty = DependencyProperty.Register( "Model", typeof( LayoutAnchorable ), typeof( AnchorablePaneTitle ), new FrameworkPropertyMetadata( ( LayoutAnchorable )null, new PropertyChangedCallback( _OnModelChanged ) ) ); - /// - /// Gets or sets the Model property. This dependency property - /// indicates model attached to this view. - /// public LayoutAnchorable Model { get @@ -77,9 +70,6 @@ namespace Xceed.Wpf.AvalonDock.Controls ( ( AnchorablePaneTitle )sender ).OnModelChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the Model property. - /// protected virtual void OnModelChanged( DependencyPropertyChangedEventArgs e ) { if( Model != null ) @@ -96,18 +86,11 @@ namespace Xceed.Wpf.AvalonDock.Controls #region LayoutItem - /// - /// LayoutItem Read-Only Dependency Property - /// private static readonly DependencyPropertyKey LayoutItemPropertyKey = DependencyProperty.RegisterReadOnly( "LayoutItem", typeof( LayoutItem ), typeof( AnchorablePaneTitle ), new FrameworkPropertyMetadata( ( LayoutItem )null ) ); public static readonly DependencyProperty LayoutItemProperty = LayoutItemPropertyKey.DependencyProperty; - /// - /// Gets the LayoutItem property. This dependency property - /// indicates the LayoutItem attached to this tag item. - /// public LayoutItem LayoutItem { get @@ -116,11 +99,6 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Provides a secure method for setting the LayoutItem property. - /// This dependency property indicates the LayoutItem attached to this tag item. - /// - /// The new value for the property. protected void SetLayoutItem( LayoutItem value ) { this.SetValue( LayoutItemPropertyKey, value ); diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AutoHideWindowManager.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AutoHideWindowManager.cs index 28d4d862..794bf195 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AutoHideWindowManager.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/AutoHideWindowManager.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/BindingHelper.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/BindingHelper.cs index fbd3d2de..47adf645 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/BindingHelper.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/BindingHelper.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/ContextMenuEx.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/ContextMenuEx.cs index 6936da99..d519493e 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/ContextMenuEx.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/ContextMenuEx.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DockingManagerDropTarget.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DockingManagerDropTarget.cs index 5d9ba5ca..fc242501 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DockingManagerDropTarget.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DockingManagerDropTarget.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DockingManagerOverlayArea.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DockingManagerOverlayArea.cs index 2e9d7ad1..89c43dd5 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DockingManagerOverlayArea.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DockingManagerOverlayArea.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneControlOverlayArea.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneControlOverlayArea.cs index ac806923..fcb3398c 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneControlOverlayArea.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneControlOverlayArea.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneDropAsAnchorableTarget.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneDropAsAnchorableTarget.cs index add66502..3ca0c82d 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneDropAsAnchorableTarget.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneDropAsAnchorableTarget.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneDropTarget.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneDropTarget.cs index 683d7326..f0641f83 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneDropTarget.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneDropTarget.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneGroupDropTarget.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneGroupDropTarget.cs index 74761643..b90fa9b0 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneGroupDropTarget.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneGroupDropTarget.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneTabPanel.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneTabPanel.cs index e7c83a69..3f99e67d 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneTabPanel.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneTabPanel.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DragService.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DragService.cs index 98162671..31ed465b 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DragService.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DragService.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropArea.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropArea.cs index 89eb4055..81e563e3 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropArea.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropArea.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropDownButton.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropDownButton.cs index ed514268..6e3d7ffe 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropDownButton.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropDownButton.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -36,16 +36,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region DropDownContextMenu - /// - /// DropDownContextMenu Dependency Property - /// public static readonly DependencyProperty DropDownContextMenuProperty = DependencyProperty.Register( "DropDownContextMenu", typeof( ContextMenu ), typeof( DropDownButton ), new FrameworkPropertyMetadata( ( ContextMenu )null, new PropertyChangedCallback( OnDropDownContextMenuChanged ) ) ); - /// - /// Gets or sets the DropDownContextMenu property. This dependency property - /// indicates drop down menu to show up when user click on an anchorable menu pin. - /// public ContextMenu DropDownContextMenu { get @@ -58,17 +51,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the DropDownContextMenu property. - /// private static void OnDropDownContextMenuChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DropDownButton )d ).OnDropDownContextMenuChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the DropDownContextMenu property. - /// protected virtual void OnDropDownContextMenuChanged( DependencyPropertyChangedEventArgs e ) { var oldContextMenu = e.OldValue as ContextMenu; @@ -80,16 +67,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region DropDownContextMenuDataContext - /// - /// DropDownContextMenuDataContext Dependency Property - /// public static readonly DependencyProperty DropDownContextMenuDataContextProperty = DependencyProperty.Register( "DropDownContextMenuDataContext", typeof( object ), typeof( DropDownButton ), new FrameworkPropertyMetadata( ( object )null ) ); - /// - /// Gets or sets the DropDownContextMenuDataContext property. This dependency property - /// indicates data context to set for drop down context menu. - /// public object DropDownContextMenuDataContext { get diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropDownControlArea.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropDownControlArea.cs index 594be3ca..315ec1a3 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropDownControlArea.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropDownControlArea.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -40,16 +40,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region DropDownContextMenu - /// - /// DropDownContextMenu Dependency Property - /// public static readonly DependencyProperty DropDownContextMenuProperty = DependencyProperty.Register( "DropDownContextMenu", typeof( ContextMenu ), typeof( DropDownControlArea ), new FrameworkPropertyMetadata( ( ContextMenu )null ) ); - /// - /// Gets or sets the DropDownContextMenu property. This dependency property - /// indicates context menu to show when a right click is detected over the area occpied by the control. - /// public ContextMenu DropDownContextMenu { get @@ -66,16 +59,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region DropDownContextMenuDataContext - /// - /// DropDownContextMenuDataContext Dependency Property - /// public static readonly DependencyProperty DropDownContextMenuDataContextProperty = DependencyProperty.Register( "DropDownContextMenuDataContext", typeof( object ), typeof( DropDownControlArea ), new FrameworkPropertyMetadata( ( object )null ) ); - /// - /// Gets or sets the DropDownContextMenuDataContext property. This dependency property - /// indicates data context to attach when context menu is shown. - /// public object DropDownContextMenuDataContext { get diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropTarget.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropTarget.cs index a3c5ab4d..a3912a83 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropTarget.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropTarget.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropTargetBase.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropTargetBase.cs index f0a732a3..23821b1a 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropTargetBase.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropTargetBase.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -25,25 +25,14 @@ namespace Xceed.Wpf.AvalonDock.Controls #region IsDraggingOver - /// - /// IsDraggingOver Attached Dependency Property - /// public static readonly DependencyProperty IsDraggingOverProperty = DependencyProperty.RegisterAttached( "IsDraggingOver", typeof( bool ), typeof( DropTargetBase ), new FrameworkPropertyMetadata( ( bool )false ) ); - /// - /// Gets the IsDraggingOver property. This dependency property - /// indicates if user is dragging a window over the target element. - /// public static bool GetIsDraggingOver( DependencyObject d ) { return ( bool )d.GetValue( IsDraggingOverProperty ); } - /// - /// Sets the IsDraggingOver property. This dependency property - /// indicates if user is dragging away a window from the target element. - /// public static void SetIsDraggingOver( DependencyObject d, bool value ) { d.SetValue( IsDraggingOverProperty, value ); diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropTargetType.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropTargetType.cs index 2e17c608..d989fb0f 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropTargetType.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DropTargetType.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Extentions.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Extentions.cs index faa6eaa3..6b0a5f7b 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Extentions.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Extentions.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/FocusElementManager.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/FocusElementManager.cs index 99597993..da7020c0 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/FocusElementManager.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/FocusElementManager.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -117,11 +117,6 @@ namespace Xceed.Wpf.AvalonDock.Controls } - /// - /// Get the input element that was focused before user left the layout element - /// - /// Element to look for - /// Input element internal static IInputElement GetLastFocusedElement( ILayoutElement model ) { IInputElement objectWithFocus; @@ -132,11 +127,6 @@ namespace Xceed.Wpf.AvalonDock.Controls } - /// - /// Get the last window handle focused before user left the element passed as argument - /// - /// - /// internal static IntPtr GetLastWindowHandle( ILayoutElement model ) { IntPtr handleWithFocus; @@ -146,10 +136,6 @@ namespace Xceed.Wpf.AvalonDock.Controls return IntPtr.Zero; } - /// - /// Given a layout element tries to set the focus of the keyword where it was before user moved to another element - /// - /// internal static void SetFocusOnLastElement( ILayoutElement model ) { bool focused = false; diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/FullWeakDictionary.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/FullWeakDictionary.cs index a3300e95..e7a1ec09 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/FullWeakDictionary.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/FullWeakDictionary.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IDropTarget.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IDropTarget.cs index ce2d6146..7cfac7d3 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IDropTarget.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IDropTarget.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IOverlayWindow.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IOverlayWindow.cs index 5521eed7..aa1dd87f 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IOverlayWindow.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IOverlayWindow.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IOverlayWindowArea.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IOverlayWindowArea.cs index f46952cf..2ebedc10 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IOverlayWindowArea.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IOverlayWindowArea.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IOverlayWindowDropTarget.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IOverlayWindowDropTarget.cs index f10e2f8a..f3b706a9 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IOverlayWindowDropTarget.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IOverlayWindowDropTarget.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IOverlayWindowHost.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IOverlayWindowHost.cs index d1bbe0cc..aee8063b 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IOverlayWindowHost.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/IOverlayWindowHost.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorControl.cs index 87df2564..082f4d8d 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorControl.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorControl.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -67,18 +67,11 @@ namespace Xceed.Wpf.AvalonDock.Controls #region Side - /// - /// Side Read-Only Dependency Property - /// private static readonly DependencyPropertyKey SidePropertyKey = DependencyProperty.RegisterReadOnly( "Side", typeof( AnchorSide ), typeof( LayoutAnchorControl ), new FrameworkPropertyMetadata( ( AnchorSide )AnchorSide.Left ) ); public static readonly DependencyProperty SideProperty = SidePropertyKey.DependencyProperty; - /// - /// Gets the Side property. This dependency property - /// indicates the anchor side of the control. - /// public AnchorSide Side { get @@ -87,11 +80,6 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Provides a secure method for setting the Side property. - /// This dependency property indicates the anchor side of the control. - /// - /// The new value for the property. protected void SetSide( AnchorSide value ) { SetValue( SidePropertyKey, value ); diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorGroupControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorGroupControl.cs index 25c35b79..1ff3d42e 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorGroupControl.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorGroupControl.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorSideControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorSideControl.cs index 3c020c13..e0445117 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorSideControl.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorSideControl.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -86,18 +86,11 @@ namespace Xceed.Wpf.AvalonDock.Controls #region IsLeftSide - /// - /// IsLeftSide Read-Only Dependency Property - /// private static readonly DependencyPropertyKey IsLeftSidePropertyKey = DependencyProperty.RegisterReadOnly( "IsLeftSide", typeof( bool ), typeof( LayoutAnchorSideControl ), new FrameworkPropertyMetadata( ( bool )false ) ); public static readonly DependencyProperty IsLeftSideProperty = IsLeftSidePropertyKey.DependencyProperty; - /// - /// Gets the IsLeftSide property. This dependency property - /// indicates this control is anchored to left side. - /// public bool IsLeftSide { get @@ -106,11 +99,6 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Provides a secure method for setting the IsLeftSide property. - /// This dependency property indicates this control is anchored to left side. - /// - /// The new value for the property. protected void SetIsLeftSide( bool value ) { SetValue( IsLeftSidePropertyKey, value ); @@ -120,18 +108,11 @@ namespace Xceed.Wpf.AvalonDock.Controls #region IsTopSide - /// - /// IsTopSide Read-Only Dependency Property - /// private static readonly DependencyPropertyKey IsTopSidePropertyKey = DependencyProperty.RegisterReadOnly( "IsTopSide", typeof( bool ), typeof( LayoutAnchorSideControl ), new FrameworkPropertyMetadata( ( bool )false ) ); public static readonly DependencyProperty IsTopSideProperty = IsTopSidePropertyKey.DependencyProperty; - /// - /// Gets the IsTopSide property. This dependency property - /// indicates this control is anchored to top side. - /// public bool IsTopSide { get @@ -140,11 +121,6 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Provides a secure method for setting the IsTopSide property. - /// This dependency property indicates this control is anchored to top side. - /// - /// The new value for the property. protected void SetIsTopSide( bool value ) { SetValue( IsTopSidePropertyKey, value ); @@ -154,18 +130,11 @@ namespace Xceed.Wpf.AvalonDock.Controls #region IsRightSide - /// - /// IsRightSide Read-Only Dependency Property - /// private static readonly DependencyPropertyKey IsRightSidePropertyKey = DependencyProperty.RegisterReadOnly( "IsRightSide", typeof( bool ), typeof( LayoutAnchorSideControl ), new FrameworkPropertyMetadata( ( bool )false ) ); public static readonly DependencyProperty IsRightSideProperty = IsRightSidePropertyKey.DependencyProperty; - /// - /// Gets the IsRightSide property. This dependency property - /// indicates this control is anchored to right side. - /// public bool IsRightSide { get @@ -174,11 +143,6 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Provides a secure method for setting the IsRightSide property. - /// This dependency property indicates this control is anchored to right side. - /// - /// The new value for the property. protected void SetIsRightSide( bool value ) { SetValue( IsRightSidePropertyKey, value ); @@ -188,18 +152,11 @@ namespace Xceed.Wpf.AvalonDock.Controls #region IsBottomSide - /// - /// IsBottomSide Read-Only Dependency Property - /// private static readonly DependencyPropertyKey IsBottomSidePropertyKey = DependencyProperty.RegisterReadOnly( "IsBottomSide", typeof( bool ), typeof( LayoutAnchorSideControl ), new FrameworkPropertyMetadata( ( bool )false ) ); public static readonly DependencyProperty IsBottomSideProperty = IsBottomSidePropertyKey.DependencyProperty; - /// - /// Gets the IsBottomSide property. This dependency property - /// indicates if this panel is anchored to bottom side. - /// public bool IsBottomSide { get @@ -208,11 +165,6 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Provides a secure method for setting the IsBottomSide property. - /// This dependency property indicates if this panel is anchored to bottom side. - /// - /// The new value for the property. protected void SetIsBottomSide( bool value ) { SetValue( IsBottomSidePropertyKey, value ); diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableControl.cs index eaad3349..2f8fc4e1 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableControl.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableControl.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -42,16 +42,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region Model - /// - /// Model Dependency Property - /// public static readonly DependencyProperty ModelProperty = DependencyProperty.Register( "Model", typeof( LayoutAnchorable ), typeof( LayoutAnchorableControl ), new FrameworkPropertyMetadata( ( LayoutAnchorable )null, new PropertyChangedCallback( OnModelChanged ) ) ); - /// - /// Gets or sets the Model property. This dependency property - /// indicates the model attached to this view. - /// public LayoutAnchorable Model { get @@ -64,17 +57,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the Model property. - /// private static void OnModelChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutAnchorableControl )d ).OnModelChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the Model property. - /// protected virtual void OnModelChanged( DependencyPropertyChangedEventArgs e ) { if( e.OldValue != null ) @@ -115,18 +102,11 @@ namespace Xceed.Wpf.AvalonDock.Controls #region LayoutItem - /// - /// LayoutItem Read-Only Dependency Property - /// private static readonly DependencyPropertyKey LayoutItemPropertyKey = DependencyProperty.RegisterReadOnly( "LayoutItem", typeof( LayoutItem ), typeof( LayoutAnchorableControl ), new FrameworkPropertyMetadata( ( LayoutItem )null ) ); public static readonly DependencyProperty LayoutItemProperty = LayoutItemPropertyKey.DependencyProperty; - /// - /// Gets the LayoutItem property. This dependency property - /// indicates the LayoutItem attached to this tag item. - /// public LayoutItem LayoutItem { get @@ -135,11 +115,6 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Provides a secure method for setting the LayoutItem property. - /// This dependency property indicates the LayoutItem attached to this tag item. - /// - /// The new value for the property. protected void SetLayoutItem( LayoutItem value ) { this.SetValue( LayoutItemPropertyKey, value ); diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableFloatingWindowControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableFloatingWindowControl.cs index b8d3b7ee..8329a0ac 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableFloatingWindowControl.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableFloatingWindowControl.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -66,16 +66,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region SingleContentLayoutItem - /// - /// SingleContentLayoutItem Dependency Property - /// public static readonly DependencyProperty SingleContentLayoutItemProperty = DependencyProperty.Register( "SingleContentLayoutItem", typeof( LayoutItem ), typeof( LayoutAnchorableFloatingWindowControl ), new FrameworkPropertyMetadata( ( LayoutItem )null, new PropertyChangedCallback( OnSingleContentLayoutItemChanged ) ) ); - /// - /// Gets or sets the SingleContentLayoutItem property. This dependency property - /// indicates the layout item of the selected content when is shown a single anchorable pane. - /// public LayoutItem SingleContentLayoutItem { get @@ -88,17 +81,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the SingleContentLayoutItem property. - /// private static void OnSingleContentLayoutItemChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutAnchorableFloatingWindowControl )d ).OnSingleContentLayoutItemChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the SingleContentLayoutItem property. - /// protected virtual void OnSingleContentLayoutItemChanged( DependencyPropertyChangedEventArgs e ) { } diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableItem.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableItem.cs index adc07526..5fa97d15 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableItem.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableItem.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -48,16 +48,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region HideCommand - /// - /// HideCommand Dependency Property - /// public static readonly DependencyProperty HideCommandProperty = DependencyProperty.Register( "HideCommand", typeof( ICommand ), typeof( LayoutAnchorableItem ), new FrameworkPropertyMetadata( null, new PropertyChangedCallback( OnHideCommandChanged ), new CoerceValueCallback( CoerceHideCommandValue ) ) ); - /// - /// Gets or sets the HideCommand property. This dependency property - /// indicates the command to execute when an anchorable is hidden. - /// public ICommand HideCommand { get @@ -70,24 +63,15 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the HideCommand property. - /// private static void OnHideCommandChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutAnchorableItem )d ).OnHideCommandChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the HideCommand property. - /// protected virtual void OnHideCommandChanged( DependencyPropertyChangedEventArgs e ) { } - /// - /// Coerces the HideCommand value. - /// private static object CoerceHideCommandValue( DependencyObject d, object value ) { return value; @@ -110,17 +94,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region AutoHideCommand - /// - /// AutoHideCommand Dependency Property - /// public static readonly DependencyProperty AutoHideCommandProperty = DependencyProperty.Register( "AutoHideCommand", typeof( ICommand ), typeof( LayoutAnchorableItem ), new FrameworkPropertyMetadata( null, new PropertyChangedCallback( OnAutoHideCommandChanged ), new CoerceValueCallback( CoerceAutoHideCommandValue ) ) ); - /// - /// Gets or sets the AutoHideCommand property. This dependency property - /// indicates the command to execute when user click the auto hide button. - /// - /// By default this command toggles auto hide state for an anchorable. public ICommand AutoHideCommand { get @@ -133,24 +109,15 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the AutoHideCommand property. - /// private static void OnAutoHideCommandChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutAnchorableItem )d ).OnAutoHideCommandChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the AutoHideCommand property. - /// protected virtual void OnAutoHideCommandChanged( DependencyPropertyChangedEventArgs e ) { } - /// - /// Coerces the AutoHideCommand value. - /// private static object CoerceAutoHideCommandValue( DependencyObject d, object value ) { return value; @@ -177,17 +144,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region DockCommand - /// - /// DockCommand Dependency Property - /// public static readonly DependencyProperty DockCommandProperty = DependencyProperty.Register( "DockCommand", typeof( ICommand ), typeof( LayoutAnchorableItem ), new FrameworkPropertyMetadata( null, new PropertyChangedCallback( OnDockCommandChanged ), new CoerceValueCallback( CoerceDockCommandValue ) ) ); - /// - /// Gets or sets the DockCommand property. This dependency property - /// indicates the command to execute when user click the Dock button. - /// - /// By default this command moves the anchorable inside the container pane which previously hosted the object. public ICommand DockCommand { get @@ -200,24 +159,15 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the DockCommand property. - /// private static void OnDockCommandChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutAnchorableItem )d ).OnDockCommandChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the DockCommand property. - /// protected virtual void OnDockCommandChanged( DependencyPropertyChangedEventArgs e ) { } - /// - /// Coerces the DockCommand value. - /// private static object CoerceDockCommandValue( DependencyObject d, object value ) { return value; @@ -239,16 +189,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region CanHide - /// - /// CanHide Dependency Property - /// public static readonly DependencyProperty CanHideProperty = DependencyProperty.Register( "CanHide", typeof( bool ), typeof( LayoutAnchorableItem ), new FrameworkPropertyMetadata( ( bool )true, new PropertyChangedCallback( OnCanHideChanged ) ) ); - /// - /// Gets or sets the CanHide property. This dependency property - /// indicates if user can hide the anchorable item. - /// public bool CanHide { get @@ -261,17 +204,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the CanHide property. - /// private static void OnCanHideChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutAnchorableItem )d ).OnCanHideChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the CanHide property. - /// protected virtual void OnCanHideChanged( DependencyPropertyChangedEventArgs e ) { if( _anchorable != null ) diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorablePaneControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorablePaneControl.cs index 6dc97eb7..0794c9b6 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorablePaneControl.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorablePaneControl.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorablePaneGroupControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorablePaneGroupControl.cs index a51c9a3f..6c5bb989 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorablePaneGroupControl.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorablePaneGroupControl.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableTabItem.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableTabItem.cs index 99a908e0..d935847e 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableTabItem.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableTabItem.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -60,16 +60,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region Model - /// - /// Model Dependency Property - /// public static readonly DependencyProperty ModelProperty = DependencyProperty.Register( "Model", typeof( LayoutContent ), typeof( LayoutAnchorableTabItem ), new FrameworkPropertyMetadata( ( LayoutContent )null, new PropertyChangedCallback( OnModelChanged ) ) ); - /// - /// Gets or sets the Model property. This dependency property - /// indicates model attached to the anchorable tab item. - /// public LayoutContent Model { get @@ -82,17 +75,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the Model property. - /// private static void OnModelChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutAnchorableTabItem )d ).OnModelChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the Model property. - /// protected virtual void OnModelChanged( DependencyPropertyChangedEventArgs e ) { if( Model != null ) @@ -106,18 +93,11 @@ namespace Xceed.Wpf.AvalonDock.Controls #region LayoutItem - /// - /// LayoutItem Read-Only Dependency Property - /// private static readonly DependencyPropertyKey LayoutItemPropertyKey = DependencyProperty.RegisterReadOnly( "LayoutItem", typeof( LayoutItem ), typeof( LayoutAnchorableTabItem ), new FrameworkPropertyMetadata( ( LayoutItem )null ) ); public static readonly DependencyProperty LayoutItemProperty = LayoutItemPropertyKey.DependencyProperty; - /// - /// Gets the LayoutItem property. This dependency property - /// indicates the LayoutItem attached to this tag item. - /// public LayoutItem LayoutItem { get @@ -126,11 +106,6 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Provides a secure method for setting the LayoutItem property. - /// This dependency property indicates the LayoutItem attached to this tag item. - /// - /// The new value for the property. protected void SetLayoutItem( LayoutItem value ) { SetValue( LayoutItemPropertyKey, value ); diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAutoHideWindowControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAutoHideWindowControl.cs index c95f0498..0061ad16 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAutoHideWindowControl.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAutoHideWindowControl.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -69,16 +69,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region AnchorableStyle - /// - /// AnchorableStyle Dependency Property - /// public static readonly DependencyProperty AnchorableStyleProperty = DependencyProperty.Register( "AnchorableStyle", typeof( Style ), typeof( LayoutAutoHideWindowControl ), new FrameworkPropertyMetadata( ( Style )null ) ); - /// - /// Gets or sets the AnchorableStyle property. This dependency property - /// indicates the style to apply to the LayoutAnchorableControl hosted in this auto hide window. - /// public Style AnchorableStyle { get @@ -95,16 +88,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region Background - /// - /// Background Dependency Property - /// public static readonly DependencyProperty BackgroundProperty = DependencyProperty.Register( "Background", typeof( Brush ), typeof( LayoutAutoHideWindowControl ), new FrameworkPropertyMetadata( ( Brush )null ) ); - /// - /// Gets or sets the Background property. This dependency property - /// indicates background of the autohide childwindow. - /// public Brush Background { get diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutCachePaneControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutCachePaneControl.cs index 733d6518..6073512d 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutCachePaneControl.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutCachePaneControl.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentControl.cs index ab5b8a8b..cb2f395f 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentControl.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentControl.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -42,16 +42,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region Model - /// - /// Model Dependency Property - /// public static readonly DependencyProperty ModelProperty = DependencyProperty.Register( "Model", typeof( LayoutContent ), typeof( LayoutDocumentControl ), new FrameworkPropertyMetadata( null, OnModelChanged ) ); - /// - /// Gets or sets the Model property. This dependency property - /// indicates the model attached to this view. - /// public LayoutContent Model { get @@ -64,17 +57,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the Model property. - /// private static void OnModelChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutDocumentControl )d ).OnModelChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the Model property. - /// protected virtual void OnModelChanged( DependencyPropertyChangedEventArgs e ) { if( e.OldValue != null ) @@ -115,18 +102,11 @@ namespace Xceed.Wpf.AvalonDock.Controls #region LayoutItem - /// - /// LayoutItem Read-Only Dependency Property - /// private static readonly DependencyPropertyKey LayoutItemPropertyKey = DependencyProperty.RegisterReadOnly( "LayoutItem", typeof( LayoutItem ), typeof( LayoutDocumentControl ), new FrameworkPropertyMetadata( ( LayoutItem )null ) ); public static readonly DependencyProperty LayoutItemProperty = LayoutItemPropertyKey.DependencyProperty; - /// - /// Gets the LayoutItem property. This dependency property - /// indicates the LayoutItem attached to this tag item. - /// public LayoutItem LayoutItem { get @@ -135,11 +115,6 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Provides a secure method for setting the LayoutItem property. - /// This dependency property indicates the LayoutItem attached to this tag item. - /// - /// The new value for the property. protected void SetLayoutItem( LayoutItem value ) { SetValue( LayoutItemPropertyKey, value ); diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentFloatingWindowControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentFloatingWindowControl.cs index aa537acd..a162f1e8 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentFloatingWindowControl.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentFloatingWindowControl.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentItem.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentItem.cs index 3945011f..212d97bb 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentItem.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentItem.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -43,16 +43,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region Description - /// - /// Description Dependency Property - /// public static readonly DependencyProperty DescriptionProperty = DependencyProperty.Register( "Description", typeof( string ), typeof( LayoutDocumentItem ), new FrameworkPropertyMetadata( ( string )null, new PropertyChangedCallback( OnDescriptionChanged ) ) ); - /// - /// Gets or sets the Description property. This dependency property - /// indicates the description to display for the document item. - /// public string Description { get @@ -65,17 +58,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the Description property. - /// private static void OnDescriptionChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutDocumentItem )d ).OnDescriptionChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the Description property. - /// protected virtual void OnDescriptionChanged( DependencyPropertyChangedEventArgs e ) { _document.Description = ( string )e.NewValue; diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentPaneControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentPaneControl.cs index b8c0bce6..8cd98fc6 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentPaneControl.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentPaneControl.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentPaneGroupControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentPaneGroupControl.cs index 220060a3..2a14267c 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentPaneGroupControl.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentPaneGroupControl.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentTabItem.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentTabItem.cs index b4403932..4c0b6839 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentTabItem.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentTabItem.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -61,16 +61,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region Model - /// - /// Model Dependency Property - /// public static readonly DependencyProperty ModelProperty = DependencyProperty.Register( "Model", typeof( LayoutContent ), typeof( LayoutDocumentTabItem ), new FrameworkPropertyMetadata( ( LayoutContent )null, new PropertyChangedCallback( OnModelChanged ) ) ); - /// - /// Gets or sets the Model property. This dependency property - /// indicates the layout content model attached to the tab item. - /// public LayoutContent Model { get @@ -83,18 +76,12 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the Model property. - /// private static void OnModelChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutDocumentTabItem )d ).OnModelChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the Model property. - /// protected virtual void OnModelChanged( DependencyPropertyChangedEventArgs e ) { if( ( this.Model != null ) && ( this.Model.Root != null ) && ( this.Model.Root.Manager != null ) ) @@ -107,18 +94,11 @@ namespace Xceed.Wpf.AvalonDock.Controls #region LayoutItem - /// - /// LayoutItem Read-Only Dependency Property - /// private static readonly DependencyPropertyKey LayoutItemPropertyKey = DependencyProperty.RegisterReadOnly( "LayoutItem", typeof( LayoutItem ), typeof( LayoutDocumentTabItem ), new FrameworkPropertyMetadata( ( LayoutItem )null ) ); public static readonly DependencyProperty LayoutItemProperty = LayoutItemPropertyKey.DependencyProperty; - /// - /// Gets the LayoutItem property. This dependency property - /// indicates the LayoutItem attached to this tag item. - /// public LayoutItem LayoutItem { get @@ -127,11 +107,6 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Provides a secure method for setting the LayoutItem property. - /// This dependency property indicates the LayoutItem attached to this tag item. - /// - /// The new value for the property. protected void SetLayoutItem( LayoutItem value ) { SetValue( LayoutItemPropertyKey, value ); diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutFloatingWindowControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutFloatingWindowControl.cs index e9ac0d80..b31f3d55 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutFloatingWindowControl.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutFloatingWindowControl.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -82,16 +82,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region IsContentImmutable - /// - /// IsContentImmutable Dependency Property - /// public static readonly DependencyProperty IsContentImmutableProperty = DependencyProperty.Register( "IsContentImmutable", typeof( bool ), typeof( LayoutFloatingWindowControl ), new FrameworkPropertyMetadata( ( bool )false ) ); - /// - /// Gets/sets the IsContentImmutable property. This dependency property - /// indicates if the content can be modified. - /// public bool IsContentImmutable { get @@ -108,18 +101,11 @@ namespace Xceed.Wpf.AvalonDock.Controls #region IsDragging - /// - /// IsDragging Read-Only Dependency Property - /// private static readonly DependencyPropertyKey IsDraggingPropertyKey = DependencyProperty.RegisterReadOnly( "IsDragging", typeof( bool ), typeof( LayoutFloatingWindowControl ), new FrameworkPropertyMetadata( ( bool )false, new PropertyChangedCallback( OnIsDraggingChanged ) ) ); public static readonly DependencyProperty IsDraggingProperty = IsDraggingPropertyKey.DependencyProperty; - /// - /// Gets the IsDragging property. This dependency property - /// indicates that this floating window is being dragged. - /// public bool IsDragging { get @@ -128,27 +114,16 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Provides a secure method for setting the IsDragging property. - /// This dependency property indicates that this floating window is being dragged. - /// - /// The new value for the property. protected void SetIsDragging( bool value ) { SetValue( IsDraggingPropertyKey, value ); } - /// - /// Handles changes to the IsDragging property. - /// private static void OnIsDraggingChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutFloatingWindowControl )d ).OnIsDraggingChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the IsDragging property. - /// protected virtual void OnIsDraggingChanged( DependencyPropertyChangedEventArgs e ) { if( ( bool )e.NewValue ) @@ -187,16 +162,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region IsMaximized - /// - /// IsMaximized Dependency Property - /// public static readonly DependencyProperty IsMaximizedProperty = DependencyProperty.Register( "IsMaximized", typeof( bool ), typeof( LayoutFloatingWindowControl ), new FrameworkPropertyMetadata( ( bool )false ) ); - /// - /// Gets/sets the IsMaximized property. This dependency property - /// indicates if the window is maximized. - /// public bool IsMaximized { get @@ -210,11 +178,6 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Provides a secure method for setting the IsMaximized property. - /// This dependency property indicates if the window is maximized. - /// - /// The new value for the property. protected override void OnStateChanged( EventArgs e ) { @@ -245,19 +208,12 @@ namespace Xceed.Wpf.AvalonDock.Controls #region ResizeBorderThickness - /// - /// ResizeBorderThickness Dependency Property - /// public static readonly DependencyProperty ResizeBorderThicknessProperty = DependencyProperty.Register( "ResizeBorderThickness", typeof( Thickness ), typeof( LayoutFloatingWindowControl ), new FrameworkPropertyMetadata( new Thickness( 10 ) ) ); - /// - /// Gets or sets the LayoutDocumentFloatingWindowControl/LayoutAnchorableFloatingWindowControl resize icon Border Thickness property. - /// This dependency property makes it possible to increase the resize icon border of floating windows. - /// public Thickness ResizeBorderThickness { get diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutGridControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutGridControl.cs index bf2e362c..23882a65 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutGridControl.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutGridControl.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutGridResizerControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutGridResizerControl.cs index 7772fb73..9fb8b982 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutGridResizerControl.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutGridResizerControl.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -42,16 +42,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region BackgroundWhileDragging - /// - /// BackgroundWhileDragging Dependency Property - /// public static readonly DependencyProperty BackgroundWhileDraggingProperty = DependencyProperty.Register( "BackgroundWhileDragging", typeof( Brush ), typeof( LayoutGridResizerControl ), new FrameworkPropertyMetadata( ( Brush )Brushes.Black ) ); - /// - /// Gets or sets the BackgroundWhileDragging property. This dependency property - /// indicates .... - /// public Brush BackgroundWhileDragging { get @@ -68,16 +61,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region OpacityWhileDragging - /// - /// OpacityWhileDragging Dependency Property - /// public static readonly DependencyProperty OpacityWhileDraggingProperty = DependencyProperty.Register( "OpacityWhileDragging", typeof( double ), typeof( LayoutGridResizerControl ), new FrameworkPropertyMetadata( ( double )0.5 ) ); - /// - /// Gets or sets the OpacityWhileDragging property. This dependency property - /// indicates .... - /// public double OpacityWhileDragging { get diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutItem.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutItem.cs index ec03f39c..661a3dab 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutItem.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutItem.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -114,16 +114,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region Title - /// - /// Title Dependency Property - /// public static readonly DependencyProperty TitleProperty = DependencyProperty.Register( "Title", typeof( string ), typeof( LayoutItem ), new FrameworkPropertyMetadata( ( string )null, new PropertyChangedCallback( OnTitleChanged ) ) ); - /// - /// Gets or sets the Title property. This dependency property - /// indicates the title of the element. - /// public string Title { get @@ -136,17 +129,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the Title property. - /// private static void OnTitleChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutItem )d ).OnTitleChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the Title property. - /// protected virtual void OnTitleChanged( DependencyPropertyChangedEventArgs e ) { if( LayoutElement != null ) @@ -157,16 +144,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region IconSource - /// - /// IconSource Dependency Property - /// public static readonly DependencyProperty IconSourceProperty = DependencyProperty.Register( "IconSource", typeof( ImageSource ), typeof( LayoutItem ), new FrameworkPropertyMetadata( ( ImageSource )null, new PropertyChangedCallback( OnIconSourceChanged ) ) ); - /// - /// Gets or sets the IconSource property. This dependency property - /// indicates icon associated with the item. - /// public ImageSource IconSource { get @@ -179,17 +159,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the IconSource property. - /// private static void OnIconSourceChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutItem )d ).OnIconSourceChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the IconSource property. - /// protected virtual void OnIconSourceChanged( DependencyPropertyChangedEventArgs e ) { if( LayoutElement != null ) @@ -200,16 +174,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region ContentId - /// - /// ContentId Dependency Property - /// public static readonly DependencyProperty ContentIdProperty = DependencyProperty.Register( "ContentId", typeof( string ), typeof( LayoutItem ), new FrameworkPropertyMetadata( ( string )null, new PropertyChangedCallback( OnContentIdChanged ) ) ); - /// - /// Gets or sets the ContentId property. This dependency property - /// indicates the content id used to retrive content when deserializing layouts. - /// public string ContentId { get @@ -222,17 +189,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the ContentId property. - /// private static void OnContentIdChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutItem )d ).OnContentIdChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the ContentId property. - /// protected virtual void OnContentIdChanged( DependencyPropertyChangedEventArgs e ) { if( LayoutElement != null ) @@ -243,16 +204,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region IsSelected - /// - /// IsSelected Dependency Property - /// public static readonly DependencyProperty IsSelectedProperty = DependencyProperty.Register( "IsSelected", typeof( bool ), typeof( LayoutItem ), new FrameworkPropertyMetadata( ( bool )false, new PropertyChangedCallback( OnIsSelectedChanged ) ) ); - /// - /// Gets or sets the IsSelected property. This dependency property - /// indicates if the item is selected inside its container. - /// public bool IsSelected { get @@ -265,17 +219,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the IsSelected property. - /// private static void OnIsSelectedChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutItem )d ).OnIsSelectedChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the IsSelected property. - /// protected virtual void OnIsSelectedChanged( DependencyPropertyChangedEventArgs e ) { if( _isSelectedReentrantFlag.CanEnter ) @@ -292,16 +240,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region IsActive - /// - /// IsActive Dependency Property - /// public static readonly DependencyProperty IsActiveProperty = DependencyProperty.Register( "IsActive", typeof( bool ), typeof( LayoutItem ), new FrameworkPropertyMetadata( ( bool )false, new PropertyChangedCallback( OnIsActiveChanged ) ) ); - /// - /// Gets or sets the IsActive property. This dependency property - /// indicates if the item is active in the UI. - /// public bool IsActive { get @@ -314,17 +255,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the IsActive property. - /// private static void OnIsActiveChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutItem )d ).OnIsActiveChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the IsActive property. - /// protected virtual void OnIsActiveChanged( DependencyPropertyChangedEventArgs e ) { if( _isActiveReentrantFlag.CanEnter ) @@ -355,16 +290,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region CanClose - /// - /// CanClose Dependency Property - /// public static readonly DependencyProperty CanCloseProperty = DependencyProperty.Register( "CanClose", typeof( bool ), typeof( LayoutItem ), new FrameworkPropertyMetadata( ( bool )true, new PropertyChangedCallback( OnCanCloseChanged ) ) ); - /// - /// Gets or sets the CanClose property. This dependency property - /// indicates if the item can be closed. - /// public bool CanClose { get @@ -377,17 +305,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the CanClose property. - /// private static void OnCanCloseChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutItem )d ).OnCanCloseChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the CanClose property. - /// protected virtual void OnCanCloseChanged( DependencyPropertyChangedEventArgs e ) { if( LayoutElement != null ) @@ -398,16 +320,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region CanFloat - /// - /// CanFloat Dependency Property - /// public static readonly DependencyProperty CanFloatProperty = DependencyProperty.Register( "CanFloat", typeof( bool ), typeof( LayoutItem ), new FrameworkPropertyMetadata( ( bool )true, new PropertyChangedCallback( OnCanFloatChanged ) ) ); - /// - /// Gets or sets the CanFloat property. This dependency property - /// indicates if user can move the layout element dragging it to another position. - /// public bool CanFloat { get @@ -420,17 +335,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the CanFloat property. - /// private static void OnCanFloatChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutItem )d ).OnCanFloatChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the CanFloat property. - /// protected virtual void OnCanFloatChanged( DependencyPropertyChangedEventArgs e ) { if( LayoutElement != null ) @@ -441,16 +350,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region CloseCommand - /// - /// CloseCommand Dependency Property - /// public static readonly DependencyProperty CloseCommandProperty = DependencyProperty.Register( "CloseCommand", typeof( ICommand ), typeof( LayoutItem ), new FrameworkPropertyMetadata( null, new PropertyChangedCallback( OnCloseCommandChanged ), new CoerceValueCallback( CoerceCloseCommandValue ) ) ); - /// - /// Gets or sets the CloseCommand property. This dependency property - /// indicates the command to execute when user click the document close button. - /// public ICommand CloseCommand { get @@ -463,24 +365,15 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the CloseCommand property. - /// private static void OnCloseCommandChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutItem )d ).OnCloseCommandChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the CloseCommand property. - /// protected virtual void OnCloseCommandChanged( DependencyPropertyChangedEventArgs e ) { } - /// - /// Coerces the CloseCommand value. - /// private static object CoerceCloseCommandValue( DependencyObject d, object value ) { return value; @@ -502,17 +395,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #endregion #region FloatCommand - /// - /// FloatCommand Dependency Property - /// public static readonly DependencyProperty FloatCommandProperty = DependencyProperty.Register( "FloatCommand", typeof( ICommand ), typeof( LayoutItem ), new FrameworkPropertyMetadata( null, new PropertyChangedCallback( OnFloatCommandChanged ), new CoerceValueCallback( CoerceFloatCommandValue ) ) ); - /// - /// Gets or sets the FloatCommand property. This dependency property - /// indicates the command to execute when user click the float button. - /// - /// By default this command move the anchorable inside new floating window. public ICommand FloatCommand { get @@ -525,24 +410,15 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the FloatCommand property. - /// private static void OnFloatCommandChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutItem )d ).OnFloatCommandChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the FloatCommand property. - /// protected virtual void OnFloatCommandChanged( DependencyPropertyChangedEventArgs e ) { } - /// - /// Coerces the FloatCommand value. - /// private static object CoerceFloatCommandValue( DependencyObject d, object value ) { return value; @@ -574,17 +450,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region DockAsDocumentCommand - /// - /// DockAsDocumentCommand Dependency Property - /// public static readonly DependencyProperty DockAsDocumentCommandProperty = DependencyProperty.Register( "DockAsDocumentCommand", typeof( ICommand ), typeof( LayoutItem ), new FrameworkPropertyMetadata( null, new PropertyChangedCallback( OnDockAsDocumentCommandChanged ), new CoerceValueCallback( CoerceDockAsDocumentCommandValue ) ) ); - /// - /// Gets or sets the DockAsDocumentCommand property. This dependency property - /// indicates the command to execute when user click the DockAsDocument button. - /// - /// By default this command move the anchorable inside the last focused document pane. public ICommand DockAsDocumentCommand { get @@ -597,24 +465,15 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the DockAsDocumentCommand property. - /// private static void OnDockAsDocumentCommandChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutItem )d ).OnDockAsDocumentCommandChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the DockAsDocumentCommand property. - /// protected virtual void OnDockAsDocumentCommandChanged( DependencyPropertyChangedEventArgs e ) { } - /// - /// Coerces the DockAsDocumentCommand value. - /// private static object CoerceDockAsDocumentCommandValue( DependencyObject d, object value ) { return value; @@ -639,16 +498,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region CloseAllButThisCommand - /// - /// CloseAllButThisCommand Dependency Property - /// public static readonly DependencyProperty CloseAllButThisCommandProperty = DependencyProperty.Register( "CloseAllButThisCommand", typeof( ICommand ), typeof( LayoutItem ), new FrameworkPropertyMetadata( null, new PropertyChangedCallback( OnCloseAllButThisCommandChanged ), new CoerceValueCallback( CoerceCloseAllButThisCommandValue ) ) ); - /// - /// Gets or sets the CloseAllButThisCommand property. This dependency property - /// indicates the 'Close All But This' command. - /// public ICommand CloseAllButThisCommand { get @@ -661,24 +513,15 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the CloseAllButThisCommand property. - /// private static void OnCloseAllButThisCommandChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutItem )d ).OnCloseAllButThisCommandChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the CloseAllButThisCommand property. - /// protected virtual void OnCloseAllButThisCommandChanged( DependencyPropertyChangedEventArgs e ) { } - /// - /// Coerces the CloseAllButThisCommand value. - /// private static object CoerceCloseAllButThisCommandValue( DependencyObject d, object value ) { return value; @@ -705,16 +548,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region CloseAllCommand - /// - /// CloseAllCommand Dependency Property - /// public static readonly DependencyProperty CloseAllCommandProperty = DependencyProperty.Register( "CloseAllCommand", typeof( ICommand ), typeof( LayoutItem ), new FrameworkPropertyMetadata( null, new PropertyChangedCallback( OnCloseAllCommandChanged ), new CoerceValueCallback( CoerceCloseAllCommandValue ) ) ); - /// - /// Gets or sets the CloseAllCommand property. This dependency property - /// indicates the 'Close All' command. - /// public ICommand CloseAllCommand { get @@ -727,24 +563,15 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the CloseAllCommand property. - /// private static void OnCloseAllCommandChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutItem )d ).OnCloseAllCommandChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the CloseAllCommand property. - /// protected virtual void OnCloseAllCommandChanged( DependencyPropertyChangedEventArgs e ) { } - /// - /// Coerces the CloseAllCommand value. - /// private static object CoerceCloseAllCommandValue( DependencyObject d, object value ) { return value; @@ -771,16 +598,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region ActivateCommand - /// - /// ActivateCommand Dependency Property - /// public static readonly DependencyProperty ActivateCommandProperty = DependencyProperty.Register( "ActivateCommand", typeof( ICommand ), typeof( LayoutItem ), new FrameworkPropertyMetadata( null, new PropertyChangedCallback( OnActivateCommandChanged ), new CoerceValueCallback( CoerceActivateCommandValue ) ) ); - /// - /// Gets or sets the ActivateCommand property. This dependency property - /// indicates the command to execute when user wants to activate a content (either a Document or an Anchorable). - /// public ICommand ActivateCommand { get @@ -793,24 +613,15 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the ActivateCommand property. - /// private static void OnActivateCommandChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutItem )d ).OnActivateCommandChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the ActivateCommand property. - /// protected virtual void OnActivateCommandChanged( DependencyPropertyChangedEventArgs e ) { } - /// - /// Coerces the ActivateCommand value. - /// private static object CoerceActivateCommandValue( DependencyObject d, object value ) { return value; @@ -830,16 +641,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region NewVerticalTabGroupCommand - /// - /// NewVerticalTabGroupCommand Dependency Property - /// public static readonly DependencyProperty NewVerticalTabGroupCommandProperty = DependencyProperty.Register( "NewVerticalTabGroupCommand", typeof( ICommand ), typeof( LayoutItem ), new FrameworkPropertyMetadata( ( ICommand )null, new PropertyChangedCallback( OnNewVerticalTabGroupCommandChanged ) ) ); - /// - /// Gets or sets the NewVerticalTabGroupCommand property. This dependency property - /// indicates the new vertical tab group command. - /// public ICommand NewVerticalTabGroupCommand { get @@ -852,17 +656,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the NewVerticalTabGroupCommand property. - /// private static void OnNewVerticalTabGroupCommandChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutItem )d ).OnNewVerticalTabGroupCommandChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the NewVerticalTabGroupCommand property. - /// protected virtual void OnNewVerticalTabGroupCommandChanged( DependencyPropertyChangedEventArgs e ) { } @@ -907,16 +705,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region NewHorizontalTabGroupCommand - /// - /// NewHorizontalTabGroupCommand Dependency Property - /// public static readonly DependencyProperty NewHorizontalTabGroupCommandProperty = DependencyProperty.Register( "NewHorizontalTabGroupCommand", typeof( ICommand ), typeof( LayoutItem ), new FrameworkPropertyMetadata( ( ICommand )null, new PropertyChangedCallback( OnNewHorizontalTabGroupCommandChanged ) ) ); - /// - /// Gets or sets the NewHorizontalTabGroupCommand property. This dependency property - /// indicates the new horizontal tab group command. - /// public ICommand NewHorizontalTabGroupCommand { get @@ -929,17 +720,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the NewHorizontalTabGroupCommand property. - /// private static void OnNewHorizontalTabGroupCommandChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutItem )d ).OnNewHorizontalTabGroupCommandChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the NewHorizontalTabGroupCommand property. - /// protected virtual void OnNewHorizontalTabGroupCommandChanged( DependencyPropertyChangedEventArgs e ) { } @@ -985,16 +770,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region MoveToNextTabGroupCommand - /// - /// MoveToNextTabGroupCommand Dependency Property - /// public static readonly DependencyProperty MoveToNextTabGroupCommandProperty = DependencyProperty.Register( "MoveToNextTabGroupCommand", typeof( ICommand ), typeof( LayoutItem ), new FrameworkPropertyMetadata( ( ICommand )null, new PropertyChangedCallback( OnMoveToNextTabGroupCommandChanged ) ) ); - /// - /// Gets or sets the MoveToNextTabGroupCommand property. This dependency property - /// indicates move to next tab group command. - /// public ICommand MoveToNextTabGroupCommand { get @@ -1007,17 +785,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the MoveToNextTabGroupCommand property. - /// private static void OnMoveToNextTabGroupCommandChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutItem )d ).OnMoveToNextTabGroupCommandChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the MoveToNextTabGroupCommand property. - /// protected virtual void OnMoveToNextTabGroupCommandChanged( DependencyPropertyChangedEventArgs e ) { } @@ -1052,16 +824,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region MoveToPreviousTabGroupCommand - /// - /// MoveToPreviousTabGroupCommand Dependency Property - /// public static readonly DependencyProperty MoveToPreviousTabGroupCommandProperty = DependencyProperty.Register( "MoveToPreviousTabGroupCommand", typeof( ICommand ), typeof( LayoutItem ), new FrameworkPropertyMetadata( ( ICommand )null, new PropertyChangedCallback( OnMoveToPreviousTabGroupCommandChanged ) ) ); - /// - /// Gets or sets the MoveToPreviousTabGroupCommand property. This dependency property - /// indicates move to rpevious tab group command. - /// public ICommand MoveToPreviousTabGroupCommand { get @@ -1074,17 +839,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the MoveToPreviousTabGroupCommand property. - /// private static void OnMoveToPreviousTabGroupCommandChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( LayoutItem )d ).OnMoveToPreviousTabGroupCommandChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the MoveToPreviousTabGroupCommand property. - /// protected virtual void OnMoveToPreviousTabGroupCommandChanged( DependencyPropertyChangedEventArgs e ) { } diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutPanelControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutPanelControl.cs index 3feea236..42455568 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutPanelControl.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutPanelControl.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/MenuItemEx.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/MenuItemEx.cs index 7de333eb..2941d239 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/MenuItemEx.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/MenuItemEx.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -45,16 +45,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region IconTemplate - /// - /// IconTemplate Dependency Property - /// public static readonly DependencyProperty IconTemplateProperty = DependencyProperty.Register( "IconTemplate", typeof( DataTemplate ), typeof( MenuItemEx ), new FrameworkPropertyMetadata( ( DataTemplate )null, new PropertyChangedCallback( OnIconTemplateChanged ) ) ); - /// - /// Gets or sets the IconTemplate property. This dependency property - /// indicates the data template for the icon. - /// public DataTemplate IconTemplate { get @@ -67,17 +60,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the IconTemplate property. - /// private static void OnIconTemplateChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( MenuItemEx )d ).OnIconTemplateChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the IconTemplate property. - /// protected virtual void OnIconTemplateChanged( DependencyPropertyChangedEventArgs e ) { UpdateIcon(); @@ -87,16 +74,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region IconTemplateSelector - /// - /// IconTemplateSelector Dependency Property - /// public static readonly DependencyProperty IconTemplateSelectorProperty = DependencyProperty.Register( "IconTemplateSelector", typeof( DataTemplateSelector ), typeof( MenuItemEx ), new FrameworkPropertyMetadata( ( DataTemplateSelector )null, new PropertyChangedCallback( OnIconTemplateSelectorChanged ) ) ); - /// - /// Gets or sets the IconTemplateSelector property. This dependency property - /// indicates the DataTemplateSelector for the Icon. - /// public DataTemplateSelector IconTemplateSelector { get @@ -109,17 +89,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the IconTemplateSelector property. - /// private static void OnIconTemplateSelectorChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( MenuItemEx )d ).OnIconTemplateSelectorChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the IconTemplateSelector property. - /// protected virtual void OnIconTemplateSelectorChanged( DependencyPropertyChangedEventArgs e ) { UpdateIcon(); diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/NavigatorWindow.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/NavigatorWindow.cs index df3c8f65..2b5b5a83 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/NavigatorWindow.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/NavigatorWindow.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -89,18 +89,11 @@ namespace Xceed.Wpf.AvalonDock.Controls #region Documents - /// - /// Documents Read-Only Dependency Property - /// private static readonly DependencyPropertyKey DocumentsPropertyKey = DependencyProperty.RegisterReadOnly( "Documents", typeof( IEnumerable ), typeof( NavigatorWindow ), new FrameworkPropertyMetadata( null ) ); public static readonly DependencyProperty DocumentsProperty = DocumentsPropertyKey.DependencyProperty; - /// - /// Gets the Documents property. This dependency property - /// indicates the list of documents. - /// public LayoutDocumentItem[] Documents { get @@ -113,18 +106,11 @@ namespace Xceed.Wpf.AvalonDock.Controls #region Anchorables - /// - /// Anchorables Read-Only Dependency Property - /// private static readonly DependencyPropertyKey AnchorablesPropertyKey = DependencyProperty.RegisterReadOnly( "Anchorables", typeof( IEnumerable ), typeof( NavigatorWindow ), new FrameworkPropertyMetadata( ( IEnumerable )null ) ); public static readonly DependencyProperty AnchorablesProperty = AnchorablesPropertyKey.DependencyProperty; - /// - /// Gets the Anchorables property. This dependency property - /// indicates the list of anchorables. - /// public IEnumerable Anchorables { get @@ -137,16 +123,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region SelectedDocument - /// - /// SelectedDocument Dependency Property - /// public static readonly DependencyProperty SelectedDocumentProperty = DependencyProperty.Register( "SelectedDocument", typeof( LayoutDocumentItem ), typeof( NavigatorWindow ), new FrameworkPropertyMetadata( ( LayoutDocumentItem )null, new PropertyChangedCallback( OnSelectedDocumentChanged ) ) ); - /// - /// Gets or sets the SelectedDocument property. This dependency property - /// indicates the selected document. - /// public LayoutDocumentItem SelectedDocument { get @@ -159,17 +138,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the SelectedDocument property. - /// private static void OnSelectedDocumentChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( NavigatorWindow )d ).OnSelectedDocumentChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the SelectedDocument property. - /// protected virtual void OnSelectedDocumentChanged( DependencyPropertyChangedEventArgs e ) { if( _internalSetSelectedDocument ) @@ -187,16 +160,9 @@ namespace Xceed.Wpf.AvalonDock.Controls #region SelectedAnchorable - /// - /// SelectedAnchorable Dependency Property - /// public static readonly DependencyProperty SelectedAnchorableProperty = DependencyProperty.Register( "SelectedAnchorable", typeof( LayoutAnchorableItem ), typeof( NavigatorWindow ), new FrameworkPropertyMetadata( ( LayoutAnchorableItem )null, new PropertyChangedCallback( OnSelectedAnchorableChanged ) ) ); - /// - /// Gets or sets the SelectedAnchorable property. This dependency property - /// indicates the selected anchorable. - /// public LayoutAnchorableItem SelectedAnchorable { get @@ -209,17 +175,11 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Handles changes to the SelectedAnchorable property. - /// private static void OnSelectedAnchorableChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( NavigatorWindow )d ).OnSelectedAnchorableChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the SelectedAnchorable property. - /// protected virtual void OnSelectedAnchorableChanged( DependencyPropertyChangedEventArgs e ) { if( _internalSetSelectedAnchorable ) @@ -480,21 +440,11 @@ namespace Xceed.Wpf.AvalonDock.Controls #region Internal Methods - /// - /// Provides a secure method for setting the Anchorables property. - /// This dependency property indicates the list of anchorables. - /// - /// The new value for the property. protected void SetAnchorables( IEnumerable value ) { this.SetValue( AnchorablesPropertyKey, value ); } - /// - /// Provides a secure method for setting the Documents property. - /// This dependency property indicates the list of documents. - /// - /// The new value for the property. protected void SetDocuments( LayoutDocumentItem[] value ) { this.SetValue( DocumentsPropertyKey, value ); diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayArea.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayArea.cs index d4b7353c..485bdd41 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayArea.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayArea.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayWindow.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayWindow.cs index a5007e36..01d42a64 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayWindow.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayWindow.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -203,14 +203,6 @@ namespace Xceed.Wpf.AvalonDock.Controls #region Private Methods - /// - /// This method controls the DropTargetInto button of the overlay window. - /// It checks that only 1 of the defined ContentLayouts can be present on the LayoutDocumentPane or LayoutAnchorablePane. - /// The combination between the ContentLayout Title and the ContentId is the search key, and has to be unique. - /// If a floating window is dropped on a LayoutDocumentPane or LayoutAnchorablePane, it checks if one of the containing LayoutContents - /// is already present on the LayoutDocumentPane or LayoutAnchorablePane. If so, then it will disable the DropTargetInto button. - /// - /// The given LayoutDocumentPane or LayoutAnchorablePane private void SetDropTargetIntoVisibility( ILayoutPositionableElement positionableElement ) { if( positionableElement is LayoutAnchorablePane ) @@ -255,11 +247,6 @@ namespace Xceed.Wpf.AvalonDock.Controls } } - /// - /// Find any LayoutDocument or LayoutAnchorable from a given source (e.g. LayoutDocumentPane, LayoutAnchorableFloatingWindow, etc.) - /// - /// The given source to search in - /// A list of all LayoutContent's private List GetAllLayoutContents( object source ) { var result = new List(); diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayWindowDropTarget.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayWindowDropTarget.cs index baa95f40..5db8c046 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayWindowDropTarget.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayWindowDropTarget.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayWindowDropTargetType.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayWindowDropTargetType.cs index 7423dee6..9fbb1ba9 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayWindowDropTargetType.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/OverlayWindowDropTargetType.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/ReentrantFlag.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/ReentrantFlag.cs index f0036eae..ee8596b9 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/ReentrantFlag.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/ReentrantFlag.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/ComGuids.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/ComGuids.cs index 4fe53bc4..62598c31 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/ComGuids.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/ComGuids.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -23,56 +23,32 @@ namespace Standard { internal static partial class IID { - /// IID_IEnumIDList public const string EnumIdList = "000214F2-0000-0000-C000-000000000046"; - /// IID_IEnumObjects public const string EnumObjects = "2c1c7e2e-2d0e-4059-831e-1e6f82335c2e"; - /// IID_IHTMLDocument2 public const string HtmlDocument2 = "332C4425-26CB-11D0-B483-00C04FD90119"; - /// IID_IModalWindow public const string ModalWindow = "b4db1657-70d7-485e-8e3e-6fcb5a5c1802"; - /// IID_IObjectArray public const string ObjectArray = "92CA9DCD-5622-4bba-A805-5E9F541BD8C9"; - /// IID_IObjectCollection public const string ObjectCollection = "5632b1a4-e38a-400a-928a-d4cd63230295"; - /// IID_IPropertyNotifySink public const string PropertyNotifySink = "9BFBBC02-EFF1-101A-84ED-00AA00341D07"; - /// IID_IPropertyStore public const string PropertyStore = "886d8eeb-8cf2-4446-8d02-cdba1dbdcf99"; - /// IID_IServiceProvider public const string ServiceProvider = "6d5140c1-7436-11ce-8034-00aa006009fa"; - /// IID_IShellFolder public const string ShellFolder = "000214E6-0000-0000-C000-000000000046"; - /// IID_IShellLink public const string ShellLink = "000214F9-0000-0000-C000-000000000046"; - /// IID_IShellItem public const string ShellItem = "43826d1e-e718-42ee-bc55-a1e261c37bfe"; - /// IID_IShellItem2 public const string ShellItem2 = "7e9fb0d3-919f-4307-ab2e-9b1860310c93"; - /// IID_IShellItemArray public const string ShellItemArray = "B63EA76D-1F85-456F-A19C-48159EFA858B"; - /// IID_ITaskbarList public const string TaskbarList = "56FDF342-FD6D-11d0-958A-006097C9A090"; - /// IID_ITaskbarList2 public const string TaskbarList2 = "602D4995-B13A-429b-A66E-1935E44F4317"; - /// IID_IUnknown public const string Unknown = "00000000-0000-0000-C000-000000000046"; #region Win7 IIDs - /// IID_IApplicationDestinations public const string ApplicationDestinations = "12337d35-94c6-48a0-bce7-6a9c69d4d600"; - /// IID_IApplicationDocumentLists public const string ApplicationDocumentLists = "3c594f9f-9f30-47a1-979a-c9e83d3d0a06"; - /// IID_ICustomDestinationList public const string CustomDestinationList = "6332debf-87b5-4670-90c0-5e57b408a49e"; - /// IID_IObjectWithAppUserModelID public const string ObjectWithAppUserModelId = "36db0196-9665-46d1-9ba7-d3709eecf9ed"; - /// IID_IObjectWithProgID public const string ObjectWithProgId = "71e806fb-8dee-46fc-bf8c-7748a8a1ae13"; - /// IID_ITaskbarList3 public const string TaskbarList3 = "ea1afb91-9e28-4b86-90e9-9e9f8a5eefaf"; - /// IID_ITaskbarList4 public const string TaskbarList4 = "c43dc798-95d1-4bea-9030-bb99e2983a1a"; #endregion @@ -85,26 +61,14 @@ namespace Standard return ( T )System.Activator.CreateInstance( System.Type.GetTypeFromCLSID( new System.Guid( clsid ) ) ); } - /// CLSID_TaskbarList - /// IID_ITaskbarList public const string TaskbarList = "56FDF344-FD6D-11d0-958A-006097C9A090"; - /// CLSID_EnumerableObjectCollection - /// IID_IEnumObjects. public const string EnumerableObjectCollection = "2d3468c1-36a7-43b6-ac24-d3f02fd9607a"; - /// CLSID_ShellLink - /// IID_IShellLink public const string ShellLink = "00021401-0000-0000-C000-000000000046"; #region Win7 CLSIDs - /// CLSID_DestinationList - /// IID_ICustomDestinationList public const string DestinationList = "77f10cf0-3db5-4966-b520-b7c54fd35ed6"; - /// CLSID_ApplicationDestinations - /// IID_IApplicationDestinations public const string ApplicationDestinations = "86c14003-4d6b-4ef3-a7b4-0506663b2e68"; - /// CLSID_ApplicationDocumentLists - /// IID_IApplicationDocumentLists public const string ApplicationDocumentLists = "86bec222-30f2-47e0-9f25-60d11cd75c28"; #endregion diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/Debug.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/Debug.cs index 681572e7..543b8cd7 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/Debug.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/Debug.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -34,7 +34,6 @@ namespace Standard using System.Diagnostics; using System.Threading; - /// A static class for verifying assumptions. internal static class Assert { private static void _Break() @@ -46,17 +45,10 @@ namespace Standard #endif } - /// A function signature for Assert.Evaluate. public delegate void EvaluateFunction(); - /// A function signature for Assert.Implies. - /// Returns the truth of a predicate. public delegate bool ImplicationFunction(); - /// - /// Executes the specified argument. - /// - /// The function to execute. [Conditional( "DEBUG" )] public static void Evaluate( EvaluateFunction argument ) { @@ -64,10 +56,6 @@ namespace Standard argument(); } - /// Obsolete: Use Standard.Assert.AreEqual instead of Assert.Equals - /// The generic type to compare for equality. - /// The first generic type data to compare. This is is the expected value. - /// The second generic type data to compare. This is the actual value. [ Obsolete( "Use Assert.AreEqual instead of Assert.Equals", false ), Conditional( "DEBUG" ) @@ -77,13 +65,6 @@ namespace Standard AreEqual( expected, actual ); } - /// - /// Verifies that two generic type data are equal. The assertion fails if they are not. - /// - /// The generic type to compare for equality. - /// The first generic type data to compare. This is is the expected value. - /// The second generic type data to compare. This is the actual value. - /// This breaks into the debugger in the case of a failed assertion. [Conditional( "DEBUG" )] public static void AreEqual( T expected, T actual ) { @@ -101,13 +82,6 @@ namespace Standard } } - /// - /// Verifies that two generic type data are not equal. The assertion fails if they are. - /// - /// The generic type to compare for inequality. - /// The first generic type data to compare. This is is the value that's not expected. - /// The second generic type data to compare. This is the actual value. - /// This breaks into the debugger in the case of a failed assertion. [Conditional( "DEBUG" )] public static void AreNotEqual( T notExpected, T actual ) { @@ -125,16 +99,6 @@ namespace Standard } } - /// - /// Verifies that if the specified condition is true, then so is the result. - /// The assertion fails if the condition is true but the result is false. - /// - /// if set to true [condition]. - /// - /// A second Boolean statement. If the first was true then so must this be. - /// If the first statement was false then the value of this is ignored. - /// - /// This breaks into the debugger in the case of a failed assertion. [Conditional( "DEBUG" )] public static void Implies( bool condition, bool result ) { @@ -144,14 +108,6 @@ namespace Standard } } - /// - /// Lazy evaluation overload. Verifies that if a condition is true, then so is a secondary value. - /// - /// The conditional value. - /// A function to be evaluated for truth if the condition argument is true. - /// - /// This overload only evaluates the result if the first condition is true. - /// [Conditional( "DEBUG" )] public static void Implies( bool condition, ImplicationFunction result ) { @@ -161,20 +117,12 @@ namespace Standard } } - /// - /// Verifies that a string has content. I.e. it is not null and it is not empty. - /// - /// The string to verify. [Conditional( "DEBUG" )] public static void IsNeitherNullNorEmpty( string value ) { IsFalse( string.IsNullOrEmpty( value ) ); } - /// - /// Verifies that a string has content. I.e. it is not null and it is not purely whitespace. - /// - /// The string to verify. [Conditional( "DEBUG" )] public static void IsNeitherNullNorWhitespace( string value ) { @@ -189,12 +137,6 @@ namespace Standard } } - /// - /// Verifies the specified value is not null. The assertion fails if it is. - /// - /// The generic reference type. - /// The value to check for nullness. - /// This breaks into the debugger in the case of a failed assertion. [Conditional( "DEBUG" )] public static void IsNotNull( T value ) where T : class { @@ -222,11 +164,6 @@ namespace Standard } } - /// - /// Verifies that the specified condition is false. The assertion fails if it is true. - /// - /// The expression that should be false. - /// This breaks into the debugger in the case of a failed assertion. [Conditional( "DEBUG" )] public static void IsFalse( bool condition ) { @@ -236,12 +173,6 @@ namespace Standard } } - /// - /// Verifies that the specified condition is false. The assertion fails if it is true. - /// - /// The expression that should be false. - /// The message to display if the condition is true. - /// This breaks into the debugger in the case of a failed assertion. [Conditional( "DEBUG" )] public static void IsFalse( bool condition, string message ) { @@ -251,11 +182,6 @@ namespace Standard } } - /// - /// Verifies that the specified condition is true. The assertion fails if it is not. - /// - /// A condition that is expected to be true. - /// This breaks into the debugger in the case of a failed assertion. [Conditional( "DEBUG" )] public static void IsTrue( bool condition ) { @@ -265,12 +191,6 @@ namespace Standard } } - /// - /// Verifies that the specified condition is true. The assertion fails if it is not. - /// - /// A condition that is expected to be true. - /// The message to write in case the condition is false. - /// This breaks into the debugger in the case of a failed assertion. [Conditional( "DEBUG" )] public static void IsTrue( bool condition, string message ) { @@ -280,31 +200,18 @@ namespace Standard } } - /// - /// This line should never be executed. The assertion always fails. - /// - /// This breaks into the debugger in the case of a failed assertion. [Conditional( "DEBUG" )] public static void Fail() { _Break(); } - /// - /// This line should never be executed. The assertion always fails. - /// - /// The message to display if this function is executed. - /// This breaks into the debugger in the case of a failed assertion. [Conditional( "DEBUG" )] public static void Fail( string message ) { _Break(); } - /// - /// Verifies that the specified object is null. The assertion fails if it is not. - /// - /// The item to verify is null. [Conditional( "DEBUG" )] public static void IsNull( T item ) where T : class { @@ -314,12 +221,6 @@ namespace Standard } } - /// - /// Verifies that the specified value is within the expected range. The assertion fails if it isn't. - /// - /// The lower bound inclusive value. - /// The value to verify. - /// The upper bound inclusive value. [Conditional( "DEBUG" )] public static void BoundedDoubleInc( double lowerBoundInclusive, double value, double upperBoundInclusive ) { @@ -329,12 +230,6 @@ namespace Standard } } - /// - /// Verifies that the specified value is within the expected range. The assertion fails if it isn't. - /// - /// The lower bound inclusive value. - /// The value to verify. - /// The upper bound exclusive value. [Conditional( "DEBUG" )] public static void BoundedInteger( int lowerBoundInclusive, int value, int upperBoundExclusive ) { @@ -344,13 +239,6 @@ namespace Standard } } - /// - /// Verify the current thread's apartment state is what's expected. The assertion fails if it isn't - /// - /// - /// The expected apartment state for the current thread. - /// - /// This breaks into the debugger in the case of a failed assertion. [Conditional( "DEBUG" )] public static void IsApartmentState( ApartmentState expectedState ) { diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/DoubleUtil.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/DoubleUtil.cs index 2ecc7021..f6964d2e 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/DoubleUtil.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/DoubleUtil.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -20,29 +20,10 @@ namespace Standard { using System.Diagnostics.CodeAnalysis; - /// - /// DoubleUtil uses fixed eps to provide fuzzy comparison functionality for doubles. - /// Note that FP noise is a big problem and using any of these compare - /// methods is not a complete solution, but rather the way to reduce - /// the probability of repeating unnecessary work. - /// internal static class DoubleUtilities { - /// - /// Epsilon - more or less random, more or less small number. - /// private const double Epsilon = 0.00000153; - /// - /// AreClose returns whether or not two doubles are "close". That is, whether or - /// not they are within epsilon of each other. - /// There are plenty of ways for this to return false even for numbers which - /// are theoretically identical, so no code calling this should fail to work if this - /// returns false. - /// - /// The first double to compare. - /// The second double to compare. - /// The result of the AreClose comparision. [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] public static bool AreClose( double value1, double value2 ) { @@ -55,90 +36,36 @@ namespace Standard return ( delta < Epsilon ) && ( delta > -Epsilon ); } - /// - /// LessThan returns whether or not the first double is less than the second double. - /// That is, whether or not the first is strictly less than *and* not within epsilon of - /// the other number. - /// There are plenty of ways for this to return false even for numbers which - /// are theoretically identical, so no code calling this should fail to work if this - /// returns false. - /// - /// The first double to compare. - /// The second double to compare. - /// The result of the LessThan comparision. [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] public static bool LessThan( double value1, double value2 ) { return ( value1 < value2 ) && !AreClose( value1, value2 ); } - /// - /// GreaterThan returns whether or not the first double is greater than the second double. - /// That is, whether or not the first is strictly greater than *and* not within epsilon of - /// the other number. - /// There are plenty of ways for this to return false even for numbers which - /// are theoretically identical, so no code calling this should fail to work if this - /// returns false. - /// - /// The first double to compare. - /// The second double to compare. - /// The result of the GreaterThan comparision. [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] public static bool GreaterThan( double value1, double value2 ) { return ( value1 > value2 ) && !AreClose( value1, value2 ); } - /// - /// LessThanOrClose returns whether or not the first double is less than or close to - /// the second double. That is, whether or not the first is strictly less than or within - /// epsilon of the other number. - /// There are plenty of ways for this to return false even for numbers which - /// are theoretically identical, so no code calling this should fail to work if this - /// returns false. - /// - /// The first double to compare. - /// The second double to compare. - /// The result of the LessThanOrClose comparision. [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] public static bool LessThanOrClose( double value1, double value2 ) { return ( value1 < value2 ) || AreClose( value1, value2 ); } - /// - /// GreaterThanOrClose returns whether or not the first double is greater than or close to - /// the second double. That is, whether or not the first is strictly greater than or within - /// epsilon of the other number. - /// There are plenty of ways for this to return false even for numbers which - /// are theoretically identical, so no code calling this should fail to work if this - /// returns false. - /// - /// The first double to compare. - /// The second double to compare. - /// The result of the GreaterThanOrClose comparision. [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] public static bool GreaterThanOrClose( double value1, double value2 ) { return ( value1 > value2 ) || AreClose( value1, value2 ); } - /// - /// Test to see if a double is a finite number (is not NaN or Infinity). - /// - /// The value to test. - /// Whether or not the value is a finite number. [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] public static bool IsFinite( double value ) { return !double.IsNaN( value ) && !double.IsInfinity( value ); } - /// - /// Test to see if a double a valid size value (is finite and > 0). - /// - /// The value to test. - /// Whether or not the value is a valid size value. [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] public static bool IsValidSize( double value ) { diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/DpiHelper.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/DpiHelper.cs index e161dca1..abdc2bf8 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/DpiHelper.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/DpiHelper.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -47,21 +47,11 @@ namespace Standard } } - /// - /// Convert a point in device independent pixels (1/96") to a point in the system coordinates. - /// - /// A point in the logical coordinate system. - /// Returns the parameter converted to the system's coordinates. public static Point LogicalPixelsToDevice( Point logicalPoint ) { return _transformToDevice.Transform( logicalPoint ); } - /// - /// Convert a point in system coordinates to a point in device independent pixels (1/96"). - /// - /// A point in the physical coordinate system. - /// Returns the parameter converted to the device independent coordinate system. public static Point DevicePixelsToLogical( Point devicePoint ) { return _transformToDip.Transform( devicePoint ); diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/ErrorCodes.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/ErrorCodes.cs index e6d2cfb8..844f86ec 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/ErrorCodes.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/ErrorCodes.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -28,9 +28,6 @@ namespace Standard using System.Reflection; using System.Runtime.InteropServices; - /// - /// Wrapper for common Win32 status codes. - /// [StructLayout( LayoutKind.Explicit )] internal struct Win32Error { @@ -40,79 +37,52 @@ namespace Standard // NOTE: These public static field declarations are automatically // picked up by (HRESULT's) ToString through reflection. - /// The operation completed successfully. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_SUCCESS = new Win32Error( 0 ); - /// Incorrect function. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_INVALID_FUNCTION = new Win32Error( 1 ); - /// The system cannot find the file specified. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_FILE_NOT_FOUND = new Win32Error( 2 ); - /// The system cannot find the path specified. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_PATH_NOT_FOUND = new Win32Error( 3 ); - /// The system cannot open the file. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_TOO_MANY_OPEN_FILES = new Win32Error( 4 ); - /// Access is denied. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_ACCESS_DENIED = new Win32Error( 5 ); - /// The handle is invalid. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_INVALID_HANDLE = new Win32Error( 6 ); - /// Not enough storage is available to complete this operation. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_OUTOFMEMORY = new Win32Error( 14 ); - /// There are no more files. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_NO_MORE_FILES = new Win32Error( 18 ); - /// The process cannot access the file because it is being used by another process. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_SHARING_VIOLATION = new Win32Error( 32 ); - /// The parameter is incorrect. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_INVALID_PARAMETER = new Win32Error( 87 ); - /// The data area passed to a system call is too small. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_INSUFFICIENT_BUFFER = new Win32Error( 122 ); - /// Cannot nest calls to LoadModule. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_NESTING_NOT_ALLOWED = new Win32Error( 215 ); - /// Illegal operation attempted on a registry key that has been marked for deletion. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_KEY_DELETED = new Win32Error( 1018 ); - /// Element not found. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_NOT_FOUND = new Win32Error( 1168 ); - /// There was no match for the specified key in the index. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_NO_MATCH = new Win32Error( 1169 ); - /// An invalid device was specified. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_BAD_DEVICE = new Win32Error( 1200 ); - /// The operation was canceled by the user. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_CANCELLED = new Win32Error( 1223 ); - /// The window class was already registered. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_CLASS_ALREADY_EXISTS = new Win32Error( 1410 ); - /// The specified datatype is invalid. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly Win32Error ERROR_INVALID_DATATYPE = new Win32Error( 1804 ); - /// - /// Create a new Win32 error. - /// - /// The integer value of the error. public Win32Error( int i ) { _value = i; } - /// Performs HRESULT_FROM_WIN32 conversion. - /// The Win32 error being converted to an HRESULT. - /// The equivilent HRESULT value. public static explicit operator HRESULT( Win32Error error ) { // #define __HRESULT_FROM_WIN32(x) @@ -125,16 +95,11 @@ namespace Standard } // Method version of the cast operation - /// Performs HRESULT_FROM_WIN32 conversion. - /// The Win32 error being converted to an HRESULT. - /// The equivilent HRESULT value. public HRESULT ToHRESULT() { return ( HRESULT )this; } - /// Performs the equivalent of Win32's GetLastError() - /// A Win32Error instance with the result of the native GetLastError [SuppressMessage( "Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands" )] public static Win32Error GetLastError() { @@ -158,23 +123,11 @@ namespace Standard return _value.GetHashCode(); } - /// - /// Compare two Win32 error codes for equality. - /// - /// The first error code to compare. - /// The second error code to compare. - /// Whether the two error codes are the same. public static bool operator ==( Win32Error errLeft, Win32Error errRight ) { return errLeft._value == errRight._value; } - /// - /// Compare two Win32 error codes for inequality. - /// - /// The first error code to compare. - /// The second error code to compare. - /// Whether the two error codes are not the same. public static bool operator !=( Win32Error errLeft, Win32Error errRight ) { return !( errLeft == errRight ); @@ -183,29 +136,18 @@ namespace Standard internal enum Facility { - /// FACILITY_NULL Null = 0, - /// FACILITY_RPC Rpc = 1, - /// FACILITY_DISPATCH Dispatch = 2, - /// FACILITY_STORAGE Storage = 3, - /// FACILITY_ITF Itf = 4, - /// FACILITY_WIN32 Win32 = 7, - /// FACILITY_WINDOWS Windows = 8, - /// FACILITY_CONTROL Control = 10, - /// MSDN doced facility code for ESE errors. Ese = 0xE5E, - /// FACILITY_WINCODEC (WIC) WinCodec = 0x898, } - /// Wrapper for HRESULT status codes. [StructLayout( LayoutKind.Explicit )] internal struct HRESULT { @@ -214,82 +156,51 @@ namespace Standard // NOTE: These public static field declarations are automatically // picked up by ToString through reflection. - /// S_OK [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT S_OK = new HRESULT( 0x00000000 ); - /// S_FALSE [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT S_FALSE = new HRESULT( 0x00000001 ); - /// E_PENDING [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT E_PENDING = new HRESULT( 0x8000000A ); - /// E_NOTIMPL [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT E_NOTIMPL = new HRESULT( 0x80004001 ); - /// E_NOINTERFACE [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT E_NOINTERFACE = new HRESULT( 0x80004002 ); - /// E_POINTER [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT E_POINTER = new HRESULT( 0x80004003 ); - /// E_ABORT [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT E_ABORT = new HRESULT( 0x80004004 ); - /// E_FAIL [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT E_FAIL = new HRESULT( 0x80004005 ); - /// E_UNEXPECTED [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT E_UNEXPECTED = new HRESULT( 0x8000FFFF ); - /// STG_E_INVALIDFUNCTION [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT STG_E_INVALIDFUNCTION = new HRESULT( 0x80030001 ); - /// REGDB_E_CLASSNOTREG [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT REGDB_E_CLASSNOTREG = new HRESULT( 0x80040154 ); - /// DESTS_E_NO_MATCHING_ASSOC_HANDLER. Win7 internal error code for Jump Lists. - /// There is no Assoc Handler for the given item registered by the specified application. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT DESTS_E_NO_MATCHING_ASSOC_HANDLER = new HRESULT( 0x80040F03 ); - /// DESTS_E_NORECDOCS. Win7 internal error code for Jump Lists. - /// The given item is excluded from the recent docs folder by the NoRecDocs bit on its registration. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT DESTS_E_NORECDOCS = new HRESULT( 0x80040F04 ); - /// DESTS_E_NOTALLCLEARED. Win7 internal error code for Jump Lists. - /// Not all of the items were successfully cleared [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT DESTS_E_NOTALLCLEARED = new HRESULT( 0x80040F05 ); - /// E_ACCESSDENIED - /// Win32Error ERROR_ACCESS_DENIED. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT E_ACCESSDENIED = new HRESULT( 0x80070005 ); - /// E_OUTOFMEMORY - /// Win32Error ERROR_OUTOFMEMORY. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT E_OUTOFMEMORY = new HRESULT( 0x8007000E ); - /// E_INVALIDARG - /// Win32Error ERROR_INVALID_PARAMETER. [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT E_INVALIDARG = new HRESULT( 0x80070057 ); - /// INTSAFE_E_ARITHMETIC_OVERFLOW [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT INTSAFE_E_ARITHMETIC_OVERFLOW = new HRESULT( 0x80070216 ); - /// COR_E_OBJECTDISPOSED [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT COR_E_OBJECTDISPOSED = new HRESULT( 0x80131622 ); - /// WC_E_GREATERTHAN [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT WC_E_GREATERTHAN = new HRESULT( 0xC00CEE23 ); - /// WC_E_SYNTAX [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] public static readonly HRESULT WC_E_SYNTAX = new HRESULT( 0xC00CEE2D ); - /// - /// Create an HRESULT from an integer value. - /// - /// public HRESULT( uint i ) { _value = i; @@ -313,9 +224,6 @@ namespace Standard return new HRESULT( ( uint )( ( severe ? ( 1 << 31 ) : 0 ) | ( ( int )facility << 16 ) | code ) ); } - /// - /// retrieve HRESULT_FACILITY - /// public Facility Facility { get @@ -330,9 +238,6 @@ namespace Standard return ( Facility )( ( errorCode >> 16 ) & 0x1fff ); } - /// - /// retrieve HRESULT_CODE - /// public int Code { get @@ -349,10 +254,6 @@ namespace Standard #region Object class override members - /// - /// Get a string representation of this HRESULT. - /// - /// public override string ToString() { // Use reflection to try to name this HRESULT. @@ -518,9 +419,6 @@ namespace Standard } } - /// - /// Convert the result of Win32 GetLastError() into a raised exception. - /// public static void ThrowLastError() { ( ( HRESULT )Win32Error.GetLastError() ).ThrowIfFailed(); diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/MessageWindow.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/MessageWindow.cs index 70aab6e2..4f5757a0 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/MessageWindow.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/MessageWindow.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/NativeMethods.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/NativeMethods.cs index ed367258..eca8d596 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/NativeMethods.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/NativeMethods.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -48,9 +48,6 @@ namespace Standard public const uint sizeof_BOOL = 4; } - /// - /// HIGHCONTRAST flags - /// [Flags] internal enum HCF { @@ -63,38 +60,17 @@ namespace Standard HOTKEYAVAILABLE = 0x00000040, } - /// - /// BITMAPINFOHEADER Compression type. BI_*. - /// internal enum BI { RGB = 0, } - /// - /// CombingRgn flags. RGN_* - /// internal enum RGN { - /// - /// Creates the intersection of the two combined regions. - /// AND = 1, - /// - /// Creates the union of two combined regions. - /// OR = 2, - /// - /// Creates the union of two combined regions except for any overlapping areas. - /// XOR = 3, - /// - /// Combines the parts of hrgnSrc1 that are not part of hrgnSrc2. - /// DIFF = 4, - /// - /// Creates a copy of the region identified by hrgnSrc1. - /// COPY = 5, } @@ -106,9 +82,6 @@ namespace Standard COMPLEXREGION = 3, } - /// - /// For IWebBrowser2. OLECMDEXECOPT_* - /// internal enum OLECMDEXECOPT { DODEFAULT = 0, @@ -117,9 +90,6 @@ namespace Standard SHOWHELP = 3 } - /// - /// For IWebBrowser2. OLECMDF_* - /// internal enum OLECMDF { SUPPORTED = 1, @@ -130,9 +100,6 @@ namespace Standard DEFHIDEONCTXTMENU = 32 } - /// - /// For IWebBrowser2. OLECMDID_* - /// internal enum OLECMDID { OPEN = 1, @@ -194,9 +161,6 @@ namespace Standard SHOWPAGEACTIONMENU = 59 } - /// - /// For IWebBrowser2. READYSTATE_* - /// enum READYSTATE { UNINITIALIZED = 0, @@ -206,9 +170,6 @@ namespace Standard COMPLETE = 4 } - /// - /// DATAOBJ_GET_ITEM_FLAGS. DOGIF_*. - /// internal enum DOGIF { DEFAULT = 0x0000, @@ -227,35 +188,13 @@ namespace Standard [Flags] internal enum ErrorModes { - /// Use the system default, which is to display all error dialog boxes. Default = 0x0, - /// - /// The system does not display the critical-error-handler message box. - /// Instead, the system sends the error to the calling process. - /// FailCriticalErrors = 0x1, - /// - /// 64-bit Windows: The system automatically fixes memory alignment faults and makes them - /// invisible to the application. It does this for the calling process and any descendant processes. - /// After this value is set for a process, subsequent attempts to clear the value are ignored. - /// NoGpFaultErrorBox = 0x2, - /// - /// The system does not display the general-protection-fault message box. - /// This flag should only be set by debugging applications that handle general - /// protection (GP) faults themselves with an exception handler. - /// NoAlignmentFaultExcept = 0x4, - /// - /// The system does not display a message box when it fails to find a file. - /// Instead, the error is returned to the calling process. - /// NoOpenFileErrorBox = 0x8000 } - /// - /// Non-client hit test values, HT* - /// internal enum HT { ERROR = -2, @@ -289,17 +228,11 @@ namespace Standard HELP = 21 } - /// - /// GetClassLongPtr values, GCLP_* - /// internal enum GCLP { HBRBACKGROUND = -10, } - /// - /// GetWindowLongPtr values, GWL_* - /// internal enum GWL { WNDPROC = ( -4 ), @@ -311,9 +244,6 @@ namespace Standard ID = ( -12 ) } - /// - /// SystemMetrics. SM_* - /// internal enum SM { CXSCREEN = 0, @@ -402,9 +332,6 @@ namespace Standard REMOTECONTROL = 0x2001, } - /// - /// SystemParameterInfo values, SPI_* - /// internal enum SPI { GETBEEP = 0x0001, @@ -641,9 +568,6 @@ namespace Standard SETMESSAGEDURATION = 0x2017, } - /// - /// SystemParameterInfo flag values, SPIF_* - /// [Flags] internal enum SPIF { @@ -706,9 +630,6 @@ namespace Standard DEFAULT_PALETTE = 15, } - /// - /// CS_* - /// [Flags] internal enum CS : uint { @@ -727,9 +648,6 @@ namespace Standard DROPSHADOW = 0x00020000 } - /// - /// WindowStyle values, WS_* - /// [Flags] internal enum WS : uint { @@ -765,9 +683,6 @@ namespace Standard CHILDWINDOW = CHILD, } - /// - /// Window message values, WM_* - /// internal enum WM { NULL = 0x0000, @@ -923,9 +838,6 @@ namespace Standard APP = 0x8000, } - /// - /// Window style extended values, WS_EX_* - /// [Flags] internal enum WS_EX : uint { @@ -958,25 +870,11 @@ namespace Standard PALETTEWINDOW = ( WINDOWEDGE | TOOLWINDOW | TOPMOST ), } - /// - /// GetDeviceCaps nIndex values. - /// internal enum DeviceCap { - /// Number of bits per pixel - /// BITSPIXEL = 12, - /// - /// Number of planes - /// PLANES = 14, - /// - /// Logical pixels inch in X - /// LOGPIXELSX = 88, - /// - /// Logical pixels inch in Y - /// LOGPIXELSY = 90, } @@ -988,9 +886,6 @@ namespace Standard RENAME = 0x0004, } - /// - /// "FILEOP_FLAGS", FOF_*. - /// internal enum FOF : ushort { MULTIDESTFILES = 0x0001, @@ -1011,15 +906,9 @@ namespace Standard NORECURSEREPARSE = 0x8000, } - /// - /// EnableMenuItem uEnable values, MF_* - /// [Flags] internal enum MF : uint { - /// - /// Possible return value for EnableMenuItem - /// DOES_NOT_EXIST = unchecked(( uint )-1), ENABLED = 0, BYCOMMAND = 0, @@ -1027,16 +916,11 @@ namespace Standard DISABLED = 2, } - /// Specifies the type of visual style attribute to set on a window. internal enum WINDOWTHEMEATTRIBUTETYPE : uint { - /// Non-client area window attributes will be set. WTA_NONCLIENT = 1, } - /// - /// DWMFLIP3DWINDOWPOLICY. DWMFLIP3D_* - /// internal enum DWMFLIP3D { DEFAULT, @@ -1045,9 +929,6 @@ namespace Standard //LAST } - /// - /// DWMNCRENDERINGPOLICY. DWMNCRP_* - /// internal enum DWMNCRP { USEWINDOWSTYLE, @@ -1056,9 +937,6 @@ namespace Standard //LAST } - /// - /// DWMWINDOWATTRIBUTE. DWMWA_* - /// internal enum DWMWA { NCRENDERING_ENABLED = 1, @@ -1080,27 +958,16 @@ namespace Standard // LAST } - /// - /// WindowThemeNonClientAttributes - /// [Flags] internal enum WTNCA : uint { - /// Prevents the window caption from being drawn. NODRAWCAPTION = 0x00000001, - /// Prevents the system icon from being drawn. NODRAWICON = 0x00000002, - /// Prevents the system icon menu from appearing. NOSYSMENU = 0x00000004, - /// Prevents mirroring of the question mark, even in right-to-left (RTL) layout. NOMIRRORHELP = 0x00000008, - /// A mask that contains all the valid bits. VALIDBITS = NODRAWCAPTION | NODRAWICON | NOMIRRORHELP | NOSYSMENU, } - /// - /// SetWindowPos options - /// [Flags] internal enum SWP { @@ -1121,9 +988,6 @@ namespace Standard SHOWWINDOW = 0x0040, } - /// - /// ShowWindow options - /// internal enum SW { HIDE = 0, @@ -1164,17 +1028,11 @@ namespace Standard MONITORPOWER = 0xF170, CONTEXTHELP = 0xF180, SEPARATOR = 0xF00F, - /// - /// SCF_ISSECURE - /// F_ISSECURE = 0x00000001, ICON = MINIMIZE, ZOOM = MAXIMIZE, } - /// - /// GDI+ Status codes - /// internal enum Status { Ok = 0, @@ -1208,9 +1066,6 @@ namespace Standard LEFTUP = 4 } - /// - /// MSGFLT_*. New in Vista. Realiased in Windows 7. - /// internal enum MSGFLT { // Win7 versions of this enum: @@ -1236,9 +1091,6 @@ namespace Standard MOUSE = 0, } - /// - /// Shell_NotifyIcon messages. NIM_* - /// internal enum NIM : uint { ADD = 0, @@ -1248,9 +1100,6 @@ namespace Standard SETVERSION = 4, } - /// - /// SHAddToRecentDocuments flags. SHARD_* - /// internal enum SHARD { PIDL = 0x00000001, @@ -1270,9 +1119,6 @@ namespace Standard RAWPATH = 0x4 } - /// - /// Shell_NotifyIcon flags. NIF_* - /// [Flags] internal enum NIF : uint { @@ -1283,43 +1129,26 @@ namespace Standard INFO = 0x0010, GUID = 0x0020, - /// - /// Vista only. - /// REALTIME = 0x0040, - /// - /// Vista only. - /// SHOWTIP = 0x0080, XP_MASK = MESSAGE | ICON | STATE | INFO | GUID, VISTA_MASK = XP_MASK | REALTIME | SHOWTIP, } - /// - /// Shell_NotifyIcon info flags. NIIF_* - /// internal enum NIIF { NONE = 0x00000000, INFO = 0x00000001, WARNING = 0x00000002, ERROR = 0x00000003, - /// XP SP2 and later. USER = 0x00000004, - /// XP and later. NOSOUND = 0x00000010, - /// Vista and later. LARGE_ICON = 0x00000020, - /// Windows 7 and later NIIF_RESPECT_QUIET_TIME = 0x00000080, - /// XP and later. Native version called NIIF_ICON_MASK. XP_ICON_MASK = 0x0000000F, } - /// - /// AC_* - /// internal enum AC : byte { SRC_OVER = 0, @@ -1791,11 +1620,6 @@ namespace Standard public IntPtr hIcon; [MarshalAs( UnmanagedType.ByValArray, SizeConst = 128 )] public char[] szTip = new char[ 128 ]; - /// - /// The state of the icon. There are two flags that can be set independently. - /// NIS_HIDDEN = 1. The icon is hidden. - /// NIS_SHAREDICON = 2. The icon is shared. - /// public uint dwState; public uint dwStateMask; [MarshalAs( UnmanagedType.ByValArray, SizeConst = 256 )] @@ -1915,9 +1739,7 @@ namespace Standard [StructLayout( LayoutKind.Sequential, Pack = 4 )] internal class SHARDAPPIDINFOIDLIST { - /// The idlist for the shell item that should be added to the recent docs folder. IntPtr pidl; - /// The id of the application that should be associated with this recent doc. [MarshalAs( UnmanagedType.LPWStr )] string pszAppID; } @@ -2009,26 +1831,16 @@ namespace Standard } } - /// Defines options that are used to set window visual style attributes. [StructLayout( LayoutKind.Explicit )] internal struct WTA_OPTIONS { // public static readonly uint Size = (uint)Marshal.SizeOf(typeof(WTA_OPTIONS)); public const uint Size = 8; - /// - /// A combination of flags that modify window visual style attributes. - /// Can be a combination of the WTNCA constants. - /// [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Justification = "Used by native code." )] [FieldOffset( 0 )] public WTNCA dwFlags; - /// - /// A bitmask that describes how the values specified in dwFlags should be applied. - /// If the bit corresponding to a value in dwFlags is 0, that flag will be removed. - /// If the bit is 1, the flag will be added. - /// [SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Justification = "Used by native code." )] [FieldOffset( 4 )] public WTNCA dwMask; @@ -2037,13 +1849,9 @@ namespace Standard [StructLayout( LayoutKind.Sequential )] internal struct MARGINS { - /// Width of left border that retains its size. public int cxLeftWidth; - /// Width of right border that retains its size. public int cxRightWidth; - /// Height of top border that retains its size. public int cyTopHeight; - /// Height of bottom border that retains its size. public int cyBottomHeight; }; @@ -2463,13 +2271,10 @@ namespace Standard #endregion - /// Delegate declaration that matches native WndProc signatures. internal delegate IntPtr WndProc( IntPtr hwnd, WM uMsg, IntPtr wParam, IntPtr lParam ); - /// Delegate declaration that matches native WndProc signatures. internal delegate IntPtr WndProcHook( IntPtr hwnd, WM uMsg, IntPtr wParam, IntPtr lParam, ref bool handled ); - /// Delegate declaration that matches managed WndProc signatures. internal delegate IntPtr MessageHandler( WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled ); // Some native methods are shimmed through public versions that handle converting failures into thrown exceptions. @@ -3005,25 +2810,6 @@ namespace Standard return ret; } - /// - /// Sets attributes to control how visual styles are applied to a specified window. - /// - /// - /// Handle to a window to apply changes to. - /// - /// - /// Value of type WINDOWTHEMEATTRIBUTETYPE that specifies the type of attribute to set. - /// The value of this parameter determines the type of data that should be passed in the pvAttribute parameter. - /// Can be the following value: - /// WTA_NONCLIENT (Specifies non-client related attributes). - /// pvAttribute must be a pointer of type WTA_OPTIONS. - /// - /// - /// A pointer that specifies attributes to set. Type is determined by the value of the eAttribute value. - /// - /// - /// Specifies the size, in bytes, of the data pointed to by pvAttribute. - /// [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] [DllImport( "uxtheme.dll", PreserveSig = false )] public static extern void SetWindowThemeAttribute( [In] IntPtr hwnd, [In] WINDOWTHEMEATTRIBUTETYPE eAttribute, [In] ref WTA_OPTIONS pvAttribute, [In] uint cbAttribute ); @@ -3279,13 +3065,11 @@ namespace Standard [return: MarshalAs( UnmanagedType.Bool )] private static extern bool _SystemParametersInfo_String( SPI uiAction, int uiParam, [MarshalAs( UnmanagedType.LPWStr )] string pvParam, SPIF fWinIni ); - /// Overload of SystemParametersInfo for getting and setting NONCLIENTMETRICS. [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] [DllImport( "user32.dll", EntryPoint = "SystemParametersInfoW", SetLastError = true, CharSet = CharSet.Unicode )] [return: MarshalAs( UnmanagedType.Bool )] private static extern bool _SystemParametersInfo_NONCLIENTMETRICS( SPI uiAction, int uiParam, [In, Out] ref NONCLIENTMETRICS pvParam, SPIF fWinIni ); - /// Overload of SystemParametersInfo for getting and setting HIGHCONTRAST. [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] [DllImport( "user32.dll", EntryPoint = "SystemParametersInfoW", SetLastError = true, CharSet = CharSet.Unicode )] [return: MarshalAs( UnmanagedType.Bool )] @@ -3529,18 +3313,10 @@ namespace Standard [return: MarshalAs( UnmanagedType.Bool )] public static extern bool Shell_NotifyIcon( NIM dwMessage, [In] NOTIFYICONDATA lpdata ); - /// - /// Sets the User Model AppID for the current process, enabling Windows to retrieve this ID - /// - /// [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] [DllImport( "shell32.dll", PreserveSig = false )] public static extern void SetCurrentProcessExplicitAppUserModelID( [MarshalAs( UnmanagedType.LPWStr )] string AppID ); - /// - /// Retrieves the User Model AppID that has been explicitly set for the current process via SetCurrentProcessExplicitAppUserModelID - /// - /// [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] [DllImport( "shell32.dll" )] public static extern HRESULT GetCurrentProcessExplicitAppUserModelID( [Out, MarshalAs( UnmanagedType.LPWStr )] out string AppID ); diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/ShellProvider.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/ShellProvider.cs index 619ea176..5ffafbd2 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/ShellProvider.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/ShellProvider.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -30,7 +30,6 @@ namespace Standard #region Enums and Static Property Classes - /// ShellItem attribute flags. SIATTRIBFLAGS_* internal enum SIATTRIBFLAGS { AND = 0x00000001, @@ -44,10 +43,6 @@ namespace Standard ADLT_FREQUENT, // The frequently used documents list } - /// - /// Flags for SetTabProperties. STPF_* - /// - /// The native enum was called STPFLAG. [Flags] internal enum STPF { @@ -58,12 +53,6 @@ namespace Standard USEAPPPEEKWHENACTIVE = 0x00000008, } - /// - /// Flags for Setting Taskbar Progress state. TBPF_* - /// - /// - /// The native enum was called TBPFLAG. - /// internal enum TBPF { NOPROGRESS = 0x00000000, @@ -73,9 +62,6 @@ namespace Standard PAUSED = 0x00000008, } - /// - /// THUMBBUTTON mask. THB_* - /// [Flags] internal enum THB : uint { @@ -85,9 +71,6 @@ namespace Standard FLAGS = 0x0008, } - /// - /// THUMBBUTTON flags. THBF_* - /// [Flags] internal enum THBF : uint { @@ -100,12 +83,6 @@ namespace Standard NONINTERACTIVE = 0x0010, } - /// - /// GetPropertyStoreFlags. GPS_*. - /// - /// - /// These are new for Vista, but are used in downlevel components - /// internal enum GPS { // If no flags are specified (GPS_DEFAULT), a read-only property store is returned that includes properties for the file or item. @@ -131,9 +108,6 @@ namespace Standard MASK_VALID = 0x000000FF, } - /// - /// KNOWNDESTCATEGORY. KDC_* - /// internal enum KDC { FREQUENT = 1, @@ -144,101 +118,49 @@ namespace Standard [Flags] internal enum SFGAO : uint { - /// Objects can be copied - /// DROPEFFECT_COPY CANCOPY = 0x1, - /// Objects can be moved - /// DROPEFFECT_MOVE CANMOVE = 0x2, - /// Objects can be linked - /// - /// DROPEFFECT_LINK. - /// - /// If this bit is set on an item in the shell folder, a - /// 'Create Shortcut' menu item will be added to the File - /// menu and context menus for the item. If the user selects - /// that command, your IContextMenu::InvokeCommand() will be called - /// with 'link'. - /// That flag will also be used to determine if 'Create Shortcut' - /// should be added when the item in your folder is dragged to another - /// folder. - /// CANLINK = 0x4, - /// supports BindToObject(IID_IStorage) STORAGE = 0x00000008, - /// Objects can be renamed CANRENAME = 0x00000010, - /// Objects can be deleted CANDELETE = 0x00000020, - /// Objects have property sheets HASPROPSHEET = 0x00000040, // unused = 0x00000080, - /// Objects are drop target DROPTARGET = 0x00000100, CAPABILITYMASK = 0x00000177, // unused = 0x00000200, // unused = 0x00000400, // unused = 0x00000800, // unused = 0x00001000, - /// Object is encrypted (use alt color) ENCRYPTED = 0x00002000, - /// 'Slow' object ISSLOW = 0x00004000, - /// Ghosted icon GHOSTED = 0x00008000, - /// Shortcut (link) LINK = 0x00010000, - /// Shared SHARE = 0x00020000, - /// Read-only READONLY = 0x00040000, - /// Hidden object HIDDEN = 0x00080000, DISPLAYATTRMASK = 0x000FC000, - /// May contain children with SFGAO_FILESYSTEM FILESYSANCESTOR = 0x10000000, - /// Support BindToObject(IID_IShellFolder) FOLDER = 0x20000000, - /// Is a win32 file system object (file/folder/root) FILESYSTEM = 0x40000000, - /// May contain children with SFGAO_FOLDER (may be slow) HASSUBFOLDER = 0x80000000, CONTENTSMASK = 0x80000000, - /// Invalidate cached information (may be slow) VALIDATE = 0x01000000, - /// Is this removeable media? REMOVABLE = 0x02000000, - /// Object is compressed (use alt color) COMPRESSED = 0x04000000, - /// Supports IShellFolder, but only implements CreateViewObject() (non-folder view) BROWSABLE = 0x08000000, - /// Is a non-enumerated object (should be hidden) NONENUMERATED = 0x00100000, - /// Should show bold in explorer tree NEWCONTENT = 0x00200000, - /// Obsolete CANMONIKER = 0x00400000, - /// Obsolete HASSTORAGE = 0x00400000, - /// Supports BindToObject(IID_IStream) STREAM = 0x00400000, - /// May contain children with SFGAO_STORAGE or SFGAO_STREAM STORAGEANCESTOR = 0x00800000, - /// For determining storage capabilities, ie for open/save semantics STORAGECAPMASK = 0x70C50008, - /// - /// Attributes that are masked out for PKEY_SFGAOFlags because they are considered - /// to cause slow calculations or lack context - /// (SFGAO_VALIDATE | SFGAO_ISSLOW | SFGAO_HASSUBFOLDER and others) - /// PKEYSFGAOMASK = 0x81044000, } - /// - /// IShellFolder::EnumObjects grfFlags bits. Also called SHCONT - /// internal enum SHCONTF { CHECKING_FOR_CHILDREN = 0x0010, // hint that client is checking if (what) child items the folder contains - not all details (e.g. short file name) are needed @@ -255,12 +177,6 @@ namespace Standard ENABLE_ASYNC = 0x8000, // inform enumerator that client is listening for change notifications so enumerator does not need to be complete, items can be reported via change notifications } - /// - /// IShellFolder::GetDisplayNameOf/SetNameOf uFlags. Also called SHGDNF. - /// - /// - /// For compatibility with SIGDN, these bits must all sit in the LOW word. - /// [Flags] internal enum SHGDN { @@ -271,23 +187,14 @@ namespace Standard SHGDN_FORPARSING = 0x8000, // parsing name for ParseDisplayName() } - /// - /// SHELLITEMCOMPAREHINTF. SICHINT_*. - /// internal enum SICHINT : uint { - /// iOrder based on display in a folder view DISPLAY = 0x00000000, - /// exact instance compare ALLFIELDS = 0x80000000, - /// iOrder based on canonical name (better performance) CANONICAL = 0x10000000, TEST_FILESYSPATH_IF_NOT_EQUAL = 0x20000000, }; - /// - /// ShellItem enum. SIGDN_*. - /// internal enum SIGDN : uint { // lower word (& with 0xFFFF) NORMALDISPLAY = 0x00000000, // SHGDN_NORMAL @@ -301,24 +208,6 @@ namespace Standard PARENTRELATIVE = 0x80080001, // SHGDN_INFOLDER } - /// - /// STR_GPS_* - /// - /// - /// When requesting a property store through IShellFolder, you can specify the equivalent of - /// GPS_DEFAULT by passing in a null IBindCtx parameter. - /// - /// You can specify the equivalent of GPS_READWRITE by passing a mode of STGM_READWRITE | STGM_EXCLUSIVE - /// in the bind context - /// - /// Here are the string versions of GPS_ flags, passed to IShellFolder::BindToObject() via IBindCtx::RegisterObjectParam() - /// These flags are valid when requesting an IPropertySetStorage or IPropertyStore handler - /// - /// The meaning of these flags are described above. - /// - /// There is no STR_ equivalent for GPS_TEMPORARY because temporary property stores - /// are provided by IShellItem2 only -- not by the underlying IShellFolder. - /// internal static class STR_GPS { public const string HANDLERPROPERTIESONLY = "GPS_HANDLERPROPERTIESONLY"; @@ -336,9 +225,6 @@ namespace Standard [StructLayout( LayoutKind.Sequential, Pack = 8, CharSet = CharSet.Unicode )] internal struct THUMBBUTTON { - /// - /// WPARAM value for a THUMBBUTTON being clicked. - /// public const int THBN_CLICKED = 0x1800; public THB dwMask; @@ -354,9 +240,7 @@ namespace Standard [StructLayout( LayoutKind.Sequential, Pack = 4 )] internal struct PKEY { - /// fmtid private readonly Guid _fmtid; - /// pid private readonly uint _pid; public PKEY( Guid fmtid, uint pid ) @@ -365,17 +249,11 @@ namespace Standard _pid = pid; } - /// PKEY_Title public static readonly PKEY Title = new PKEY( new Guid( "F29F85E0-4FF9-1068-AB91-08002B27B3D9" ), 2 ); - /// PKEY_AppUserModel_ID public static readonly PKEY AppUserModel_ID = new PKEY( new Guid( "9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3" ), 5 ); - /// PKEY_AppUserModel_IsDestListSeparator public static readonly PKEY AppUserModel_IsDestListSeparator = new PKEY( new Guid( "9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3" ), 6 ); - /// PKEY_AppUserModel_RelaunchCommand public static readonly PKEY AppUserModel_RelaunchCommand = new PKEY( new Guid( "9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3" ), 2 ); - /// PKEY_AppUserModel_RelaunchDisplayNameResource public static readonly PKEY AppUserModel_RelaunchDisplayNameResource = new PKEY( new Guid( "9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3" ), 4 ); - /// PKEY_AppUserModel_RelaunchIconResource public static readonly PKEY AppUserModel_RelaunchIconResource = new PKEY( new Guid( "9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3" ), 3 ); } @@ -424,7 +302,6 @@ namespace Standard IEnumObjects Clone(); } - /// Unknown Object Array [ ComImport, InterfaceType( ComInterfaceType.InterfaceIsIUnknown ), @@ -564,9 +441,6 @@ namespace Standard [Out] out IntPtr ppidlOut ); } - /// - /// Shell Namespace helper - /// [ ComImport, InterfaceType( ComInterfaceType.InterfaceIsIUnknown ), @@ -613,9 +487,6 @@ namespace Standard object EnumItems(); } - /// - /// Shell Namespace helper 2 - /// [ ComImport, InterfaceType( ComInterfaceType.InterfaceIsIUnknown ), @@ -712,33 +583,14 @@ namespace Standard ] internal interface ITaskbarList { - /// - /// This function must be called first to validate use of other members. - /// void HrInit(); - /// - /// This function adds a tab for hwnd to the taskbar. - /// - /// The HWND for which to add the tab. void AddTab( IntPtr hwnd ); - /// - /// This function deletes a tab for hwnd from the taskbar. - /// - /// The HWND for which the tab is to be deleted. void DeleteTab( IntPtr hwnd ); - /// - /// This function activates the tab associated with hwnd on the taskbar. - /// - /// The HWND for which the tab is to be actuvated. void ActivateTab( IntPtr hwnd ); - /// - /// This function marks hwnd in the taskbar as the active tab. - /// - /// The HWND to activate. void SetActiveAlt( IntPtr hwnd ); } @@ -757,18 +609,6 @@ namespace Standard new void SetActiveAlt( IntPtr hwnd ); #endregion - /// - /// Marks a window as full-screen. - /// - /// The handle of the window to be marked. - /// A Boolean value marking the desired full-screen status of the window. - /// - /// Setting the value of fFullscreen to true, the Shell treats this window as a full-screen window, and the taskbar - /// is moved to the bottom of the z-order when this window is active. Setting the value of fFullscreen to false - /// removes the full-screen marking, but does not cause the Shell to treat the window as though it were - /// definitely not full-screen. With a false fFullscreen value, the Shell depends on its automatic detection facility - /// to specify how the window should be treated, possibly still flagging the window as full-screen. - /// void MarkFullscreenWindow( IntPtr hwnd, [MarshalAs( UnmanagedType.Bool )] bool fFullscreen ); } @@ -792,9 +632,6 @@ namespace Standard void RemoveAllDestinations(); } - /// - /// Allows an application to retrieve the most recent and frequent documents opened in that app, as reported via SHAddToRecentDocs - /// [ ComImport, InterfaceType( ComInterfaceType.InterfaceIsIUnknown ), @@ -802,19 +639,8 @@ namespace Standard ] internal interface IApplicationDocumentLists { - /// - /// Set the App User Model ID for the application retrieving this list. If an AppID is not provided via this method, - /// the system will use a heuristically determined ID. This method must be called before GetList. - /// - /// App Id. void SetAppID( [MarshalAs( UnmanagedType.LPWStr )] string pszAppID ); - /// - /// Retrieve an IEnumObjects or IObjectArray for IShellItems and/or IShellLinks. - /// Items may appear in both the frequent and recent lists. - /// - /// - /// [return: MarshalAs( UnmanagedType.IUnknown )] object GetList( [In] APPDOCLISTTYPE listtype, [In] uint cItemsDesired, [In] ref Guid riid ); } @@ -849,9 +675,6 @@ namespace Standard void AbortList(); } - /// - /// Provides access to the App User Model ID on objects supporting this value. - /// [ ComImport, InterfaceType( ComInterfaceType.InterfaceIsIUnknown ), @@ -864,9 +687,6 @@ namespace Standard string GetAppID(); }; - /// - /// Provides access to the ProgID associated with an object - /// [ ComImport, InterfaceType( ComInterfaceType.InterfaceIsIUnknown ), diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/StreamHelper.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/StreamHelper.cs index 7e66dad7..b1706c4f 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/StreamHelper.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/StreamHelper.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -31,9 +31,6 @@ namespace Standard using STATSTG = System.Runtime.InteropServices.ComTypes.STATSTG; // All these methods return void. Does the standard marshaller convert them to HRESULTs? - /// - /// Wraps a managed stream instance into an interface pointer consumable by COM. - /// internal sealed class ManagedIStream : IStream, IDisposable { private const int STGTY_STREAM = 2; @@ -42,12 +39,6 @@ namespace Standard private Stream _source; - /// - /// Initializes a new instance of the ManagedIStream class with the specified managed Stream object. - /// - /// - /// The stream that this IStream reference is wrapping. - /// public ManagedIStream( Stream source ) { Verify.IsNotNull( source, "source" ); @@ -65,17 +56,6 @@ namespace Standard // Comments are taken from MSDN IStream documentation. #region IStream Members - /// - /// Creates a new stream object with its own seek pointer that - /// references the same bytes as the original stream. - /// - /// - /// When this method returns, contains the new stream object. This parameter is passed uninitialized. - /// - /// - /// For more information, see the existing documentation for IStream::Clone in the MSDN library. - /// This class doesn't implement Clone. A COMException is thrown if it is used. - /// [SuppressMessage( "Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Standard.HRESULT.ThrowIfFailed(System.String)" )] [Obsolete( "The method is not implemented", true )] public void Clone( out IStream ppstm ) @@ -84,42 +64,12 @@ namespace Standard HRESULT.STG_E_INVALIDFUNCTION.ThrowIfFailed( "The method is not implemented." ); } - /// - /// Ensures that any changes made to a stream object that is open in transacted - /// mode are reflected in the parent storage. - /// - /// - /// A value that controls how the changes for the stream object are committed. - /// - /// - /// For more information, see the existing documentation for IStream::Commit in the MSDN library. - /// public void Commit( int grfCommitFlags ) { _Validate(); _source.Flush(); } - /// - /// Copies a specified number of bytes from the current seek pointer in the - /// stream to the current seek pointer in another stream. - /// - /// - /// A reference to the destination stream. - /// - /// - /// The number of bytes to copy from the source stream. - /// - /// - /// On successful return, contains the actual number of bytes read from the source. - /// (Note the native signature is to a ULARGE_INTEGER*, so 64 bits are written - /// to this parameter on success.) - /// - /// - /// On successful return, contains the actual number of bytes written to the destination. - /// (Note the native signature is to a ULARGE_INTEGER*, so 64 bits are written - /// to this parameter on success.) - /// [SuppressMessage( "Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0" )] [SuppressMessage( "Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands" )] public void CopyTo( IStream pstm, long cb, IntPtr pcbRead, IntPtr pcbWritten ) @@ -158,43 +108,12 @@ namespace Standard } } - /// - /// Restricts access to a specified range of bytes in the stream. - /// - /// - /// The byte offset for the beginning of the range. - /// - /// - /// The length of the range, in bytes, to restrict. - /// - /// - /// The requested restrictions on accessing the range. - /// - /// - /// For more information, see the existing documentation for IStream::LockRegion in the MSDN library. - /// This class doesn't implement LockRegion. A COMException is thrown if it is used. - /// [SuppressMessage( "Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Standard.HRESULT.ThrowIfFailed(System.String)" ), Obsolete( "The method is not implemented", true )] public void LockRegion( long libOffset, long cb, int dwLockType ) { HRESULT.STG_E_INVALIDFUNCTION.ThrowIfFailed( "The method is not implemented." ); } - /// - /// Reads a specified number of bytes from the stream object into memory starting at the current seek pointer. - /// - /// - /// When this method returns, contains the data read from the stream. This parameter is passed uninitialized. - /// - /// - /// The number of bytes to read from the stream object. - /// - /// - /// A pointer to a ULONG variable that receives the actual number of bytes read from the stream object. - /// - /// - /// For more information, see the existing documentation for ISequentialStream::Read in the MSDN library. - /// [SuppressMessage( "Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands" )] public void Read( byte[] pv, int cb, IntPtr pcbRead ) { @@ -209,36 +128,12 @@ namespace Standard } - /// - /// Discards all changes that have been made to a transacted stream since the last Commit call. - /// - /// - /// This class doesn't implement Revert. A COMException is thrown if it is used. - /// [SuppressMessage( "Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Standard.HRESULT.ThrowIfFailed(System.String)" ), Obsolete( "The method is not implemented", true )] public void Revert() { HRESULT.STG_E_INVALIDFUNCTION.ThrowIfFailed( "The method is not implemented." ); } - /// - /// Changes the seek pointer to a new location relative to the beginning of the - /// stream, to the end of the stream, or to the current seek pointer. - /// - /// - /// The displacement to add to dwOrigin. - /// - /// - /// The origin of the seek. The origin can be the beginning of the file, the current seek pointer, or the end of the file. - /// - /// - /// On successful return, contains the offset of the seek pointer from the beginning of the stream. - /// (Note the native signature is to a ULARGE_INTEGER*, so 64 bits are written - /// to this parameter on success.) - /// - /// - /// For more information, see the existing documentation for IStream::Seek in the MSDN library. - /// [SuppressMessage( "Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands" )] public void Seek( long dlibMove, int dwOrigin, IntPtr plibNewPosition ) { @@ -252,31 +147,12 @@ namespace Standard } } - /// - /// Changes the size of the stream object. - /// - /// - /// The new size of the stream as a number of bytes. - /// - /// - /// For more information, see the existing documentation for IStream::SetSize in the MSDN library. - /// public void SetSize( long libNewSize ) { _Validate(); _source.SetLength( libNewSize ); } - /// - /// Retrieves the STATSTG structure for this stream. - /// - /// - /// When this method returns, contains a STATSTG structure that describes this stream object. - /// This parameter is passed uninitialized. - /// - /// - /// Members in the STATSTG structure that this method does not return, thus saving some memory allocation operations. - /// public void Stat( out STATSTG pstatstg, int grfStatFlag ) { pstatstg = default( STATSTG ); @@ -288,21 +164,6 @@ namespace Standard pstatstg.grfLocksSupported = LOCK_EXCLUSIVE; } - /// - /// Removes the access restriction on a range of bytes previously restricted with the LockRegion method. - /// - /// The byte offset for the beginning of the range. - /// - /// - /// The length, in bytes, of the range to restrict. - /// - /// - /// The access restrictions previously placed on the range. - /// - /// - /// For more information, see the existing documentation for IStream::UnlockRegion in the MSDN library. - /// This class doesn't implement UnlockRegion. A COMException is thrown if it is used. - /// [SuppressMessage( "Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Standard.HRESULT.ThrowIfFailed(System.String)" )] [Obsolete( "The method is not implemented", true )] public void UnlockRegion( long libOffset, long cb, int dwLockType ) @@ -310,20 +171,6 @@ namespace Standard HRESULT.STG_E_INVALIDFUNCTION.ThrowIfFailed( "The method is not implemented." ); } - /// - /// Writes a specified number of bytes into the stream object starting at the current seek pointer. - /// - /// - /// The buffer to write this stream to. - /// - /// - /// The number of bytes to write to the stream. - /// - /// - /// On successful return, contains the actual number of bytes written to the stream object. - /// If the caller sets this pointer to null, this method does not provide the actual number - /// of bytes written. - /// [SuppressMessage( "Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands" )] public void Write( byte[] pv, int cb, IntPtr pcbWritten ) { @@ -341,13 +188,6 @@ namespace Standard #region IDisposable Members - /// - /// Releases resources controlled by this object. - /// - /// - /// Dispose can be called multiple times, but trying to use the object - /// after it has been disposed will generally throw ObjectDisposedExceptions. - /// public void Dispose() { _source = null; diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/Utilities.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/Utilities.cs index 0b023bc8..9a3f6ddb 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/Utilities.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/Utilities.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -75,18 +75,12 @@ namespace Standard return true; } - /// The native RGB macro. - /// - /// [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] public static int RGB( Color c ) { return c.R | ( c.G << 8 ) | ( c.B << 16 ); } - /// Convert a native integer that represent a color with an alpha channel into a Color struct. - /// The integer that represents the color. Its bits are of the format 0xAARRGGBB. - /// A Color representation of the parameter. public static Color ColorFromArgbDword( uint color ) { return Color.FromArgb( @@ -279,13 +273,6 @@ namespace Standard } } - /// - /// Is this using WPF4? - /// - /// - /// There are a few specific bugs in Window in 3.5SP1 and below that require workarounds - /// when handling WM_NCCALCSIZE on the HWND. - /// public static bool IsPresentationFrameworkVersionLessThan4 { get @@ -412,9 +399,6 @@ namespace Standard return diff; } - /// From a list of BitmapFrames find the one that best matches the requested dimensions. - /// The methods used here are copied from Win32 sources. We want to be consistent with - /// system behaviors. private static BitmapFrame _GetBestMatch( IList frames, int bitDepth, int width, int height ) { int bestScore = int.MaxValue; @@ -467,14 +451,6 @@ namespace Standard return s_bitDepth; } - /// - /// Simple guard against the exceptions that File.Delete throws on null and empty strings. - /// - /// The path to delete. Unlike File.Delete, this can be null or empty. - /// - /// Note that File.Delete, and by extension SafeDeleteFile, does not throw an exception - /// if the file does not exist. - /// [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] public static void SafeDeleteFile( string path ) { @@ -485,7 +461,6 @@ namespace Standard } } - /// GDI's DeleteObject [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] public static void SafeDeleteObject( ref IntPtr gdiObject ) { @@ -532,8 +507,6 @@ namespace Standard } } - /// GDI+'s DisposeImage - /// [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] public static void SafeDisposeImage( ref IntPtr gdipImage ) { @@ -584,12 +557,6 @@ namespace Standard } } - /// - /// Utility to help classes catenate their properties for implementing ToString(). - /// - /// The StringBuilder to catenate the results into. - /// The name of the property to be catenated. - /// The value of the property to be catenated. [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] public static void GeneratePropertyString( StringBuilder source, string propertyName, string value ) { @@ -615,15 +582,6 @@ namespace Standard } } - /// - /// Generates ToString functionality for a struct. This is an expensive way to do it, - /// it exists for the sake of debugging while classes are in flux. - /// Eventually this should just be removed and the classes should - /// do this without reflection. - /// - /// - /// - /// [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] [Obsolete] public static string GenerateToString( T @object ) where T : struct @@ -845,18 +803,6 @@ namespace Standard return decoder.GetString(); } - /// - /// Encodes a URL string. Duplicated functionality from System.Web.HttpUtility.UrlEncode. - /// - /// - /// - /// - /// Duplicated from System.Web.HttpUtility because System.Web isn't part of the client profile. - /// URL Encoding replaces ' ' with '+' and unsafe ASCII characters with '%XX'. - /// Safe characters are defined in RFC2396 (http://www.ietf.org/rfc/rfc2396.txt). - /// They are the 7-bit ASCII alphanumerics and the mark characters "-_.!~*'()". - /// This implementation does not treat '~' as a safe character to be consistent with the System.Web version. - /// [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] public static string UrlEncode( string url ) { diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/Verify.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/Verify.cs index 6951ee7e..4a8801af 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/Verify.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/Verify.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -33,24 +33,8 @@ namespace Standard using System.IO; using System.Threading; - /// - /// A static class for retail validated assertions. - /// Instead of breaking into the debugger an exception is thrown. - /// internal static class Verify { - /// - /// Ensure that the current thread's apartment state is what's expected. - /// - /// - /// The required apartment state for the current thread. - /// - /// - /// The message string for the exception to be thrown if the state is invalid. - /// - /// - /// Thrown if the calling thread's apartment state is not the same as the requiredState. - /// [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] [DebuggerStepThrough] public static void IsApartmentState( ApartmentState requiredState, string message ) @@ -61,11 +45,6 @@ namespace Standard } } - /// - /// Ensure that an argument is neither null nor empty. - /// - /// The string to validate. - /// The name of the parameter that will be presented if an exception is thrown. [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] [SuppressMessage( "Microsoft.Performance", "CA1820:TestForEmptyStringsUsingStringLength" )] [DebuggerStepThrough] @@ -86,11 +65,6 @@ namespace Standard } } - /// - /// Ensure that an argument is neither null nor does it consist only of whitespace. - /// - /// The string to validate. - /// The name of the parameter that will be presented if an exception is thrown. [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] [SuppressMessage( "Microsoft.Performance", "CA1820:TestForEmptyStringsUsingStringLength" )] [DebuggerStepThrough] @@ -111,10 +85,6 @@ namespace Standard } } - /// Verifies that an argument is not null. - /// Type of the object to validate. Must be a class. - /// The object to validate. - /// The name of the parameter that will be presented if an exception is thrown. [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] [DebuggerStepThrough] public static void IsNotDefault( T obj, string name ) where T : struct @@ -125,10 +95,6 @@ namespace Standard } } - /// Verifies that an argument is not null. - /// Type of the object to validate. Must be a class. - /// The object to validate. - /// The name of the parameter that will be presented if an exception is thrown. [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] [DebuggerStepThrough] public static void IsNotNull( T obj, string name ) where T : class @@ -139,10 +105,6 @@ namespace Standard } } - /// Verifies that an argument is null. - /// Type of the object to validate. Must be a class. - /// The object to validate. - /// The name of the parameter that will be presented if an exception is thrown. [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] [DebuggerStepThrough] public static void IsNull( T obj, string name ) where T : class @@ -173,11 +135,6 @@ namespace Standard } } - /// - /// Verifies the specified statement is true. Throws an ArgumentException if it's not. - /// - /// The statement to be verified as true. - /// Name of the parameter to include in the ArgumentException. [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] [DebuggerStepThrough] public static void IsTrue( bool statement, string name ) @@ -188,12 +145,6 @@ namespace Standard } } - /// - /// Verifies the specified statement is true. Throws an ArgumentException if it's not. - /// - /// The statement to be verified as true. - /// Name of the parameter to include in the ArgumentException. - /// The message to include in the ArgumentException. [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] [DebuggerStepThrough] public static void IsTrue( bool statement, string name, string message ) @@ -251,12 +202,6 @@ namespace Standard } } - /// - /// Verifies that the specified value is within the expected range. The assertion fails if it isn't. - /// - /// The lower bound inclusive value. - /// The value to verify. - /// The upper bound exclusive value. [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] [DebuggerStepThrough] public static void BoundedInteger( int lowerBoundInclusive, int value, int upperBoundExclusive, string parameterName ) diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/SystemCommands.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/SystemCommands.cs index e41346b0..f10392f1 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/SystemCommands.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/SystemCommands.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -91,8 +91,6 @@ namespace Microsoft.Windows.Shell _PostSystemCommand( window, SC.RESTORE ); } - /// Display the system menu at a specified location. - /// The location to display the system menu, in logical screen coordinates. public static void ShowSystemMenu( Window window, Point screenLocation ) { Verify.IsNotNull( window, "window" ); diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/SystemParameters2.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/SystemParameters2.cs index f4fc1b73..9a47d2b6 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/SystemParameters2.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/SystemParameters2.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -308,9 +308,6 @@ namespace Microsoft.Windows.Shell #endregion - /// - /// Private constructor. The public way to access this class is through the static Current property. - /// private SystemParameters2() { // This window gets used for calculations about standard caption button locations diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/WindowChrome.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/WindowChrome.cs index 7fc2973e..ac24eed9 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/WindowChrome.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/WindowChrome.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -150,7 +150,6 @@ namespace Microsoft.Windows.Shell ( d, e ) => ( ( WindowChrome )d )._OnPropertyChangedThatRequiresRepaint() ), value => ( double )value >= 0d ); - /// The extent of the top of the window to treat as the caption. public double CaptionHeight { get @@ -237,10 +236,6 @@ namespace Microsoft.Windows.Shell #region ShowSystemMenu - /// - /// Gets or sets the ShowSystemMenu property. This dependency property - /// indicates if the system menu should be shown at right click on the caption. - /// public bool ShowSystemMenu { get; diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/WindowChromeWorker.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/WindowChromeWorker.cs index fb2c2b16..3f6a8b63 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/WindowChromeWorker.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/WindowChromeWorker.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -44,9 +44,7 @@ namespace Microsoft.Windows.Shell private readonly List _messageTable; - /// The Window that's chrome is being modified. private Window _window; - /// Underlying HWND for the _window. private IntPtr _hwnd; private HwndSource _hwndSource = null; private bool _isHooked = false; @@ -60,7 +58,6 @@ namespace Microsoft.Windows.Shell // Field to track attempts to force off Device Bitmaps on Win7. private int _blackGlassFixupAttemptCount; - /// Object that describes the current modifications being made to the chrome. private WindowChrome _chromeInfo; // Keep track of this so we can detect when we need to apply changes. Tracking these separately @@ -713,10 +710,6 @@ namespace Microsoft.Windows.Shell #endregion - /// Add and remove a native WindowStyle from the HWND. - /// The styles to be removed. These can be bitwise combined. - /// The styles to be added. These can be bitwise combined. - /// Whether the styles of the HWND were modified as a result of this call. private bool _ModifyStyle( WS removeStyle, WS addStyle ) { Assert.IsNotDefault( _hwnd ); @@ -731,9 +724,6 @@ namespace Microsoft.Windows.Shell return true; } - /// - /// Get the WindowState as the native HWND knows it to be. This isn't necessarily the same as what Window thinks. - /// private WindowState _GetHwndState() { var wpl = NativeMethods.GetWindowPlacement( _hwnd ); @@ -747,10 +737,6 @@ namespace Microsoft.Windows.Shell return WindowState.Normal; } - /// - /// Get the bounding rectangle for the window in physical coordinates. - /// - /// The bounding rectangle for the window. private Rect _GetWindowRect() { // Get the window rectangle. @@ -758,15 +744,6 @@ namespace Microsoft.Windows.Shell return new Rect( windowPosition.Left, windowPosition.Top, windowPosition.Width, windowPosition.Height ); } - /// - /// Update the items in the system menu based on the current, or assumed, WindowState. - /// - /// - /// The state to assume that the Window is in. This can be null to query the Window's state. - /// - /// - /// We want to update the menu while we have some control over whether the caption will be repainted. - /// private void _UpdateSystemMenu( WindowState? assumeState ) { const MF mfEnabled = MF.ENABLED | MF.BYCOMMAND; @@ -1089,9 +1066,6 @@ namespace Microsoft.Windows.Shell } } - /// - /// Matrix of the HT values to return when responding to NC window messages. - /// [SuppressMessage( "Microsoft.Performance", "CA1814:PreferJaggedArraysOverMultidimensional", MessageId = "Member" )] private static readonly HT[,] _HitTestBorders = new[ , ] { diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/TransformExtentions.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/TransformExtentions.cs index 9af45ea1..b609dee2 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/TransformExtentions.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/TransformExtentions.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/WeakDictionary.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/WeakDictionary.cs index 05bb640b..fd6ea688 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/WeakDictionary.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/WeakDictionary.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/WindowActivateEventArgs.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/WindowActivateEventArgs.cs index c62808c2..614aebe7 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/WindowActivateEventArgs.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/WindowActivateEventArgs.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/WindowHookHandler.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/WindowHookHandler.cs index cfaddf9d..6bda12b0 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/WindowHookHandler.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/WindowHookHandler.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/ActivateCommandLayoutItemFromLayoutModelConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/ActivateCommandLayoutItemFromLayoutModelConverter.cs index 8357ee1b..3d9f0c63 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/ActivateCommandLayoutItemFromLayoutModelConverter.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/ActivateCommandLayoutItemFromLayoutModelConverter.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AnchorSideToAngleConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AnchorSideToAngleConverter.cs index 8fd9ff0d..fb4863e5 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AnchorSideToAngleConverter.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AnchorSideToAngleConverter.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AnchorSideToOrientationConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AnchorSideToOrientationConverter.cs index a8e160db..2dd0b89d 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AnchorSideToOrientationConverter.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AnchorSideToOrientationConverter.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AnchorableContextMenuAutoHideHeaderConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AnchorableContextMenuAutoHideHeaderConverter.cs index e1cbdb8e..c96951df 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AnchorableContextMenuAutoHideHeaderConverter.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AnchorableContextMenuAutoHideHeaderConverter.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AnchorableContextMenuHideVisibilityConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AnchorableContextMenuHideVisibilityConverter.cs index 4657aa32..e71e1c7e 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AnchorableContextMenuHideVisibilityConverter.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AnchorableContextMenuHideVisibilityConverter.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AutoHideCommandLayoutItemFromLayoutModelConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AutoHideCommandLayoutItemFromLayoutModelConverter.cs index a6961499..832d030f 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AutoHideCommandLayoutItemFromLayoutModelConverter.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/AutoHideCommandLayoutItemFromLayoutModelConverter.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/BoolToVisibilityConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/BoolToVisibilityConverter.cs index ac167c20..bcb37fd4 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/BoolToVisibilityConverter.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/BoolToVisibilityConverter.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -26,16 +26,6 @@ namespace Xceed.Wpf.AvalonDock.Converters { #region IValueConverter Members - /// - /// Converts a value. - /// - /// The value produced by the binding source. - /// The type of the binding target property. - /// The converter parameter to use. - /// The culture to use in the converter. - /// - /// A converted value. If the method returns null, the valid null value is used. - /// public object Convert( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture ) { if( value is bool && targetType == typeof( Visibility ) ) @@ -58,19 +48,8 @@ namespace Xceed.Wpf.AvalonDock.Converters } return Visibility.Visible; - ///throw new ArgumentException("Invalid argument/return type. Expected argument: bool and return type: Visibility"); } - /// - /// Converts a value. - /// - /// The value that is produced by the binding target. - /// The type to convert to. - /// The converter parameter to use. - /// The culture to use in the converter. - /// - /// A converted value. If the method returns null, the valid null value is used. - /// public object ConvertBack( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture ) { if( value is Visibility && targetType == typeof( bool ) ) diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/HideCommandLayoutItemFromLayoutModelConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/HideCommandLayoutItemFromLayoutModelConverter.cs index 11917e5a..c8cac691 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/HideCommandLayoutItemFromLayoutModelConverter.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/HideCommandLayoutItemFromLayoutModelConverter.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/InverseBoolToVisibilityConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/InverseBoolToVisibilityConverter.cs index 18fddab6..03c8e690 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/InverseBoolToVisibilityConverter.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/InverseBoolToVisibilityConverter.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -26,16 +26,6 @@ namespace Xceed.Wpf.AvalonDock.Converters { #region IValueConverter Members - /// - /// Converts a value. - /// - /// The value produced by the binding source. - /// The type of the binding target property. - /// The converter parameter to use. - /// The culture to use in the converter. - /// - /// A converted value. If the method returns null, the valid null value is used. - /// public object Convert( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture ) { if( value is bool && targetType == typeof( Visibility ) ) @@ -52,16 +42,6 @@ namespace Xceed.Wpf.AvalonDock.Converters throw new ArgumentException( "Invalid argument/return type. Expected argument: bool and return type: Visibility" ); } - /// - /// Converts a value. - /// - /// The value that is produced by the binding target. - /// The type to convert to. - /// The converter parameter to use. - /// The culture to use in the converter. - /// - /// A converted value. If the method returns null, the valid null value is used. - /// public object ConvertBack( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture ) { if( value is Visibility && targetType == typeof( bool ) ) diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/LayoutItemFromLayoutModelConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/LayoutItemFromLayoutModelConverter.cs index 3dac29ce..a6013b87 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/LayoutItemFromLayoutModelConverter.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/LayoutItemFromLayoutModelConverter.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/NullToDoNothingConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/NullToDoNothingConverter.cs index 7038baf6..bdf9a0d9 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/NullToDoNothingConverter.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/NullToDoNothingConverter.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/UriSourceToBitmapImageConverter.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/UriSourceToBitmapImageConverter.cs index 97036902..ce26840e 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/UriSourceToBitmapImageConverter.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Converters/UriSourceToBitmapImageConverter.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/DockingManager.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/DockingManager.cs index c0baf9bf..cad80f1d 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/DockingManager.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/DockingManager.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -104,16 +104,9 @@ namespace Xceed.Wpf.AvalonDock #region AllowMovingFloatingWindowWithKeyboard - /// - /// AllowMovingFloatingWindowWithKeyboard Dependency Property - /// public static readonly DependencyProperty AllowMovingFloatingWindowWithKeyboardProperty = DependencyProperty.Register( "AllowMovingFloatingWindowWithKeyboard", typeof( bool ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( bool )false ) ); - /// - /// Gets/sets the AllowMovingFloatingWindowWithKeyboard property. This dependency property - /// indicates if the window can be moved with arrows keys. - /// public bool AllowMovingFloatingWindowWithKeyboard { get @@ -130,16 +123,9 @@ namespace Xceed.Wpf.AvalonDock #region Layout - /// - /// Layout Dependency Property - /// public static readonly DependencyProperty LayoutProperty = DependencyProperty.Register( "Layout", typeof( LayoutRoot ), typeof( DockingManager ), new FrameworkPropertyMetadata( null, new PropertyChangedCallback( OnLayoutChanged ), new CoerceValueCallback( CoerceLayoutValue ) ) ); - /// - /// Gets or sets the Layout property. This dependency property - /// indicates layout tree. - /// public LayoutRoot Layout { get @@ -152,9 +138,6 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Coerces the value. - /// private static object CoerceLayoutValue( DependencyObject d, object value ) { if( value == null ) @@ -165,17 +148,11 @@ namespace Xceed.Wpf.AvalonDock return value; } - /// - /// Handles changes to the Layout property. - /// private static void OnLayoutChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnLayoutChanged( e.OldValue as LayoutRoot, e.NewValue as LayoutRoot ); } - /// - /// Provides derived classes an opportunity to handle changes to the property. - /// protected virtual void OnLayoutChanged( LayoutRoot oldLayout, LayoutRoot newLayout ) { if( oldLayout != null ) @@ -249,18 +226,9 @@ namespace Xceed.Wpf.AvalonDock #region LayoutUpdateStrategy - /// - /// LayoutUpdateStrategy Dependency Property - /// public static readonly DependencyProperty LayoutUpdateStrategyProperty = DependencyProperty.Register( "LayoutUpdateStrategy", typeof( ILayoutUpdateStrategy ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( ILayoutUpdateStrategy )null ) ); - /// - /// Gets or sets the LayoutUpdateStrategy property. This dependency property - /// indicates the strategy class to call when AvalonDock needs to positionate a LayoutAnchorable inside an existing layout. - /// - /// Sometimes it's impossible to automatically insert an anchorable in the layout without specifing the target parent pane. - /// Set this property to an object that will be asked to insert the anchorable to the desidered position. public ILayoutUpdateStrategy LayoutUpdateStrategy { get @@ -277,16 +245,9 @@ namespace Xceed.Wpf.AvalonDock #region AnchorSideTemplate - /// - /// AnchorSideTemplate Dependency Property - /// public static readonly DependencyProperty AnchorSideTemplateProperty = DependencyProperty.Register( "AnchorSideTemplate", typeof( ControlTemplate ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( ControlTemplate )null ) ); - /// - /// Gets or sets the AnchorSideTemplate property. This dependency property - /// indicates .... - /// public ControlTemplate AnchorSideTemplate { get @@ -303,16 +264,9 @@ namespace Xceed.Wpf.AvalonDock #region AnchorGroupTemplate - /// - /// AnchorGroupTemplate Dependency Property - /// public static readonly DependencyProperty AnchorGroupTemplateProperty = DependencyProperty.Register( "AnchorGroupTemplate", typeof( ControlTemplate ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( ControlTemplate )null ) ); - /// - /// Gets or sets the AnchorGroupTemplate property. This dependency property - /// indicates the template used to render the AnchorGroup control. - /// public ControlTemplate AnchorGroupTemplate { get @@ -329,16 +283,9 @@ namespace Xceed.Wpf.AvalonDock #region AnchorTemplate - /// - /// AnchorTemplate Dependency Property - /// public static readonly DependencyProperty AnchorTemplateProperty = DependencyProperty.Register( "AnchorTemplate", typeof( ControlTemplate ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( ControlTemplate )null ) ); - /// - /// Gets or sets the AnchorTemplate property. This dependency property - /// indicates .... - /// public ControlTemplate AnchorTemplate { get @@ -355,16 +302,9 @@ namespace Xceed.Wpf.AvalonDock #region DocumentPaneControlStyle - /// - /// DocumentPaneControlStyle Dependency Property - /// public static readonly DependencyProperty DocumentPaneControlStyleProperty = DependencyProperty.Register( "DocumentPaneControlStyle", typeof( Style ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( Style )null, new PropertyChangedCallback( OnDocumentPaneControlStyleChanged ) ) ); - /// - /// Gets or sets the DocumentPaneControlStyle property. This dependency property - /// indicates .... - /// public Style DocumentPaneControlStyle { get @@ -377,17 +317,11 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the DocumentPaneControlStyle property. - /// private static void OnDocumentPaneControlStyleChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnDocumentPaneControlStyleChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the DocumentPaneControlStyle property. - /// protected virtual void OnDocumentPaneControlStyleChanged( DependencyPropertyChangedEventArgs e ) { } @@ -396,16 +330,9 @@ namespace Xceed.Wpf.AvalonDock #region AnchorablePaneControlStyle - /// - /// AnchorablePaneControlStyle Dependency Property - /// public static readonly DependencyProperty AnchorablePaneControlStyleProperty = DependencyProperty.Register( "AnchorablePaneControlStyle", typeof( Style ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( Style )null, new PropertyChangedCallback( OnAnchorablePaneControlStyleChanged ) ) ); - /// - /// Gets or sets the AnchorablePaneControlStyle property. This dependency property - /// indicates the style to apply to AnchorablePaneControl. - /// public Style AnchorablePaneControlStyle { get @@ -418,17 +345,11 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the AnchorablePaneControlStyle property. - /// private static void OnAnchorablePaneControlStyleChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnAnchorablePaneControlStyleChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the AnchorablePaneControlStyle property. - /// protected virtual void OnAnchorablePaneControlStyleChanged( DependencyPropertyChangedEventArgs e ) { } @@ -437,16 +358,9 @@ namespace Xceed.Wpf.AvalonDock #region DocumentHeaderTemplate - /// - /// DocumentHeaderTemplate Dependency Property - /// public static readonly DependencyProperty DocumentHeaderTemplateProperty = DependencyProperty.Register( "DocumentHeaderTemplate", typeof( DataTemplate ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( DataTemplate )null, new PropertyChangedCallback( OnDocumentHeaderTemplateChanged ), new CoerceValueCallback( CoerceDocumentHeaderTemplateValue ) ) ); - /// - /// Gets or sets the DocumentHeaderTemplate property. This dependency property - /// indicates data template to use for document header. - /// public DataTemplate DocumentHeaderTemplate { get @@ -459,24 +373,15 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the DocumentHeaderTemplate property. - /// private static void OnDocumentHeaderTemplateChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnDocumentHeaderTemplateChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the DocumentHeaderTemplate property. - /// protected virtual void OnDocumentHeaderTemplateChanged( DependencyPropertyChangedEventArgs e ) { } - /// - /// Coerces the DocumentHeaderTemplate value. - /// private static object CoerceDocumentHeaderTemplateValue( DependencyObject d, object value ) { if( value != null && @@ -489,16 +394,9 @@ namespace Xceed.Wpf.AvalonDock #region DocumentHeaderTemplateSelector - /// - /// DocumentHeaderTemplateSelector Dependency Property - /// public static readonly DependencyProperty DocumentHeaderTemplateSelectorProperty = DependencyProperty.Register( "DocumentHeaderTemplateSelector", typeof( DataTemplateSelector ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( DataTemplateSelector )null, new PropertyChangedCallback( OnDocumentHeaderTemplateSelectorChanged ), new CoerceValueCallback( CoerceDocumentHeaderTemplateSelectorValue ) ) ); - /// - /// Gets or sets the DocumentHeaderTemplateSelector property. This dependency property - /// indicates the template selector that is used when selcting the data template for the header. - /// public DataTemplateSelector DocumentHeaderTemplateSelector { get @@ -511,17 +409,11 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the DocumentHeaderTemplateSelector property. - /// private static void OnDocumentHeaderTemplateSelectorChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnDocumentHeaderTemplateSelectorChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the DocumentHeaderTemplateSelector property. - /// protected virtual void OnDocumentHeaderTemplateSelectorChanged( DependencyPropertyChangedEventArgs e ) { if( e.NewValue != null && @@ -533,9 +425,6 @@ namespace Xceed.Wpf.AvalonDock } - /// - /// Coerces the DocumentHeaderTemplateSelector value. - /// private static object CoerceDocumentHeaderTemplateSelectorValue( DependencyObject d, object value ) { return value; @@ -545,16 +434,9 @@ namespace Xceed.Wpf.AvalonDock #region DocumentTitleTemplate - /// - /// DocumentTitleTemplate Dependency Property - /// public static readonly DependencyProperty DocumentTitleTemplateProperty = DependencyProperty.Register( "DocumentTitleTemplate", typeof( DataTemplate ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( DataTemplate )null, new PropertyChangedCallback( OnDocumentTitleTemplateChanged ), new CoerceValueCallback( CoerceDocumentTitleTemplateValue ) ) ); - /// - /// Gets or sets the DocumentTitleTemplate property. This dependency property - /// indicates the datatemplate to use when creating the title for a document. - /// public DataTemplate DocumentTitleTemplate { get @@ -567,24 +449,15 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the DocumentTitleTemplate property. - /// private static void OnDocumentTitleTemplateChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnDocumentTitleTemplateChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the DocumentTitleTemplate property. - /// protected virtual void OnDocumentTitleTemplateChanged( DependencyPropertyChangedEventArgs e ) { } - /// - /// Coerces the DocumentTitleTemplate value. - /// private static object CoerceDocumentTitleTemplateValue( DependencyObject d, object value ) { if( value != null && @@ -598,16 +471,9 @@ namespace Xceed.Wpf.AvalonDock #region DocumentTitleTemplateSelector - /// - /// DocumentTitleTemplateSelector Dependency Property - /// public static readonly DependencyProperty DocumentTitleTemplateSelectorProperty = DependencyProperty.Register( "DocumentTitleTemplateSelector", typeof( DataTemplateSelector ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( DataTemplateSelector )null, new PropertyChangedCallback( OnDocumentTitleTemplateSelectorChanged ), new CoerceValueCallback( CoerceDocumentTitleTemplateSelectorValue ) ) ); - /// - /// Gets or sets the DocumentTitleTemplateSelector property. This dependency property - /// indicates the data template selector to use when creating the data template for the title. - /// public DataTemplateSelector DocumentTitleTemplateSelector { get @@ -620,26 +486,17 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the DocumentTitleTemplateSelector property. - /// private static void OnDocumentTitleTemplateSelectorChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnDocumentTitleTemplateSelectorChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the DocumentTitleTemplateSelector property. - /// protected virtual void OnDocumentTitleTemplateSelectorChanged( DependencyPropertyChangedEventArgs e ) { if( e.NewValue != null ) DocumentTitleTemplate = null; } - /// - /// Coerces the DocumentTitleTemplateSelector value. - /// private static object CoerceDocumentTitleTemplateSelectorValue( DependencyObject d, object value ) { return value; @@ -649,16 +506,9 @@ namespace Xceed.Wpf.AvalonDock #region AnchorableTitleTemplate - /// - /// AnchorableTitleTemplate Dependency Property - /// public static readonly DependencyProperty AnchorableTitleTemplateProperty = DependencyProperty.Register( "AnchorableTitleTemplate", typeof( DataTemplate ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( DataTemplate )null, new PropertyChangedCallback( OnAnchorableTitleTemplateChanged ), new CoerceValueCallback( CoerceAnchorableTitleTemplateValue ) ) ); - /// - /// Gets or sets the AnchorableTitleTemplate property. This dependency property - /// indicates the data template to use for anchorables title. - /// public DataTemplate AnchorableTitleTemplate { get @@ -671,24 +521,15 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the AnchorableTitleTemplate property. - /// private static void OnAnchorableTitleTemplateChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnAnchorableTitleTemplateChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the AnchorableTitleTemplate property. - /// protected virtual void OnAnchorableTitleTemplateChanged( DependencyPropertyChangedEventArgs e ) { } - /// - /// Coerces the AnchorableTitleTemplate value. - /// private static object CoerceAnchorableTitleTemplateValue( DependencyObject d, object value ) { if( value != null && @@ -701,16 +542,9 @@ namespace Xceed.Wpf.AvalonDock #region AnchorableTitleTemplateSelector - /// - /// AnchorableTitleTemplateSelector Dependency Property - /// public static readonly DependencyProperty AnchorableTitleTemplateSelectorProperty = DependencyProperty.Register( "AnchorableTitleTemplateSelector", typeof( DataTemplateSelector ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( DataTemplateSelector )null, new PropertyChangedCallback( OnAnchorableTitleTemplateSelectorChanged ) ) ); - /// - /// Gets or sets the AnchorableTitleTemplateSelector property. This dependency property - /// indicates selctor to use when selecting data template for the title of anchorables. - /// public DataTemplateSelector AnchorableTitleTemplateSelector { get @@ -723,17 +557,11 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the AnchorableTitleTemplateSelector property. - /// private static void OnAnchorableTitleTemplateSelectorChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnAnchorableTitleTemplateSelectorChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the AnchorableTitleTemplateSelector property. - /// protected virtual void OnAnchorableTitleTemplateSelectorChanged( DependencyPropertyChangedEventArgs e ) { if( e.NewValue != null && @@ -745,16 +573,9 @@ namespace Xceed.Wpf.AvalonDock #region AnchorableHeaderTemplate - /// - /// AnchorableHeaderTemplate Dependency Property - /// public static readonly DependencyProperty AnchorableHeaderTemplateProperty = DependencyProperty.Register( "AnchorableHeaderTemplate", typeof( DataTemplate ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( DataTemplate )null, new PropertyChangedCallback( OnAnchorableHeaderTemplateChanged ), new CoerceValueCallback( CoerceAnchorableHeaderTemplateValue ) ) ); - /// - /// Gets or sets the AnchorableHeaderTemplate property. This dependency property - /// indicates the data template to use for anchorable templates. - /// public DataTemplate AnchorableHeaderTemplate { get @@ -767,24 +588,15 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the AnchorableHeaderTemplate property. - /// private static void OnAnchorableHeaderTemplateChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnAnchorableHeaderTemplateChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the AnchorableHeaderTemplate property. - /// protected virtual void OnAnchorableHeaderTemplateChanged( DependencyPropertyChangedEventArgs e ) { } - /// - /// Coerces the AnchorableHeaderTemplate value. - /// private static object CoerceAnchorableHeaderTemplateValue( DependencyObject d, object value ) { if( value != null && @@ -798,16 +610,9 @@ namespace Xceed.Wpf.AvalonDock #region AnchorableHeaderTemplateSelector - /// - /// AnchorableHeaderTemplateSelector Dependency Property - /// public static readonly DependencyProperty AnchorableHeaderTemplateSelectorProperty = DependencyProperty.Register( "AnchorableHeaderTemplateSelector", typeof( DataTemplateSelector ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( DataTemplateSelector )null, new PropertyChangedCallback( OnAnchorableHeaderTemplateSelectorChanged ) ) ); - /// - /// Gets or sets the AnchorableHeaderTemplateSelector property. This dependency property - /// indicates the selector to use when selecting the data template for anchorable headers. - /// public DataTemplateSelector AnchorableHeaderTemplateSelector { get @@ -820,17 +625,11 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the AnchorableHeaderTemplateSelector property. - /// private static void OnAnchorableHeaderTemplateSelectorChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnAnchorableHeaderTemplateSelectorChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the AnchorableHeaderTemplateSelector property. - /// protected virtual void OnAnchorableHeaderTemplateSelectorChanged( DependencyPropertyChangedEventArgs e ) { if( e.NewValue != null ) @@ -841,16 +640,9 @@ namespace Xceed.Wpf.AvalonDock #region LayoutRootPanel - /// - /// LayoutRootPanel Dependency Property - /// public static readonly DependencyProperty LayoutRootPanelProperty = DependencyProperty.Register( "LayoutRootPanel", typeof( LayoutPanelControl ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( LayoutPanelControl )null, new PropertyChangedCallback( OnLayoutRootPanelChanged ) ) ); - /// - /// Gets or sets the LayoutRootPanel property. This dependency property - /// indicates the layout panel control which is attached to the Layout.Root property. - /// public LayoutPanelControl LayoutRootPanel { get @@ -863,17 +655,11 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the LayoutRootPanel property. - /// private static void OnLayoutRootPanelChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnLayoutRootPanelChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the LayoutRootPanel property. - /// protected virtual void OnLayoutRootPanelChanged( DependencyPropertyChangedEventArgs e ) { if( e.OldValue != null ) @@ -886,16 +672,9 @@ namespace Xceed.Wpf.AvalonDock #region RightSidePanel - /// - /// RightSidePanel Dependency Property - /// public static readonly DependencyProperty RightSidePanelProperty = DependencyProperty.Register( "RightSidePanel", typeof( LayoutAnchorSideControl ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( LayoutAnchorSideControl )null, new PropertyChangedCallback( OnRightSidePanelChanged ) ) ); - /// - /// Gets or sets the RightSidePanel property. This dependency property - /// indicates right side anchor panel. - /// public LayoutAnchorSideControl RightSidePanel { get @@ -908,17 +687,11 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the RightSidePanel property. - /// private static void OnRightSidePanelChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnRightSidePanelChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the RightSidePanel property. - /// protected virtual void OnRightSidePanelChanged( DependencyPropertyChangedEventArgs e ) { if( e.OldValue != null ) @@ -931,16 +704,9 @@ namespace Xceed.Wpf.AvalonDock #region LeftSidePanel - /// - /// LeftSidePanel Dependency Property - /// public static readonly DependencyProperty LeftSidePanelProperty = DependencyProperty.Register( "LeftSidePanel", typeof( LayoutAnchorSideControl ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( LayoutAnchorSideControl )null, new PropertyChangedCallback( OnLeftSidePanelChanged ) ) ); - /// - /// Gets or sets the LeftSidePanel property. This dependency property - /// indicates the left side panel control. - /// public LayoutAnchorSideControl LeftSidePanel { get @@ -953,17 +719,11 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the LeftSidePanel property. - /// private static void OnLeftSidePanelChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnLeftSidePanelChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the LeftSidePanel property. - /// protected virtual void OnLeftSidePanelChanged( DependencyPropertyChangedEventArgs e ) { if( e.OldValue != null ) @@ -976,16 +736,9 @@ namespace Xceed.Wpf.AvalonDock #region TopSidePanel - /// - /// TopSidePanel Dependency Property - /// public static readonly DependencyProperty TopSidePanelProperty = DependencyProperty.Register( "TopSidePanel", typeof( LayoutAnchorSideControl ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( LayoutAnchorSideControl )null, new PropertyChangedCallback( OnTopSidePanelChanged ) ) ); - /// - /// Gets or sets the TopSidePanel property. This dependency property - /// indicates top side control panel. - /// public LayoutAnchorSideControl TopSidePanel { get @@ -998,17 +751,11 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the TopSidePanel property. - /// private static void OnTopSidePanelChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnTopSidePanelChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the TopSidePanel property. - /// protected virtual void OnTopSidePanelChanged( DependencyPropertyChangedEventArgs e ) { if( e.OldValue != null ) @@ -1021,16 +768,9 @@ namespace Xceed.Wpf.AvalonDock #region BottomSidePanel - /// - /// BottomSidePanel Dependency Property - /// public static readonly DependencyProperty BottomSidePanelProperty = DependencyProperty.Register( "BottomSidePanel", typeof( LayoutAnchorSideControl ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( LayoutAnchorSideControl )null, new PropertyChangedCallback( OnBottomSidePanelChanged ) ) ); - /// - /// Gets or sets the BottomSidePanel property. This dependency property - /// indicates bottom side panel control. - /// public LayoutAnchorSideControl BottomSidePanel { get @@ -1043,17 +783,11 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the BottomSidePanel property. - /// private static void OnBottomSidePanelChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnBottomSidePanelChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the BottomSidePanel property. - /// protected virtual void OnBottomSidePanelChanged( DependencyPropertyChangedEventArgs e ) { if( e.OldValue != null ) @@ -1121,18 +855,11 @@ namespace Xceed.Wpf.AvalonDock #region AutoHideWindow - /// - /// AutoHideWindow Read-Only Dependency Property - /// private static readonly DependencyPropertyKey AutoHideWindowPropertyKey = DependencyProperty.RegisterReadOnly( "AutoHideWindow", typeof( LayoutAutoHideWindowControl ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( LayoutAutoHideWindowControl )null, new PropertyChangedCallback( OnAutoHideWindowChanged ) ) ); public static readonly DependencyProperty AutoHideWindowProperty = AutoHideWindowPropertyKey.DependencyProperty; - /// - /// Gets the AutoHideWindow property. This dependency property - /// indicates the currently shown autohide window. - /// public LayoutAutoHideWindowControl AutoHideWindow { get @@ -1141,27 +868,16 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Provides a secure method for setting the AutoHideWindow property. - /// This dependency property indicates the currently shown autohide window. - /// - /// The new value for the property. protected void SetAutoHideWindow( LayoutAutoHideWindowControl value ) { SetValue( AutoHideWindowPropertyKey, value ); } - /// - /// Handles changes to the AutoHideWindow property. - /// private static void OnAutoHideWindowChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnAutoHideWindowChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the AutoHideWindow property. - /// protected virtual void OnAutoHideWindowChanged( DependencyPropertyChangedEventArgs e ) { if( e.OldValue != null ) @@ -1175,17 +891,10 @@ namespace Xceed.Wpf.AvalonDock #region AutoHideWindowClosingTimer - /// - /// AutoHideWindowClosingTimer Dependency Property - /// public static readonly DependencyProperty AutoHideWindowClosingTimerProperty = DependencyProperty.Register( "AutoHideWindowClosingTimer", typeof( int ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( int )1500, new PropertyChangedCallback( OnAutoHideWindowClosingTimerChanged ), new CoerceValueCallback( CoerceAutoHideWindowClosingTimer ) ) ); - /// - /// Gets or sets the AutoHideWindowClosingTimer property. This dependency property - /// indicates how long it will take to close the AutoHideWindow when not moused over or active. - /// public int AutoHideWindowClosingTimer { get @@ -1235,16 +944,9 @@ namespace Xceed.Wpf.AvalonDock #region LayoutItemTemplate - /// - /// LayoutItemTemplate Dependency Property - /// public static readonly DependencyProperty LayoutItemTemplateProperty = DependencyProperty.Register( "LayoutItemTemplate", typeof( DataTemplate ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( DataTemplate )null, new PropertyChangedCallback( OnLayoutItemTemplateChanged ) ) ); - /// - /// Gets or sets the AnchorableTemplate property. This dependency property - /// indicates the template to use to render anchorable and document contents. - /// public DataTemplate LayoutItemTemplate { get @@ -1257,17 +959,11 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the AnchorableTemplate property. - /// private static void OnLayoutItemTemplateChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnLayoutItemTemplateChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the AnchorableTemplate property. - /// protected virtual void OnLayoutItemTemplateChanged( DependencyPropertyChangedEventArgs e ) { } @@ -1276,16 +972,9 @@ namespace Xceed.Wpf.AvalonDock #region LayoutItemTemplateSelector - /// - /// LayoutItemTemplateSelector Dependency Property - /// public static readonly DependencyProperty LayoutItemTemplateSelectorProperty = DependencyProperty.Register( "LayoutItemTemplateSelector", typeof( DataTemplateSelector ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( DataTemplateSelector )null, new PropertyChangedCallback( OnLayoutItemTemplateSelectorChanged ) ) ); - /// - /// Gets or sets the LayoutItemTemplateSelector property. This dependency property - /// indicates selector object to use for anchorable templates. - /// public DataTemplateSelector LayoutItemTemplateSelector { get @@ -1298,17 +987,11 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the LayoutItemTemplateSelector property. - /// private static void OnLayoutItemTemplateSelectorChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnLayoutItemTemplateSelectorChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the LayoutItemTemplateSelector property. - /// protected virtual void OnLayoutItemTemplateSelectorChanged( DependencyPropertyChangedEventArgs e ) { } @@ -1317,16 +1000,9 @@ namespace Xceed.Wpf.AvalonDock #region DocumentsSource - /// - /// DocumentsSource Dependency Property - /// public static readonly DependencyProperty DocumentsSourceProperty = DependencyProperty.Register( "DocumentsSource", typeof( IEnumerable ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( IEnumerable )null, new PropertyChangedCallback( OnDocumentsSourceChanged ) ) ); - /// - /// Gets or sets the DocumentsSource property. This dependency property - /// indicates the source collection of documents. - /// public IEnumerable DocumentsSource { get @@ -1339,17 +1015,11 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the DocumentsSource property. - /// private static void OnDocumentsSourceChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnDocumentsSourceChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the DocumentsSource property. - /// protected virtual void OnDocumentsSourceChanged( DependencyPropertyChangedEventArgs e ) { DetachDocumentsSource( Layout, e.OldValue as IEnumerable ); @@ -1360,16 +1030,9 @@ namespace Xceed.Wpf.AvalonDock #region DocumentContextMenu - /// - /// DocumentContextMenu Dependency Property - /// public static readonly DependencyProperty DocumentContextMenuProperty = DependencyProperty.Register( "DocumentContextMenu", typeof( ContextMenu ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( ContextMenu )null ) ); - /// - /// Gets or sets the DocumentContextMenu property. This dependency property - /// indicates context menu to show for documents. - /// public ContextMenu DocumentContextMenu { get @@ -1386,16 +1049,9 @@ namespace Xceed.Wpf.AvalonDock #region AnchorablesSource - /// - /// AnchorablesSource Dependency Property - /// public static readonly DependencyProperty AnchorablesSourceProperty = DependencyProperty.Register( "AnchorablesSource", typeof( IEnumerable ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( IEnumerable )null, new PropertyChangedCallback( OnAnchorablesSourceChanged ) ) ); - /// - /// Gets or sets the AnchorablesSource property. This dependency property - /// indicates source collection of anchorables. - /// public IEnumerable AnchorablesSource { get @@ -1408,17 +1064,11 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the AnchorablesSource property. - /// private static void OnAnchorablesSourceChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnAnchorablesSourceChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the AnchorablesSource property. - /// protected virtual void OnAnchorablesSourceChanged( DependencyPropertyChangedEventArgs e ) { DetachAnchorablesSource( Layout, e.OldValue as IEnumerable ); @@ -1431,16 +1081,9 @@ namespace Xceed.Wpf.AvalonDock #region ActiveContent - /// - /// ActiveContent Dependency Property - /// public static readonly DependencyProperty ActiveContentProperty = DependencyProperty.Register( "ActiveContent", typeof( object ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( object )null, new PropertyChangedCallback( OnActiveContentChanged ) ) ); - /// - /// Gets or sets the ActiveContent property. This dependency property - /// indicates the content currently active. - /// public object ActiveContent { get @@ -1453,18 +1096,12 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the ActiveContent property. - /// private static void OnActiveContentChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).InternalSetActiveContent( e.NewValue ); ( ( DockingManager )d ).OnActiveContentChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the ActiveContent property. - /// protected virtual void OnActiveContentChanged( DependencyPropertyChangedEventArgs e ) { if( ActiveContentChanged != null ) @@ -1475,16 +1112,9 @@ namespace Xceed.Wpf.AvalonDock #region AnchorableContextMenu - /// - /// AnchorableContextMenu Dependency Property - /// public static readonly DependencyProperty AnchorableContextMenuProperty = DependencyProperty.Register( "AnchorableContextMenu", typeof( ContextMenu ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( ContextMenu )null ) ); - /// - /// Gets or sets the AnchorableContextMenu property. This dependency property - /// indicates the context menu to show up for anchorables. - /// public ContextMenu AnchorableContextMenu { get @@ -1501,16 +1131,9 @@ namespace Xceed.Wpf.AvalonDock #region Theme - /// - /// Theme Dependency Property - /// public static readonly DependencyProperty ThemeProperty = DependencyProperty.Register( "Theme", typeof( Theme ), typeof( DockingManager ), new FrameworkPropertyMetadata( null, new PropertyChangedCallback( OnThemeChanged ) ) ); - /// - /// Gets or sets the Theme property. This dependency property - /// indicates the theme to use for AvalonDock controls. - /// public Theme Theme { get @@ -1523,17 +1146,11 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the Theme property. - /// private static void OnThemeChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnThemeChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the Theme property. - /// protected virtual void OnThemeChanged( DependencyPropertyChangedEventArgs e ) { var oldTheme = e.OldValue as Theme; @@ -1576,26 +1193,19 @@ namespace Xceed.Wpf.AvalonDock fwc.UpdateThemeResources( oldTheme ); if( _navigatorWindow != null ) - _navigatorWindow.UpdateThemeResources(); + _navigatorWindow.UpdateThemeResources( oldTheme ); if( _overlayWindow != null ) - _overlayWindow.UpdateThemeResources(); + _overlayWindow.UpdateThemeResources( oldTheme ); } #endregion #region GridSplitterWidth - /// - /// GridSplitterWidth Dependency Property - /// public static readonly DependencyProperty GridSplitterWidthProperty = DependencyProperty.Register( "GridSplitterWidth", typeof( double ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( double )6.0 ) ); - /// - /// Gets or sets the GridSplitterWidth property. This dependency property - /// indicates width of grid splitters. - /// public double GridSplitterWidth { get @@ -1612,16 +1222,9 @@ namespace Xceed.Wpf.AvalonDock #region GridSplitterHeight - /// - /// GridSplitterHeight Dependency Property - /// public static readonly DependencyProperty GridSplitterHeightProperty = DependencyProperty.Register( "GridSplitterHeight", typeof( double ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( double )6.0 ) ); - /// - /// Gets or sets the GridSplitterHeight property. This dependency property - /// indicates height of grid splitters. - /// public double GridSplitterHeight { get @@ -1638,16 +1241,9 @@ namespace Xceed.Wpf.AvalonDock #region DocumentPaneMenuItemHeaderTemplate - /// - /// DocumentPaneMenuItemHeaderTemplate Dependency Property - /// public static readonly DependencyProperty DocumentPaneMenuItemHeaderTemplateProperty = DependencyProperty.Register( "DocumentPaneMenuItemHeaderTemplate", typeof( DataTemplate ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( DataTemplate )null, new PropertyChangedCallback( OnDocumentPaneMenuItemHeaderTemplateChanged ), new CoerceValueCallback( CoerceDocumentPaneMenuItemHeaderTemplateValue ) ) ); - /// - /// Gets or sets the DocumentPaneMenuItemHeaderTemplate property. This dependency property - /// indicates the header template to use while creating menu items for the document panes. - /// public DataTemplate DocumentPaneMenuItemHeaderTemplate { get @@ -1660,24 +1256,15 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the DocumentPaneMenuItemHeaderTemplate property. - /// private static void OnDocumentPaneMenuItemHeaderTemplateChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnDocumentPaneMenuItemHeaderTemplateChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the DocumentPaneMenuItemHeaderTemplate property. - /// protected virtual void OnDocumentPaneMenuItemHeaderTemplateChanged( DependencyPropertyChangedEventArgs e ) { } - /// - /// Coerces the DocumentPaneMenuItemHeaderTemplate value. - /// private static object CoerceDocumentPaneMenuItemHeaderTemplateValue( DependencyObject d, object value ) { if( value != null && @@ -1693,16 +1280,9 @@ namespace Xceed.Wpf.AvalonDock #region DocumentPaneMenuItemHeaderTemplateSelector - /// - /// DocumentPaneMenuItemHeaderTemplateSelector Dependency Property - /// public static readonly DependencyProperty DocumentPaneMenuItemHeaderTemplateSelectorProperty = DependencyProperty.Register( "DocumentPaneMenuItemHeaderTemplateSelector", typeof( DataTemplateSelector ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( DataTemplateSelector )null, new PropertyChangedCallback( OnDocumentPaneMenuItemHeaderTemplateSelectorChanged ), new CoerceValueCallback( CoerceDocumentPaneMenuItemHeaderTemplateSelectorValue ) ) ); - /// - /// Gets or sets the DocumentPaneMenuItemHeaderTemplateSelector property. This dependency property - /// indicates the data template selector to use for the menu items show when user select the DocumentPane document switch context menu. - /// public DataTemplateSelector DocumentPaneMenuItemHeaderTemplateSelector { get @@ -1715,17 +1295,11 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the DocumentPaneMenuItemHeaderTemplateSelector property. - /// private static void OnDocumentPaneMenuItemHeaderTemplateSelectorChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnDocumentPaneMenuItemHeaderTemplateSelectorChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the DocumentPaneMenuItemHeaderTemplateSelector property. - /// protected virtual void OnDocumentPaneMenuItemHeaderTemplateSelectorChanged( DependencyPropertyChangedEventArgs e ) { if( e.NewValue != null && @@ -1734,9 +1308,6 @@ namespace Xceed.Wpf.AvalonDock } - /// - /// Coerces the DocumentPaneMenuItemHeaderTemplateSelector value. - /// private static object CoerceDocumentPaneMenuItemHeaderTemplateSelectorValue( DependencyObject d, object value ) { return value; @@ -1746,16 +1317,9 @@ namespace Xceed.Wpf.AvalonDock #region IconContentTemplate - /// - /// IconContentTemplate Dependency Property - /// public static readonly DependencyProperty IconContentTemplateProperty = DependencyProperty.Register( "IconContentTemplate", typeof( DataTemplate ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( DataTemplate )null ) ); - /// - /// Gets or sets the IconContentTemplate property. This dependency property - /// indicates the data template to use while extracting the icon from model. - /// public DataTemplate IconContentTemplate { get @@ -1772,16 +1336,9 @@ namespace Xceed.Wpf.AvalonDock #region IconContentTemplateSelector - /// - /// IconContentTemplateSelector Dependency Property - /// public static readonly DependencyProperty IconContentTemplateSelectorProperty = DependencyProperty.Register( "IconContentTemplateSelector", typeof( DataTemplateSelector ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( DataTemplateSelector )null ) ); - /// - /// Gets or sets the IconContentTemplateSelector property. This dependency property - /// indicates data template selector to use while selecting the datatamplate for content icons. - /// public DataTemplateSelector IconContentTemplateSelector { get @@ -1798,16 +1355,9 @@ namespace Xceed.Wpf.AvalonDock #region LayoutItemContainerStyle - /// - /// LayoutItemContainerStyle Dependency Property - /// public static readonly DependencyProperty LayoutItemContainerStyleProperty = DependencyProperty.Register( "LayoutItemContainerStyle", typeof( Style ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( Style )null, new PropertyChangedCallback( OnLayoutItemContainerStyleChanged ) ) ); - /// - /// Gets or sets the LayoutItemContainerStyle property. This dependency property - /// indicates the style to apply to LayoutDocumentItem objects. A LayoutDocumentItem object is created when a new LayoutDocument is created inside the current Layout. - /// public Style LayoutItemContainerStyle { get @@ -1820,17 +1370,11 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the LayoutItemContainerStyle property. - /// private static void OnLayoutItemContainerStyleChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnLayoutItemContainerStyleChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the LayoutItemContainerStyle property. - /// protected virtual void OnLayoutItemContainerStyleChanged( DependencyPropertyChangedEventArgs e ) { AttachLayoutItems(); @@ -1840,16 +1384,9 @@ namespace Xceed.Wpf.AvalonDock #region LayoutItemContainerStyleSelector - /// - /// LayoutItemContainerStyleSelector Dependency Property - /// public static readonly DependencyProperty LayoutItemContainerStyleSelectorProperty = DependencyProperty.Register( "LayoutItemContainerStyleSelector", typeof( StyleSelector ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( StyleSelector )null, new PropertyChangedCallback( OnLayoutItemContainerStyleSelectorChanged ) ) ); - /// - /// Gets or sets the LayoutItemContainerStyleSelector property. This dependency property - /// indicates style selector of the LayoutDocumentItemStyle. - /// public StyleSelector LayoutItemContainerStyleSelector { get @@ -1862,17 +1399,11 @@ namespace Xceed.Wpf.AvalonDock } } - /// - /// Handles changes to the LayoutItemContainerStyleSelector property. - /// private static void OnLayoutItemContainerStyleSelectorChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) { ( ( DockingManager )d ).OnLayoutItemContainerStyleSelectorChanged( e ); } - /// - /// Provides derived classes an opportunity to handle changes to the LayoutItemContainerStyleSelector property. - /// protected virtual void OnLayoutItemContainerStyleSelectorChanged( DependencyPropertyChangedEventArgs e ) { AttachLayoutItems(); @@ -1882,16 +1413,9 @@ namespace Xceed.Wpf.AvalonDock #region ShowSystemMenu - /// - /// ShowSystemMenu Dependency Property - /// public static readonly DependencyProperty ShowSystemMenuProperty = DependencyProperty.Register( "ShowSystemMenu", typeof( bool ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( bool )true ) ); - /// - /// Gets or sets the ShowSystemMenu property. This dependency property - /// indicates if floating windows should show the system menu when a custom context menu is not defined. - /// public bool ShowSystemMenu { get @@ -1908,16 +1432,9 @@ namespace Xceed.Wpf.AvalonDock #region AllowMixedOrientation - /// - /// AllowMixedOrientation Dependency Property - /// public static readonly DependencyProperty AllowMixedOrientationProperty = DependencyProperty.Register( "AllowMixedOrientation", typeof( bool ), typeof( DockingManager ), new FrameworkPropertyMetadata( ( bool )false ) ); - /// - /// Gets or sets the AllowMixedOrientation property. This dependency property - /// indicates if the manager should allow mixed orientation for document panes. - /// public bool AllowMixedOrientation { get @@ -2036,11 +1553,6 @@ namespace Xceed.Wpf.AvalonDock return new NavigatorWindow( this ); } - /// - /// Return the LayoutItem wrapper for the content passed as argument - /// - /// LayoutContent to search - /// Either a LayoutAnchorableItem or LayoutDocumentItem which contains the LayoutContent passed as argument public LayoutItem GetLayoutItemFromModel( LayoutContent content ) { if( _layoutItems == null ) @@ -3395,6 +2907,13 @@ namespace Xceed.Wpf.AvalonDock var grandParent = parentPane.Parent as ILayoutPane; if( grandParent != null ) { + var greatGrandParent = grandParent.Parent; + // Case 2934 - Do not remove the Last Parent in the LayoutRoot in order to keep the view of the LayoutRoot by default + if( greatGrandParent != null && greatGrandParent == this.Layout.RootPanel && greatGrandParent.ChildrenCount == 1 ) + { + break; + } + grandParent.RemoveChild( parentPane ); } @@ -3627,25 +3146,12 @@ namespace Xceed.Wpf.AvalonDock #region Events - /// - /// Event fired when property changes - /// public event EventHandler LayoutChanged; - /// - /// Event fired when property is about to be changed - /// public event EventHandler LayoutChanging; - /// - /// Event fired when a document is about to be closed - /// - /// Subscribers have the opportuniy to cancel the operation. public event EventHandler DocumentClosing; - /// - /// Event fired after a document is closed - /// public event EventHandler DocumentClosed; public event EventHandler ActiveContentChanged; diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/DocumentClosedEventArgs.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/DocumentClosedEventArgs.cs index ce89b550..3a789bed 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/DocumentClosedEventArgs.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/DocumentClosedEventArgs.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/DocumentClosingEventArgs.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/DocumentClosingEventArgs.cs index b05297ba..623a1cb7 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/DocumentClosingEventArgs.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/DocumentClosingEventArgs.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Extentions.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Extentions.cs index b743ffb8..9d49a728 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Extentions.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Extentions.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/AnchorSide.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/AnchorSide.cs index bf8aa13e..34074398 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/AnchorSide.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/AnchorSide.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/AnchorableShowStrategy.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/AnchorableShowStrategy.cs index a749cb4c..b2258b5f 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/AnchorableShowStrategy.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/AnchorableShowStrategy.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ChildrenTreeChangedEventArgs.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ChildrenTreeChangedEventArgs.cs index 5b3fd13e..6adf13cd 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ChildrenTreeChangedEventArgs.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ChildrenTreeChangedEventArgs.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -21,14 +21,8 @@ namespace Xceed.Wpf.AvalonDock.Layout { public enum ChildrenTreeChange { - /// - /// Direct insert/remove operation has been perfomed to the group - /// DirectChildrenChanged, - /// - /// An element below in the hierarchy as been added/removed - /// TreeChanged } diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Extentions.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Extentions.cs index 71c3d3ac..25f6eb24 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Extentions.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Extentions.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutAnchorablePane.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutAnchorablePane.cs index a0d28c7e..00ef06f7 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutAnchorablePane.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutAnchorablePane.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutContainer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutContainer.cs index 7852ed9f..ae194b7c 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutContainer.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutContainer.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutContentSelector.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutContentSelector.cs index 82853824..627c9550 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutContentSelector.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutContentSelector.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutControl.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutControl.cs index 0fc2a550..815d3c41 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutControl.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutControl.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutDocumentPane.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutDocumentPane.cs index 0e47ad13..6101d34b 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutDocumentPane.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutDocumentPane.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutElement.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutElement.cs index 2f16148f..cf4de408 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutElement.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutElement.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutElementWithVisibility.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutElementWithVisibility.cs index 23f1ac7a..55b96dd5 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutElementWithVisibility.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutElementWithVisibility.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutGroup.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutGroup.cs index ca52229f..3061a62d 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutGroup.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutGroup.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutInitialContainer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutInitialContainer.cs index fe5507b8..e03c7978 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutInitialContainer.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutInitialContainer.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutOrientableElement.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutOrientableElement.cs index a999a67e..9ea1535f 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutOrientableElement.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutOrientableElement.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPane.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPane.cs index e88d66a6..88f497c1 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPane.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPane.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPaneSerializable.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPaneSerializable.cs index 47c78abd..5719d8ff 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPaneSerializable.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPaneSerializable.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPanelElement.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPanelElement.cs index aa29335d..cf5e806d 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPanelElement.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPanelElement.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPositionableElement.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPositionableElement.cs index ca0af389..ad42e7c6 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPositionableElement.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPositionableElement.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPreviousContainer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPreviousContainer.cs index 4749c706..2df9cb10 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPreviousContainer.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutPreviousContainer.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutRoot.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutRoot.cs index 5972a651..0fe49e0e 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutRoot.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutRoot.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutUpdateStrategy.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutUpdateStrategy.cs index 695edfa3..7488b297 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutUpdateStrategy.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/ILayoutUpdateStrategy.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorGroup.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorGroup.cs index 93bb27eb..8b8d887a 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorGroup.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorGroup.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorSide.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorSide.cs index 14f25b64..22d67870 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorSide.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorSide.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorable.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorable.cs index 87f4769d..b9efb6a7 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorable.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorable.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -205,9 +205,6 @@ namespace Xceed.Wpf.AvalonDock.Layout #region IsAutoHidden - /// - /// Get a value indicating if the anchorable is anchored to a border in an autohide status - /// public bool IsAutoHidden { get @@ -405,10 +402,6 @@ namespace Xceed.Wpf.AvalonDock.Layout #region Public Methods - /// - /// Hide this contents - /// - /// Add this content to collection of parent root. public void Hide( bool cancelable = true ) { if( !IsVisible ) @@ -451,10 +444,6 @@ namespace Xceed.Wpf.AvalonDock.Layout } - /// - /// Show the content - /// - /// Try to show the content where it was previously hidden. public void Show() { if( IsVisible ) @@ -507,11 +496,6 @@ namespace Xceed.Wpf.AvalonDock.Layout } - /// - /// Add the anchorable to a DockingManager layout - /// - /// - /// public void AddToLayout( DockingManager manager, AnchorableShowStrategy strategy ) { if( IsVisible || diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorableFloatingWindow.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorableFloatingWindow.cs index b4e0a41f..b6b0bc65 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorableFloatingWindow.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorableFloatingWindow.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorablePane.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorablePane.cs index 99845472..4f1cd709 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorablePane.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorablePane.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorablePaneGroup.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorablePaneGroup.cs index 11c858a2..dcf100f6 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorablePaneGroup.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorablePaneGroup.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutContent.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutContent.cs index 7d5e230a..0c886b08 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutContent.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutContent.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -166,9 +166,6 @@ namespace Xceed.Wpf.AvalonDock.Layout } } - /// - /// Provides derived classes an opportunity to handle changes to the IsSelected property. - /// protected virtual void OnIsSelectedChanged( bool oldValue, bool newValue ) { this.UpdateContainedFloatingWindowTaskbarTitle( newValue ); @@ -214,9 +211,6 @@ namespace Xceed.Wpf.AvalonDock.Layout } } - /// - /// Provides derived classes an opportunity to handle changes to the IsActive property. - /// protected virtual void OnIsActiveChanged( bool oldValue, bool newValue ) { if( newValue ) @@ -721,10 +715,6 @@ namespace Xceed.Wpf.AvalonDock.Layout #region Public Methods - /// - /// Close the content - /// - /// Please note that usually the anchorable is only hidden (not closed). By default when user click the X button it only hides the content. public abstract void Close(); public System.Xml.Schema.XmlSchema GetSchema() @@ -851,9 +841,6 @@ namespace Xceed.Wpf.AvalonDock.Layout return string.Compare( Title, other.Title ); } - /// - /// Float the content in a popup window - /// public void Float() { if( PreviousContainer != null && @@ -886,9 +873,6 @@ namespace Xceed.Wpf.AvalonDock.Layout Root.CollectGarbage(); } - /// - /// Dock the content as document - /// public void DockAsDocument() { var root = Root as LayoutRoot; @@ -951,9 +935,6 @@ namespace Xceed.Wpf.AvalonDock.Layout IsActive = true; } - /// - /// Re-dock the content to its previous container - /// public void Dock() { Root.Manager.RaisePreviewDockEvent( this ); @@ -1006,10 +987,6 @@ namespace Xceed.Wpf.AvalonDock.Layout #region Internal Methods - /// - /// Test if the content can be closed - /// - /// internal bool TestCanClose() { CancelEventArgs args = new CancelEventArgs(); @@ -1060,12 +1037,12 @@ namespace Xceed.Wpf.AvalonDock.Layout { // Check if LayoutContent is inside a FloatingWindowControl // And set the correct title for Taskbar Title - var root = Root; + var root = this.Root; - if( root != null ) + if( (root != null) && (root.Manager != null) ) { var lfwc = root.Manager.FloatingWindows; - var containedFloatingWindowControl = lfwc.FirstOrDefault( f => f.Model.Descendents().OfType().Where( l => l.ContentId == this.ContentId ).FirstOrDefault() != null ); + var containedFloatingWindowControl = lfwc.FirstOrDefault( f => (f.Model != null) && f.Model.Descendents().OfType().Where( l => l.ContentId == this.ContentId ).FirstOrDefault() != null ); if( containedFloatingWindowControl != null ) { @@ -1087,18 +1064,8 @@ namespace Xceed.Wpf.AvalonDock.Layout #region Events - /// - /// Event fired when the content is closed (i.e. removed definitely from the layout) - /// public event EventHandler Closed; - /// - /// Event fired when the content is about to be closed (i.e. removed definitely from the layout) - /// - /// Please note that LayoutAnchorable also can be hidden. Usually user hide anchorables when click the 'X' button. To completely close - /// an anchorable the user should click the 'Close' menu item from the context menu. When an LayoutAnchorable is hidden its visibility changes to false and - /// IsHidden property is set to true. - /// Hanlde the Hiding event for the LayoutAnchorable to cancel the hide operation. public event EventHandler Closing; diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocument.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocument.cs index cfebd727..21756b99 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocument.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocument.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocumentFloatingWindow.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocumentFloatingWindow.cs index a2225d79..61225aaa 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocumentFloatingWindow.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocumentFloatingWindow.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocumentPane.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocumentPane.cs index 0bff878c..ea13f23d 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocumentPane.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocumentPane.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocumentPaneGroup.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocumentPaneGroup.cs index 555075c3..e1f9414c 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocumentPaneGroup.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocumentPaneGroup.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutElement.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutElement.cs index 05c061df..5ede5c92 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutElement.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutElement.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -114,16 +114,10 @@ namespace Xceed.Wpf.AvalonDock.Layout #region Internal Methods - /// - /// Provides derived classes an opportunity to handle execute code before to the Parent property changes. - /// protected virtual void OnParentChanging( ILayoutContainer oldValue, ILayoutContainer newValue ) { } - /// - /// Provides derived classes an opportunity to handle changes to the Parent property. - /// protected virtual void OnParentChanged( ILayoutContainer oldValue, ILayoutContainer newValue ) { } diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutElementEventArgs.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutElementEventArgs.cs index 80b52fb4..eda7a086 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutElementEventArgs.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutElementEventArgs.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutFloatingWindow.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutFloatingWindow.cs index 86e3a38e..d7591432 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutFloatingWindow.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutFloatingWindow.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutGroup.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutGroup.cs index 5f44f004..642cde39 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutGroup.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutGroup.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutGroupBase.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutGroupBase.cs index 65bce196..74b8425b 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutGroupBase.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutGroupBase.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutPanel.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutPanel.cs index 766f2edd..ae26d3cb 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutPanel.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutPanel.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutPositionableGroup.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutPositionableGroup.cs index 13d112bf..2fb529d9 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutPositionableGroup.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutPositionableGroup.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -91,12 +91,6 @@ namespace Xceed.Wpf.AvalonDock.Layout #region AllowDuplicateContent private bool _allowDuplicateContent = true; - /// - /// Gets or sets the AllowDuplicateContent property. - /// When this property is true, then the LayoutDocumentPane or LayoutAnchorablePane allows dropping - /// duplicate content (according to its Title and ContentId). When this dependency property is false, - /// then the LayoutDocumentPane or LayoutAnchorablePane hides the OverlayWindow.DropInto button to prevent dropping of duplicate content. - /// public bool AllowDuplicateContent { get diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutRoot.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutRoot.cs index 70449988..b46d1dfd 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutRoot.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutRoot.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -419,9 +419,6 @@ namespace Xceed.Wpf.AvalonDock.Layout LeftSide = ( LayoutAnchorSide )newElement; } - /// - /// Removes any empty container not directly referenced by other layout items - /// public void CollectGarbage() { bool exitFlag = true; diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Serialization/LayoutSerializationCallbackEventArgs.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Serialization/LayoutSerializationCallbackEventArgs.cs index 40233fe8..e4351f3d 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Serialization/LayoutSerializationCallbackEventArgs.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Serialization/LayoutSerializationCallbackEventArgs.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Serialization/LayoutSerializer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Serialization/LayoutSerializer.cs index 242de2a0..66adde1e 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Serialization/LayoutSerializer.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Serialization/LayoutSerializer.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Serialization/XmlLayoutSerializer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Serialization/XmlLayoutSerializer.cs index 0328dc18..0267eb08 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Serialization/XmlLayoutSerializer.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/Serialization/XmlLayoutSerializer.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/LayoutEventArgs.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/LayoutEventArgs.cs index c0cc1b54..ec00d0d5 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/LayoutEventArgs.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/LayoutEventArgs.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/MathHelper.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/MathHelper.cs index 166747b0..424e9102 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/MathHelper.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/MathHelper.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/AssemblyInfo.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/AssemblyInfo.cs index fddba0e8..a6e30494 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/AssemblyInfo.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/AssemblyInfo.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -31,7 +31,7 @@ using System; [assembly: AssemblyCompany( "Xceed Software Inc." )] [assembly: AssemblyProduct( "Xceed Toolkit for WPF - AvalonDock" )] -[assembly: AssemblyCopyright( "Copyright (C) Xceed Software Inc. 2007-2021" )] +[assembly: AssemblyCopyright( "Copyright (C) Xceed Software Inc. 2007-2023" )] [assembly: AssemblyCulture( "" )] diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.Designer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.Designer.cs index 2eea1533..df748912 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.Designer.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.Designer.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -29,9 +29,6 @@ namespace Xceed.Wpf.AvalonDock.Properties { using System; - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// // This class was auto-generated by the StronglyTypedResourceBuilder // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen @@ -49,9 +46,6 @@ namespace Xceed.Wpf.AvalonDock.Properties { internal Resources() { } - /// - /// Returns the cached ResourceManager instance used by this class. - /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] public static global::System.Resources.ResourceManager ResourceManager { get { @@ -63,10 +57,6 @@ namespace Xceed.Wpf.AvalonDock.Properties { } } - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] public static global::System.Globalization.CultureInfo Culture { get { @@ -77,189 +67,126 @@ namespace Xceed.Wpf.AvalonDock.Properties { } } - /// - /// Looks up a localized string similar to Auto Hide. - /// public static string Anchorable_AutoHide { get { return ResourceManager.GetString("Anchorable_AutoHide", resourceCulture); } } - /// - /// Looks up a localized string similar to Auto Hide. - /// public static string Anchorable_BtnAutoHide_Hint { get { return ResourceManager.GetString("Anchorable_BtnAutoHide_Hint", resourceCulture); } } - /// - /// Looks up a localized string similar to Hide All. - /// public static string Anchorable_BtnClose_Hint { get { return ResourceManager.GetString("Anchorable_BtnClose_Hint", resourceCulture); } } - /// - /// Looks up a localized string similar to Window Position. - /// public static string Anchorable_CxMenu_Hint { get { return ResourceManager.GetString("Anchorable_CxMenu_Hint", resourceCulture); } } - /// - /// Looks up a localized string similar to Dock. - /// public static string Anchorable_Dock { get { return ResourceManager.GetString("Anchorable_Dock", resourceCulture); } } - /// - /// Looks up a localized string similar to Dock as Tabbed Document. - /// public static string Anchorable_DockAsDocument { get { return ResourceManager.GetString("Anchorable_DockAsDocument", resourceCulture); } } - /// - /// Looks up a localized string similar to Float. - /// public static string Anchorable_Float { get { return ResourceManager.GetString("Anchorable_Float", resourceCulture); } } - /// - /// Looks up a localized string similar to Hide. - /// public static string Anchorable_Hide { get { return ResourceManager.GetString("Anchorable_Hide", resourceCulture); } } - /// - /// Looks up a localized string similar to Toggle Pin status. - /// public static string Document_BtnPinned_Hint { get { return ResourceManager.GetString("Document_BtnPinned_Hint", resourceCulture); } } - /// - /// Looks up a localized string similar to Close. - /// public static string Document_Close { get { return ResourceManager.GetString("Document_Close", resourceCulture); } } - /// - /// Looks up a localized string similar to Close All. - /// public static string Document_CloseAll { get { return ResourceManager.GetString("Document_CloseAll", resourceCulture); } } - /// - /// Looks up a localized string similar to Close All But This. - /// public static string Document_CloseAllButThis { get { return ResourceManager.GetString("Document_CloseAllButThis", resourceCulture); } } - /// - /// Looks up a localized string similar to Window Position. - /// public static string Document_CxMenu_Hint { get { return ResourceManager.GetString("Document_CxMenu_Hint", resourceCulture); } } - /// - /// Looks up a localized string similar to Dock as Tabbed Document. - /// public static string Document_DockAsDocument { get { return ResourceManager.GetString("Document_DockAsDocument", resourceCulture); } } - /// - /// Looks up a localized string similar to Float. - /// public static string Document_Float { get { return ResourceManager.GetString("Document_Float", resourceCulture); } } - /// - /// Looks up a localized string similar to Move To Next Tab Group. - /// public static string Document_MoveToNextTabGroup { get { return ResourceManager.GetString("Document_MoveToNextTabGroup", resourceCulture); } } - /// - /// Looks up a localized string similar to Move To Previous Tab Group. - /// public static string Document_MoveToPreviousTabGroup { get { return ResourceManager.GetString("Document_MoveToPreviousTabGroup", resourceCulture); } } - /// - /// Looks up a localized string similar to New Horizontal Tab Group. - /// public static string Document_NewHorizontalTabGroup { get { return ResourceManager.GetString("Document_NewHorizontalTabGroup", resourceCulture); } } - /// - /// Looks up a localized string similar to New Vertical Tab Group. - /// public static string Document_NewVerticalTabGroup { get { return ResourceManager.GetString("Document_NewVerticalTabGroup", resourceCulture); } } - /// - /// Looks up a localized string similar to Maximize. - /// public static string Window_Maximize { get { return ResourceManager.GetString("Window_Maximize", resourceCulture); } } - /// - /// Looks up a localized string similar to Restore. - /// public static string Window_Restore { get { return ResourceManager.GetString("Window_Restore", resourceCulture); diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.cs-CZ.Designer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.cs-CZ.Designer.cs index a0c04405..62ea6264 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.cs-CZ.Designer.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.cs-CZ.Designer.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.de.Designer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.de.Designer.cs index a0c04405..62ea6264 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.de.Designer.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.de.Designer.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.es.Designer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.es.Designer.cs index a0c04405..62ea6264 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.es.Designer.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.es.Designer.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.fr.Designer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.fr.Designer.cs index a0c04405..62ea6264 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.fr.Designer.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.fr.Designer.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.hu.Designer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.hu.Designer.cs index a0c04405..62ea6264 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.hu.Designer.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.hu.Designer.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.it.Designer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.it.Designer.cs index a0c04405..62ea6264 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.it.Designer.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.it.Designer.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.ja-JP.Designer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.ja-JP.Designer.cs index a0c04405..62ea6264 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.ja-JP.Designer.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.ja-JP.Designer.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.nl-BE.Designer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.nl-BE.Designer.cs index a0c04405..62ea6264 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.nl-BE.Designer.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.nl-BE.Designer.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.pt-BR.Designer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.pt-BR.Designer.cs index a0c04405..62ea6264 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.pt-BR.Designer.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.pt-BR.Designer.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.ro.Designer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.ro.Designer.cs index a0c04405..62ea6264 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.ro.Designer.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.ro.Designer.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.ru.Designer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.ru.Designer.cs index a0c04405..62ea6264 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.ru.Designer.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.ru.Designer.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.sv.Designer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.sv.Designer.cs index a0c04405..62ea6264 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.sv.Designer.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.sv.Designer.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.zh-Hans.Designer.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.zh-Hans.Designer.cs index a0c04405..62ea6264 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.zh-Hans.Designer.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Properties/Resources.zh-Hans.Designer.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/Default.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/Default.xaml index c7fbf08d..8e067779 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/Default.xaml +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/Default.xaml @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/DictionaryTheme.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/DictionaryTheme.cs index 474b767d..e285c51b 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/DictionaryTheme.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/DictionaryTheme.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/GenericTheme.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/GenericTheme.cs index c251c40d..90e11bd0 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/GenericTheme.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/GenericTheme.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/Theme.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/Theme.cs index 4ee5d940..8efbec92 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/Theme.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/Theme.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/generic.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/generic.xaml index f5b89945..f054c573 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/generic.xaml +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/generic.xaml @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Win32Helper.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Win32Helper.cs index e5f695cb..968b39be 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Win32Helper.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Win32Helper.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at @@ -47,73 +47,26 @@ namespace Xceed.Wpf.AvalonDock WS_GROUP = 0x00020000; - /// - /// SetWindowPos Flags - /// [Flags()] internal enum SetWindowPosFlags : uint { - /// If the calling thread and the thread that owns the window are attached to different input queues, - /// the system posts the request to the thread that owns the window. This prevents the calling thread from - /// blocking its execution while other threads process the request. - /// SWP_ASYNCWINDOWPOS SynchronousWindowPosition = 0x4000, - /// Prevents generation of the WM_SYNCPAINT message. - /// SWP_DEFERERASE DeferErase = 0x2000, - /// Draws a frame (defined in the window's class description) around the window. - /// SWP_DRAWFRAME DrawFrame = 0x0020, - /// Applies new frame styles set using the SetWindowLong function. Sends a WM_NCCALCSIZE message to - /// the window, even if the window's size is not being changed. If this flag is not specified, WM_NCCALCSIZE - /// is sent only when the window's size is being changed. - /// SWP_FRAMECHANGED FrameChanged = 0x0020, - /// Hides the window. - /// SWP_HIDEWINDOW HideWindow = 0x0080, - /// Does not activate the window. If this flag is not set, the window is activated and moved to the - /// top of either the topmost or non-topmost group (depending on the setting of the hWndInsertAfter - /// parameter). - /// SWP_NOACTIVATE DoNotActivate = 0x0010, - /// Discards the entire contents of the client area. If this flag is not specified, the valid - /// contents of the client area are saved and copied back into the client area after the window is sized or - /// repositioned. - /// SWP_NOCOPYBITS DoNotCopyBits = 0x0100, - /// Retains the current position (ignores X and Y parameters). - /// SWP_NOMOVE IgnoreMove = 0x0002, - /// Does not change the owner window's position in the Z order. - /// SWP_NOOWNERZORDER DoNotChangeOwnerZOrder = 0x0200, - /// Does not redraw changes. If this flag is set, no repainting of any kind occurs. This applies to - /// the client area, the nonclient area (including the title bar and scroll bars), and any part of the parent - /// window uncovered as a result of the window being moved. When this flag is set, the application must - /// explicitly invalidate or redraw any parts of the window and parent window that need redrawing. - /// SWP_NOREDRAW DoNotRedraw = 0x0008, - /// Same as the SWP_NOOWNERZORDER flag. - /// SWP_NOREPOSITION DoNotReposition = 0x0200, - /// Prevents the window from receiving the WM_WINDOWPOSCHANGING message. - /// SWP_NOSENDCHANGING DoNotSendChangingEvent = 0x0400, - /// Retains the current size (ignores the cx and cy parameters). - /// SWP_NOSIZE IgnoreResize = 0x0001, - /// Retains the current Z order (ignores the hWndInsertAfter parameter). - /// SWP_NOZORDER IgnoreZOrder = 0x0004, - /// Displays the window. - /// SWP_SHOWWINDOW ShowWindow = 0x0040, } - /// - /// Special window handles - /// internal static readonly IntPtr HWND_TOPMOST = new IntPtr( -1 ); internal static readonly IntPtr HWND_NOTOPMOST = new IntPtr( -2 ); internal static readonly IntPtr HWND_TOP = new IntPtr( 0 ); @@ -395,14 +348,6 @@ namespace Xceed.Wpf.AvalonDock [DllImport( "user32.dll", ExactSpelling = true, CharSet = CharSet.Auto )] internal static extern IntPtr GetParent( IntPtr hWnd ); - /// - /// Changes an attribute of the specified window. The function also sets the 32-bit (long) value at the specified offset into the extra window memory. - /// - /// A handle to the window and, indirectly, the class to which the window belongs.. - /// The zero-based offset to the value to be set. Valid values are in the range zero through the number of bytes of extra window memory, minus the size of an integer. To set any other value, specify one of the following values: GWL_EXSTYLE, GWL_HINSTANCE, GWL_ID, GWL_STYLE, GWL_USERDATA, GWL_WNDPROC - /// The replacement value. - /// If the function succeeds, the return value is the previous value of the specified 32-bit integer. - /// If the function fails, the return value is zero. To get extended error information, call GetLastError. [DllImport( "user32.dll" )] static extern int SetWindowLong( IntPtr hWnd, int nIndex, int dwNewLong ); @@ -425,71 +370,22 @@ namespace Xceed.Wpf.AvalonDock //Monitor Patch #13440 - /// - /// The MonitorFromRect function retrieves a handle to the display monitor that - /// has the largest area of intersection with a specified rectangle. - /// - /// Pointer to a RECT structure that specifies the rectangle of interest in - /// virtual-screen coordinates - /// Determines the function's return value if the rectangle does not intersect - /// any display monitor - /// - /// If the rectangle intersects one or more display monitor rectangles, the return value - /// is an HMONITOR handle to the display monitor that has the largest area of intersection with the rectangle. - /// If the rectangle does not intersect a display monitor, the return value depends on the value of dwFlags. - /// [DllImport( "user32.dll" )] public static extern IntPtr MonitorFromRect( [In] ref RECT lprc, uint dwFlags ); - /// - /// The MonitorFromWindow function retrieves a handle to the display monitor that has the largest area of intersection with the bounding rectangle of a specified window. - /// - /// A handle to the window of interest. - /// Determines the function's return value if the window does not intersect any display monitor. - /// If the window intersects one or more display monitor rectangles, the return value is an HMONITOR handle to the display monitor that has the largest area of intersection with the window. - /// If the window does not intersect a display monitor, the return value depends on the value of dwFlags. - /// [DllImport( "user32.dll" )] public static extern IntPtr MonitorFromWindow( IntPtr hwnd, uint dwFlags ); - /// - /// The MONITORINFO structure contains information about a display monitor. - /// [StructLayout( LayoutKind.Sequential )] public class MonitorInfo { - /// - /// The size of the structure, in bytes. - /// public int Size = Marshal.SizeOf( typeof( MonitorInfo ) ); - /// - /// A RECT structure that specifies the display monitor rectangle, expressed - /// in virtual-screen coordinates. - /// Note that if the monitor is not the primary display monitor, - /// some of the rectangle's coordinates may be negative values. - /// public RECT Monitor; - /// - /// A RECT structure that specifies the work area rectangle of the display monitor, - /// expressed in virtual-screen coordinates. Note that if the monitor is not the primary - /// display monitor, some of the rectangle's coordinates may be negative values. - /// public RECT Work; - /// - /// A set of flags that represent attributes of the display monitor. - /// public uint Flags; } - /// - /// The GetMonitorInfo function retrieves information about a display monitor. - /// - /// Handle to the display monitor of interest. - /// Pointer to a MONITORINFO or MONITORINFOEX structure that receives - /// information about the specified display monitor - /// If the function succeeds, the return value is nonzero. - /// If the function fails, the return value is zero. [DllImport( "user32.dll" )] [return: MarshalAs( UnmanagedType.Bool )] public static extern bool GetMonitorInfo( IntPtr hMonitor, [In, Out] MonitorInfo lpmi ); diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/WindowHelper.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/WindowHelper.cs index 6705fe97..80414fdb 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/WindowHelper.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/WindowHelper.cs @@ -2,7 +2,7 @@ Toolkit for WPF - Copyright (C) 2007-2022 Xceed Software Inc. + Copyright (C) 2007-2023 Xceed Software Inc. This program is provided to you under the terms of the XCEED SOFTWARE, INC. COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Xceed.Wpf.AvalonDock.NET5.csproj b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Xceed.Wpf.AvalonDock.NET5.csproj index 49de2dcc..f2e43dcf 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Xceed.Wpf.AvalonDock.NET5.csproj +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Xceed.Wpf.AvalonDock.NET5.csproj @@ -242,6 +242,9 @@ Utils\Exceptions\ThrowException.cs + + Utils\Licensing\LicenseOrigin.cs + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Xceed.Wpf.AvalonDock.csproj b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Xceed.Wpf.AvalonDock.csproj index ad90d332..5f5e32cf 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Xceed.Wpf.AvalonDock.csproj +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Xceed.Wpf.AvalonDock.csproj @@ -282,6 +282,9 @@ Utils\Exceptions\ThrowException.cs + + Utils\Licensing\LicenseOrigin.cs + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/App.xaml b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/App.xaml index 692589bf..db6bc675 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/App.xaml +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/App.xaml @@ -1,4 +1,21 @@ - + + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/AvalonDockPropertiesView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/AvalonDockPropertiesView.xaml.txt index 991ed404..9b612622 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/AvalonDockPropertiesView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/AvalonDockPropertiesView.xaml.txt @@ -35,7 +35,7 @@ - + @@ -208,6 +208,7 @@ + + + + + + + + + + @@ -624,6 +653,19 @@ Margin="5" ToolTip="Sets whether the docking manager should allow mixed orientation for document panes." /> + + + + @@ -655,6 +697,11 @@ BorderBrush="Black" BorderThickness="1" AllowMixedOrientation="True"> + + + True + + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/AvalonDockSourcesView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/AvalonDockSourcesView.xaml.txt index 3fbc3d64..74e5d916 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/AvalonDockSourcesView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/AvalonDockSourcesView.xaml.txt @@ -14,7 +14,7 @@ Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids ***********************************************************************************--> - + - + @@ -73,7 +73,7 @@ - + @@ -91,10 +91,10 @@ - + - + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/BusyIndicatorCustomContentTemplateView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/BusyIndicatorCustomContentTemplateView.xaml.txt index fcde9607..4c285af7 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/BusyIndicatorCustomContentTemplateView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/BusyIndicatorCustomContentTemplateView.xaml.txt @@ -25,7 +25,7 @@ This example demonstrates how to create a custom content template by setting the BusyContentTemplate property to an instance of a custom DataTemplate. Take notice of how the default ProgressBar is being hidden by setting the PrgressBarStyle property. The default OverlayStyle is also being set to a custom style. - + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/BusyIndicatorCustomContentView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/BusyIndicatorCustomContentView.xaml.txt index 0163fdfd..788572ac 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/BusyIndicatorCustomContentView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/BusyIndicatorCustomContentView.xaml.txt @@ -25,7 +25,7 @@ This example demonstrates how to define your own custom content. This is done by setting the BusyContent property. - + @@ -42,7 +42,7 @@ - + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ButtonSpinnerView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ButtonSpinnerView.xaml.txt index 2dfd7459..9f26d839 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ButtonSpinnerView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ButtonSpinnerView.xaml.txt @@ -26,9 +26,9 @@ The ButtonSpinner control allows you to add button spinners to any element and then respond to the Spin event to manipulate that element. The Spin event lets the developer know which direction the buttons are spinning; SpinDirection.Increase indicates an increment, SpinDirection.Decrease indicates a decrement. - + - + John Smith Janel Leverling @@ -41,7 +41,7 @@ Naomi Suyama - + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/CalculatorView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/CalculatorView.xaml.txt index 62e7411e..60135da7 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/CalculatorView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/CalculatorView.xaml.txt @@ -25,7 +25,7 @@ The Calculator is a control used for performing mathematical calculations. - + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartAxisView.xaml.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartAxisView.xaml.cs.txt index 77ff26f6..06214cbe 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartAxisView.xaml.cs.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartAxisView.xaml.cs.txt @@ -15,6 +15,9 @@ ************************************************************************************/ +#if !OPEN_SOURCE +using Xceed.Wpf.Toolkit.Chart; +#endif using System.Windows.Controls; using System.Windows; namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views @@ -24,35 +27,127 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views /// public partial class ChartAxisView : DemoView { +#if !OPEN_SOURCE + #region Members + + private static DataPointsList _numericDataPoints = new DataPointsList() + { new DataPoint(1, 1) + , new DataPoint(2, 2) + , new DataPoint(1.5, 3) + , new DataPoint(5, 3.5) + }; + private static DataPointsList _dateTimeDataPoints = new DataPointsList() + { + new DataPoint( new System.DateTime( 2000, 1, 1 ).ToOADate(), 1 ) + , new DataPoint( new System.DateTime( 2001, 1, 1 ).ToOADate(), 2 ) + , new DataPoint( new System.DateTime( 2002, 5, 5 ).ToOADate(), 4 ) + , new DataPoint( new System.DateTime( 2003, 1, 1 ).ToOADate(), 3 ) + }; + private static DataPointsList _labelsDataPoints = new DataPointsList() + { + new DataPoint( 0, 5, "Zeus" ) + , new DataPoint( 0, 2, "Poseidon" ) + , new DataPoint( 0, 3, "Hades" ) + , new DataPoint( 0, 4, "Hestia" ) + , new DataPoint( 0, 1, "Hera" ) + }; + #endregion + #region Dependency Properties + public static readonly DependencyProperty SelectedAxisProperty = DependencyProperty.Register( + "SelectedAxis", + typeof( Axis ), + typeof( ChartAxisView ), + new UIPropertyMetadata( null ) ); + #endregion + #region Properties + public Axis SelectedAxis + { + get + { + return ( Axis )GetValue( SelectedAxisProperty ); + } + set + { + SetValue( SelectedAxisProperty, value ); + } + } - + #endregion +#endif #region Initialization public ChartAxisView() { InitializeComponent(); +#if !OPEN_SOURCE + _axisComboBox.SelectedIndex = 0; + _xAxis.DateTimeFormat = System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern; +#endif } #endregion +#if !OPEN_SOURCE + #region Event Handlers + private void OnAxisComboBoxSelectionChanged( object sender, SelectionChangedEventArgs e ) + { + ComboBox comboBox = ( ComboBox )sender; + this.SelectedAxis = ( comboBox.SelectedIndex == 0 ) ? _xAxis : _yAxis; + } + private void OnAxisLabelsTypeChanged( object sender, SelectionChangedEventArgs e ) + { + ComboBox comboBox = ( ComboBox )sender; + + switch( ( LabelsType )comboBox.SelectedItem ) + { + case LabelsType.Numeric: + this.SetSeriesDataPoints( _numericDataPoints ); + if( !_scaleMode.IsEnabled ) + _scaleMode.IsEnabled = true; + + break; + case LabelsType.DateTime: + this.SetSeriesDataPoints( _dateTimeDataPoints ); + this.SelectedAxis.ScaleMode = AxisScaleMode.Automatic; + _scaleMode.IsEnabled = false; + break; + case LabelsType.Labels: + this.SetSeriesDataPoints( _labelsDataPoints ); + this.SelectedAxis.GraduationMode = AxisGraduationMode.Manual; + + if( !_scaleMode.IsEnabled ) + _scaleMode.IsEnabled = true; + break; + } + } - - - + #endregion +#endif #region Implementation +#if !OPEN_SOURCE + private void SetSeriesDataPoints( DataPointsList list ) + { + if( _series != null ) + { + _series.DataPoints.Clear(); + foreach( DataPoint dataPoint in list ) + _series.DataPoints.Add( dataPoint ); + } + } +#endif #endregion } diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartAxisView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartAxisView.xaml.txt index b9ed7298..748aec1e 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartAxisView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartAxisView.xaml.txt @@ -27,29 +27,435 @@ The chart's Axis class represents the x- and y-axis of an area (Area class) in a chart. They can be individually configured with many properties. + + + + + + + + + + + + + + + + + + + + + + + + + X Axis + Y Axis + + + + + + + Resize the window along the orientation of the selected axis to see all labels (staggered) or only the ones that fit (every second, third label, etc., is omitted). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartLegendView.xaml.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartLegendView.xaml.cs.txt index a289dcae..f8ded54f 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartLegendView.xaml.cs.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartLegendView.xaml.cs.txt @@ -15,6 +15,8 @@ **************************************************************************************/ +#if !OPEN_SOURCE +#endif namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views { /// diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartLegendView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartLegendView.xaml.txt index 9ba64037..e9777998 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartLegendView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartLegendView.xaml.txt @@ -25,28 +25,139 @@ Title="Chart Legend"> - The chart control contains a collection of areas which each contain a collection of series. A single legend will combine all the series from all the areas in one place. Here, 2 areas are used to display 2 series. + The chart control contains a collection of areas that each contain a collection of series. A single legend will combine all the series from all the areas in one place. Here, 2 areas are used to display 2 series. A legend can be moved around, resized, and docked. Please note that a legend can be resized only when its Dock property is set to Float and if the AllowResize property is set to true. + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartSeriesBasicTypesView.xaml.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartSeriesBasicTypesView.xaml.cs.txt index cf78acfb..24e4f684 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartSeriesBasicTypesView.xaml.cs.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartSeriesBasicTypesView.xaml.cs.txt @@ -15,6 +15,9 @@ *************************************************************************************/ +#if !OPEN_SOURCE +using Xceed.Wpf.Toolkit.Chart; +#endif using System.Windows.Media; using System.Windows; namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views @@ -24,8 +27,16 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views /// public partial class ChartSeriesBasicTypesView : DemoView { +#if !OPEN_SOURCE + #region Members + private Series _columnSeries; + private Series _lineSeries; + private Series _pieSeries; + private Series _areaSeries; + #endregion +#endif #region Initialization @@ -36,15 +47,126 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views #endregion +#if !OPEN_SOURCE + #region Envent Handlers + private void OnSeriesCollectionChecked( object sender, RoutedEventArgs e ) + { + this.AddDefaultSeries(); + } + private void OnSeriesCollectionUnchecked( object sender, RoutedEventArgs e ) + { + this.CleanDefaultSeries(); + } + private void OnLayoutSelectionChanged( object sender, RoutedEventArgs e ) + { + if( _seriesCollectionCheckBox.IsChecked.HasValue && _seriesCollectionCheckBox.IsChecked.Value ) + { + this.CleanDefaultSeries(); + this.AddDefaultSeries(); + } + } + #endregion +#endif #region Implementation +#if !OPEN_SOURCE + private void CleanDefaultSeries() + { + if( _area1.Series.Contains( _pieSeries ) ) + { + _area1.Series.Remove( _pieSeries ); + } + if( _area1.Series.Contains( _areaSeries ) ) + { + _area1.Series.Remove( _areaSeries ); + } + if( _area1.Series.Contains( _columnSeries ) ) + { + _area1.Series.Remove( _columnSeries ); + } + if( _area1.Series.Contains( _lineSeries ) ) + { + _area1.Series.Remove( _lineSeries ); + } + } + private void AddDefaultSeries() + { + if( _series.Layout.LayoutType != PredefinedLayoutTypes.Pie ) + { + if( _pieSeries == null ) + { + //init pieSeries + _pieSeries = new Series(); + _pieSeries.DataPoints.Add( new DataPoint( 0, 1, "Cars" ) ); + _pieSeries.DataPoints.Add( new DataPoint( 1, 2, "Toys" ) ); + _pieSeries.DataPoints.Add( new DataPoint( 2, 2.5, "Trees" ) ); + _pieSeries.DataPoints.Add( new DataPoint( 3, 4, "Pens" ) ); + _pieSeries.Layout = new PieLayout(); + _pieSeries.Title = "Pie Series"; + _pieSeries.ShowPointsInLegend = true; + _pieSeries.DefaultInterior = Brushes.YellowGreen; + } + _area1.Series.Add( _pieSeries ); + } + if( _series.Layout.LayoutType != PredefinedLayoutTypes.Area ) + { + if( _areaSeries == null ) + { + //init areaSeries + _areaSeries = new Series(); + _areaSeries.DataPoints.Add( new DataPoint( -2, 0 ) ); + _areaSeries.DataPoints.Add( new DataPoint( 0, 3.5 ) ); + _areaSeries.DataPoints.Add( new DataPoint( 3, 1 ) ); + _areaSeries.DataPoints.Add( new DataPoint( 5, 2.8 ) ); + _areaSeries.DataPoints.Add( new DataPoint( 4, 1.5 ) ); + _areaSeries.Layout = new AreaLayout(); + _areaSeries.Title = "Area Series"; + _areaSeries.DefaultInterior = Brushes.Orange; + } + _area1.Series.Add( _areaSeries ); + } + if( _series.Layout.LayoutType != PredefinedLayoutTypes.Column ) + { + if( _columnSeries == null ) + { + //init columnSeries + _columnSeries = new Series(); + _columnSeries.DataPoints.Add( new DataPoint( 1, 1 ) ); + _columnSeries.DataPoints.Add( new DataPoint( 2, 2 ) ); + _columnSeries.DataPoints.Add( new DataPoint( 2.5, 4 ) ); + _columnSeries.DataPoints.Add( new DataPoint( 4, 3 ) ); + _columnSeries.Title = "Column Series"; + _columnSeries.DefaultInterior = Brushes.Red; + } + _area1.Series.Add( _columnSeries ); + } + if( _series.Layout.LayoutType != PredefinedLayoutTypes.Line ) + { + if( _lineSeries == null ) + { + //init lineSeries + _lineSeries = new Series(); + _lineSeries.DataPoints.Add( new DataPoint( 1, 1 ) ); + _lineSeries.DataPoints.Add( new DataPoint( 2, 1 ) ); + _lineSeries.DataPoints.Add( new DataPoint( 0.5, 1.5 ) ); + _lineSeries.DataPoints.Add( new DataPoint( 3, 3 ) ); + _lineSeries.DataPoints.Add( new DataPoint( 6, 2 ) ); + _lineSeries.DataPoints.Add( new DataPoint( 5, 0.5 ) ); + _lineSeries.Layout = new LineLayout(); + _lineSeries.Title = "Line Series"; + _lineSeries.DefaultInterior = Brushes.Black; + } + _area1.Series.Add( _lineSeries ); + } + } +#endif #endregion } diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartSeriesBasicTypesView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartSeriesBasicTypesView.xaml.txt index 15c77145..590a8c31 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartSeriesBasicTypesView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartSeriesBasicTypesView.xaml.txt @@ -25,27 +25,140 @@ Title="Chart Series Basic Types"> - A series contains DataPoint objects and are layed out in an area (Area class) of a chart. They can be displayed with predefined layouts, such as column (bar), line, area, or pie, or they can be displayed using a custom layout (not implemented in this sample). + A series contains DataPoint objects and are laid out in an area (Area class) of a chart. They can be displayed with predefined layouts, such as column (bar), line, area, or pie, or they can be displayed using a custom layout (not implemented in this sample). + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartSeriesDataPointsBindingView.xaml.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartSeriesDataPointsBindingView.xaml.cs.txt index 55323327..431fe578 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartSeriesDataPointsBindingView.xaml.cs.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartSeriesDataPointsBindingView.xaml.cs.txt @@ -15,6 +15,8 @@ ************************************************************************************/ +#if !OPEN_SOURCE +#endif namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views { /// diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartSeriesDataPointsBindingView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartSeriesDataPointsBindingView.xaml.txt index c106f94d..9f20610f 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartSeriesDataPointsBindingView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartSeriesDataPointsBindingView.xaml.txt @@ -27,17 +27,57 @@ The DataPoint objects of a chart's series can be set by binding with the Series.DataPointsSource property. From there, a DataPointBinding can be set on the X, Y, or Label property of a DataPoint. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingAxesGridView.xaml.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingAxesGridView.xaml.cs.txt index 9d6eb344..552308a9 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingAxesGridView.xaml.cs.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingAxesGridView.xaml.cs.txt @@ -15,6 +15,8 @@ ************************************************************************************/ +#if !OPEN_SOURCE +#endif namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views { /// diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingAxesGridView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingAxesGridView.xaml.txt index 80496b63..889a6a7d 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingAxesGridView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingAxesGridView.xaml.txt @@ -25,32 +25,178 @@ This sample shows how AxesGrid elements can be styled using a DataTemplate. + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingColumnSeriesView.xaml.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingColumnSeriesView.xaml.cs.txt index 251bb889..34dfc2f5 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingColumnSeriesView.xaml.cs.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingColumnSeriesView.xaml.cs.txt @@ -15,6 +15,8 @@ *************************************************************************************/ +#if !OPEN_SOURCE +#endif namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views { /// diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingColumnSeriesView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingColumnSeriesView.xaml.txt index 599123d4..3156e937 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingColumnSeriesView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingColumnSeriesView.xaml.txt @@ -26,26 +26,180 @@ This sample shows how a series with a column layout type and a legend can be styled using DataTemplates. - + + Please move mouse on line and markers to see simple effects. + + + - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingLineSeriesView.xaml.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingLineSeriesView.xaml.cs.txt index aacd87ad..5287349d 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingLineSeriesView.xaml.cs.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingLineSeriesView.xaml.cs.txt @@ -15,6 +15,9 @@ *************************************************************************************/ +#if !OPEN_SOURCE +using Xceed.Wpf.Toolkit.Chart; +#endif using System.Windows; using System; namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views @@ -29,7 +32,16 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views InitializeComponent(); } +#if !OPEN_SOURCE + #region Event Handler + private void LegendButtonClick( object sender, RoutedEventArgs e ) + { + Random r = new Random(); + _series.DataPoints.Add( new DataPoint( _series.DataPoints.Count, r.NextDouble() ) ); + } + #endregion +#endif } } diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingLineSeriesView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingLineSeriesView.xaml.txt index 24aecb6f..823ea7dd 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingLineSeriesView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingLineSeriesView.xaml.txt @@ -25,23 +25,144 @@ This sample demonstrates how a series with a line layout type and a legend can be styled via DataTemplates. The legend contains a button to add new DataPoints. - + + Please move mouse along the line and over the markers to see simple effects. + + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingPieSeriesView.xaml.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingPieSeriesView.xaml.cs.txt index c490a65a..30c5b5b5 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingPieSeriesView.xaml.cs.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingPieSeriesView.xaml.cs.txt @@ -15,6 +15,8 @@ *************************************************************************************/ +#if !OPEN_SOURCE +#endif namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Chart.Views { diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingPieSeriesView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingPieSeriesView.xaml.txt index 812a8e49..a51a03a0 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingPieSeriesView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ChartStylingPieSeriesView.xaml.txt @@ -25,26 +25,175 @@ This sample demonstrates how a series with a pie layout type can be styled via DataTemplates. The series, hint line, and hint label are all styled. + + Please move the mouse over the pie slices to view the tooltips of the pie layout DataTemplate. + + - - - - - - - - - - - - + + + + Mary + Brad + Anne + Eric + Lisa + Carl + Whole Team + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/CheckListsView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/CheckListsView.xaml.txt index 8723fb98..5e9b4d9f 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/CheckListsView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/CheckListsView.xaml.txt @@ -51,7 +51,7 @@ - + @@ -220,7 +220,7 @@ - + The ChildWindow control can be used to create a window that is displayed within the bounds of a specific parent container. + - + @@ -53,7 +55,7 @@ - + @@ -83,7 +85,7 @@ - + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DataGridView.xaml.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DataGridView.xaml.cs.txt index 27577165..f7f6b4af 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DataGridView.xaml.cs.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DataGridView.xaml.cs.txt @@ -26,6 +26,9 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.DataGrid.Views { public DataGridView() { +#if !OPEN_SOURCE + this.DataContext = SampleDataProvider.GetOrders(); +#endif InitializeComponent(); } } diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DataGridView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DataGridView.xaml.txt index bdf66cad..42a13585 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DataGridView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DataGridView.xaml.txt @@ -32,6 +32,7 @@ here. + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DateTimeView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DateTimeView.xaml.txt index 71f0a0ea..7a7dccd2 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DateTimeView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DateTimeView.xaml.txt @@ -341,6 +341,7 @@ + + + /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -23,15 +23,15 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class DisplayLocalizationRes { - + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal DisplayLocalizationRes() { } - + /// /// Returns the cached ResourceManager instance used by this class. /// @@ -45,7 +45,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views { return resourceMan; } } - + /// /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. @@ -59,7 +59,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views { resourceCulture = value; } } - + /// /// Looks up a localized string similar to Details. /// @@ -68,7 +68,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views { return ResourceManager.GetString("DetailsCategory", resourceCulture); } } - + /// /// Looks up a localized string similar to Favorite actor 1 (no DisplayName). /// @@ -77,7 +77,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views { return ResourceManager.GetString("FavoriteActor1", resourceCulture); } } - + /// /// Looks up a localized string similar to This property's type is an enum whose values have no DisplayName attributes. These values displayed are provided by the ToString() method.. /// @@ -86,7 +86,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views { return ResourceManager.GetString("FavoriteActor1Desc", resourceCulture); } } - + /// /// Looks up a localized string similar to Favorite actor 2 (with DisplayName). /// @@ -95,7 +95,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views { return ResourceManager.GetString("FavoriteActor2", resourceCulture); } } - + /// /// Looks up a localized string similar to This property's type is an enum whose values are decorated with the ExtendedDisplayName attribute. Combined with the EnumDisplayNameConverter, this allows display values to be customized.. /// @@ -104,7 +104,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views { return ResourceManager.GetString("FavoriteActor2Desc", resourceCulture); } } - + /// /// Looks up a localized string similar to Favorite actor 3. /// @@ -113,7 +113,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views { return ResourceManager.GetString("FavoriteActor3", resourceCulture); } } - + /// /// Looks up a localized string similar to "(Not listed)" enum value shows that enum values can also be localized.. /// @@ -122,7 +122,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views { return ResourceManager.GetString("FavoriteActor3Desc", resourceCulture); } } - + /// /// Looks up a localized string similar to First name. /// @@ -131,7 +131,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views { return ResourceManager.GetString("FirstName", resourceCulture); } } - + /// /// Looks up a localized string similar to First name of that person. /// @@ -140,7 +140,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views { return ResourceManager.GetString("FirstNameDesc", resourceCulture); } } - + /// /// Looks up a localized string similar to Information. /// @@ -149,7 +149,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views { return ResourceManager.GetString("InfoCategory", resourceCulture); } } - + /// /// Looks up a localized string similar to Last name. /// @@ -158,7 +158,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views { return ResourceManager.GetString("LastName", resourceCulture); } } - + /// /// Looks up a localized string similar to Usually the familly name of the person. /// @@ -167,7 +167,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views { return ResourceManager.GetString("LastNameDesc", resourceCulture); } } - + /// /// Looks up a localized string similar to (Not listed). /// diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DisplayLocalizationRes.fr.resx.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DisplayLocalizationRes.fr.resx.txt deleted file mode 100644 index c162964d..00000000 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DisplayLocalizationRes.fr.resx.txt +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Détails - - - Acteur favori 1 (aucun DisplayName) - - - Le type de cette propriété est un enum où les valeurs n'ont aucun attribut "DisplayName". Les valeurs affichées sont retournées par la méthode ToString(). - - - Acteur favori 2 (avec DisplayName) - - - Le type de cette propriété est un enum où les valeurs sont décorés avec l'attribut "DisplayName". Les valeurs affichées sont celles spécifiées par l'attribut ExtendedDisplayName. - - - Acteur favori 3 - - - La valeur "(Non proposé)" démontre que les valeurs des enums peuvent aussi être localisées. - - - Prénom - - - Prénom de la personne - - - Information - - - Nom de famille - - - Le nom de famille de la personne - - - (Non proposé) - - \ No newline at end of file diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DisplayLocalizationRes.resx.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DisplayLocalizationRes.resx.txt deleted file mode 100644 index d4a8948e..00000000 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DisplayLocalizationRes.resx.txt +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Details - - - Favorite actor 1 (no DisplayName) - - - This property's type is an enum whose values have no DisplayName attributes. These values displayed are provided by the ToString() method. - - - Favorite actor 2 (with DisplayName) - - - This property's type is an enum whose values are decorated with the ExtendedDisplayName attribute. Combined with the EnumDisplayNameConverter, this allows display values to be customized. - - - Favorite actor 3 - - - "(Not listed)" enum value shows that enum values can also be localized. - - - First name - - - First name of that person - - - Information - - - Last name - - - Usually the familly name of the person - - - (Not listed) - - \ No newline at end of file diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DropDownSplitButtonView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DropDownSplitButtonView.xaml.txt index 0f867cc8..b447a7cc 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DropDownSplitButtonView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DropDownSplitButtonView.xaml.txt @@ -32,7 +32,7 @@ - + @@ -85,7 +85,7 @@ Width="110" VerticalAlignment="Center" Margin="5" /> - + The ExtendedTabControl is a TabControl that offers a different navigation style. Instead of displaying the tabs on multiple lines when there are too many to fit in the view, the ExtendedTabContol offers the ability for the user to navigate left/right, and/or use a drop down list. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + January 2016 + + + February 2016 + + + March 2016 + + + April 2016 + + + May 2016 + + + June 2016 + + + July 2016 + + + August 2016 + + + September 2016 + + + October 2016 + + + November 2016 + + + December 2016 + + + Reports 2016 + + + January 2017 + + + February 2017 + + + March 2017 + + + April 2017 + + + May 2017 + + + June 2017 + + + July 2017 + + + August 2017 + + + September 2017 + + + October 2017 + + + November 2017 + + + December 2017 + + + Reports 2017 + + + + - + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/FilePickerView.xaml.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/FilePickerView.xaml.cs.txt index 4195282c..4c6a3840 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/FilePickerView.xaml.cs.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/FilePickerView.xaml.cs.txt @@ -26,7 +26,18 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.FilePicker.Views public FilePickerView() { InitializeComponent(); +#if !OPEN_SOURCE + _filePicker.SelectedFiles.CollectionChanged += this.SelectedFiles_CollectionChanged; +#endif } +#if !OPEN_SOURCE + private void SelectedFiles_CollectionChanged( object sender, NotifyCollectionChangedEventArgs e ) + { + //Refresh PrimitiveTypeCollectionControl.ItemsSource to be up to date with FilePicker.SelectedFiles. + _primitiveTypeCollectionControl.ItemsSource = null; + _primitiveTypeCollectionControl.ItemsSource = _filePicker.SelectedFiles; + } +#endif } -} +} \ No newline at end of file diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/FilePickerView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/FilePickerView.xaml.txt index 234990a2..8a2ec39d 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/FilePickerView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/FilePickerView.xaml.txt @@ -27,6 +27,7 @@ The FilePicker is a control that can be used to select one or more files in a browsing window. + - - - - - - - - - - - - - - - - - - + + + + All files |*.* + Text Files |*.txt + Office Files |*.docx;*.xlsx;*.pptx + Image files |*.jpg;*.jpeg + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/IconButtonView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/IconButtonView.xaml.txt index 6eb9a480..396c5ded 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/IconButtonView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/IconButtonView.xaml.txt @@ -29,7 +29,7 @@ - + - + @@ -96,7 +96,7 @@ SelectedItem="{Binding IconLocation, ElementName=_iconButton}" Margin="5" VerticalContentAlignment="Center" /> - + Supports implicit styles, so the entire listbox can be styled in minutes with a couple of lines of code. Also supports explicit styles and Expression Blend. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ShipName + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaskedTextboxView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaskedTextboxView.xaml.txt index 91510bbf..ce36fbaa 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaskedTextboxView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaskedTextboxView.xaml.txt @@ -26,7 +26,7 @@ The MaskedTextBox control lets you display and edit values based on a mask. - + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialButtonView.xaml.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialButtonView.xaml.cs.txt index 5282c17e..ffb2b4c0 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialButtonView.xaml.cs.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialButtonView.xaml.cs.txt @@ -29,5 +29,13 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views InitializeComponent(); } +#if !OPEN_SOURCE + private void ModeComboBox_SelectionChanged( object sender, SelectionChangedEventArgs e ) + { + materialButton.Content = e.AddedItems[ 0 ].Equals( MaterialButtonModeEnum.Circle ) + ? ( ( ComboBoxItem )contentComboBox.Items.GetItemAt( 1 ) ).Tag + : ( ( ComboBoxItem )contentComboBox.Items.GetItemAt( 0 ) ).Tag; + } +#endif } } diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialButtonView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialButtonView.xaml.txt index 84989f6f..f53e55bd 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialButtonView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialButtonView.xaml.txt @@ -25,6 +25,7 @@ A Button with a raised animation on mouse over and a customizable ink animation on MousePress. It uses the Material Brushes. + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialCheckBoxView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialCheckBoxView.xaml.txt index 171e835f..1bd35f8a 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialCheckBoxView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialCheckBoxView.xaml.txt @@ -25,6 +25,7 @@ A CheckBox with transition animations when the checked state is changed. It uses the Material Brushes. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialComboBoxView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialComboBoxView.xaml.txt index b74908d2..0855151e 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialComboBoxView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialComboBoxView.xaml.txt @@ -27,6 +27,7 @@ MaterialComboBox is a ComboBox that is using the Material Brushes and contains MaterialComboBoxItems. MaterialComboBoxItems are ComboBoxItems that are using the Material Brushes. They use an ink animation when they are selected. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialControlsView.xaml.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialControlsView.xaml.cs.txt index 0297732f..1be25265 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialControlsView.xaml.cs.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialControlsView.xaml.cs.txt @@ -20,6 +20,11 @@ using System; using System.Collections.Generic; using System.Windows; using System.Windows.Controls; +#if !OPEN_SOURCE +using System.Windows.Input; +using System.Windows.Media.Animation; +using Xceed.Wpf.Toolkit.MaterialControls; +#endif namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views { /// @@ -27,8 +32,15 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views /// public partial class MaterialControlsView : MaterialDemoView { +#if !OPEN_SOURCE + #region Members + private Storyboard _toastStoryboard = new Storyboard(); + private Random _rand = new Random(); + private List _toastList = new List(); + #endregion +#endif #region Constructors @@ -39,22 +51,170 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views #endregion +#if !OPEN_SOURCE + #region Private Methods + private int GetRandomInteger( int max ) + { + return _rand.Next( max ); + } + private void PopToast() + { + MaterialAccentEnum accent; + MaterialToastLocationEnum location; + string text; + + switch( this.GetRandomInteger( 8 ) ) + { + case 0: + accent = MaterialAccentEnum.Blue; + break; + case 1: + accent = MaterialAccentEnum.LightBlue; + break; + case 2: + accent = MaterialAccentEnum.Cyan; + break; + case 3: + accent = MaterialAccentEnum.Teal; + break; + case 4: + accent = MaterialAccentEnum.Green; + break; + case 5: + accent = MaterialAccentEnum.LightGreen; + break; + case 6: + accent = MaterialAccentEnum.Lime; + break; + default: + accent = MaterialAccentEnum.Yellow; + break; + } + switch( this.GetRandomInteger( 6 ) ) + { + case 0: + location = MaterialToastLocationEnum.Bottom; + break; + case 1: + location = MaterialToastLocationEnum.BottomLeft; + break; + case 2: + location = MaterialToastLocationEnum.BottomRight; + break; + case 3: + location = MaterialToastLocationEnum.Top; + break; + case 4: + location = MaterialToastLocationEnum.TopLeft; + break; + default: + location = MaterialToastLocationEnum.TopRight; + break; + } + switch( this.GetRandomInteger( 6 ) ) + { + case 0: + text = "Warning"; + break; + case 1: + text = "New Appointments"; + break; + case 2: + text = "New Mail"; + break; + case 3: + text = "New Message"; + break; + case 4: + text = "Times Up!"; + break; + default: + text = "Task Completed!"; + break; + } + var materialToast = new MaterialToast( _toastGrid ); + materialToast.MaterialAccent = accent; + materialToast.Location = location; + materialToast.Content = text; + materialToast.DisplayTime = System.TimeSpan.FromMilliseconds( 3000 ); + materialToast.HideCompleted += this.MaterialToast_HideCompleted; + _toastList.Add( materialToast ); + materialToast.ShowToast(); + } + private void StartToastCircularProgressBar() + { + Storyboard storyboard = new Storyboard(); + var valueAnim = new DoubleAnimation( 0d, 100d, System.TimeSpan.FromMilliseconds( 3000 ) ); + Storyboard.SetTarget( valueAnim, _toastProgressBarCircular ); + Storyboard.SetTargetProperty( valueAnim, new PropertyPath( MaterialProgressBarCircular.ValueProperty ) ); + storyboard.Children.Add( valueAnim ); + storyboard.Completed += this.ToastCircularPropgressBarAnimation_Completed; + storyboard.Begin( _toastProgressBarCircular ); + } + #endregion + #region Event Handlers + private void MaterialProgressBar_MouseLeftButtonDown( object sender, MouseButtonEventArgs e ) + { + var progressBar = sender as MaterialProgressBarBase; + if( progressBar != null ) + { + var storyboard = new Storyboard(); + + // Animate ProgressBar + var valueAnim = new DoubleAnimation( progressBar.Minimum, progressBar.Maximum, System.TimeSpan.FromMilliseconds( 4000 ) ); + Storyboard.SetTarget( valueAnim, progressBar ); + Storyboard.SetTargetProperty( valueAnim, new PropertyPath( MaterialProgressBarBase.ValueProperty ) ); + storyboard.Children.Add( valueAnim ); + + storyboard.Begin( this ); + } + } + private void MaterialTabControl_SelectionChanged( object sender, SelectionChangedEventArgs e ) + { + var materialTabItem = e.AddedItems[ 0 ] as MaterialTabItem; + if( ( materialTabItem != null ) && materialTabItem.Equals( _materialTabItem5 ) ) + { + this.StartToastCircularProgressBar(); + } + else + { + foreach( var toast in _toastList ) + { + toast.HideToast(); + } + } + } + private void MaterialToast_HideCompleted( object sender, RoutedEventArgs e ) + { + _toastList.Remove( sender as MaterialToast ); + } + private void MaterialToastButton_Click( object sender, RoutedEventArgs e ) + { + this.PopToast(); + } + private void ToastCircularPropgressBarAnimation_Completed( object sender, EventArgs e ) + { + if( _materialTabControl.SelectedItem.Equals( _materialTabItem5 ) ) + { + this.PopToast(); + this.StartToastCircularProgressBar(); + } + } - - - + #endregion +#endif } } diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialControlsView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialControlsView.xaml.txt index c17df24f..df53196d 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialControlsView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialControlsView.xaml.txt @@ -27,6 +27,7 @@ The Material controls include a set of complimentary accent brush and foreground. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialDropDownView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialDropDownView.xaml.txt index 43f61580..11cae68f 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialDropDownView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialDropDownView.xaml.txt @@ -25,6 +25,7 @@ A DropDownButton from the Xceed Wpf Toolkit with animations when opening the popup. It uses the MaterialButton animations and the Material Brushes. + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialFrameView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialFrameView.xaml.txt index 82b1ea2d..2efbf917 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialFrameView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialFrameView.xaml.txt @@ -26,6 +26,7 @@ A ContentControl with a fully customizable shadow that can be modified through Shadow properties or with a Z property that enables predefined shadows. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialHamburgerView.xaml.cs.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialHamburgerView.xaml.cs.txt index cfcc19d3..1a552cdb 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialHamburgerView.xaml.cs.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialHamburgerView.xaml.cs.txt @@ -34,15 +34,79 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views #endregion +#if !OPEN_SOURCE + #region EventHandlers + private void CheckedContentComboBox_SelectionChanged( object sender, SelectionChangedEventArgs e ) + { + if( materialHamburger == null ) + return; + + if( ( e.AddedItems != null ) && ( e.AddedItems.Count > 0 ) ) + { + var selection = e.AddedItems[ 0 ] as ComboBoxItem; + if( selection != null ) + { + if( selection.Tag != null ) + { + materialHamburger.CheckedContent = selection.Tag; + } + else + { + materialHamburger.ClearValue( MaterialHamburger.CheckedContentProperty ); + } + } + } + } + private void UncheckedContentComboBox_SelectionChanged( object sender, SelectionChangedEventArgs e ) + { + if( materialHamburger == null ) + return; + + if( ( e.AddedItems != null ) && ( e.AddedItems.Count > 0 ) ) + { + var selection = e.AddedItems[ 0 ] as ComboBoxItem; + if( selection != null ) + { + if( selection.Tag != null ) + { + materialHamburger.UncheckedContent = selection.Tag; + } + else + { + materialHamburger.ClearValue( MaterialHamburger.UncheckedContentProperty ); + } + } + } + } + private void MenuLocationComboBox_SelectionChanged( object sender, SelectionChangedEventArgs e ) + { + if( ( e.AddedItems != null ) && ( e.AddedItems.Count > 0 ) ) + { + var menuLocation = ( HamburgerLocation )e.AddedItems[ 0 ]; + materialHamburgerMenu.CloseButtonLocation = ( menuLocation == HamburgerLocation.Right ) ? Location.Left : Location.Right; + } + } + private void IconButton_Click( object sender, RoutedEventArgs e ) + { + var button = sender as IconButton; + if( button != null ) + { + Process.Start( new ProcessStartInfo( button.Tag as string ) ); + } + } + private void ApplyButton_Click( object sender, RoutedEventArgs e ) + { + materialHamburger.IsChecked = false; + } + #endregion - - +#endif } } diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialHamburgerView.xaml.txt b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialHamburgerView.xaml.txt index 939431d2..0e6d59c3 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialHamburgerView.xaml.txt +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialHamburgerView.xaml.txt @@ -26,6 +26,7 @@ A ToggleButton that pops a menu from left, right, top or bottom of a Window (or any FrameworkElement). The menu can be an animated HamburgerMenu or any customized content. It uses the Material Brushes. + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + +