原創(chuàng)|其它|編輯:郝浩|2012-05-14 03:21:44.000|閱讀 4381 次
概述:本文總結(jié)了DevExpress ToolTipController如何設(shè)置顯示時(shí)間長短,如何在屏幕上顯示文中圖片所示的效果,以及如何設(shè)置邊框顏色。
# 界面/圖表報(bào)表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
1、如何設(shè)置顯示的時(shí)間長短
設(shè)置this.toolTipController1.AutoPopDelay = 2000;
2、如何在屏幕上顯示如上圖所示的效果
ToolTipControllerShowEventArgs args = this.toolTipController1.CreateShowArgs();
this.toolTipController1.SetToolTip(this.sbtnYes, "請(qǐng)選擇一條記錄!");
this.toolTipController1.SetTitle(this.sbtnYes, "提示");
this.toolTipController1.SetToolTipIconType(this.sbtnYes, DevExpress.Utils.ToolTipIconType.Exclamation);
this.toolTipController1.ShowBeak = true;
this.toolTipController1.ShowShadow = true;
this.toolTipController1.Rounded = true;
this.toolTipController1.ShowHint("請(qǐng)選擇一條記錄!", "提示");
args.ToolTip = "請(qǐng)選擇一條記錄!";
args.Title = "提示";
3、如何設(shè)置邊框的顏色
this.toolTipController1.Appearance.BorderColor = Color.Red;
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請(qǐng)務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請(qǐng)郵件反饋至chenjj@ke049m.cn
文章轉(zhuǎn)載自: