ObservableObjectBaseCanSetProperty Method
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.ComponentModelAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
protected virtual bool CanSetProperty(
string propertyName,
Object? value
)
Protected Overridable Function CanSetProperty (
propertyName As String,
value As Object
) As Boolean
protected:
virtual bool CanSetProperty(
String^ propertyName,
Object^ value
)
abstract CanSetProperty :
propertyName : string *
value : Object -> bool
override CanSetProperty :
propertyName : string *
value : Object -> bool
- propertyName String
- Name of the property to set.
- value Object
- The property value to set.
Boolean, if the specified property can be set; otherwise,
.