Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to disable word wrapping in the Simple view

$
0
0

Problem:

Is there any way to turn off word wrapping in the Simple view of RichEditControl?

Solution:

At present, the Simple view type of RichEditControl does not support this functionality. However, there is a simple workaround method. Switch RichEditControl to the Draft view and specify a large width for it via the SectionPage.Width Property. To emulate the Simple view, hide the ruler and scrollbar by setting the RichEditControl.Options.HorizontalRuler.Visibility and RichEditControl.Options.VerticalScrollbar.Visibility properties to the Hidden value. In addition, you can adjust document content padding in the manner illustrated in the How to adjust left padding of a document in RichEditControl example.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>