Class ThemeFontFamily
Represents a family of related theme fonts.
Inheritance
System.Object
ThemeFontFamily
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class ThemeFontFamily : FontFamily
Constructors
ThemeFontFamily(String, String)
Initializes a new instance of the ThemeFontFamily class.
Declaration
public ThemeFontFamily(string fontFamily, string purpose)
Parameters
Type | Name | Description |
---|---|---|
System.String | fontFamily | System.Windows.Media.FontFamily of the ThemeFontFamily. |
System.String | purpose | Purpose of the ThemeFontFamily. |
Properties
Purpose
Gets or sets the purpose of the ThemeFontFamily.
Declaration
public string Purpose { get; set; }
Property Value
Type | Description |
---|---|
System.String | Type: System.String |
See Also
System.String
Methods
Equals(Object)
Checks whether the current theme font family object and the specified font family object are the same.
Declaration
public override bool Equals(object o)
Parameters
Type | Name | Description |
---|---|---|
System.Object | o | The ThemeFontFamily object to compare. |
Returns
Type | Description |
---|---|
System.Boolean | True if o is equal to the current ThemeFontFamily object; otherwise, false. |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
---|
System.Int32 |