Method OnChildPropertyChanged
OnChildPropertyChanged(Control, string, bool)
Called by the child control when its property is changed.
public override void OnChildPropertyChanged(Control child, string propName, bool directChild = true)
Parameters
child
ControlChild control.
propName
stringProperty name.
directChild
boolWhether child is direct or not (child of the child).
Remarks
It's up to the child control to decide on what property changes to inform the container control. Call this method in the parent control to notify about property change.