void initcontrols() { _stacksvector = new List <IStackView>(); _panel = new StackPanel(); _panel.Orientation = Orientation.Horizontal; Children.Add(_panel); _auxgrid = new Grid(); _auxgrid.Background = new SolidColorBrush(Colors.Transparent); _auxgrid.ManipulationMode = ManipulationModes.TranslateX; _startgrid = new Grid(); _startgrid.Height = STARTWIDTH; _startgrid.Width = STARTWIDTH; _panel.Children.Add(_startgrid); _headercontrol = new ChapterHeaderControl(); _headercontrol.HorizontalAlignment = Windows.UI.Xaml.HorizontalAlignment.Right; _startgrid.Children.Add(_headercontrol); }
void initcontrols() { _stacksvector = new List<IStackView>(); _panel = new StackPanel(); _panel.Orientation = Orientation.Horizontal; Children.Add(_panel); _auxgrid = new Grid(); _auxgrid.Background = new SolidColorBrush(Colors.Transparent); _auxgrid.ManipulationMode = ManipulationModes.TranslateX; _startgrid = new Grid(); _startgrid.Height = STARTWIDTH; _startgrid.Width = STARTWIDTH; _panel.Children.Add(_startgrid); _headercontrol = new ChapterHeaderControl(); _headercontrol.HorizontalAlignment = Windows.UI.Xaml.HorizontalAlignment.Right; _startgrid.Children.Add(_headercontrol); }