Constructor WidgetLayout
- Namespace
- Skyline.DataMiner.Utils.InteractiveAutomationScript
- Assembly
- Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit.dll
WidgetLayout(int, int, int, int, HorizontalAlignment, VerticalAlignment)
Initializes a new instance of the WidgetLayout class.
public WidgetLayout(int fromRow, int fromColumn, int rowSpan, int columnSpan, HorizontalAlignment horizontalAlignment = HorizontalAlignment.Left, VerticalAlignment verticalAlignment = VerticalAlignment.Top)
Parameters
fromRow
intRow index of top-left cell.
fromColumn
intColumn index of the top-left cell.
rowSpan
intNumber of vertical cells the widget spans across.
columnSpan
intNumber of horizontal cells the widget spans across.
horizontalAlignment
HorizontalAlignmentHorizontal alignment of the widget.
verticalAlignment
VerticalAlignmentVertical alignment of the widget.
WidgetLayout(int, int, HorizontalAlignment, VerticalAlignment)
Initializes a new instance of the WidgetLayout class.
public WidgetLayout(int row, int column, HorizontalAlignment horizontalAlignment = HorizontalAlignment.Left, VerticalAlignment verticalAlignment = VerticalAlignment.Top)
Parameters
row
intRow index of the cell where the widget is placed.
column
intColumn index of the cell where the widget is placed.
horizontalAlignment
HorizontalAlignmentHorizontal alignment of the widget.
verticalAlignment
VerticalAlignmentVertical alignment of the widget.