[]
        
(Showing Draft Content)

C1.Win.Input.Pickers.FontPicker.InvalidFontFamily.SetField

SetField Method

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

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

Declaration
protected bool SetField<T>(ref T field, T value, string propertyName = null)
Parameters
Type Name Description
T field

The previous value of property.

T value

The new value of property.

string propertyName

The name of property.

Returns
Type Description
bool

true - if values are different.

Type Parameters
Name Description
T

Type of property.