开发者

Silverlight on the Validation, how can we achieve error message is always displayed

See picture first: http://images.cnblogs.com/cnblogs_com/justinw/229829/o_validationask2.PNG

As shown: By default, error messages are moved to control the mouse when the display, the mouse away immediately disappeared.

I hope to achieve the effect: no matter how moving the mouse, the error message always shows, 开发者_如何转开发Silverlight Validation mechanism of this effect is supported by default, if not support, how to do? !


You'll have to edit the style for the control.

For example, the default template for a textbox has a "ValidationErrorElement" defined as a ToolTip that is only visible if the control has a validation error. You chould change this to be a label instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜