Control.VerticalContentAlignment
property · Control · cAlgo.API
DesktopCLICloud
Gets or sets the vertical content alignment.
Environment behaviour
CLI — not supported. Accepted without error but never displayed, so control events such as Click are never raised.
Cloud — not supported. Accepted without error but never displayed, so control events such as Click are never raised.
Definition
public VerticalAlignment VerticalContentAlignment {get; set;}
control.VerticalContentAlignment: VerticalAlignment
Returns VerticalAlignment
Examples
var button = new Button { Text = "Buy", Height = 60, VerticalContentAlignment = VerticalAlignment.Bottom };
Chart.AddControl(button);
button = Button()
button.Text = "Buy"
button.Height = 60
button.VerticalContentAlignment = VerticalAlignment.Bottom
api.Chart.AddControl(button)