StringTrimming

StringTrimming serializable

System.Drawing (system.drawing.dll) enum

This enumeration contains the options for the StringFormat.Trimming property, which determines what happens to a string that is too large for its bounding box. You can choose not to crop at all ( None ) or to crop at Character or Word boundaries. On top of that, you can choose to add an ellipsis ( . . . ) where the cropping occurs, which may of course trim even more text to fit it in (there are EllipsisCharacter and EllipsisWord elements to choose this option). There is also the special case of EllipsisPath which treats the string as a file path and crops in the middle of the string, between \ characters , adding an appropriate ellipsis.

 public enum  StringTrimming  {  None = 0  ,  Character = 1  ,  Word = 2  ,  EllipsisCharacter = 3  ,  EllipsisWord = 4  ,  EllipsisPath = 5  } 

Hierarchy

System.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable , System.IConvertible) StringTrimming

Returned By

StringFormat.Trimming

Passed To

StringFormat.Trimming



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net