diff --git a/source/Components/AvalonDock/Controls/AnchorablePaneTitle.cs b/source/Components/AvalonDock/Controls/AnchorablePaneTitle.cs index 4b7a6760..49c4932d 100644 --- a/source/Components/AvalonDock/Controls/AnchorablePaneTitle.cs +++ b/source/Components/AvalonDock/Controls/AnchorablePaneTitle.cs @@ -15,6 +15,11 @@ This program is provided to you under the terms of the Microsoft Public namespace AvalonDock.Controls { + /// + /// This control defines the Title area of a . + /// It is used to show a title bar with docking window buttons to let users interact + /// with a via drop down menu click or drag & drop. + /// public class AnchorablePaneTitle : Control { #region fields @@ -22,7 +27,9 @@ public class AnchorablePaneTitle : Control #endregion fields #region Constructors - + /// + /// Static class constructor + /// static AnchorablePaneTitle() { IsHitTestVisibleProperty.OverrideMetadata(typeof(AnchorablePaneTitle), new FrameworkPropertyMetadata(true)); diff --git a/source/Components/AvalonDock/Controls/LayoutDocumentControl.cs b/source/Components/AvalonDock/Controls/LayoutDocumentControl.cs index 9480acd8..97b88577 100644 --- a/source/Components/AvalonDock/Controls/LayoutDocumentControl.cs +++ b/source/Components/AvalonDock/Controls/LayoutDocumentControl.cs @@ -22,7 +22,9 @@ namespace AvalonDock.Controls public class LayoutDocumentControl : Control { #region Constructors - + /// + /// Static class constructor + /// static LayoutDocumentControl() { DefaultStyleKeyProperty.OverrideMetadata(typeof(LayoutDocumentControl), new FrameworkPropertyMetadata(typeof(LayoutDocumentControl))); diff --git a/source/Components/AvalonDock/Controls/LayoutDocumentFloatingWindowControl.cs b/source/Components/AvalonDock/Controls/LayoutDocumentFloatingWindowControl.cs index bca07d07..28dc53f4 100644 --- a/source/Components/AvalonDock/Controls/LayoutDocumentFloatingWindowControl.cs +++ b/source/Components/AvalonDock/Controls/LayoutDocumentFloatingWindowControl.cs @@ -32,12 +32,17 @@ public class LayoutDocumentFloatingWindowControl : LayoutFloatingWindowControl, #endregion fields #region Constructors - + /// Static class constructor static LayoutDocumentFloatingWindowControl() { DefaultStyleKeyProperty.OverrideMetadata(typeof(LayoutDocumentFloatingWindowControl), new FrameworkPropertyMetadata(typeof(LayoutDocumentFloatingWindowControl))); } + /// + /// Class constructor + /// + /// + /// internal LayoutDocumentFloatingWindowControl(LayoutDocumentFloatingWindow model, bool isContentImmutable) : base(model, isContentImmutable) { @@ -48,6 +53,10 @@ internal LayoutDocumentFloatingWindowControl(LayoutDocumentFloatingWindow model, UpdateThemeResources(); } + /// + /// Class constructor + /// + /// internal LayoutDocumentFloatingWindowControl(LayoutDocumentFloatingWindow model) : this(model, false) { diff --git a/source/Components/AvalonDock/Layout/ILayoutContentSelector.cs b/source/Components/AvalonDock/Layout/ILayoutContentSelector.cs index 3d320e4b..a86d3c1b 100644 --- a/source/Components/AvalonDock/Layout/ILayoutContentSelector.cs +++ b/source/Components/AvalonDock/Layout/ILayoutContentSelector.cs @@ -9,6 +9,7 @@ This program is provided to you under the terms of the Microsoft Public namespace AvalonDock.Layout { + /// Defines an API for interacting with (selected) content in a pane. public interface ILayoutContentSelector { #region Properties diff --git a/source/Components/AvalonDock/Layout/LayoutAnchorGroup.cs b/source/Components/AvalonDock/Layout/LayoutAnchorGroup.cs index d63f8a70..94579495 100644 --- a/source/Components/AvalonDock/Layout/LayoutAnchorGroup.cs +++ b/source/Components/AvalonDock/Layout/LayoutAnchorGroup.cs @@ -13,6 +13,9 @@ This program is provided to you under the terms of the Microsoft Public namespace AvalonDock.Layout { + /// + /// Implements the layout model for the . + /// [ContentProperty(nameof(Children))] [Serializable] public class LayoutAnchorGroup : LayoutGroup, ILayoutPreviousContainer, ILayoutPaneSerializable diff --git a/source/Components/AvalonDock/Layout/LayoutContent.cs b/source/Components/AvalonDock/Layout/LayoutContent.cs index d303b53e..fc8e3456 100644 --- a/source/Components/AvalonDock/Layout/LayoutContent.cs +++ b/source/Components/AvalonDock/Layout/LayoutContent.cs @@ -19,12 +19,18 @@ This program is provided to you under the terms of the Microsoft Public namespace AvalonDock.Layout { + /// + /// Provides an abstract base class for common properties and methods of + /// the and classes. + /// [ContentProperty(nameof(Content))] [Serializable] public abstract class LayoutContent : LayoutElement, IXmlSerializable, ILayoutElementForFloatingWindow, IComparable, ILayoutPreviousContainer { #region Constructors - + /// + /// Class constructor + /// internal LayoutContent() { } diff --git a/source/Components/AvalonDock/Layout/LayoutDocument.cs b/source/Components/AvalonDock/Layout/LayoutDocument.cs index 6b313454..cd213ff7 100644 --- a/source/Components/AvalonDock/Layout/LayoutDocument.cs +++ b/source/Components/AvalonDock/Layout/LayoutDocument.cs @@ -12,6 +12,9 @@ This program is provided to you under the terms of the Microsoft Public namespace AvalonDock.Layout { + /// + /// Implements the layout model for the . + /// [Serializable] public class LayoutDocument : LayoutContent { diff --git a/source/Components/AvalonDock/Layout/LayoutDocumentFloatingWindow.cs b/source/Components/AvalonDock/Layout/LayoutDocumentFloatingWindow.cs index 0b7f9e6d..520df986 100644 --- a/source/Components/AvalonDock/Layout/LayoutDocumentFloatingWindow.cs +++ b/source/Components/AvalonDock/Layout/LayoutDocumentFloatingWindow.cs @@ -17,6 +17,7 @@ This program is provided to you under the terms of the Microsoft Public namespace AvalonDock.Layout { + /// Implements the layout model for the . [ContentProperty(nameof(RootPanel))] [Serializable] public class LayoutDocumentFloatingWindow : LayoutFloatingWindow, ILayoutElementWithVisibility diff --git a/source/Components/AvalonDock/Layout/LayoutPanel.cs b/source/Components/AvalonDock/Layout/LayoutPanel.cs index c7cf7b2f..3612ee37 100644 --- a/source/Components/AvalonDock/Layout/LayoutPanel.cs +++ b/source/Components/AvalonDock/Layout/LayoutPanel.cs @@ -14,6 +14,7 @@ This program is provided to you under the terms of the Microsoft Public namespace AvalonDock.Layout { + /// Implements the layout model for the . [ContentProperty(nameof(Children))] [Serializable] public class LayoutPanel : LayoutPositionableGroup, ILayoutPanelElement, ILayoutOrientableGroup @@ -23,11 +24,13 @@ public class LayoutPanel : LayoutPositionableGroup, ILayout #endregion fields #region Constructors - + /// Class constructor public LayoutPanel() { } + /// Class constructor + /// public LayoutPanel(ILayoutPanelElement firstChild) { Children.Add(firstChild); @@ -36,7 +39,7 @@ public LayoutPanel(ILayoutPanelElement firstChild) #endregion Constructors #region Properties - + /// Gets/sets the orientation for this panel. public Orientation Orientation { get => _orientation; @@ -63,6 +66,7 @@ public override void WriteXml(System.Xml.XmlWriter writer) base.WriteXml(writer); } + /// public override void ReadXml(System.Xml.XmlReader reader) { if (reader.MoveToAttribute(nameof(Orientation))) @@ -71,6 +75,7 @@ public override void ReadXml(System.Xml.XmlReader reader) } #if TRACE + /// public override void ConsoleDump(int tab) { System.Diagnostics.Trace.Write(new string(' ', tab * 4)); diff --git a/source/Components/AvalonDock/Layout/LayoutPositionableGroup.cs b/source/Components/AvalonDock/Layout/LayoutPositionableGroup.cs index f2caf886..ee141b6c 100644 --- a/source/Components/AvalonDock/Layout/LayoutPositionableGroup.cs +++ b/source/Components/AvalonDock/Layout/LayoutPositionableGroup.cs @@ -16,6 +16,8 @@ This program is provided to you under the terms of the Microsoft Public namespace AvalonDock.Layout { + /// Provides a base class for other layout panel models that support a specific class of panel. + /// [Serializable] public abstract class LayoutPositionableGroup : LayoutGroup, ILayoutPositionableElementWithActualSize where T : class, ILayoutElement {