Share via


ContainerBase.OnPaint Method

Passes paint event arguments when the tool window is painted.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntax

'Declaration
Protected Overrides Sub OnPaint ( _
    e As PaintEventArgs _
)
protected override void OnPaint(
    PaintEventArgs e
)
protected:
virtual void OnPaint(
    PaintEventArgs^ e
) override
abstract OnPaint : 
        e:PaintEventArgs -> unit  
override OnPaint : 
        e:PaintEventArgs -> unit
protected override function OnPaint(
    e : PaintEventArgs
)

Parameters

  • e
    Type: PaintEventArgs

    The paint event arguments.

Remarks

To learn more about paint event arguments, see PaintEventArgs.

.NET Framework Security

See Also

Reference

ContainerBase Class

Microsoft.VisualStudio.Modeling.Shell Namespace