public Grid GetBacklogGrid(Button button) { Grid grid = new Grid(); StackPanel leftPanel = new StackPanel() { Orientation = Orientation.Horizontal, HorizontalAlignment = HorizontalAlignment.Left }; leftPanel.Children.Add(GetKeyLabel(false)); leftPanel.Children.Add(GetNameLabel()); grid.Children.Add(leftPanel); StackPanel rightPanel = new StackPanel() { Orientation = Orientation.Horizontal, HorizontalAlignment = HorizontalAlignment.Right }; rightPanel.Children.Add(Priority.GetPanel()); rightPanel.Children.Add(User.PanelShortName); rightPanel.Children.Add(button); grid.Children.Add(rightPanel); return(grid); }
public Grid GetInfoGrid() { Grid grid = new Grid(); grid.Children.Add(Priority.GetPanel()); grid.Children.Add(User.PanelShortName); return(grid); }