|  | ObservableBaseSetPropertyT Method (T, T, String) | 
            Assigns a new value to a property and raises the 
PropertyChanged event if the value changed.
            
 
Namespace: Cimbalino.Toolkit.HelpersAssembly: Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
 Syntax
Syntaxprotected virtual bool SetProperty<T>(
	ref T field,
	T value,
	string propertyName = null
)
Parameters
- field
- Type: T
 The field storing the property's value.
- value
- Type: T
 The property's new value.
- propertyName (Optional)
- Type: SystemString
 The property name.
Type Parameters
- T
- The property type.
Return Value
Type: 
Booleantrue if the property value changed; otherwise, false.
 Version Information
Version InformationPortable
Supported in: 4.5
Windows
Supported in: 10.0, 8.1
Windows Phone
Supported in: 8.1
Windows Phone Silverlight
Supported in: 8.1, 8.0
 See Also
See Also