Updated LayoutAnchorable (markdown)

master
DianeXceed 9 years ago
parent
commit
b5fb345057
  1. 115
      LayoutAnchorable.md

115
LayoutAnchorable.md

@ -3,62 +3,65 @@ Derives from Xceed.Wpf.AvalonDock.Layout.LayoutContent
Represents an anchorable in the layout model. Represents an anchorable in the layout model.
## Properties ### Properties
|| Property || Description | Property | Description |
| AutoHideHeight | Gets or sets the height to use when auto-hidden anchorables are shown for the first time. | --- | --- |
| AutoHideMinHeight | | AutoHideHeight | Gets or sets the height to use when auto-hidden anchorables are shown for the first time. |
| AutoHideMinWidth | Gets or sets the width to use when auto-hidden anchorables are shown for the first time. | AutoHideMinHeight | |
| AutoHideWidth | | AutoHideMinWidth | Gets or sets the width to use when auto-hidden anchorables are shown for the first time. |
| CanAutoHide | Gets or sets whether an anchorable can be autohidden. | AutoHideWidth | |
| CanClose | Gets or sets whether the content can be closed definitively (removed from the layout and not just hidden). (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | CanAutoHide | Gets or sets whether an anchorable can be autohidden. |
| CanFloat | Gets whether the content can be moved to a floating window. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | CanClose | Gets or sets whether the content can be closed definitively (removed from the layout and not just hidden). (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| CanHide | Gets or sets whether an anchorable can be hidden. | CanFloat | Gets whether the content can be moved to a floating window. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| Content | Gets or sets the content of the LayoutContent instance. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | CanHide | Gets or sets whether an anchorable can be hidden. |
| ContentId | Gets or sets the ID of the content, which is used to identify the content during serialization/deserialization. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | Content | Gets or sets the content of the LayoutContent instance. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| FloatingHeight | Gets or sets the height that will be initially used when the content is dragged and then displayed in a floating window. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | ContentId | Gets or sets the ID of the content, which is used to identify the content during serialization/deserialization. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| FloatingLeft | Gets or sets the left edge of a floating window that will contain this content. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | FloatingHeight | Gets or sets the height that will be initially used when the content is dragged and then displayed in a floating window. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| FloatingTop | Gets or sets the top edge of a floating window that will contain this content. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | FloatingLeft | Gets or sets the left edge of a floating window that will contain this content. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| FloatingWidth | Gets or sets the width that will be initially used when the content is dragged and then displayed in a floating window. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | FloatingTop | Gets or sets the top edge of a floating window that will contain this content. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| IconSource | Gets the icon source of the content (displayed next on the tab). (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | FloatingWidth | Gets or sets the width that will be initially used when the content is dragged and then displayed in a floating window. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| IsActive | Gets whether the content is active. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | IconSource | Gets the icon source of the content (displayed next on the tab). (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| IsAutoHidden | Gets whether the anchorable is anchored to a border in an autohidden state. | IsActive | Gets whether the content is active. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| IsFloating | Gets or sets whether the content is in a floating window. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | IsAutoHidden | Gets whether the anchorable is anchored to a border in an autohidden state. |
| IsHidden | Gets whether the anchorable can be hidden. | IsFloating | Gets or sets whether the content is in a floating window. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| IsLastFocusedDocument | Gets whether the content is the last focused document. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | IsHidden | Gets whether the anchorable can be hidden. |
| IsMaximized | Gets or sets whether a content element is maximized. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | IsLastFocusedDocument | Gets whether the content is the last focused document. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| IsSelected | Gets or sets whether a content element is selected. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | IsMaximized | Gets or sets whether a content element is maximized. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| IsVisible | Gets or sets whether the anchorable is visible. | IsSelected | Gets or sets whether a content element is selected. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| LastActivationTimeStamp | Gets or sets the date and time of the last activation of the content. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | IsVisible | Gets or sets whether the anchorable is visible. |
| Parent | Gets or sets the parent container of the element. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutElement) | LastActivationTimeStamp | Gets or sets the date and time of the last activation of the content. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| PreviousContainerIndex | Gets or sets the index of the previous container. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | Parent | Gets or sets the parent container of the element. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutElement) |
| Root | Gets or sets the root of the element. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutElement) | PreviousContainerIndex | Gets or sets the index of the previous container. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| Title | Gets or sets the title of the content. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | Root | Gets or sets the root of the element. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutElement) |
| ToolTip | Gets or sets the tooltip of the content. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | Title | Gets or sets the title of the content. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| ToolTip | Gets or sets the tooltip of the content. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
## Events ### Events
|| Event || Description | Event | Description |
| Closed | Raised when the content is closed (i.e., removed definitively from the layout). (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | --- | --- |
| Closing | Raised when the content is about to be closed (i.e. removed definitively from the layout). (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | Closed | Raised when the content is closed (i.e., removed definitively from the layout). (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| Hiding | Raised when the anchorable has been hidden (usually by the end-user clicking on the "X" button). | Closing | Raised when the content is about to be closed (i.e. removed definitively from the layout). (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| IsActiveChanged | Raised when the IsActive property has changed. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | Hiding | Raised when the anchorable has been hidden (usually by the end-user clicking on the "X" button). |
| IsSelectedChanged | Raised when the IsSelected property has changed. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | IsActiveChanged | Raised when the IsActive property has changed. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| IsVisibleChanged | Raised when the IsVisible property changes. | IsSelectedChanged | Raised when the IsSelected property has changed. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| PropertyChanged | Raised when a property has changed. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutElement) | IsVisibleChanged | Raised when the IsVisible property changes. |
| PropertyChanging | Raised when a property is about to change. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutElement) | PropertyChanged | Raised when a property has changed. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutElement) |
| PropertyChanging | Raised when a property is about to change. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutElement) |
## Methods ### Methods
|| Method || Description | Method | Description |
| AddToLayout | Add the anchorable to a DockingManager layout. | --- | --- |
| CompareTo | Compares the content of the current instance with the content of the specified object. If it the content cannot be compared, the titles are compared. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | AddToLayout | Add the anchorable to a DockingManager layout. |
| Dock | Re-dock the content to its previous container. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | CompareTo | Compares the content of the current instance with the content of the specified object. If it the content cannot be compared, the titles are compared. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| DockAsDocument | Dock the content as document. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | Dock | Re-dock the content to its previous container. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| Float | Programmatically creates a floating window of the content. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | DockAsDocument | Dock the content as document. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| GetSchema | Returns null. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) | Float | Programmatically creates a floating window of the content. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| Hide | Hide this content and add it to the ILayoutRoot.Hidden collection of parent root. | GetSchema | Returns null. (Inherited from Xceed.Wpf.AvalonDock.Layout.LayoutContent) |
| ReadXml | Overridden. Reads serialized layout information using the specified XmlReader. | Hide | Hide this content and add it to the ILayoutRoot.Hidden collection of parent root. |
| Show | Shows the content if it was previously hidden. | ReadXml | Overridden. Reads serialized layout information using the specified XmlReader. |
| ToggleAutoHide | Toggles autohide state. | Show | Shows the content if it was previously hidden. |
| WriteXml | Overridden. Writes serialized layout information using the specified XmlWriter. | ToggleAutoHide | Toggles autohide state. |
| WriteXml | Overridden. Writes serialized layout information using the specified XmlWriter. |
**Support this project, check out the [Plus Edition](http://wpftoolkit.com).** ---
--- **Support this project, check out the [Plus Edition](http://wpftoolkit.com).**
Loading…
Cancel
Save