Table of Contents

Property Margin

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

Margin

Gets or sets the margin (in pixels) around the dialog box item.

public string Margin { get; set; }

Property Value

string

The margin (in pixels) around the dialog box item.

Examples

UIBlockDefinition blockItem = new UIBlockDefinition();
blockItem.Type = UIBlockType.TextBox;
blockItem.Margin = "5;5;5;5";

uibDialogBox1.AppendBlock(blockItem);

Remarks

Default: no margin.

Syntax: "Left;Top;Right;Bottom"