Ticket T1279992
Visible to All Users

Font of TextEdit in HtmlContentControl with CSS

created 5 days ago

Hello DevExpress team,

i use a TextEdit control in a HtmlContentControl.

is it possible to set the font of the entered value with CSS ? (value in “TextEdit.EditValue”)

Many thanks and best regards,
Adnan

Answers approved by DevExpress Support

created 2 days ago

Hello Adnan,

From what I gather, you use an external TextEdit in a HtmlContentControl. Unfortunately, it is not possible to modify its font with CSS. However, you can still modify its Font property.

You can also use an in-place TextEdit instead. By doing so, you can modify its font with CSS.

For more information, please refer to the following help topic: HTML Tags - Input.

I attached a sample project that demonstrates both of these approaches. You will need to modify it further according to your requirements.

I hope this helps.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.