NetXP 3.0 Reference

ICommandBarRenderer.DrawFloatingWindowButton Method 

Draws the close button for a floating form.

[Visual Basic]
Sub DrawFloatingWindowButton( _
   ByVal form As FloatingForm, _
   ByVal bar As CommandBar, _
   ByVal g As Graphics, _
   ByVal rect As Rectangle, _
   ByVal state As DrawItemState _
)
[C#]
void DrawFloatingWindowButton(
   FloatingForm form,
   CommandBar bar,
   Graphics g,
   Rectangle rect,
   DrawItemState state
);

Parameters

form
The floating form.
bar
The command bar inside the form.
g
The graphics object.
rect
The button's bounds rectangle.
state
The button's state.

See Also

ICommandBarRenderer Interface | NETXP.Controls.Bars Namespace