Table of Contents

Property Width

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

Width

Gets or sets the fixed width (in pixels) of the dialog box item.

public int Width { get; set; }

Property Value

int

The fixed width (in pixels) of the dialog box item.

Examples

UIBlockDefinition blockItem = new UIBlockDefinition();
blockItem.Type = UIBlockType.TextBox; 
blockItem.Width = 100;

uibDialogBox1.AppendBlock(blockItem);

Remarks

Note: To make sure the dialog box can be displayed optimally, we advise to use a minimum and maximum width instead of a fixed width (see MaxWidth and MinWidth).