[]
        
(Showing Draft Content)

C1.Win.Input.Pickers.FontPicker.InvalidFontFamily

InvalidFontFamily Class

The InvalidFontFamily class represents the settings for InvalidFontFamily property.

Inheritance
InvalidFontFamily
Namespace: C1.Win.Input.Pickers.FontPicker
Assembly: C1.Win.Input.Pickers.8.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public class InvalidFontFamily : INotifyPropertyChanged

Constructors

Name Description
InvalidFontFamily(C1FontPicker)

Initializes a new instance of the InvalidFontFamily class.

Properties

Name Description
AllowInvalidFontFamily

Gets or sets a value indicating whether the user can set an incorrect string as SelectedFontFamily or not.

DisplayedText

Gets or sets the text shown in the C1FontPicker's editor for any incorrect input.

SelectedFontFamily

Gets or sets a FontFamily name of one of the installed fonts that will be returned as SelectedFontFamily for any incorrect input.

Methods

Name Description
OnPropertyChanged(string)

Raises the PropertyChanged event.

Reset()

Reset all to default properties.

ResetDisplayedText()

Restores the default value of the DisplayedText property.

ResetSelectedFontFamily()

Restores the default value of the SelectedFontFamily property.

SetField<T>(ref T, T, string)

Compares two values of property and raises an PropertyChanged event if they are different.

ShouldSerializeDisplayedText()

Specifies whether to save the value of the DisplayedText property.

ShouldSerializeSelectedFontFamily()

Specifies whether to save the value of the SelectedFontFamily property.

ToString()

Returns the string that represents the current object.

Events

Name Description
PropertyChanged

Occurs when a property value changes.