The StringFormat type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
StringFormat()()()() |
Initializes a new instance of a StringFormat.
|
![]() |
StringFormat(TextBlock) |
Initializes a new instance of a StringFormat.
|
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
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.) |
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() |
Alignment |
Gets or sets the horizontal alignment of text.
|
![]() |
Angle |
Gets or sets the angle in degrees used to render the text.
|
![]() |
FormatFlags |
Gets or sets a StringFormatFlags that contains formatting options.
|
![]() ![]() |
GenericDefault |
Gets a reference to the default StringFormat object.
|
![]() |
LineAlignment |
Gets or sets the vertical alignment of text.
|
![]() |
LineSpacing |
Gets or sets the line spacing.
|