Struct FontStyle
Defines a structure that represents the style of a font face as normal, italic, or oblique.
Inherited Members
Namespace: Telerik.WinControls.Spreadsheet.UI
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public struct FontStyle : IFormattable
Methods
Equals(Object)
Compares an System.Object with the current System.Windows.FontStyle instance for equality.
Declaration
public override bool Equals(object obj)
Parameters
|
System.Object
obj
An System.Object value that represents the System.Windows.FontStyle to compare for equality. |
Returns
|
System.Boolean
true to show the two instances are equal; otherwise, false. |
Overrides
Equals(FontStyle)
Compares a System.Windows.FontStyle with the current System.Windows.FontStyle instance for equality.
Declaration
public bool Equals(FontStyle obj)
Parameters
|
FontStyle
obj
An instance of System.Windows.FontStyle to compare for equality. |
Returns
|
System.Boolean
true to show the two instances are equal; otherwise, false. |
GetHashCode()
Retrieves the hash code for this object.
Declaration
public override int GetHashCode()
Returns
|
System.Int32
A 32-bit hash code, which is a signed integer. |
Overrides
ToString()
Creates a System.String that represents the current System.Windows.FontStyle object and is based on the System.Globalization.CultureInfo.CurrentCulture property information.
Declaration
public override string ToString()
Returns
|
System.String
A System.String that represents the value of the System.Windows.FontStyle object, such as "Normal", "Italic", or "Oblique". |
Overrides
Operators
Equality(FontStyle, FontStyle)
Compares two instances of System.Windows.FontStyle for equality.
Declaration
public static bool operator ==(FontStyle left, FontStyle right)
Parameters
|
FontStyle
left
The first instance of System.Windows.FontStyle to compare. |
|
FontStyle
right
The second instance of System.Windows.FontStyle to compare. |
Returns
|
System.Boolean
true to show the specified System.Windows.FontStyle objects are equal; otherwise, false. |
Inequality(FontStyle, FontStyle)
Evaluates two instances of System.Windows.FontStyle to determine inequality.
Declaration
public static bool operator !=(FontStyle left, FontStyle right)
Parameters
|
FontStyle
left
The first instance of System.Windows.FontStyle to compare. |
|
FontStyle
right
The second instance of System.Windows.FontStyle to compare. |
Returns
|
System.Boolean
false to show |
Explicit Interface Implementations
IFormattable.ToString(String, IFormatProvider)
For a description of this member, see System.IFormattable.ToString(System.String, System.IFormatProvider).
Declaration
string IFormattable.ToString(string format, IFormatProvider provider)
Parameters
|
System.String
format
The System.String specifying the format to use.-or- null to use the default format defined for the type of the System.IFormattable implementation. |
|
System.IFormatProvider
provider
The System.IFormatProvider to use to format the value.-or- null to obtain the numeric format information from the current locale setting of the operating system. |
Returns
|
System.String
A System.String containing the value of the current instance in the specified format. |