Create box

Modified on Mon, 5 Oct at 1:55 PM

Alloy can be used to make a box in ribbon. This element specifies a grouping container control that can be used to align controls vertically or horizontally. Here is an example:

XML
<box boxStyle="horizontal">
 ...
</box>

Use the attribute box style to specify the layout direction for the child controls inside the box element:

boxStyle

horizontal

Aligns the buttons horizontally.

vertical

Aligns the buttons vertically

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article