Exemplo n.º 1
0
        private void ShowHint(DevExpress.XtraTab.IXtraTabPage page)
        {
            ToolTipControlInfo toolTip = new ToolTipControlInfo();

            toolTip.ToolTipType = ToolTipType.SuperTip;
            toolTip.Interval    = 500;
            toolTip.Object      = page;
            SuperToolTip superTip = new SuperToolTip();

            toolTip.SuperTip = superTip;
            superTip.Items.AddTitle(page.Text);
            superTip.Items.AddSeparator();
            ToolTipItem item1 = new ToolTipItem();

            item1.Image = ThumbnailHelper.FormToBitmap((page as XtraMdiTabPage).MdiChild, new Size(200, 200));
            superTip.Items.Add(item1);
            ToolTipController.DefaultController.ShowHint(toolTip);
        }
Exemplo n.º 2
0
 protected override BaseTabPageViewInfo CreatePage(DevExpress.XtraTab.IXtraTabPage page)
 {
     return(new MyBaseTabPageViewInfo(page));
 }
Exemplo n.º 3
0
 public MyBaseTabPageViewInfo(DevExpress.XtraTab.IXtraTabPage page)
     : base(page)
 {
 }