Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DockPattern Class

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

Namespace:  System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)
public class DockPattern : BasePattern

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 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.