Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/133.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Devexpress Aspxmemo->;是否可以通过客户端设置文本颜色和粗体?_Devexpress_Client Side - Fatal编程技术网

Devexpress Aspxmemo->;是否可以通过客户端设置文本颜色和粗体?

Devexpress Aspxmemo->;是否可以通过客户端设置文本颜色和粗体?,devexpress,client-side,Devexpress,Client Side,我在我的页面上使用了一个devexpress控件,基本上一切都在客户端。我已经能够使用setText来设置控件中的文本值,但是我无法弄清楚如何通过clientside设置文本的颜色和粗体 有人知道这是否可能吗 我查看了devExpress网站上的客户端页面,但没有看到任何内容 感谢您的想法和建议 谢谢。可以使用以下代码: function SetMemoProperties() { var tArea = memo.GetInputElement(); tAre

我在我的页面上使用了一个devexpress控件,基本上一切都在客户端。我已经能够使用setText来设置控件中的文本值,但是我无法弄清楚如何通过clientside设置文本的颜色和粗体

有人知道这是否可能吗

我查看了devExpress网站上的客户端页面,但没有看到任何内容

感谢您的想法和建议


谢谢。

可以使用以下代码:

function SetMemoProperties() {
        var tArea = memo.GetInputElement();
        tArea.style.color = "red";
        tArea.style.fontWeight = "bold";
    }

太棒了,我会把它作为答案,但如果它起作用,那就太棒了,谢谢。