Search
StringFormat Members
Constructors Fields Properties Methods
 


Encapsulates text layout information (such as alignment).

The following tables list the members exposed by the StringFormat type.

 Public Constructors

  Name Description

StringFormat

Overloaded. Initializes a new instance of the StringFormat class.

 Public Fields

  Name Description

Default

The default string format.

 Public Properties

  Name Description

ClipText

Gets or sets a value indicating whether to clip the text to bounds.

HorizontalAlignment

Gets or sets horizontal alignment of the string.

VerticalAlignment

Gets or sets the vertical alignment of the string.

WrapText

Gets or sets a value indicating whether to wrap the text.

 Public Methods

  Name Description

Clone

Creates an exact clone of this object.

Equals

Determines whether the specified object is equal to the current StringFormat.

GetHashCode

Serves as a hash function for a StringFormat object.

 See Also