Skip to content

Thickness.Bottom

property · Thickness · cAlgo.API

DesktopCLICloud

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

Definition

public double Bottom {get; set;}
thickness.Bottom: float

Returns double

Examples

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);
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}")