Table of Contents

Property VerticalAlignment

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

VerticalAlignment

Gets or sets the vertical alignment of the dialog box item.

public string VerticalAlignment { get; set; }

Property Value

string

The vertical alignment of the dialog box item: “Center”, “Top”, “Bottom” or “Stretch”.

Examples

UIBlockDefinition blockItem = new UIBlockDefinition();
blockItem.Type = UIBlockType.TextBox;
blockItem.VerticalAlignment = "Top";

uibDialogBox1.AppendBlock(blockItem);

Remarks

Note: If no vertical alignment option is set, by default “Top” alignment is applied.