Share via


ContainerBase Class

Definition

This is the base class for the main control in tool windows. It performs such things as drawing a border, a watermark, and any other common tool window operations.

public ref class ContainerBase : System::Windows::Forms::ContainerControl
public class ContainerBase : System.Windows.Forms.ContainerControl
type ContainerBase = class
    inherit ContainerControl
Public Class ContainerBase
Inherits ContainerControl
Inheritance
ContainerBase
Derived

Constructors

Name Description
ContainerBase(IServiceProvider)

Constructor

Fields

Name Description
WatermarkBorderOffset

WatermarkBorderOffset from the bounding rectangle.

Properties

Name Description
BorderRectangle

Border Rect

HasBorder

Always has a border

Watermark

Watermark

Methods

Name Description
OnPaint(PaintEventArgs)

Event handler when window is being repainted

WndProc(Message)

Overriding the window callback function

Applies to