共用方式為


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

ContainerBase(IServiceProvider)

Constructor

Fields

WatermarkBorderOffset

WatermarkBorderOffset from the bounding rectangle.

Properties

BorderRectangle

Border Rect

HasBorder

Always has a border

Watermark

Watermark

Methods

OnPaint(PaintEventArgs)

Event handler when window is being repainted

WndProc(Message)

Overriding the window callback function

Applies to