Export (0) Print
Expand All

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 following tables list the members exposed by the StringFormat type.

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

  Name Description
Public property Supported by the .NET Compact Framework Alignment Gets or sets text alignment information on the vertical plane.
Public property DigitSubstitutionLanguage Gets or sets the language that is used when local digits are substituted for western digits.
Public property DigitSubstitutionMethod Gets or sets 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 GenericDefault Gets a generic default StringFormat object.
Public property Static 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

(see also Protected Methods )
  Name Description
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  Overloaded. Determines whether two Object instances are equal. (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)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
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 Overridden. Converts this StringFormat object to a human-readable string.
Top

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Top

Community Additions

ADD
Show:
© 2015 Microsoft