// Layout the tabs. private void LayoutTabs() { StackLayoutEngine.HorizontalExpand.Layout(ClientRectangle, Tabs.Cast <ILayoutable> ()); }