Vcl.WinXCtrls.TRelativePanel.BevelWidth

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BevelWidth;

C++

__property BevelWidth = {default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.WinXCtrls.pas
Vcl.WinXCtrls.hpp
Vcl.WinXCtrls TRelativePanel

Description

Determines the width, in pixels, of both the inner and outer bevels of a panel.

Vcl.WinXCtrls.TRelativePanel.BevelWidth inherits from Vcl.ExtCtrls.TCustomPanel.BevelWidth. All content below this line refers to Vcl.ExtCtrls.TCustomPanel.BevelWidth.

Determines the width, in pixels, of both the inner and outer bevels of a panel.

Use BevelWidth to specify how wide the inner or outer bevel should be. Do not confuse BevelWidth, which is the width of the bevels, with BorderWidth, which is the space between the bevels.

If both the BevelInner and BevelOuter properties are bvNone, BevelWidth has no effect. To remove both bevels, set the BevelInner and BevelOuter properties to bvNone, rather than setting the BevelWidth to 0, as this involves less overhead when painting.

See Also

Code Examples