SetProperty<T>(T,T,String) Method
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 11, Windows 10, Windows 8.1