public TestStackGrid() { InitializeComponent(); var stackGrid = StackGridFactory.CreateNew <IUIObjectProvider>(); grid.Children.Add(stackGrid.UIObject as UIElement); }
public StatusBarServiceImpl( Views.StatusBarView statusBar, [ImportMany] IEnumerable <IStatusBarItem> statusBarItems ) { this._statusBarItems = statusBarItems; _stackGrid = StackGridFactory.CreateNew <IStatusBarItem>(statusBar.Grid); _stackGrid.Orientation = Orientation.Horizontal; }
public StatusBarServiceImpl(IStatusBar statusBar) { _stackGrid = StackGridFactory.CreateNew <IStatusBarObjectItem>(statusBar.Grid); _stackGrid.Orientation = Orientation.Horizontal; }