System.Windows.Forms.Panel Members

The members of System.Windows.Forms.Panel are listed below.

See Also: Inherited members from System.Windows.Forms.ScrollableControl

Public Constructors

Initializes a new instance of the System.Windows.Forms.Panel class.

Public Properties

override
AutoSizebool.

Gets or sets a value that indicates whether the control resizes based on its contents.

AutoSizeModeAutoSizeMode.

Indicates the automatic sizing behavior of the control.

BorderStyleBorderStyle.

Indicates the border style for the control.

TabStopbool.

Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.

override
Textstring.

This member is not meaningful for this control.

Protected Properties

[read-only]
override
CreateParamsCreateParams.

Gets the required creation parameters when the control handle is created.

[read-only]
override
DefaultSizeSystem.Drawing.Size.

Gets the default size of the control.

Public Methods

override
ToString() : string

Returns a string representation for this control.

Protected Methods

override
OnResize(EventArgs)

Fires the event indicating that the panel has been resized. Inheriting controls should use this in favor of actually listening to the event, but should still call base.onResize to ensure that the event is fired for external listeners.

Public Events

AutoSizeChanged

Occurs when the value of the Panel.AutoSize property has changed.

KeyDown

This member is not meaningful for this control.

KeyPress

This member is not meaningful for this control.

KeyUp

This member is not meaningful for this control.

TextChanged

This member is not meaningful for this control.