Sets a property value and calls NotifyPropertyChanged when the new value differs from the current value.
protected bool SetProperty<>(
ref ,
,
string
)
Protected Overloads Function SetProperty(Of )( _
ByRef As , _
ByVal As , _
Optional ByVal As String _
) As Boolean
Parameters
- backingField
- value
- name
Type Parameters
- T
Return Value
Returns true if the property changes.
Target Platforms: Windows 10, Windows 8.1