public WebPageContentPanel(IContentPanelBaseInternal panelBase)
        {
            this.InitializeComponent();

            // Capture the base
            m_base = panelBase;

            // Listen for back presses
            App.BaconMan.OnBackButton += BaconMan_OnBackButton;
        }
Пример #2
0
        public WebPageContentPanel(IContentPanelBaseInternal panelBase)
        {
            this.InitializeComponent();

            // Capture the base
            m_base = panelBase;

            // Listen for back presses
            App.BaconMan.OnBackButton += BaconMan_OnBackButton;
        }
        public BasicImageContentPanel(IContentPanelBaseInternal panelBase)
        {
            this.InitializeComponent();
            m_base = panelBase;

            // Register for back button presses
            App.BaconMan.OnBackButton += BaconMan_OnBackButton;

            // Set the max zoom for the scroller
            ui_scrollViewer.MaxZoomFactor = MAX_ZOOM_FACTOR;
        }
        public BasicImageContentPanel(IContentPanelBaseInternal panelBase)
        {
            this.InitializeComponent();
            m_base = panelBase;

            // Register for back button presses
            App.BaconMan.OnBackButton += BaconMan_OnBackButton;

            // Set the max zoom for the scroller
            ui_scrollViewer.MaxZoomFactor = MAX_ZOOM_FACTOR;
        }
        public BasicImageContentPanel(IContentPanelBaseInternal panelBase)
        {
            this.InitializeComponent();
            m_base = panelBase;

            // Register for back button presses
            App.BaconMan.OnBackButton += BaconMan_OnBackButton;

            // Set the max zoom for the scroller
            ui_scrollViewer.MaxZoomFactor = MAX_ZOOM_FACTOR;

            // Get the current scale factor. Why 0.001? If we don't add that we kill the app
            // with a layout loop. I think this is a platform bug so we need it for now. If you don't
            // believe me remove it and see what happens.
            m_deviceScaleFactor = DisplayInformation.GetForCurrentView().RawPixelsPerViewPixel + 0.001;
        }
        public BasicImageContentPanel(IContentPanelBaseInternal panelBase)
        {
            this.InitializeComponent();
            m_base = panelBase;

            // Register for back button presses
            App.BaconMan.OnBackButton += BaconMan_OnBackButton;

            // Set the max zoom for the scroller
            ui_scrollViewer.MaxZoomFactor = MAX_ZOOM_FACTOR;

            // Get the current scale factor. Why 0.001? If we don't add that we kill the app
            // with a layout loop. I think this is a platform bug so we need it for now. If you don't
            // believe me remove it and see what happens.
            m_deviceScaleFactor = DisplayInformation.GetForCurrentView().RawPixelsPerViewPixel + 0.001;
        }
 public RedditContentPanel(IContentPanelBaseInternal panelBase)
 {
     this.InitializeComponent();
     m_base = panelBase;
 }
Пример #8
0
 public MarkdownContentPanel(IContentPanelBaseInternal panelBase)
 {
     this.InitializeComponent();
     m_base = panelBase;
 }
Пример #9
0
 public WindowsAppContentPanel(IContentPanelBaseInternal panelBase)
 {
     InitializeComponent();
     _contentPanelBase = panelBase;
 }
 public RedditVideoContentPanel(IContentPanelBaseInternal contentPanelBase)
 {
     InitializeComponent();
     _contentPanelBase = contentPanelBase;
 }
 public MarkdownContentPanel(IContentPanelBaseInternal panelBase)
 {
     this.InitializeComponent();
     m_base = panelBase;
 }
Пример #12
0
 public RedditContentPanel(IContentPanelBaseInternal panelBase)
 {
     InitializeComponent();
     _contentPanelBase = panelBase;
 }
 public WindowsAppContentPanel(IContentPanelBaseInternal panelBase)
 {
     this.InitializeComponent();
     m_base = panelBase;
 }
 public CommentSpoilerContentPanel(IContentPanelBaseInternal panelBase)
 {
     this.InitializeComponent();
     m_base = panelBase;
 }
 public WindowsAppContentPanel(IContentPanelBaseInternal panelBase)
 {
     this.InitializeComponent();
     m_base = panelBase;
 }
Пример #16
0
 public CommentSpoilerContentPanel(IContentPanelBaseInternal panelBase)
 {
     this.InitializeComponent();
     m_base = panelBase;
 }
 public YoutubeContentPanel(IContentPanelBaseInternal panelBase)
 {
     this.InitializeComponent();
     m_base = panelBase;
 }
Пример #18
0
 public GifImageContentPanel(IContentPanelBaseInternal panelBase)
 {
     InitializeComponent();
     _mBase = panelBase;
 }
Пример #19
0
 public MarkdownContentPanel(IContentPanelBaseInternal panelBase)
 {
     InitializeComponent();
     _contentPanelBase = panelBase;
     InitializePinchHandling();
 }
Пример #20
0
 public CommentSpoilerContentPanel(IContentPanelBaseInternal panelBaseContentPanel)
 {
     InitializeComponent();
     _baseContentPanel = panelBaseContentPanel;
 }