Version

GetPriorityLevel Method

Returns the docking priority level assigned to the specified control.
Syntax
'Declaration
 
Public Shared Function GetPriorityLevel( _
   ByVal control As Control _
) As Integer
public static int GetPriorityLevel( 
   Control control
)

Parameters

control
Control whose priority level should be checked.

Return Value

If the control implements the IDockingArea interface, the IDockingArea.PriorityLevel is returned. If the control is a System.Windows.Forms.StatusBar or System.Windows.Forms.ToolBar control, the corresponding priority level will be returned. For all other controls, 0 is returned to indicate that it has no docking priority specified.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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