Panel Class

Creates an area within a form for grouping controls.

Namespace: elsystem.windows.forms

Properties

  Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).

  Name Type Description
Public property AutoScroll bool True indicates that scroll bars automatically appear when the control contents are larger than the visible area.
Public property BackgroundGradientStyle object Gets the style properties of the gradient background. See BackGroundGradientStyle and refer to the possible values for each property.
Public property BorderRadius object Gets the BorderRadius object and related properties for the panel.
Public property BorderStyle enum Sets or gets the style of the border. See BorderStyle for a list of possible values.
Methods
  Name Description
Public property Create() Initializes a new instance of a panel.
Public property Create(width,height) Initializes a new instance of a panel.  Parameters include the Width and Height of the control.
Public property RemoveGradient Removes the gradient.
Public property SetLinearGradient(mode, startColor, endColor) Sets the control's background to a specified linear gradient mode, start color, and end color. See LinearGradientMode and Color for lists of possible values.
Public property SetRadialGradient(startColor, endColor) Sets the control's background to a radial gradient using specified start color and end color. See Color for a list of possible values.