diff --git a/src/Libraries/AvalonDock/AvalonDock.XML b/src/Libraries/AvalonDock/AvalonDock.XML
index c476149951..1196fd2ab2 100644
--- a/src/Libraries/AvalonDock/AvalonDock.XML
+++ b/src/Libraries/AvalonDock/AvalonDock.XML
@@ -4,43 +4,59 @@
AvalonDock
-
+
- Defines an interface that must be implemented by objects that can host dragged panes
+ Defines a list of brushes used by AvalonDock templates
-
+
- Called by when user dragged pane enter this surface
+ Brush used for the title background of a .
- Location of the mouse
-
+
- Called by when user dragged pane is over this surface
+ Brush used for the title background of a when is focused.
- Location of the mouse
-
+
- Called by when user dragged pane leave this surface
+ Brush used for the title foreground of a .
- Location of the mouse
-
+
- Called by when user drops a pane to this surface
+ Brush used for the title foreground of a when is focused.
- Location of the mouse
-
+
- Gets a value indicating if this area is avilable for drop a dockable pane
+ Brush used for the background of the pane command pins.
-
+
- Gets the sensible area for drop a pane
+ Brush used for the border of the pane command pins.
+
+
+
+
+ Brush used for the background of a document header.
+
+
+
+
+ Brush used for the foreground of a document header.
+
+
+
+
+ Brush used for the background of a document header when active ().
+
+
+
+
+ Brush used for the background of a document header when mouse is over it.
@@ -58,68 +74,188 @@
Context menu related to a
-
+
- Designates a Windows Presentation Foundation application model with added functionalities.
+ Enumerates all the possible states of
-
+
- Processes all UI messages currently in the message queue.
+ Content is docked to a border of a within as control
-
-
-
+
- Give access to Orientation attached property
+ Content is hosted by a flyout window and is visible only when user move mouse over an anchor thumb located to a controlo border
- If horizontal oriented children are positioned from left to right and width of each child is computed according to attached property value. When vertical oriented children are arranged from top to bottom, according to of each child.
-
+
- Checks if next child starting from a given index is visible.
+ Content is hosted by a floating window and user can redock is on its container control
- Starting child index.
- Returns true if next child is visible.
- This method takes in count the flow of the children.
-
+
- Checks if previous child starting from a given index is visible.
+ Content is hosted by a floating window that can't be docked to a its container control
- Starting child index.
- Returns true if previous child is visible.
- This method takes in count the flow of the children.
-
+
- Remove a child from children collection
+ Content is hosted by object
-
-
+
- Insert a new child element into the children collection.
+ Content is hidden
- New child element to insert.
- Child after or before which element must be insert.
- True if new child must be insert after the element. False otherwise.
-
+
- Gets or sets the orientation of the panel
+ Defines how a dockable content can be dragged over a docking manager
- If horizontal oriented children are positioned from left to right and width of each child is computed according to attached property value. When vertical oriented children are arranged from top to bottom, according to of each child.
+ This style can be composed with the 'or' operator.
-
+
- Show/Hide a flyout window containing this pane
+ Content is not dockable at all
-
+
- Close current content
+ Dockable as document
+
+
+
+
+ Dockable to the left border of
+
+
+
+
+ Dockable to the right border of
+
+
+
+
+ Dockable to the top border of
+
+
+
+
+ Dockable to the bottom border of
+
+
+
+
+ A with this style can be hosted in a
+
+
+
+
+ A with this style can be the only one content in a pane (NOT YET SUPPORTED)
+
+ This style is not compatible with style
+
+
+
+ A with this style can be autohidden.
+
+
+
+
+ Dockable only to a border of a
+
+
+
+
+ Dockable to a border of a and into a
+
+
+
+
+ Dockable to a border of a and into a but not in autohidden mode (WinForms controls)
+
+
+
+
+ Represent a state of a dockable content that can be used to restore it after it's hidden
+
+
+
+
+ Identifies a content that can be drag over a control or hosted by a floating window over it ().
+
+
+
+
+ Select an icon object for the content
+
+
+
+
+ Gets or sets an element which is focused by default when content is activated
+
+
+
+
+ Set the content as the active content
+
+ After this method returns property returns true.
+
+
+
+ Access to dependency property
+
+
+
+
+ Access to
+
+
+
+
+ Returns true if the content is the currently active content.
+
+ Use method to set a content as active.
+
+
+
+ Returns true if the document is the currently active document.
+
+ Use method to set a content as active.
+
+
+
+ Remove this content from its parent container pane
+
+
+
+
+
+ Reset internal state and position of the content
+
+ After a is hidden AvalonDock save its state and position in order to
+ restore it correctly when user wants to reshow it calling function. Call this method
+ if you want to reset these data and provide your state and anchor style calling one of the overloads of the function
+ .
+
+
+
+ Save content specific layout settings
+
+ Backend store writer
+ Custom derived class can overloads this method to handle custom layout persistence.
+
+
+
+ Restore content specific layout settings
+
+ Saved xml element containg content layout settings
+ Custom derived class must overload this method to restore custom layout settings previously saved trought .
+
+
+
+ Get or sets a value that indicates how a dockable content can be dragged over and docked to a
@@ -147,34 +283,79 @@
Right border anchor
-
+
- Provides drag-drop functionalities for dockable panes
+ Defines an interface that must be implemented by objects that can host dragged panes
-
+
- Shows a highlighting rectangle
+ Called by when user dragged pane enter this surface
-
-
-
+ Location of the mouse
-
+
+
+ Called by when user dragged pane is over this surface
+
+ Location of the mouse
+
+
+
+ Called by when user dragged pane leave this surface
+
+ Location of the mouse
+
+
+
+ Called by when user drops a pane to this surface
+
+ Location of the mouse
+
+
+
+ Gets a value indicating if this area is avilable for drop a dockable pane
+
+
+
+
+ Gets the sensible area for drop a pane
+
+
+
+
+ Show/Hide a flyout window containing this pane
+
+
+
+
+ Close current content
+
+
+
+
+
- Hides the highlighting rectangle
+ Represents a control which manages a dockable layout for its children
-
-
-
-
-
Call this function if you want to deallocate external floating windows, that otherwise are closed when main window is closed.
+
+
+ Overriden to get a reference to underlying template elements
+
+
+
+
+ Returns the main document pane
+
+
+
+
Anchor a dockable pane to a border
@@ -227,6 +408,44 @@
Pane to auto hide/redock
+
+
+ Hide a dockable content removing it from its container
+
+ Content to hide
+ Note that if you simply remove a content from its container without calling this method, the
+ layout serializer component can't managed correctly the removed content.
+
+
+
+ Show or add a document in AvalonDock
+
+ Document to show/add.
+ If document provided is not present in the list, this method inserts it in first position of collection.
+ In both cases select it in the container .
+
+
+
+ Show a dockable content in its container
+
+ Content to show
+
+
+
+ Show a dockable content in its container with a desidered state
+
+ Content to show
+ State desidered
+
+
+
+ Show a dockable content in its container with a desidered state
+
+ Content to show
+ State desidered
+ Border to which anchor the newly created container pane
+
+
Update the property relative to the object
@@ -251,6 +470,12 @@
Offset to be use to set floating window screen position
Retruns True is drag is completed, false otherwise
+
+
+ Ends all previously initiated dragging operations
+
+
+
Overlay window which shows docking placeholders
@@ -309,179 +534,52 @@
Object which stores the xml
The writer is not closed.
-
-
- Returns a rectangle where this surface is active
-
-
-
-
- Returns current overlay window
-
-
-
-
- Set the content as the active content
-
- After this method returns property returns true.
-
-
-
- Returns true if the content is the currently active content.
-
- Use method to set a content as active.
-
-
-
- Returns true if the document is the currently active document.
-
- Use method to set a content as active.
-
-
-
-
- Enumerates all the possible states of
-
-
-
-
- Content is docked to a border of a within as control
-
-
-
-
- Content is hosted by a flyout window and is visible only when user move mouse over an anchor thumb located to a controlo border
-
-
-
-
- Content is hosted by a floating window and user can redock is on its container control
-
-
-
-
- Content is hosted by a floating window that can't be docked to a its container control
-
-
-
-
- Content is hosted by object
-
-
-
-
- Content is hidden
-
-
-
-
- Defines how a dockable content can be dragged over a docking manager
-
- This style can be composed with the 'or' operator.
-
-
-
- Content is not dockable at all
-
-
-
-
- Dockable as document
-
-
-
-
- Dockable to the left border of
-
-
-
-
- Dockable to the right border of
-
-
-
-
- Dockable to the top border of
-
-
-
-
- Dockable to the bottom border of
-
-
-
-
- A with this style can be hosted in a
-
-
-
-
- A with this style can be the only one content in a pane (NOT YET SUPPORTED)
-
- This style is not compatible with style
-
-
-
- A with this style can be autohidden.
-
-
-
-
- Dockable only to a border of a
-
-
-
+
- Dockable to a border of a and into a
+ Get or set the active document
+ The active document not neessary receive keyboard focus. To set keyboard focus on a content see
-
+
- Dockable to a border of a and into a but not in autohidden mode (WinForms controls)
+ Get or set the active content
+ An activated content is automatically selected in its container pane and receive logical as well keyboard focus.
-
+
- Represent a state of a dockable content that can be used to restore it after it's hidden
+ Gets the active dockable content
+ If no dockbale content us active at the moment returns null.
-
+
- Identifies a content that can be drag over a control or hosted by a floating window over it ().
+ Gets an array of all dockable contents currenty managed
-
+
- Remove this content from its parent container pane
+ Gets an array of all document contents
-
-
+
- Reset internal state and position of the content
+ Gets the main that can be used to add new document
- After a is hidden AvalonDock save its state and position in order to
- restore it correctly when user wants to reshow it calling function. Call this method
- if you want to reset these data and provide your state and anchor style calling one of the overloads of the function
- .
-
+
- Save content specific layout settings
+ Get the command to show navigator window
- Backend store writer
- Custom derived class can overloads this method to handle custom layout persistence
-
+
- Restore content specific layout settings
+ Returns a rectangle where this surface is active
- Saved xml element containg content layout settings
- Custom derived class must overload this method to restore custom layout settings previously saved trought
-
+
- Get or sets a value that indicates how a dockable content can be dragged over and docked to a
+ Returns current overlay window
@@ -528,75 +626,95 @@
Note that when a document is closed property like or returns null.
-
+
- A strongly-typed resource class, for looking up localized strings, etc.
+ Give access to Orientation attached property
+ If horizontal oriented children are positioned from left to right and width of each child is computed according to attached property value. When vertical oriented children are arranged from top to bottom, according to of each child.
-
+
- Returns the cached ResourceManager instance used by this class.
+ Checks if next child starting from a given index is visible.
+ Starting child index.
+ Returns true if next child is visible.
+ This method takes in count the flow of the children.
-
+
- Overrides the current thread's CurrentUICulture property for all
- resource lookups using this strongly typed resource class.
+ Checks if previous child starting from a given index is visible.
+ Starting child index.
+ Returns true if previous child is visible.
+ This method takes in count the flow of the children.
-
+
- Defines a list of brushes used by AvalonDock templates
+ Remove a child from children collection
+
-
+
- Brush used for the title background of a .
+ Insert a new child element into the children collection.
+ New child element to insert.
+ Child after or before which element must be insert.
+ True if new child must be insert after the element. False otherwise.
-
+
- Brush used for the title background of a when is focused.
+ Gets or sets the orientation of the panel
+ If horizontal oriented children are positioned from left to right and width of each child is computed according to attached property value. When vertical oriented children are arranged from top to bottom, according to of each child.
-
+
- Brush used for the title foreground of a .
+ Provides drag-drop functionalities for dockable panes
-
+
+
- Brush used for the title foreground of a when is focused.
+ Shows a highlighting rectangle
+
+
+
-
+
- Brush used for the background of the pane command pins.
+ Hides the highlighting rectangle
+
+
+
-
+
- Brush used for the border of the pane command pins.
+ A strongly-typed resource class, for looking up localized strings, etc.
-
+
- Brush used for the background of a document header.
+ Returns the cached ResourceManager instance used by this class.
-
+
- Brush used for the foreground of a document header.
+ Overrides the current thread's CurrentUICulture property for all
+ resource lookups using this strongly typed resource class.
-
+
+
- Brush used for the background of a document header when active ().
+ Designates a Windows Presentation Foundation application model with added functionalities.
-
+
- Brush used for the background of a document header when mouse is over it.
+ Processes all UI messages currently in the message queue.
diff --git a/src/Libraries/AvalonDock/AvalonDock.dll b/src/Libraries/AvalonDock/AvalonDock.dll
index fc5b352623..1c0748199d 100644
Binary files a/src/Libraries/AvalonDock/AvalonDock.dll and b/src/Libraries/AvalonDock/AvalonDock.dll differ
diff --git a/src/Main/Base/Project/Src/Gui/Workbench/Layouts/AvalonWorkbenchWindow.cs b/src/Main/Base/Project/Src/Gui/Workbench/Layouts/AvalonWorkbenchWindow.cs
index f6b3ff173a..05378c7580 100644
--- a/src/Main/Base/Project/Src/Gui/Workbench/Layouts/AvalonWorkbenchWindow.cs
+++ b/src/Main/Base/Project/Src/Gui/Workbench/Layouts/AvalonWorkbenchWindow.cs
@@ -264,6 +264,7 @@ namespace ICSharpCode.SharpDevelop.Gui
void OnIsDirtyChanged(object sender, EventArgs e)
{
UpdateTitle();
+ CommandManager.InvalidateRequerySuggested();
}
void UpdateTitle()