IconVerticalAlign: PP.Ui.TreeListIconVerticalAlign;
The IconVerticalAlign property determines vertical alignment of icons.
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.
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: