KGy SOFT

ObservableObjectBaseCanSetProperty Method

KGy SOFT Core Libraries Help
Gets whether the specified property can be set.
The base implementation allows to set the actual instance properties in this instance if the specified value is compatible with the property type.

Namespace:  KGySoft.ComponentModel
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.0.0
Syntax

protected virtual bool CanSetProperty(
	string propertyName,
	Object value
)

Parameters

propertyName
Type: SystemString
Name of the property to set.
value
Type: SystemObject
The property value to set.

Return Value

Type: Boolean
 if the specified property can be set; otherwise, .
See Also

Reference