NevronOpenVision
Nevron.Nov.UI Namespace / NCommandUIHolder Class / RemoveCommands Method
RemoveCommands Method (NCommandUIHolder)
Removes the specified commands from the commanding UI.
Syntax
public virtual NList<NWidget> RemoveCommands( 
   params NCommand[] commands
)

Parameters

commands

Return Value

A list of widgets which have been collapsed because they are associated with the given commands.
Remarks
This implementation collapses (sets Visible property to Collapsed) all widgets associated with the given commands and removes the command actions for the commands from the view's commander, so that keyboard shortcuts don't work, too.
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