Esempio n. 1
0
 public StatusPop(StatusBtn statusButton, ListItemTemplate session)
 {
     this.InitializeComponent();
     this.session = session;
     Backdrop.Background = new SolidColorBrush(Color.FromArgb(100, 255, 255, 255));
     statusBtn = statusButton;
     StatusText.Document.SetText(Windows.UI.Text.TextSetOptions.None, "What's on your mind?");
 }
Esempio n. 2
0
        public FacebookFeed(ListItemTemplate session)
        {
            this.InitializeComponent();
            this.session = session;
            this.PStatus.Children.Add(new StatusBtn(this.MainGrid, session));
            feedStack = this.FeedStack;
            Scroller.ViewChanged += sChanged;

            MainGrid.Width = Window.Current.Bounds.Width - App.MasterLayoutGrid.ColumnDefinitions.First().ActualWidth;
            MainGrid.Height = Window.Current.Bounds.Height;
            BlueBar.Width = MainGrid.Width;
            Scroller.Width = MainGrid.Width;
            Scroller.Height = MainGrid.Height - BlueBar.Height;
            feedStack.Width = Scroller.Width - 20;
        }
Esempio n. 3
0
 public StatusBtn(Grid mainGrid, ListItemTemplate session)
 {
     this.InitializeComponent();
     MainGrid = mainGrid;
     this.session = session;
 }