-
Notifications
You must be signed in to change notification settings - Fork 5
Layouts
arpit edited this page Sep 13, 2010
·
1 revision
Layouts are classes that can be added to any UIContainer to position the children. Layouts need to implement the ILayout interface to actually be assignable to UIContainers. UIControls cannot have Layout’s assigned to them.
Most Layouts also implement the IContainerMeasurementHelper interface, which means that they are responsible for interpreting the percent dimensions as actual pixel values.
Unlike Flex, there are no hard and fast H or VBoxes. Layouts can be arbitrarily assigned to any UIContainer and can be switched at any time. Layouts can also support animation so that as the children are positioned they animate to their new positions.