BCGControlBar Library for .NET
SyncVisualStyle Method




A CommandBarManager which style will be synchronized.

If TRUE, all registered form will be forced  to invalidate its client area and immediately to redraw itself and any child controls.

Retrieves the Visual style from the specified CommandBarManager and sets it for CommandBarManagers of others form which registered in the LayoutController. Called by the framework on setting new visual style for any CommandBarManager.
Syntax
'Declaration
 
Public Sub SyncVisualStyle( _
   ByVal cmdManager As CommandBarManager, _
   ByVal redrawAll As Boolean _
) 
'Usage
 
Dim instance As LayoutController
Dim cmdManager As CommandBarManager
Dim redrawAll As Boolean
 
instance.SyncVisualStyle(cmdManager, redrawAll)
public void SyncVisualStyle( 
   CommandBarManager cmdManager,
   bool redrawAll
)
public: void SyncVisualStyle( 
   CommandBarManager* cmdManager,
   bool redrawAll
) 
public:
void SyncVisualStyle( 
   CommandBarManager^ cmdManager,
   bool redrawAll
) 

Parameters

cmdManager
A CommandBarManager which style will be synchronized.
redrawAll

If TRUE, all registered form will be forced  to invalidate its client area and immediately to redraw itself and any child controls.

Requirements

Target Platforms: 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

Reference

LayoutController Class
LayoutController Members

Send Feedback