Xceed Toolkit Plus for WPF v4.6 Documentation
LayoutAnchorablePaneControl Class
Members 


Xceed.Wpf.AvalonDock Assembly > Xceed.Wpf.AvalonDock.Controls Namespace : LayoutAnchorablePaneControl Class
Represents the view control of the corresponding LayoutAnchorablePane belonging to the layout model.
Syntax
'Declaration
 
<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=System.Windows.Controls.TabItem)>
<TemplatePartAttribute(Name="PART_SelectedContentHost", Type=System.Windows.Controls.ContentPresenter)>
<DefaultEventAttribute("SelectionChanged")>
<DefaultPropertyAttribute("SelectedIndex")>
<LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable)>
<ContentPropertyAttribute("Items")>
<XmlLangPropertyAttribute("Language")>
<UsableDuringInitializationAttribute(True)>
<RuntimeNamePropertyAttribute("Name")>
<UidPropertyAttribute("Uid")>
<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
<NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
Public Class LayoutAnchorablePaneControl 
   Inherits LayoutCachePaneControl
   Implements Xceed.Wpf.AvalonDock.Layout.ILayoutControl 
'Usage
 
Dim instance As LayoutAnchorablePaneControl
[StyleTypedProperty(Property="ItemContainerStyle", StyleTargetType=System.Windows.Controls.TabItem)]
[TemplatePart(Name="PART_SelectedContentHost", Type=System.Windows.Controls.ContentPresenter)]
[DefaultEvent("SelectionChanged")]
[DefaultProperty("SelectedIndex")]
[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
[ContentProperty("Items")]
[XmlLangProperty("Language")]
[UsableDuringInitialization(true)]
[RuntimeNameProperty("Name")]
[UidProperty("Uid")]
[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[NameScopeProperty("NameScope", System.Windows.NameScope)]
public class LayoutAnchorablePaneControl : LayoutCachePaneControl, Xceed.Wpf.AvalonDock.Layout.ILayoutControl  
Remarks

AvalonDock adheres to an MVVM design.

The Model is represented by the classes contained in the Xceed.Wpf.AvalonDock.Layout namespace. The classes in this namespace are the layout elements in a layout model (for example LayoutAnchorable/LayoutDocument, LayoutAnchorablePane/LayoutDocumentPaneLayoutAnchorablePaneGroup/LayoutDocumentPaneGroup, etc.) that are used directly in XAML within a DockingManager to describe how the layout is composed.

The View is represented by the classes contained in the Xceed.Wpf.AvalonDock.Controls namespace; these classes are a set of stylizable controls that show the user controls. The names of the view controls typically end with "Control" (for example, LayoutAnchorableControl is the view control, whereas LayoutAnchorable is the model element).

The DockingManager uses various classes (such as the LayoutItem and its derived classes) to perform the role of the ViewModel, preparing the model to be consumed by the view.

There is one and only one logical tree, which has the DockingManager as its root. Even if a control is placed in a different window (i.e., autohidden windows or floating windows), it always belong to the same logical tree below the DockingManager.

Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     System.Windows.Controls.ItemsControl
                        System.Windows.Controls.Primitives.Selector
                           System.Windows.Controls.TabControl
                              Xceed.Wpf.AvalonDock.Controls.LayoutCachePaneControl
                                 Xceed.Wpf.AvalonDock.Controls.LayoutAnchorablePaneControl

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LayoutAnchorablePaneControl Members
Xceed.Wpf.AvalonDock.Controls Namespace