This documentation is archived and is not being maintained.

StringFormat Members

Encapsulates text layout information (such as alignment, orientation and tab stops) display manipulations (such as ellipsis insertion and national digit substitution) and OpenType features. This class cannot be inherited.

The StringFormat type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework StringFormat Overloaded. Initializes a new StringFormat object.
Top

  NameDescription
Public method Supported by the .NET Compact Framework Clone Creates an exact copy of this StringFormat object.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework Dispose Releases all resources used by this StringFormat object.
Public method Supported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetTabStops Gets the tab stops for this StringFormat object.
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method Supported by the .NET Compact Framework MemberwiseClone Overloaded.
Public method SetDigitSubstitution Specifies the language and method to be used when local digits are substituted for western digits.
Public method SetMeasurableCharacterRanges Specifies an array of CharacterRange structures that represent the ranges of characters measured by a call to the MeasureCharacterRanges method.
Public method SetTabStops Sets tab stops for this StringFormat object.
Public method Supported by the .NET Compact Framework ToString Converts this StringFormat object to a human-readable string. (Overrides Object.ToString().)

In .NET Compact Framework 3.5, this member is inherited from Object.ToString().
Top

  NameDescription
Public property Supported by the .NET Compact Framework Alignment Gets or sets text alignment information on the vertical plane.
Public property DigitSubstitutionLanguage Gets the language that is used when local digits are substituted for western digits.
Public property DigitSubstitutionMethod Gets the method to be used for digit substitution.
Public property Supported by the .NET Compact Framework FormatFlags Gets or sets a StringFormatFlags enumeration that contains formatting information.
Public property Static member GenericDefault Gets a generic default StringFormat object.
Public property Static member GenericTypographic Gets a generic typographic StringFormat object.
Public property HotkeyPrefix Gets or sets the HotkeyPrefix object for this StringFormat object.
Public property Supported by the .NET Compact Framework LineAlignment Gets or sets the line alignment on the horizontal plane.
Public property Trimming Gets or sets the StringTrimming enumeration for this StringFormat object.
Top
Show: