--- a/ui/wpf/UIcore/Controls.cs Wed Jan 20 17:37:52 2016 +0100 +++ b/ui/wpf/UIcore/Controls.cs Thu Jan 21 20:40:14 2016 +0100 @@ -34,6 +34,11 @@ return Application.GetInstance().Exec<Label>(() => Controls.CreateLabel(container, null, HorizontalAlignment.Center)); } + public static Separator Separator(Container container) + { + return Application.GetInstance().Exec<Separator>(() => Controls.CreateSeparator(container)); + } + public static Button CreateButton(Container container, String label, RoutedEventHandler e) { Button button = new Button(); @@ -54,5 +59,12 @@ return label; } + + public static Separator CreateSeparator(Container container) + { + Separator separator = new Separator(); + container.Add(separator, false); + return separator; + } } }