diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AeroColors.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AeroColors.cs index b9dc39616..5f8a3693f 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 29e273eb8..b1cf8e990 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 c3b55b6dd..d9095b221 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 b9d5be128..a98b770d8 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 @@ public SplineBorder() #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 @@ public double Thickness #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 @@ public Brush Fill #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 @@ public Brush Stroke #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 8ddfc22df..0600bfd92 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 c8790d434..bbb15fb25 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 d512c2e69..dfe25d3d8 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 b3c6eacd4..a388d5691 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 f0df56801..8219158b4 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 9af2c16c7..d3310fc3e 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 fc60125ed..61b570ebc 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 8bf0f9f8c..50730abfc 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 927d2f5b6..b07c17f22 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 0f01c239d..27597e24d 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 7def2607b..5e8f63c37 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 0135766b5..d301450eb 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 c4ded83e9..bc8fb85df 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 2160a7a71..943940a67 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 ffdea2f61..36cca34df 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 @@ public AnchorablePaneTitle() #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 @@ private static void _OnModelChanged( DependencyObject sender, DependencyProperty ( ( 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 @@ protected virtual void OnModelChanged( DependencyPropertyChangedEventArgs e ) #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 @@ public LayoutItem LayoutItem } } - /// - /// 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 28d4d862c..794bf195b 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 fbd3d2de6..47adf645e 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 6936da990..d519493e4 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 5d9ba5ca7..fc242501f 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 2e9d7ad14..89c43dd5a 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 ac8069231..fcb3398c1 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 add66502f..3ca0c82d5 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 683d7326e..f0641f838 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 74761643c..b90fa9b02 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 e7c83a69c..3f99e67d8 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 981626715..31ed465b9 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 89eb40558..81e563e3f 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 ed514268c..6e3d7ffed 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 @@ public DropDownButton() #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 @@ public ContextMenu DropDownContextMenu } } - /// - /// 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 @@ protected virtual void OnDropDownContextMenuChanged( DependencyPropertyChangedEv #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 594be3ca1..315ec1a32 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 @@ public DropDownControlArea() #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 @@ public ContextMenu DropDownContextMenu #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 a3c5ab4db..a3912a831 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 f0a732a3e..23821b1a3 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 @@ abstract class DropTargetBase : DependencyObject #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 2e17c608d..d989fb0f8 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 faa6eaa37..6b0a5f7bf 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 995979936..da7020c0e 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 @@ internal static void FinalizeFocusManagement( DockingManager manager ) } - /// - /// 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 @@ internal static IInputElement GetLastFocusedElement( ILayoutElement model ) } - /// - /// 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 @@ internal static IntPtr GetLastWindowHandle( ILayoutElement model ) 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 a3300e959..e7a1ec097 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 ce2d61462..7cfac7d3d 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 5521eed77..aa1dd87f1 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 f46952cfb..2ebedc104 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 f10e2f8a6..f3b706a94 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 d1bbe0ccd..aee8063bb 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 87df25647..082f4d8dc 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 @@ public ILayoutElement Model #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 @@ public AnchorSide Side } } - /// - /// 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 25c35b79b..1ff3d42eb 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 3c020c132..e04451171 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 @@ public ObservableCollection Children #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 @@ public bool IsLeftSide } } - /// - /// 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 @@ protected void SetIsLeftSide( bool value ) #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 @@ public bool IsTopSide } } - /// - /// 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 @@ protected void SetIsTopSide( bool value ) #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 @@ public bool IsRightSide } } - /// - /// 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 @@ protected void SetIsRightSide( bool value ) #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 @@ public bool IsBottomSide } } - /// - /// 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 eaad3349e..2f8fc4e11 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 @@ public LayoutAnchorableControl() #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 @@ public LayoutAnchorable Model } } - /// - /// 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 @@ private void Model_PropertyChanged( object sender, System.ComponentModel.Propert #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 @@ public LayoutItem LayoutItem } } - /// - /// 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 b8d3b7ee4..8329a0acb 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 @@ internal LayoutAnchorableFloatingWindowControl( LayoutAnchorableFloatingWindow m #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 @@ public LayoutItem SingleContentLayoutItem } } - /// - /// 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 adc075264..5fa97d154 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 @@ internal LayoutAnchorableItem() #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 @@ public ICommand HideCommand } } - /// - /// 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 @@ private void ExecuteHideCommand( object parameter ) #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 @@ public ICommand AutoHideCommand } } - /// - /// 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 @@ private void ExecuteAutoHideCommand( object parameter ) #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 @@ public ICommand DockCommand } } - /// - /// 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 @@ private void ExecuteDockCommand( object parameter ) #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 @@ public bool CanHide } } - /// - /// 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 6dc97eb79..0794c9b6a 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 a51c9a3f8..6c5bb989c 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 99a908e07..d935847ea 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 @@ public LayoutAnchorableTabItem() #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 @@ public LayoutContent Model } } - /// - /// 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 @@ protected virtual void OnModelChanged( DependencyPropertyChangedEventArgs e ) #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 @@ public LayoutItem LayoutItem } } - /// - /// 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 c95f04980..0061ad16f 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 @@ internal LayoutAutoHideWindowControl() #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 @@ public Style AnchorableStyle #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 733d65189..6073512d6 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 ab5b8a8b0..cb2f395fd 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 @@ static LayoutDocumentControl() #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 @@ public LayoutContent Model } } - /// - /// 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 @@ private void Model_PropertyChanged( object sender, PropertyChangedEventArgs e ) #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 @@ public LayoutItem LayoutItem } } - /// - /// 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 aa537acd3..a162f1e80 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 3945011f5..212d97bb8 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 @@ internal LayoutDocumentItem() #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 @@ public string Description } } - /// - /// 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 b8c0bce62..8cd98fc63 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 220060a36..2a14267cb 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 b4403932d..4c0b68395 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 @@ public LayoutDocumentTabItem() #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 @@ public LayoutContent Model } } - /// - /// 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 @@ protected virtual void OnModelChanged( DependencyPropertyChangedEventArgs e ) #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 @@ public LayoutItem LayoutItem } } - /// - /// 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 e9ac0d803..b31f3d55c 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 @@ public abstract ILayoutElement Model #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 @@ private set #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 @@ public bool IsDragging } } - /// - /// 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 @@ internal bool KeepContentVisibleOnClose #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 @@ private set } } - /// - /// 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 @@ protected override void OnStateChanged( EventArgs e ) #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 bf2e362c9..23882a65c 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 7772fb731..9fb8b9829 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 @@ static LayoutGridResizerControl() #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 @@ public Brush BackgroundWhileDragging #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 ec03f39c6..661a3dab7 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 @@ public ContentPresenter View #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 @@ public string Title } } - /// - /// 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 @@ protected virtual void OnTitleChanged( DependencyPropertyChangedEventArgs e ) #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 @@ public ImageSource IconSource } } - /// - /// 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 @@ protected virtual void OnIconSourceChanged( DependencyPropertyChangedEventArgs e #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 @@ public string ContentId } } - /// - /// 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 @@ protected virtual void OnContentIdChanged( DependencyPropertyChangedEventArgs e #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 @@ public bool IsSelected } } - /// - /// 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 @@ protected virtual void OnIsSelectedChanged( DependencyPropertyChangedEventArgs e #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 @@ public bool IsActive } } - /// - /// 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 @@ protected virtual void OnIsActiveChanged( DependencyPropertyChangedEventArgs e ) #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 @@ public bool CanClose } } - /// - /// 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 @@ protected virtual void OnCanCloseChanged( DependencyPropertyChangedEventArgs e ) #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 @@ public bool CanFloat } } - /// - /// 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 @@ protected virtual void OnCanFloatChanged( DependencyPropertyChangedEventArgs e ) #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 @@ public ICommand CloseCommand } } - /// - /// 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 @@ private void ExecuteCloseCommand( object parameter ) #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 @@ public ICommand FloatCommand } } - /// - /// 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 @@ protected virtual void Float() #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 @@ public ICommand DockAsDocumentCommand } } - /// - /// 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 @@ private void ExecuteDockAsDocumentCommand( object parameter ) #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 @@ public ICommand CloseAllButThisCommand } } - /// - /// 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 @@ private void ExecuteCloseAllButThisCommand( object parameter ) #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 @@ public ICommand CloseAllCommand } } - /// - /// 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 @@ private void ExecuteCloseAllCommand( object parameter ) #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 @@ public ICommand ActivateCommand } } - /// - /// 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 @@ private void ExecuteActivateCommand( object parameter ) #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 @@ public ICommand NewVerticalTabGroupCommand } } - /// - /// 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 @@ private void ExecuteNewVerticalTabGroupCommand( object parameter ) #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 @@ public ICommand NewHorizontalTabGroupCommand } } - /// - /// 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 @@ private void ExecuteNewHorizontalTabGroupCommand( object parameter ) #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 @@ public ICommand MoveToNextTabGroupCommand } } - /// - /// 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 @@ private void ExecuteMoveToNextTabGroupCommand( object parameter ) #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 @@ public ICommand MoveToPreviousTabGroupCommand } } - /// - /// 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 3feea236f..42455568d 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 7de333ebd..2941d239a 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 @@ public MenuItemEx() #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 @@ public DataTemplate IconTemplate } } - /// - /// 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 @@ protected virtual void OnIconTemplateChanged( DependencyPropertyChangedEventArgs #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 @@ public DataTemplateSelector IconTemplateSelector } } - /// - /// 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 df3c8f653..2b5b5a836 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 @@ public NavigatorWindow( DockingManager manager ) #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 @@ public LayoutDocumentItem[] Documents #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 @@ public IEnumerable Anchorables #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 @@ public LayoutDocumentItem SelectedDocument } } - /// - /// 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 @@ protected virtual void OnSelectedDocumentChanged( DependencyPropertyChangedEvent #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 @@ public LayoutAnchorableItem SelectedAnchorable } } - /// - /// 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 @@ protected override void OnPreviewKeyUp( System.Windows.Input.KeyEventArgs e ) #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 d4b7353c2..485bdd415 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 a5007e369..01d42a642 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 @@ internal void HideDropTargets() #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 @@ private void SetDropTargetIntoVisibility( ILayoutPositionableElement positionabl } } - /// - /// 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 baa95f406..5db8c0469 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 7423dee61..9fbb1ba9e 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 f0036eae1..ee8596b92 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 4fe53bc46..62598c314 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 @@ public static T CoCreateInstance( string clsid ) 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 681572e7e..543b8cd73 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 @@ private static void _Break() #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 @@ public static void Evaluate( EvaluateFunction argument ) 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 @@ public static void Equals( T expected, T actual ) 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 @@ public static void AreEqual( T expected, T actual ) } } - /// - /// 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 @@ public static void AreNotEqual( T notExpected, T actual ) } } - /// - /// 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 @@ public static void Implies( bool condition, bool result ) } } - /// - /// 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 @@ public static void Implies( bool condition, ImplicationFunction result ) } } - /// - /// 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 @@ public static void IsNeitherNullNorWhitespace( string value ) } } - /// - /// 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 @@ public static void IsNotDefault( T value ) where T : struct } } - /// - /// 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 @@ public static void IsFalse( bool condition ) } } - /// - /// 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 @@ public static void IsFalse( bool condition, string message ) } } - /// - /// 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 @@ public static void IsTrue( bool condition ) } } - /// - /// 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 @@ public static void IsTrue( bool condition, string message ) } } - /// - /// 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 @@ public static void IsNull( T item ) where T : class } } - /// - /// 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 @@ public static void BoundedDoubleInc( double lowerBoundInclusive, double value, d } } - /// - /// 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 @@ public static void BoundedInteger( int lowerBoundInclusive, int value, int upper } } - /// - /// 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 2ecc70214..f6964d2e6 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 @@ public static bool AreClose( double value1, double value2 ) 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 e161dca1c..abdc2bf80 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 @@ static DpiHelper() } } - /// - /// 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 e6d2cfb8f..844f86ecb 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 @@ internal struct Win32Error // 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 @@ public static explicit operator HRESULT( Win32Error error ) } // 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 @@ public override int GetHashCode() 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 @@ public override int GetHashCode() 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 @@ internal struct HRESULT // 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 @@ public static HRESULT Make( bool severe, Facility facility, int code ) return new HRESULT( ( uint )( ( severe ? ( 1 << 31 ) : 0 ) | ( ( int )facility << 16 ) | code ) ); } - /// - /// retrieve HRESULT_FACILITY - /// public Facility Facility { get @@ -330,9 +238,6 @@ public static Facility GetFacility( int errorCode ) return ( Facility )( ( errorCode >> 16 ) & 0x1fff ); } - /// - /// retrieve HRESULT_CODE - /// public int Code { get @@ -349,10 +254,6 @@ public static int GetCode( int error ) #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 @@ public void ThrowIfFailed( string message ) } } - /// - /// 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 70aab6e28..4f5757a0d 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 ed367258d..eca8d596a 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 @@ internal static class Win32Value public const uint sizeof_BOOL = 4; } - /// - /// HIGHCONTRAST flags - /// [Flags] internal enum HCF { @@ -63,38 +60,17 @@ internal enum HCF 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 @@ internal enum CombineRgnResult COMPLEXREGION = 3, } - /// - /// For IWebBrowser2. OLECMDEXECOPT_* - /// internal enum OLECMDEXECOPT { DODEFAULT = 0, @@ -117,9 +90,6 @@ internal enum OLECMDEXECOPT SHOWHELP = 3 } - /// - /// For IWebBrowser2. OLECMDF_* - /// internal enum OLECMDF { SUPPORTED = 1, @@ -130,9 +100,6 @@ internal enum OLECMDF DEFHIDEONCTXTMENU = 32 } - /// - /// For IWebBrowser2. OLECMDID_* - /// internal enum OLECMDID { OPEN = 1, @@ -194,9 +161,6 @@ internal enum OLECMDID SHOWPAGEACTIONMENU = 59 } - /// - /// For IWebBrowser2. READYSTATE_* - /// enum READYSTATE { UNINITIALIZED = 0, @@ -206,9 +170,6 @@ enum READYSTATE COMPLETE = 4 } - /// - /// DATAOBJ_GET_ITEM_FLAGS. DOGIF_*. - /// internal enum DOGIF { DEFAULT = 0x0000, @@ -227,35 +188,13 @@ internal enum DWM_SIT [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 @@ internal enum HT HELP = 21 } - /// - /// GetClassLongPtr values, GCLP_* - /// internal enum GCLP { HBRBACKGROUND = -10, } - /// - /// GetWindowLongPtr values, GWL_* - /// internal enum GWL { WNDPROC = ( -4 ), @@ -311,9 +244,6 @@ internal enum GWL ID = ( -12 ) } - /// - /// SystemMetrics. SM_* - /// internal enum SM { CXSCREEN = 0, @@ -402,9 +332,6 @@ internal enum SM REMOTECONTROL = 0x2001, } - /// - /// SystemParameterInfo values, SPI_* - /// internal enum SPI { GETBEEP = 0x0001, @@ -641,9 +568,6 @@ internal enum SPI SETMESSAGEDURATION = 0x2017, } - /// - /// SystemParameterInfo flag values, SPIF_* - /// [Flags] internal enum SPIF { @@ -706,9 +630,6 @@ internal enum StockObject : int DEFAULT_PALETTE = 15, } - /// - /// CS_* - /// [Flags] internal enum CS : uint { @@ -727,9 +648,6 @@ internal enum CS : uint DROPSHADOW = 0x00020000 } - /// - /// WindowStyle values, WS_* - /// [Flags] internal enum WS : uint { @@ -765,9 +683,6 @@ internal enum WS : uint CHILDWINDOW = CHILD, } - /// - /// Window message values, WM_* - /// internal enum WM { NULL = 0x0000, @@ -923,9 +838,6 @@ internal enum WM APP = 0x8000, } - /// - /// Window style extended values, WS_EX_* - /// [Flags] internal enum WS_EX : uint { @@ -958,25 +870,11 @@ internal enum WS_EX : uint 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 @@ internal enum FO : int RENAME = 0x0004, } - /// - /// "FILEOP_FLAGS", FOF_*. - /// internal enum FOF : ushort { MULTIDESTFILES = 0x0001, @@ -1011,15 +906,9 @@ internal enum FOF : ushort 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 @@ internal enum MF : uint 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 @@ internal enum DWMFLIP3D //LAST } - /// - /// DWMNCRENDERINGPOLICY. DWMNCRP_* - /// internal enum DWMNCRP { USEWINDOWSTYLE, @@ -1056,9 +937,6 @@ internal enum DWMNCRP //LAST } - /// - /// DWMWINDOWATTRIBUTE. DWMWA_* - /// internal enum DWMWA { NCRENDERING_ENABLED = 1, @@ -1080,27 +958,16 @@ internal enum DWMWA // 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 @@ internal enum SWP SHOWWINDOW = 0x0040, } - /// - /// ShowWindow options - /// internal enum SW { HIDE = 0, @@ -1164,17 +1028,11 @@ internal enum SC 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 @@ internal enum MOUSEEVENTF : int LEFTUP = 4 } - /// - /// MSGFLT_*. New in Vista. Realiased in Windows 7. - /// internal enum MSGFLT { // Win7 versions of this enum: @@ -1236,9 +1091,6 @@ internal enum INPUT_TYPE : uint MOUSE = 0, } - /// - /// Shell_NotifyIcon messages. NIM_* - /// internal enum NIM : uint { ADD = 0, @@ -1248,9 +1100,6 @@ internal enum NIM : uint SETVERSION = 4, } - /// - /// SHAddToRecentDocuments flags. SHARD_* - /// internal enum SHARD { PIDL = 0x00000001, @@ -1270,9 +1119,6 @@ enum SLGP RAWPATH = 0x4 } - /// - /// Shell_NotifyIcon flags. NIF_* - /// [Flags] internal enum NIF : uint { @@ -1283,43 +1129,26 @@ internal enum NIF : uint 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 @@ internal class NOTIFYICONDATA 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 @@ internal class SHARDAPPIDINFO [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 @@ public static NONCLIENTMETRICS XPMetricsStruct } } - /// 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 @@ internal struct WTA_OPTIONS [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 @@ internal struct DWM_TIMING_INFO #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 @@ public static IntPtr GetWindowLongPtr( IntPtr hwnd, GWL nIndex ) 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 @@ public static bool SetWindowPos( IntPtr hWnd, IntPtr hWndInsertAfter, int x, int [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 @@ public static void SHAddToRecentDocs( IShellLinkW shellLink ) [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 619ea1763..5ffafbd2f 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 @@ internal enum APPDOCLISTTYPE 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 @@ internal enum STPF USEAPPPEEKWHENACTIVE = 0x00000008, } - /// - /// Flags for Setting Taskbar Progress state. TBPF_* - /// - /// - /// The native enum was called TBPFLAG. - /// internal enum TBPF { NOPROGRESS = 0x00000000, @@ -73,9 +62,6 @@ internal enum TBPF PAUSED = 0x00000008, } - /// - /// THUMBBUTTON mask. THB_* - /// [Flags] internal enum THB : uint { @@ -85,9 +71,6 @@ internal enum THB : uint FLAGS = 0x0008, } - /// - /// THUMBBUTTON flags. THBF_* - /// [Flags] internal enum THBF : uint { @@ -100,12 +83,6 @@ internal enum THBF : uint 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 @@ internal enum GPS MASK_VALID = 0x000000FF, } - /// - /// KNOWNDESTCATEGORY. KDC_* - /// internal enum KDC { FREQUENT = 1, @@ -144,101 +118,49 @@ internal enum KDC [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 @@ internal enum SHCONTF 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 @@ internal enum SHGDN 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 @@ internal enum SIGDN : uint 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 @@ internal static class STR_GPS [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 @@ internal struct THUMBBUTTON [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 @@ public PKEY( Guid fmtid, uint pid ) _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 @@ internal interface IEnumObjects IEnumObjects Clone(); } - /// Unknown Object Array [ ComImport, InterfaceType( ComInterfaceType.InterfaceIsIUnknown ), @@ -564,9 +441,6 @@ void SetNameOf( [In] IntPtr hwnd, [Out] out IntPtr ppidlOut ); } - /// - /// Shell Namespace helper - /// [ ComImport, InterfaceType( ComInterfaceType.InterfaceIsIUnknown ), @@ -613,9 +487,6 @@ internal interface IShellItemArray object EnumItems(); } - /// - /// Shell Namespace helper 2 - /// [ ComImport, InterfaceType( ComInterfaceType.InterfaceIsIUnknown ), @@ -712,33 +583,14 @@ internal interface IShellLinkW ] 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 @@ internal interface ITaskbarList2 : ITaskbarList 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 @@ internal interface IApplicationDestinations 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 @@ internal interface IApplicationDestinations ] 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 @@ internal interface ICustomDestinationList void AbortList(); } - /// - /// Provides access to the App User Model ID on objects supporting this value. - /// [ ComImport, InterfaceType( ComInterfaceType.InterfaceIsIUnknown ), @@ -864,9 +687,6 @@ internal interface IObjectWithAppUserModelId 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 7e66dad74..b1706c4f2 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 @@ internal sealed class ManagedIStream : IStream, IDisposable 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 @@ private void _Validate() // 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 @@ public void Clone( out IStream ppstm ) 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 @@ public void CopyTo( IStream pstm, long cb, IntPtr pcbRead, IntPtr pcbWritten ) } } - /// - /// 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 @@ public void Read( byte[] pv, int cb, IntPtr pcbRead ) } - /// - /// 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 @@ public void Seek( long dlibMove, int dwOrigin, IntPtr plibNewPosition ) } } - /// - /// 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 @@ public void Stat( out STATSTG pstatstg, int grfStatFlag ) 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 @@ public void UnlockRegion( long libOffset, long cb, int dwLockType ) 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 @@ public void Write( byte[] pv, int cb, IntPtr pcbWritten ) #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 0b023bc88..9a3f6ddba 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 @@ private static bool _MemCmp( IntPtr left, IntPtr right, long cb ) 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 @@ public static bool IsOSWindows8OrNewer } } - /// - /// 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 @@ private static int _WeightedAbs( int valueHave, int valueWant, bool fPunish ) 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 @@ private static int _GetBitDepth() 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 @@ public static void SafeDeleteFile( string path ) } } - /// GDI's DeleteObject [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] public static void SafeDeleteObject( ref IntPtr gdiObject ) { @@ -532,8 +507,6 @@ public static void SafeDispose( ref T disposable ) where T : IDisposable } } - /// GDI+'s DisposeImage - /// [SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] public static void SafeDisposeImage( ref IntPtr gdipImage ) { @@ -584,12 +557,6 @@ public static void SafeRelease( ref T comObject ) where T : class } } - /// - /// 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 @@ public static void GeneratePropertyString( StringBuilder source, string property } } - /// - /// 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 @@ public static string UrlDecode( string url ) 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 6951ee7e2..4a8801af0 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 @@ public static void IsApartmentState( ApartmentState requiredState, string messag } } - /// - /// 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 @@ public static void IsNeitherNullNorEmpty( string value, string name ) } } - /// - /// 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 @@ public static void IsNeitherNullNorWhitespace( string value, string name ) } } - /// 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 @@ public static void IsNotDefault( T obj, string name ) where T : struct } } - /// 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 @@ public static void IsNotNull( T obj, string name ) where T : class } } - /// 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 @@ public static void PropertyIsNull( T obj, string name ) where T : class } } - /// - /// 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 @@ public static void IsTrue( bool statement, string name ) } } - /// - /// 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 @@ public static void UriIsAbsolute( Uri uri, string parameterName ) } } - /// - /// 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 e41346b00..f10392f1c 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 @@ public static void RestoreWindow( Window window ) _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 f4fc1b739..9a47d2b60 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 @@ private void _UpdateWindowCornerRadius( IntPtr wParam, IntPtr lParam ) #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 7fc2973e0..ac24eed98 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 @@ public static void SetIsHitTestVisibleInChrome( IInputElement inputElement, bool ( 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 @@ public CornerRadius CornerRadius #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 fb2c2b16a..3f6a8b632 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 @@ internal class WindowChromeWorker : DependencyObject 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 @@ internal class WindowChromeWorker : DependencyObject // 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 @@ private IntPtr _HandleMove( WM uMsg, IntPtr wParam, IntPtr lParam, out bool hand #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 @@ private bool _ModifyStyle( WS removeStyle, WS addStyle ) 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 @@ private WindowState _GetHwndState() 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 @@ private Rect _GetWindowRect() 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 @@ private void _ExtendGlassFrame() } } - /// - /// 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 9af45ea12..b609dee27 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 05bb640bf..fd6ea6885 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 c62808c27..614aebe7b 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 cfaddf9d8..6bda12b03 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 8357ee1b3..3d9f0c63f 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 8fd9ff0d8..fb4863e55 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 a8e160db3..2dd0b89de 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 e1cbdb8e2..c96951df3 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 4657aa327..e71e1c7e6 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 a69614990..832d030f9 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 ac167c203..bcb37fd4c 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 @@ public class BoolToVisibilityConverter : IValueConverter { #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 @@ public object Convert( object value, Type targetType, object parameter, System.G } 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 11917e5ae..c8cac691e 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 18fddab64..03c8e6905 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 @@ public class InverseBoolToVisibilityConverter : IValueConverter { #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 @@ public object Convert( object value, Type targetType, object parameter, System.G 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 3dac29ce2..a6013b872 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 7038baf6c..bdf9a0d99 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 970369022..ce26840ec 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 c0baf9bf8..cad80f1d8 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 @@ public DockingManager() #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 @@ private set #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 @@ public LayoutRoot Layout } } - /// - /// Coerces the value. - /// private static object CoerceLayoutValue( DependencyObject d, object value ) { if( value == null ) @@ -165,17 +148,11 @@ private static object CoerceLayoutValue( DependencyObject d, object value ) 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 @@ protected virtual void OnLayoutChanged( LayoutRoot oldLayout, LayoutRoot newLayo #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 @@ public ILayoutUpdateStrategy LayoutUpdateStrategy #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 @@ public ControlTemplate AnchorSideTemplate #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 @@ public ControlTemplate AnchorGroupTemplate #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 @@ public ControlTemplate AnchorTemplate #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 @@ public Style DocumentPaneControlStyle } } - /// - /// 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 @@ protected virtual void OnDocumentPaneControlStyleChanged( DependencyPropertyChan #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 @@ public Style AnchorablePaneControlStyle } } - /// - /// 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 @@ protected virtual void OnAnchorablePaneControlStyleChanged( DependencyPropertyCh #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 @@ public DataTemplate DocumentHeaderTemplate } } - /// - /// 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 @@ private static object CoerceDocumentHeaderTemplateValue( DependencyObject d, obj #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 @@ public DataTemplateSelector DocumentHeaderTemplateSelector } } - /// - /// 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 @@ protected virtual void OnDocumentHeaderTemplateSelectorChanged( DependencyProper } - /// - /// Coerces the DocumentHeaderTemplateSelector value. - /// private static object CoerceDocumentHeaderTemplateSelectorValue( DependencyObject d, object value ) { return value; @@ -545,16 +434,9 @@ private static object CoerceDocumentHeaderTemplateSelectorValue( DependencyObjec #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 @@ public DataTemplate DocumentTitleTemplate } } - /// - /// 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 @@ private static object CoerceDocumentTitleTemplateValue( DependencyObject d, obje #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 @@ public DataTemplateSelector DocumentTitleTemplateSelector } } - /// - /// 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 @@ private static object CoerceDocumentTitleTemplateSelectorValue( DependencyObject #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 @@ public DataTemplate AnchorableTitleTemplate } } - /// - /// 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 @@ private static object CoerceAnchorableTitleTemplateValue( DependencyObject d, ob #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 @@ public DataTemplateSelector AnchorableTitleTemplateSelector } } - /// - /// 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 @@ protected virtual void OnAnchorableTitleTemplateSelectorChanged( DependencyPrope #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 @@ public DataTemplate AnchorableHeaderTemplate } } - /// - /// 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 @@ private static object CoerceAnchorableHeaderTemplateValue( DependencyObject d, o #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 @@ public DataTemplateSelector AnchorableHeaderTemplateSelector } } - /// - /// 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 @@ protected virtual void OnAnchorableHeaderTemplateSelectorChanged( DependencyProp #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 @@ public LayoutPanelControl LayoutRootPanel } } - /// - /// 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 @@ protected virtual void OnLayoutRootPanelChanged( DependencyPropertyChangedEventA #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 @@ public LayoutAnchorSideControl RightSidePanel } } - /// - /// 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 @@ protected virtual void OnRightSidePanelChanged( DependencyPropertyChangedEventAr #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 @@ public LayoutAnchorSideControl LeftSidePanel } } - /// - /// 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 @@ protected virtual void OnLeftSidePanelChanged( DependencyPropertyChangedEventArg #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 @@ public LayoutAnchorSideControl TopSidePanel } } - /// - /// 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 @@ protected virtual void OnTopSidePanelChanged( DependencyPropertyChangedEventArgs #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 @@ public LayoutAnchorSideControl BottomSidePanel } } - /// - /// 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 @@ private void ClearLogicalChildrenList() #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 @@ public LayoutAutoHideWindowControl AutoHideWindow } } - /// - /// 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 @@ protected virtual void OnAutoHideWindowChanged( DependencyPropertyChangedEventAr #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 @@ public IEnumerable FloatingWindows #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 @@ public DataTemplate LayoutItemTemplate } } - /// - /// 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 @@ protected virtual void OnLayoutItemTemplateChanged( DependencyPropertyChangedEve #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 @@ public DataTemplateSelector LayoutItemTemplateSelector } } - /// - /// 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 @@ protected virtual void OnLayoutItemTemplateSelectorChanged( DependencyPropertyCh #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 @@ public IEnumerable DocumentsSource } } - /// - /// 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 @@ protected virtual void OnDocumentsSourceChanged( DependencyPropertyChangedEventA #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 @@ public ContextMenu DocumentContextMenu #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 @@ public IEnumerable AnchorablesSource } } - /// - /// 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 @@ protected virtual void OnAnchorablesSourceChanged( DependencyPropertyChangedEven #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 @@ public object ActiveContent } } - /// - /// 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 @@ protected virtual void OnActiveContentChanged( DependencyPropertyChangedEventArg #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 @@ public ContextMenu AnchorableContextMenu #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 @@ public Theme Theme } } - /// - /// 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 @@ protected virtual void OnThemeChanged( DependencyPropertyChangedEventArgs e ) 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 @@ public double GridSplitterWidth #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 @@ public double GridSplitterHeight #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 @@ public DataTemplate DocumentPaneMenuItemHeaderTemplate } } - /// - /// 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 @@ private static object CoerceDocumentPaneMenuItemHeaderTemplateValue( DependencyO #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 @@ public DataTemplateSelector DocumentPaneMenuItemHeaderTemplateSelector } } - /// - /// 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 @@ protected virtual void OnDocumentPaneMenuItemHeaderTemplateSelectorChanged( Depe } - /// - /// Coerces the DocumentPaneMenuItemHeaderTemplateSelector value. - /// private static object CoerceDocumentPaneMenuItemHeaderTemplateSelectorValue( DependencyObject d, object value ) { return value; @@ -1746,16 +1317,9 @@ private static object CoerceDocumentPaneMenuItemHeaderTemplateSelectorValue( Dep #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 @@ public DataTemplate IconContentTemplate #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 @@ public DataTemplateSelector IconContentTemplateSelector #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 @@ public Style LayoutItemContainerStyle } } - /// - /// 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 @@ protected virtual void OnLayoutItemContainerStyleChanged( DependencyPropertyChan #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 @@ public StyleSelector LayoutItemContainerStyleSelector } } - /// - /// 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 @@ protected virtual void OnLayoutItemContainerStyleSelectorChanged( DependencyProp #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 @@ public bool ShowSystemMenu #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 @@ public virtual NavigatorWindow CreateNavigatorWindow() 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 @@ private LayoutFloatingWindowControl CreateFloatingWindowCore( LayoutContent cont 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 @@ private void AnchorableContextMenu_Opened( object sender, RoutedEventArgs e ) #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 ce89b550c..3a789bed2 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 b05297ba9..623a1cb7c 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 b743ffb8d..9d49a7284 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 bf8aa13ed..34074398d 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 a749cb4c7..b2258b5fa 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 5b3fd13ed..6adf13cd1 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 71c3d3ac0..25f6eb24d 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 a0d28c7e4..00ef06f7e 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 7852ed9f5..ae194b7cd 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 828538247..627c95509 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 0fc2a5506..815d3c414 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 0e47ad13e..6101d34b5 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 2f16148fc..cf4de4086 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 23f1ac7a6..55b96dd5e 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 ca52229f8..3061a62d9 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 fe5507b8a..e03c79780 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 a999a67e1..9ea1535f6 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 e88d66a65..88f497c17 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 47c78abd1..5719d8fff 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 aa29335db..cf5e806da 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 ca0af3895..ad42e7c6b 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 4749c706f..2df9cb107 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 5972a6516..0fe49e0e8 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 695edfa36..7488b2970 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 93bb27eb5..8b8d887a4 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 14f25b648..22d67870e 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 87f4769dd..b9efb6a74 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 @@ public bool CanDockAsTabbedDocument #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 @@ public override void ConsoleDump(int tab) #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 @@ public void Hide( bool cancelable = true ) } - /// - /// Show the content - /// - /// Try to show the content where it was previously hidden. public void Show() { if( IsVisible ) @@ -507,11 +496,6 @@ public void Show() } - /// - /// 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 b4e0a41f8..b6b0bc652 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 99845472c..4f1cd7096 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 11c858a23..dcf100f6c 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 7d5e230a7..0c886b08d 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 @@ public bool IsSelected } } - /// - /// 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 @@ public bool IsActive } } - /// - /// 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 @@ protected override void OnParentChanged( ILayoutContainer oldValue, ILayoutConta #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 @@ public int CompareTo( LayoutContent other ) return string.Compare( Title, other.Title ); } - /// - /// Float the content in a popup window - /// public void Float() { if( PreviousContainer != null && @@ -886,9 +873,6 @@ public void Float() Root.CollectGarbage(); } - /// - /// Dock the content as document - /// public void DockAsDocument() { var root = Root as LayoutRoot; @@ -951,9 +935,6 @@ public void DockAsDocument() IsActive = true; } - /// - /// Re-dock the content to its previous container - /// public void Dock() { Root.Manager.RaisePreviewDockEvent( this ); @@ -1006,10 +987,6 @@ public void Dock() #region Internal Methods - /// - /// Test if the content can be closed - /// - /// internal bool TestCanClose() { CancelEventArgs args = new CancelEventArgs(); @@ -1060,12 +1037,12 @@ private void UpdateContainedFloatingWindowTaskbarTitle( bool newValue ) { // 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 @@ private void UpdateContainedFloatingWindowTaskbarTitle( bool newValue ) #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 cfebd727c..21756b99f 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 a2225d798..61225aaa4 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 0bff878c7..ea13f23d1 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 555075c34..e1f9414c1 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 05c061df3..5ede5c92c 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 @@ public virtual void ConsoleDump(int tab) #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 80b52fb45..eda7a086a 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 86e3a38ee..d7591432c 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 5f44f0042..642cde39f 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 65bce1964..74b8425b7 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 766f2eddc..ae26d3cb9 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 13d112bfb..2fb529d9c 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 @@ public GridLength DockHeight #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 70449988d..b46d1dfdd 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 @@ public void ReplaceChild( ILayoutElement oldElement, ILayoutElement newElement ) 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 40233fe80..e4351f3d3 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 242de2a06..66adde1e7 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 0328dc181..0267eb086 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 c0cc1b546..ec00d0d5e 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 166747b02..424e91026 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 fddba0e8a..a6e304940 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 @@ COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at [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 2eea1533a..df7489121 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 @@ public class Resources { 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 @@ internal Resources() { } } - /// - /// 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 @@ internal Resources() { } } - /// - /// 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 a0c04405d..62ea6264a 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 a0c04405d..62ea6264a 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 a0c04405d..62ea6264a 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 a0c04405d..62ea6264a 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 a0c04405d..62ea6264a 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 a0c04405d..62ea6264a 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 a0c04405d..62ea6264a 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 a0c04405d..62ea6264a 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 a0c04405d..62ea6264a 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 a0c04405d..62ea6264a 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 a0c04405d..62ea6264a 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 a0c04405d..62ea6264a 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 a0c04405d..62ea6264a 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 c7fbf08d8..8e0677793 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 474b767da..e285c51b6 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 c251c40df..90e11bd0e 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 4ee5d9400..8efbec922 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 f5b899458..f054c573e 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 e5f695cb9..968b39be2 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 @@ internal const int 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 @@ internal static Point GetMousePosition() [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 @@ public static IntPtr GetOwner( IntPtr childHandle ) //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 6705fe973..80414fdb6 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 49de2dcc8..f2e43dcf2 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 ad90d3328..5f5e32cf7 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 692589bfd..db6bc675b 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 991ed4046..9b6126220 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 3fbc3d64f..74e5d916c 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 fcde96072..4c285af76 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 0163fdfde..788572ac4 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 2dfd74594..9f26d839f 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 62e7411e9..60135da70 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 77ff26f62..06214cbe8 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 b9ed72982..748aec1ee 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 a289dcaec..f8ded54fe 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 9ba64037f..e9777998a 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 cf78acfbc..24e4f684d 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 15c771459..590a8c31c 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 55323327e..431fe578e 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 c106f94d4..9f20610f0 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 9d6eb3447..552308a9c 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 80496b63f..889a6a7db 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 251bb889a..34dfc2f5f 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 599123d4b..3156e9378 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 aacd87ad8..5287349dc 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 24aecb6fb..823ea7dd4 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 c490a65af..30c5b5b57 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 812a8e491..a51a03a02 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 8723fb980..5e9b4d9f7 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 275771651..f7f6b4af7 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 bdf66cad4..42a135857 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 71f0a0ea1..7a7dccd2c 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 c162964dd..000000000 --- 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 d4a8948e4..000000000 --- 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 0f867cc81..b447a7cc6 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 4195282ca..4c6a3840e 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 234990a22..8a2ec39d0 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 6eb9a480b..396c5ded5 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 91510bbfa..ce36fbaad 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 5282c17e1..ffb2b4c0a 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 84989f6f7..f53e55bd9 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 171e835f3..1bd35f8a0 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 b74908d2f..0855151e6 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 0297732f8..1be252650 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 c17df24f5..df53196d9 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 43f61580c..11cae68ff 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 82b1ea2da..2efbf917f 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 cfcc19d3f..1a552cdba 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 939431d22..0e6d59c38 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. + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + +