Arranges child elements against the panel edges.
Inheritance: Layout
Beispiel #1
0
        /// <summary>
        /// Initialize a new instance of the MetaDockPanel class.
        /// </summary>
        public MetaDockPanel()
        {
            DockLayout layout = new DockLayout();

            layout.SetBinding(DockLayout.LastChildFillProperty, ThisBinding("LastChildFill"));
            Layouts.Add(layout);
        }
Beispiel #2
0
 private void Dock_Click(object sender, RoutedEventArgs e)
 {
     ComponentFactory.Quicksilver.Layout.DockLayout layout = new ComponentFactory.Quicksilver.Layout.DockLayout();
     TargetPanel.LayoutDefinitions.Clear();
     TargetPanel.LayoutDefinitions.Add(layout);
 }
 /// <summary>
 /// Initialize a new instance of the MetaDockPanel class.
 /// </summary>
 public MetaDockPanel()
 {
     DockLayout layout = new DockLayout();
     layout.SetBinding(DockLayout.LastChildFillProperty, ThisBinding("LastChildFill"));
     Layouts.Add(layout);
 }
 private void Dock_Click(object sender, RoutedEventArgs e)
 {
     ComponentFactory.Quicksilver.Layout.DockLayout layout = new ComponentFactory.Quicksilver.Layout.DockLayout();
     TargetPanel.LayoutDefinitions.Clear();
     TargetPanel.LayoutDefinitions.Add(layout);
 }