IDockProvider Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Exposes methods and properties to support UI Automation client access to controls that expose their dock properties within a docking container.
public interface class IDockProvider
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("159bc72c-4ad3-485e-9637-d7052edf0146")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IDockProvider
public interface IDockProvider
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("159bc72c-4ad3-485e-9637-d7052edf0146")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IDockProvider = interface
type IDockProvider = interface
Public Interface IDockProvider
- Attributes
Remarks
Implemented on a UI Automation provider that must support the DockPattern control pattern.
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.
IDockProvider does not expose any properties of the docking container or any properties of controls that may be docked adjacent to the current control within the docking 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.
Properties
DockPosition |
Gets the current DockPosition of the control within a docking container. |
Methods
SetDockPosition(DockPosition) |
Docks the control within a docking container. |
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈