Export (0) Print
Expand All

DockPattern Class

Represents controls that expose their dock properties within a docking container.

Namespace: System.Windows.Automation
Assembly: UIAutomationClient (in uiautomationclient.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public class DockPattern : BasePattern
public class DockPattern extends BasePattern
public class DockPattern extends BasePattern
Not applicable.

A docking container is a control that allows the arrangement of child elements, both horizontally and vertically, relative to the boundaries of the docking container and other elements within the container.

Controls are docked relative to each other based on their current z-order; the higher their z-order placement, the further they are placed from the specified edge of the docking container.

See Control Pattern Mapping for UI Automation Clients for examples of controls that can implement this control pattern.

DockPattern does not support any properties of the docking container or any properties of controls that might be docked adjacent to the current control within the docking container.

System.Object
   System.Windows.Automation.BasePattern
    System.Windows.Automation.DockPattern

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft