加入 ToolTipController控件,然后写下如下代码:
toolTipController1.ShowHint("客户代码必填!", "提示", DevExpress.Utils.ToolTipLocation.RightCenter, new Point() { X = rect.X + 40, Y = rect.Y + 15 });
加入 ToolTipController控件,然后写下如下代码:
toolTipController1.ShowHint("客户代码必填!", "提示", DevExpress.Utils.ToolTipLocation.RightCenter, new Point() { X = rect.X + 40, Y = rect.Y + 15 });