Merge "Clarify the action propagation behaviour in custom control development guide...
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 25 Apr 2016 16:48:26 +0000 (09:48 -0700)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Mon, 25 Apr 2016 16:48:27 +0000 (09:48 -0700)
docs/content/programming-guide/type-registration.h

index bef67d0..e9912ef 100644 (file)
@@ -184,6 +184,10 @@ bool MyControl::DoAction(
 }
 @endcode
 
+If the action is not performed by the derived class, it will be propagated to the base class.
+For example, in the above case, MyControl can perform "action1" so should return true, but it
+cannot perform "action4" so should return false and propagate the action to Control.
+
 @section register-property Registering a Property
 
 DALi has a property system which can be extended by registering more properties through the type