BCGControlBar Library for .NET
OnCalcSeparatorRect Method (MainRibbonPanel)




Syntax
'Declaration
 
Public Overrides Sub OnCalcSeparatorRect( _
   ByVal button As ToolbarButton, _
   ByRef rectSeparator As Rectangle, _
   ByVal horz As Boolean _
) 
'Usage
 
Dim instance As MainRibbonPanel
Dim button As ToolbarButton
Dim rectSeparator As Rectangle
Dim horz As Boolean
 
instance.OnCalcSeparatorRect(button, rectSeparator, horz)
public override void OnCalcSeparatorRect( 
   ToolbarButton button,
   ref Rectangle rectSeparator,
   bool horz
)
public: void OnCalcSeparatorRect( 
   ToolbarButton* button,
   ref Rectangle rectSeparator,
   bool horz
) override 
public:
void OnCalcSeparatorRect( 
   ToolbarButton^ button,
   Rectangle% rectSeparator,
   bool horz
) override 

Parameters

button
rectSeparator
horz
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

MainRibbonPanel Class
MainRibbonPanel Members
Base Implementation in OnCalcSeparatorRect

Send Feedback