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 | |
AutoScroll | bool | True indicates that scroll bars automatically appear when the control contents are larger than the visible area. | |
BackgroundGradientStyle | object | Gets the style properties of the gradient background. See BackGroundGradientStyle and refer to the possible values for each property. | |
BorderRadius | object | Gets the BorderRadius object and related properties for the panel. | |
BorderStyle | enum | Sets or gets the style of the border. See BorderStyle for a list of possible values. |
Methods
Name | Description | |
Create() | Initializes a new instance of a panel. | |
Create(width,height) | Initializes a new instance of a panel. Parameters include the Width and Height of the control. | |
RemoveGradient | Removes the gradient. | |
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. | |
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. |