Arranges child elements into a single line that can be oriented horizontally or vertically.
Inheritance: Layout
 /// <summary>
 /// Initialize a new instance of the MetaStackPanel class.
 /// </summary>
 public MetaStackPanel()
 {
     StackLayout layout = new StackLayout();
     layout.SetBinding(StackLayout.OrientationProperty, ThisBinding("Orientation"));
     Layouts.Add(layout);
 }
示例#2
0
 private void Stack_Click(object sender, RoutedEventArgs e)
 {
     ComponentFactory.Quicksilver.Layout.StackLayout layout = new ComponentFactory.Quicksilver.Layout.StackLayout();
     TargetPanel.LayoutDefinitions.Clear();
     TargetPanel.LayoutDefinitions.Add(layout);
 }
 private void Stack_Click(object sender, RoutedEventArgs e)
 {
     ComponentFactory.Quicksilver.Layout.StackLayout layout = new ComponentFactory.Quicksilver.Layout.StackLayout();
     TargetPanel.LayoutDefinitions.Clear();
     TargetPanel.LayoutDefinitions.Add(layout);
 }