New to Telerik UI for WPFStart a free 30-day trial

FontFamily MarkupExtension.

Definition

Namespace:Telerik.Windows.Media.Imaging.Extensions

Assembly:Telerik.Windows.Controls.ImageEditor.dll

Syntax:

C#
public class FontFamilyExtension : MarkupExtension

Inheritance: objectFontFamilyExtension

Constructors

Initializes a new instance of the FontFamilyExtension class.

C#
public FontFamilyExtension()

Methods

When implemented in a derived class, returns an object that is set as the value of the target property for this markup extension.

C#
public override object ProvideValue(IServiceProvider serviceProvider)
Parameters:serviceProviderIServiceProvider

Object that can provide services for the markup extension.

Returns:

object

The object value to set on the property where the extension is applied.