Table of Contents

Property Style

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

Style

Gets or sets the style of the dialog box item.

public string Style { get; set; }

Property Value

string

The style of the dialog box item.

Examples

UIBlockDefinition propertiesTitle = new UIBlockDefinition();
propertiesTitle.Type = UIBlockType.StaticText;
propertiesTitle.Style = Style.Text.Title2;

Remarks

It is possible to set a style on some dialog box items.

The supported styles can be accessed through const strings on the Style class, subdivided per control type (Button, Text, etc.).
All Button styles can also be applied to a DownloadButton.
The Style class is available from DataMiner 10.3.1/10.4.0 onwards. For older DataMiner versions, you can use the StaticText styles 'Title1', 'Title2', and 'Title3'.