System.Classes.TComponent.ComponentStyle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ComponentStyle: TComponentStyle read FComponentStyle;

C++

__property TComponentStyle ComponentStyle = {read=FComponentStyle, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.Classes.pas
System.Classes.hpp
System.Classes TComponent

Description

Governs the behavior of the component.

ComponentStyle governs how the component interacts with the streaming system and the Object Inspector. ComponentStyle is a read-only property. Typically, the value of the various component style flags are part of a component definition, specified in a component constructor. The one exception to this is the csSubComponent style, which can be set by calling the SetSubComponent method.

See Also