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.PaintRaised

Draws a raised button control.

[Visual Basic]
Overridable Protected Sub PaintRaised( _
   ByVal pevent As PaintEventArgs, _
   ByVal borderWidth As Integer _
)
[C#]
protected virtual void PaintRaised(
   PaintEventArgs pevent,
   int borderWidth
);
[C++]
protected: virtual void PaintRaised(
   PaintEventArgs* pevent,
   int borderWidth
);
[JScript]
protected function PaintRaised(
   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 PaintRaised in a derived class, be sure to call the base class's PaintRaised method.

See Also

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