Compartir a través de


Dock Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Specifies values that control the behavior of a control positioned inside another control.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls (in System.Windows.Controls.dll)

Syntax

'Declaration
Public Enumeration Dock
public enum Dock
<object property="enumMemberName"/>

Members

Member name Description
Left Specifies that the control should be positioned on the left of the control.
Top Specifies that the control should be positioned on top of the control.
Right Specifies that the control should be positioned on the right of the control.
Bottom Specifies that the control should be positioned at the bottom of the control.

Remarks

Specifies values that control the behavior of a TabControl through the TabStripPlacement property.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.