Interface IPropertyObserver
Base property container interface to notify all properties changes.
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public interface IPropertyObserver
Methods
OnPropertyChanged(String, String)
Called when property changed.
Declaration
void OnPropertyChanged(string strPropertyContainerName, string strPropertyName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | strPropertyContainerName | Name of the property container. |
| System.String | strPropertyName | Name of the property. |
OnPropertyChanging(String, String, Object)
Called when property changing.
Declaration
bool OnPropertyChanging(string strPropertyContainerName, string strPropertyName, object newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | strPropertyContainerName | Name of the property container. |
| System.String | strPropertyName | Name of the property. |
| System.Object | newValue | The new value. |
Returns
| Type | Description |
|---|---|
| System.Boolean | true, if property changing otherwise, false. |