Defines whether the caption area is transparent.
Get
| C# | bool Boolean = object.Transparent; |
| VB.NET | Boolean = object.Transparent As Boolean |
| C++ | VARIANT_BOOL Boolean = object->Transparent; VARIANT_BOOL Boolean = object->GetTransparent(); |
| C | HRESULT object->get_Transparent(VARIANT_BOOL* Boolean); |
Put
| C# | bool object.Transparent = Boolean; |
| VB.NET | object.Transparent = Boolean As Boolean |
| C++ | VARIANT_BOOL object->Transparent = Boolean; void object->PutTransparent(VARIANT_BOOL Boolean); |
| C | HRESULT object->put_Transparent(VARIANT_BOOL Boolean); |
object
Boolean
Defines whether the caption area is transparent.
| Boolean | Description |
|---|---|
| True | The caption area is transparent. |
| False | The caption area is not transparent. |
The Transparent property defines whether the caption area is transparent.
The built-in caption can be rendered transparent, in which case the background of the enclosing window (form or dialog) is used as the caption's background and the defined background color Caption.BackColor is ignored.
Some development tools do not reflect transparency in design-time mode. While the property can be set at design-time, visually it will only take effect at run-time.
See Also SftMaskCaption Object | Object Hierarchy