Example #1
0
        public TestStackGrid()
        {
            InitializeComponent();
            var stackGrid = StackGridFactory.CreateNew <IUIObjectProvider>();

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