UIElement[] CreateUIElements(ISimpleAppOptionButton option) { var button = new Button { Content = option.Text, Command = option.Command, ToolTip = option.ToolTip, }; return(new UIElement[] { button }); }
UIElement[] CreateUIElements(ISimpleAppOptionButton option) { var button = new Button { Content = option.Text, Command = option.Command, ToolTip = option.ToolTip, }; return new UIElement[] { button }; }