BCGControlBar Library for .NET
FillInterior Method (ToolbarButton)




A graphics from button surface to fill interior.
A rectangle structure that represents the rectangle to fill.
Specifies if the button to fill should be highlighted and effects the fill color.
Fills the interior of the specified rectangle on button surface.
Syntax
'Declaration
 
Public Overridable Sub FillInterior( _
   ByVal graphics As Graphics, _
   ByVal rect As Rectangle, _
   ByVal bHighlight As Boolean _
) 
'Usage
 
Dim instance As ToolbarButton
Dim graphics As Graphics
Dim rect As Rectangle
Dim bHighlight As Boolean
 
instance.FillInterior(graphics, rect, bHighlight)
public virtual void FillInterior( 
   Graphics graphics,
   Rectangle rect,
   bool bHighlight
)
public: virtual void FillInterior( 
   Graphics* graphics,
   Rectangle rect,
   bool bHighlight
) 
public:
virtual void FillInterior( 
   Graphics^ graphics,
   Rectangle rect,
   bool bHighlight
) 

Parameters

graphics
A graphics from button surface to fill interior.
rect
A rectangle structure that represents the rectangle to fill.
bHighlight
Specifies if the button to fill should be highlighted and effects the fill color.
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

ToolbarButton Class
ToolbarButton Members

Send Feedback