NetXP 3.0 Reference

IDockingRenderer.PaintCaptionButton Method 

Paints a caption button.

[Visual Basic]
Sub PaintCaptionButton( _
   ByVal g As Graphics, _
   ByVal item As CaptionButton, _
   ByVal active As Boolean, _
   ByVal function As ButtonFunction, _
   ByVal mouseOver As Boolean, _
   ByVal mouseCapture As Boolean, _
   ByVal popupStyle As Boolean _
)
[C#]
void PaintCaptionButton(
   Graphics g,
   CaptionButton item,
   bool active,
   ButtonFunction function,
   bool mouseOver,
   bool mouseCapture,
   bool popupStyle
);

Parameters

g
The graphics object.
item
The caption button.
active
Is the caption active?
function
The button's designation.
mouseOver
Is the button hovering?
mouseCapture
Is the button pressed?
popupStyle
Is it a popup-style button?

See Also

IDockingRenderer Interface | NETXP.Controls.Docking Namespace