RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox Namespace / ReturnMode Enumeration

In This Topic
    ReturnMode Enumeration
    In This Topic
    Defines the way in which C1RichTextBox handles the return key.
    Syntax
    'Declaration
     
    
    Public Enum ReturnMode 
       Inherits System.Enum
    public enum ReturnMode : System.Enum 
    Members
    MemberDescription
    DefaultThe Return key inserts soft line breaks if shift is held, and hard line breaks otherwise.
    HardLineBreakThe Return key inserts hard line breaks.
    SoftLineBreakThe Return key inserts soft line breaks.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             C1.WPF.RichTextBox.ReturnMode

    See Also