Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NCommandBar Class / Dock Method
dock to which to dock
screen position


In This Topic
    Dock Method (NCommandBar)
    In This Topic
    Docks the command bar to the specifed dock and screen position.
    Syntax
    'Declaration
     
    
    Public Overridable Function Dock( _
       ByVal dock As NCommandBarDock, _
       ByVal screenPos As NPoint _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NCommandBar
    Dim dock As NCommandBarDock
    Dim screenPos As NPoint
    Dim value As System.Boolean
     
    value = instance.Dock(dock, screenPos)
    public virtual System.bool Dock( 
       NCommandBarDock dock,
       NPoint screenPos
    )

    Parameters

    dock
    dock to which to dock
    screenPos
    screen position

    Return Value

    true if the bar is successfully docked, otherwise false
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also