Vcl.ExtCtrls.TCustomPanel.BorderStyle
Delphi
property BorderStyle: TBorderStyle read FBorderStyle write SetBorderStyle default bsNone;
C++
__property Vcl::Forms::TBorderStyle BorderStyle = {read=FBorderStyle, write=SetBorderStyle, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TCustomPanel |
Description
Determines the style of the line drawn around the perimeter of the panel control.
Use BorderStyle to specify whether the panel has a single line drawn around it. These are the possible values:
Value | Meaning |
---|---|
bsNone |
No visible border |
bsSingle |
Single-line border |
Do not confuse the line drawn around the panel with the BorderWidth of the panel. The BorderWidth of the panel is the distance between the outer and inner bevels.