---
id: "P:cAlgo.API.Thickness.Bottom"
kind: "property"
type: "T:cAlgo.API.Thickness"
url: "https://help.ctrader.com/ctrader-algo/references/Controls/Thickness/Bottom/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# Thickness.Bottom

Member of [Thickness](https://help.ctrader.com/ctrader-algo/references/Controls/Thickness/index.md).

## Bottom

Gets or sets the thickness of the bottom side of the retangle.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public double Bottom {get; set;}
```

Python:

```python
thickness.Bottom: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
var padding = new Thickness(5);
padding.Bottom = 15;
Chart.AddControl(new Border { Padding = padding, BorderThickness = 1, BorderColor = Color.Gray, Child = new TextBlock { Text = "PnL" } });
Print("Bottom: {0}", padding.Bottom);
```

Python:

```python
padding = Thickness(5)
padding.Bottom = 15
border = Border()
border.Padding = padding
textBlock = TextBlock()
textBlock.Text = "PnL"
border.Child = textBlock
api.Chart.AddControl(border)
api.Print(f"Bottom: {padding.Bottom}")
```

