BindableCoreSetPropertyT Method
Compares the current and new values for a given property. If the value has changed, raises the
PropertyChanging event,
updates the property with the new value, then raises the
PropertyChanged event.
Namespace: Aliquo.Core.BaseAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public bool SetProperty<T>(
ref T propertyBackStore,
T newValue,
string propertyName = null
)
Public Function SetProperty(Of T) (
ByRef propertyBackStore As T,
newValue As T,
Optional propertyName As String = Nothing
) As Boolean
- propertyBackStore T
- Property back store.
- newValue T
- New value.
- propertyName String (Optional)
- Property name.
- T
- Object type.
Boolean if the property value was modified; otherwise,
.