ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / StringTrimming Enumeration

In This Topic
    StringTrimming Enumeration
    In This Topic
    Specifies how to trim characters from a string that does not completely fit into a layout shape.
    Syntax
    'Declaration
     
    
    Public Enum StringTrimming 
       Inherits System.Enum
    public enum StringTrimming : System.Enum 
    Members
    MemberDescription
    CharacterSpecifies that the text is trimmed to the nearest character.
    EllipsisCharacterSpecifies that the text is trimmed to the nearest character, and an ellipsis is inserted at the end of a trimmed line.
    EllipsisPathThe center is removed from trimmed lines and replaced by an ellipsis. The algorithm keeps as much of the last slash-delimited segment of the line as possible.
    EllipsisWordSpecifies that text is trimmed to the nearest word, and an ellipsis is inserted at the end of a trimmed line.
    NoneSpecifies no trimming.
    WordSpecifies that text is trimmed to the nearest word.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             C1.Framework.Drawing.Gdi.StringTrimming

    See Also