TreeListView.IconVerticalAlign

Syntax

IconVerticalAlign: PP.Ui.TreeListIconVerticalAlign;

Description

The IconVerticalAlign property determines vertical alignment of icons.

Comments

Default value: PP.Ui.TreeListIconVerticalAlign.Top.

Use JSON or the setIconVerticalAlign method to set the property value and the getIconVerticalAlign method to get the property value.

Example

Executing the example requires the SimpleTreeList component with the Tree identifier containing icons (see «TreeListBase.NodeImageIndex»).

// Set vertical alignment of icons
Tree.IconVerticalAlign(PP.Ui.TreeListIconVerticalAlign.Middle);

After executing the example vertical alignment of icons is set.

See also:

TreeListView