NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ButtonBase.PaintDown

Draws a sunken button control.

[Visual Basic]
Overridable Protected Sub PaintDown( _
   ByVal pevent As PaintEventArgs, _
   ByVal borderWidth As Integer _
)
[C#]
protected virtual void PaintDown(
   PaintEventArgs pevent,
   int borderWidth
);
[C++]
protected: virtual void PaintDown(
   PaintEventArgs* pevent,
   int borderWidth
);
[JScript]
protected function PaintDown(
   pevent : PaintEventArgs,
   borderWidth : int
);

Parameters

pevent
A PaintEventArgs that contains the event data.
borderWidth
The width of the border in pixels.

Remarks

Notes to Inheritors: When overriding PaintDown in a derived class, be sure to call the base class's PaintDown method.

See Also

ButtonBase Class | ButtonBase Members | System.WinForms Namespace | PaintRaised | PaintFlat | PaintFlatUp | PaintFlatDown