SetField<T> Method (MarqueeStyle)
Compares two values of property and raises an
PropertyChanged event if they are different.
'Declaration
Protected Function SetField(Of )( _
ByRef As , _
ByVal As , _
Optional ByVal As String _
) As Boolean
protected bool SetField<>(
ref ,
,
string
)
Parameters
- field
- The previous value of property.
- value
- The new value of property.
- propertyName
- The name of property.
Type Parameters
- T
- Type of property.
Return Value
true - if values are different.