Class FontCollection
Collection of System.Windows.Media.FontFamily objects.
Inheritance
System.Object
FontCollection
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class FontCollection : ObservableCollection<FontFamily>
Constructors
FontCollection()
Declaration
public FontCollection()
Methods
ContainsName(FontFamily)
Indicates whether the collection contains a specific System.Windows.Media.FontFamily entry.
Declaration
public bool ContainsName(FontFamily fontFamily)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Media.FontFamily | fontFamily | The System.Windows.Media.FontFamily entry to locate in the collection. |
Returns
Type | Description |
---|---|
System.Boolean | True if contains, otherwise false. |
InsertItem(Int32, FontFamily)
Inserts an System.Windows.Media.FontFamily element into the collection at the specified index.
Declaration
protected override void InsertItem(int index, FontFamily item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index at which element should be inserted. |
System.Windows.Media.FontFamily | item | The System.Windows.Media.FontFamily element to insert. |