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); }
protected override BaseTabPageViewInfo CreatePage(DevExpress.XtraTab.IXtraTabPage page) { return(new MyBaseTabPageViewInfo(page)); }
public MyBaseTabPageViewInfo(DevExpress.XtraTab.IXtraTabPage page) : base(page) { }