Skip to main content

TcxControl.Transparent Property

Specifies if the control is transparent in GDI render mode.

Declaration

property Transparent: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

Set this property to True to enable the control background’s transparency. The control’s content and UI elements are drawn directly on top of underlying controls on an application form in this case. In addition, you can set the BorderStyle property to cxcbsNone to seamlessly blend the control with its background.

If the Transparent property is set to False, the control’s Color property value determines the base color of the control’s canvas.

Note

The Transparent property value is ignored in DirectX render mode, since the control’s opaque Direct3D context overlaps any underlying UI elements and content.

The Transparent property’s default value is False.

See Also